Module tdlight.api

Class TdApi.BasicGroupFullInfo

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BasicGroupFullInfo
Enclosing class:
TdApi

public static final class TdApi.BasicGroupFullInfo extends TdApi.Object
Contains full information about a basic group.
  • Field Details

    • photo

      public TdApi.ChatPhoto photo
      Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
    • description

      public String description
      Group description. Updated only after the basic group is opened.
    • creatorUserId

      public long creatorUserId
      User identifier of the creator of the group; 0 if unknown.
    • members

      public TdApi.ChatMember[] members
      Group members.
    • canHideMembers

      public boolean canHideMembers
      True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators after upgrading the basic group to a supergroup.
    • canToggleAggressiveAntiSpam

      public boolean canToggleAggressiveAntiSpam
      True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
    • botCommands

      public TdApi.BotCommands[] botCommands
      List of commands of bots in the group.
    • CONSTRUCTOR

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

    • BasicGroupFullInfo

      public BasicGroupFullInfo()
      Contains full information about a basic group.
    • BasicGroupFullInfo

      public BasicGroupFullInfo(TdApi.ChatPhoto photo, String description, long creatorUserId, TdApi.ChatMember[] members, boolean canHideMembers, boolean canToggleAggressiveAntiSpam, TdApi.ChatInviteLink inviteLink, TdApi.BotCommands[] botCommands)
      Contains full information about a basic group.
      Parameters:
      photo - Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
      description - Group description. Updated only after the basic group is opened.
      creatorUserId - User identifier of the creator of the group; 0 if unknown.
      members - Group members.
      canHideMembers - True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators after upgrading the basic group to a supergroup.
      canToggleAggressiveAntiSpam - True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
      inviteLink - Primary invite link for this group; may be null. For chat administrators with canInviteUsers right only. Updated only after the basic group is opened.
      botCommands - List of commands of bots in the group.
    • BasicGroupFullInfo

      public BasicGroupFullInfo(DataInput input) throws IOException
      Contains full information about a basic group.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object