Sha256: b9aa4228ac38fbc733d1fcb623fc10a8eb917eca75197dabe353a43093bc401b

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 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, SwitchInlineQueryChosenChat
        attribute? :copy_text, CopyTextButton
        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.1.0 lib/telegram/bot/types/inline_keyboard_button.rb