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
Game ID.
|
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() |
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
@Nullable 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 - Game ID.shortName - Game short name. To share a game use the URL https://t.me/{botUsername}?game={gameShortName}.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()
getConstructor in class TdApi.Object