- Enclosing class:
- TdApi
Changes the translatable state of a
chat; for Telegram Premium users only.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intbooleanNew value of isTranslatable. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-