Sha256: 8912b53b8bb9fd4cd9bc7c990525971925a2f87ccd6755d27ddbd580a6d038e2

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class CallbackQuery < Base
        attribute :id, Types::String
        attribute :from, User
        attribute? :message, MaybeInaccessibleMessage
        attribute? :inline_message_id, Types::String
        attribute :chat_instance, Types::String
        attribute? :data, Types::String
        attribute? :game_short_name, Types::String
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/callback_query.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/callback_query.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/callback_query.rb