Class: TD::Types::MessageContent::GameScore
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::GameScore
- Defined in:
- lib/tdlib/types/message_content/game_score.rb
Overview
A new high score was achieved in a game.
Instance Attribute Summary collapse
-
#game_id ⇒ Integer
Identifier of the game; may be different from the games presented in the message with the game.
-
#game_message_id ⇒ Integer
Identifier of the message with the game, can be an identifier of a deleted message.
-
#score ⇒ Integer
New score.
Method Summary
Methods inherited from Base
Instance Attribute Details
#game_id ⇒ Integer
Identifier of the game; may be different from the games presented in the message with the game.
8 9 10 |
# File 'lib/tdlib/types/message_content/game_score.rb', line 8 def game_id @game_id end |
#game_message_id ⇒ Integer
Identifier of the message with the game, can be an identifier of a deleted message.
8 9 10 |
# File 'lib/tdlib/types/message_content/game_score.rb', line 8 def @game_message_id end |
#score ⇒ Integer
New score.
8 9 10 |
# File 'lib/tdlib/types/message_content/game_score.rb', line 8 def score @score end |