Class: TD::Types::InputMessageContent::Game

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/game.rb

Overview

A message with a game; not supported for channels or secret chats.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_user_idInteger

User identifier of the bot that owns the game.

Returns:

  • (Integer)

    the current value of bot_user_id



6
7
8
# File 'lib/tdlib/types/input_message_content/game.rb', line 6

def bot_user_id
  @bot_user_id
end

#game_short_nameString

Short name of the game.

Returns:

  • (String)

    the current value of game_short_name



6
7
8
# File 'lib/tdlib/types/input_message_content/game.rb', line 6

def game_short_name
  @game_short_name
end