Class: TD::Types::PushMessageContent::GameScore
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::GameScore
- Defined in:
- lib/tdlib/types/push_message_content/game_score.rb
Overview
A new high score was achieved in a game.
Instance Attribute Summary collapse
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
-
#score ⇒ Integer
New score, 0 for pinned message.
-
#title ⇒ String?
Game title, empty for pinned message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/game_score.rb', line 7 def is_pinned @is_pinned end |
#score ⇒ Integer
New score, 0 for pinned message.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/game_score.rb', line 7 def score @score end |
#title ⇒ String?
Game title, empty for pinned message.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/game_score.rb', line 7 def title @title end |