- Enclosing class:
- TdApi
Changes the translatable state of a
chat; for Telegram Premium users only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
boolean
New value of isTranslatable. -
Constructor Summary
ConstructorDescriptionChanges the translatable state of a chat; for Telegram Premium users only.ToggleChatIsTranslatable
(long chatId, boolean isTranslatable) Changes the translatable state of a chat; for Telegram Premium users only.Changes the translatable state of a chat; for Telegram Premium users only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
isTranslatable
public boolean isTranslatableNew value of isTranslatable. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleChatIsTranslatable
public ToggleChatIsTranslatable()Changes the translatable state of a chat; for Telegram Premium users only. ReturnsOk
-
ToggleChatIsTranslatable
public ToggleChatIsTranslatable(long chatId, boolean isTranslatable) Changes the translatable state of a chat; for Telegram Premium users only. ReturnsOk
- Parameters:
chatId
- long Chat identifier.isTranslatable
- boolean New value of isTranslatable.
-
ToggleChatIsTranslatable
Changes the translatable state of a chat; for Telegram Premium users only. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-