Sha256: d5d4aff220309c30e685832cccf63c99ba917d316748dc7ebe89e3393efe6c45

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultGame < Base
        attribute :type, Types::String.constrained(eql: 'game').default('game')
        attribute :id, Types::String
        attribute :game_short_name, Types::String
        attribute? :reply_markup, InlineKeyboardMarkup
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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