public static class TdApi.PushMessageContentGameScore extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
int |
score
New score, 0 for pinned message.
|
java.lang.String |
title
Game title, empty for pinned message.
|
Constructor and Description |
---|
PushMessageContentGameScore()
A new high score was achieved in a game.
|
PushMessageContentGameScore(java.lang.String title,
int score,
boolean isPinned)
A new high score was achieved in a game.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String title
public int score
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentGameScore()
public PushMessageContentGameScore(java.lang.String title, int score, boolean isPinned)
title
- Game title, empty for pinned message.score
- New score, 0 for pinned message.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent