public static class TdApi.ToggleChatIsTranslatable extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isTranslatable
New value of isTranslatable.
|
| Constructor and Description |
|---|
ToggleChatIsTranslatable()
Default constructor for a function, which changes the translatable state of a chat.
|
ToggleChatIsTranslatable(long chatId,
boolean isTranslatable)
Creates a function, which changes the translatable state of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean isTranslatable
public static final int CONSTRUCTOR
public ToggleChatIsTranslatable()
Returns Ok
public ToggleChatIsTranslatable(long chatId,
boolean isTranslatable)
Returns Ok
chatId - Chat identifier.isTranslatable - New value of isTranslatable.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object