class
TelegramBot::InlineQueryResultGame
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_query_result_game.crConstructors
- .new(id : String, game_short_name : String, *, reply_markup : InlineKeyboardMarkup | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #game_short_name : String
- #game_short_name=(game_short_name : String)
- #id : String
- #id=(id : String)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #type : String
- #type=(type : String)
Instance methods inherited from class TelegramBot::InlineQueryResult
to_json(json : JSON::Builder)
to_json
Constructor Detail
def self.new(id : String, game_short_name : String, *, reply_markup : InlineKeyboardMarkup | Nil = nil)
#