Class TdApi.ChatEventHasProtectedContentToggled

Enclosing class:
TdApi

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

    • hasProtectedContent

      public boolean hasProtectedContent
      New value of hasProtectedContent.
    • CONSTRUCTOR

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

    • ChatEventHasProtectedContentToggled

      public ChatEventHasProtectedContentToggled()
      The hasProtectedContent setting of a channel was toggled.
    • ChatEventHasProtectedContentToggled

      public ChatEventHasProtectedContentToggled(boolean hasProtectedContent)
      The hasProtectedContent setting of a channel was toggled.
      Parameters:
      hasProtectedContent - New value of hasProtectedContent.
  • 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