Sha256: 192eb0a6cb7f62aaf323ba005b096bbb0ab49763f6679cfdb2762b9b1946c58f

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineKeyboardButton < Base
        attribute :text, Types::String
        attribute? :url, Types::String
        attribute? :callback_data, Types::String
        attribute? :web_app, WebAppInfo
        attribute? :login_url, LoginUrl
        attribute? :switch_inline_query, Types::String
        attribute? :switch_inline_query_current_chat, Types::String
        attribute? :switch_inline_query_chosen_chat, Types::SwitchInlineQueryChosenChat
        attribute? :callback_game, CallbackGame
        attribute? :pay, Types::Bool
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/inline_keyboard_button.rb