public static class TdApi.GetBotInfoShortDescription 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 |
|---|
GetBotInfoShortDescription()
Default constructor for a function, which returns the text shown on a bot's profile page and sent together with the link when users share the bot in the given language.
|
GetBotInfoShortDescription(long botUserId,
java.lang.String languageCode)
Creates a function, which returns the text shown on a bot's profile page and sent together with the link when users share the bot 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 GetBotInfoShortDescription()
Returns Text
public GetBotInfoShortDescription(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