Class TdApi.CommunityPermissions

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.CommunityPermissions
Enclosing class:
TdApi

public static class TdApi.CommunityPermissions extends TdApi.Object
Describes actions that a user is allowed to take in a community.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    True, if the user can change the chats added to the community.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes actions that a user is allowed to take in a community.
    CommunityPermissions(boolean canEditChatList)
    Describes actions that a user is allowed to take in a community.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • canEditChatList

      public boolean canEditChatList
      True, if the user can change the chats added to the community.
    • CONSTRUCTOR

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

    • CommunityPermissions

      public CommunityPermissions()
      Describes actions that a user is allowed to take in a community.
    • CommunityPermissions

      public CommunityPermissions(boolean canEditChatList)
      Describes actions that a user is allowed to take in a community.
      Parameters:
      canEditChatList - True, if the user can change the chats added to the community.
  • 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