Sha256: b0860e7806b8c46e49b07248d98edb3db008d25bf608b94c3cc7a6b0e68c2cf2

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class CallbackQuery < Base
        attribute :id, Types::String
        attribute :from, User
        attribute? :message, Message
        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-1.0.0 lib/telegram/bot/types/callback_query.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/callback_query.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/callback_query.rb