Class TdApi.ChatEventAutomaticTranslationToggled

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatEventAction
org.drinkless.tdlib.TdApi.ChatEventAutomaticTranslationToggled
Enclosing class:
TdApi

public static class TdApi.ChatEventAutomaticTranslationToggled extends TdApi.ChatEventAction
The hasAutomaticTranslation setting of a channel was toggled.
  • Field Details

    • hasAutomaticTranslation

      public boolean hasAutomaticTranslation
      New value of hasAutomaticTranslation.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ChatEventAutomaticTranslationToggled

      public ChatEventAutomaticTranslationToggled()
      The hasAutomaticTranslation setting of a channel was toggled.
    • ChatEventAutomaticTranslationToggled

      public ChatEventAutomaticTranslationToggled(boolean hasAutomaticTranslation)
      The hasAutomaticTranslation setting of a channel was toggled.
      Parameters:
      hasAutomaticTranslation - New value of hasAutomaticTranslation.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR