Package org.drinkless.tdlib
Class TdApi.UpdateChatIsTranslatable
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateChatIsTranslatable
- Enclosing class:
- TdApi
Translation of chat messages was enabled or disabled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.booleanNew value of isTranslatable. -
Constructor Summary
ConstructorsConstructorDescriptionTranslation of chat messages was enabled or disabled.UpdateChatIsTranslatable(long chatId, boolean isTranslatable) Translation of chat messages was enabled or disabled. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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
-
UpdateChatIsTranslatable
public UpdateChatIsTranslatable()Translation of chat messages was enabled or disabled. -
UpdateChatIsTranslatable
public UpdateChatIsTranslatable(long chatId, boolean isTranslatable) Translation of chat messages was enabled or disabled.- 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
-