| Modifier and Type | Method and Description |
|---|---|
static Game |
createGame(org.json.JSONObject jsonObject) |
Animation |
getAnimation()
Gets the Animation that was sent with the Game or null if not sent
|
String |
getDescription()
Gets the description of the game
|
PhotoSize[] |
getPhotos()
Gets an array of PhotoSize objects relating to the photo that will be sent with the game message in chats
|
String |
getText()
Gets the text that was sent with the Game or null if not set
|
List<MessageEntity> |
getTextEntities()
Gets the list of MessageEntity objects that this GameContents text contains
|
String |
getTitle()
Gets the title of the game
|
public static Game createGame(org.json.JSONObject jsonObject)
public String getTitle()
Gamepublic String getDescription()
GamegetDescription in interface Gamepublic PhotoSize[] getPhotos()
Gamepublic String getText()
Gamepublic Animation getAnimation()
GamegetAnimation in interface Gamepublic List<MessageEntity> getTextEntities()
GamegetTextEntities in interface GameCopyright © 2017. All rights reserved.