Sha256: 5e61c8e271bdc8a4d0a3da6b78136cb7b5ff810ac92ce921474a5475fe9bc234

Contents?: true

Size: 560 Bytes

Versions: 3

Compression:

Stored size: 560 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? :callback_game, CallbackGame
        attribute? :pay, Types::Bool
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_keyboard_button.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_keyboard_button.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_keyboard_button.rb