Package org.drinkless.tdlib
Class TdApi.ToggleChatIsTranslatable
- Enclosing class:
- TdApi
Changes the translatable state of a chat.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.booleanNew value of isTranslatable. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
isTranslatable
public boolean isTranslatableNew value of isTranslatable. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleChatIsTranslatable
public ToggleChatIsTranslatable()Default constructor for a function, which changes the translatable state of a chat.Returns
Ok -
ToggleChatIsTranslatable
public ToggleChatIsTranslatable(long chatId, boolean isTranslatable) Creates a function, which changes the translatable state of a chat.Returns
Ok- Parameters:
chatId- Chat identifier.isTranslatable- New value of isTranslatable.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-