public static class TdApi.PushMessageContentGame 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.
|
java.lang.String |
title
Game title, empty for pinned game message.
|
Constructor and Description |
---|
PushMessageContentGame()
A message with a game.
|
PushMessageContentGame(java.lang.String title,
boolean isPinned)
A message with a game.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String title
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentGame()
public PushMessageContentGame(java.lang.String title, boolean isPinned)
title
- Game title, empty for pinned game message.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent