public static class TdApi.GetBotInfoDescription extends TdApi.Function<TdApi.Text>
Returns Text
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
languageCode
A two-letter ISO 639-1 language code or an empty string.
|
| Constructor and Description |
|---|
GetBotInfoDescription()
Default constructor for a function, which returns the text shown in the chat with a bot if the chat is empty in the given language.
|
GetBotInfoDescription(long botUserId,
java.lang.String languageCode)
Creates a function, which returns the text shown in the chat with a bot if the chat is empty in the given language.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String languageCode
public static final int CONSTRUCTOR
public GetBotInfoDescription()
Returns Text
public GetBotInfoDescription(long botUserId,
java.lang.String languageCode)
Returns Text
botUserId - Identifier of the target bot.languageCode - A two-letter ISO 639-1 language code or an empty string.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object