public static class TdApi.SetBotInfoDescription extends TdApi.Function<TdApi.Ok>
Returns Ok
| 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 |
description
New bot's description on the specified language.
|
java.lang.String |
languageCode
A two-letter ISO 639-1 language code.
|
| Constructor and Description |
|---|
SetBotInfoDescription()
Default constructor for a function, which sets the text shown in the chat with a bot if the chat is empty.
|
SetBotInfoDescription(long botUserId,
java.lang.String languageCode,
java.lang.String description)
Creates a function, which sets the text shown in the chat with a bot if the chat is empty.
|
| 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 java.lang.String description
public static final int CONSTRUCTOR
public SetBotInfoDescription()
Returns Ok
public SetBotInfoDescription(long botUserId,
java.lang.String languageCode,
java.lang.String description)
Returns Ok
botUserId - Identifier of the target bot.languageCode - A two-letter ISO 639-1 language code. If empty, the description will be shown to all users for whose languages there is no dedicated description.description - New bot's description on the specified language.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object