public static class TdApi.Game extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
TdApi.Animation |
animation
Game animation; may be null.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
description
Game description.
|
long |
id
Unique game identifier.
|
TdApi.Photo |
photo
Game photo.
|
java.lang.String |
shortName
Game short name.
|
TdApi.FormattedText |
text
Game text, usually containing scoreboards for a game.
|
java.lang.String |
title
Game title.
|
| Constructor and Description |
|---|
Game()
Describes a game.
|
Game(long id,
java.lang.String shortName,
java.lang.String title,
TdApi.FormattedText text,
java.lang.String description,
TdApi.Photo photo,
TdApi.Animation animation)
Describes a game.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public java.lang.String shortName
public java.lang.String title
public TdApi.FormattedText text
public java.lang.String description
public TdApi.Photo photo
public TdApi.Animation animation
public static final int CONSTRUCTOR
public Game()
public Game(long id,
java.lang.String shortName,
java.lang.String title,
TdApi.FormattedText text,
java.lang.String description,
TdApi.Photo photo,
TdApi.Animation animation)
id - Unique game identifier.shortName - Game short name.title - Game title.text - Game text, usually containing scoreboards for a game.description - Game description.photo - Game photo.animation - Game animation; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object