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
      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 - ChatPhoto Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
      description - String Group description. Updated only after the basic group is opened.
      creatorUserId - long User identifier of the creator of the group; 0 if unknown.
      members - ChatMember[] Group members.
      canHideMembers - boolean 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 - boolean True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
      inviteLink - ChatInviteLink 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 - BotCommands[] List of commands of bots in the group.
    • BasicGroupFullInfo

      public BasicGroupFullInfo(DataInput input) throws IOException
      Contains full information about a basic group.
      Throws:
      IOException
  • Method Details