java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BasicGroupFullInfo
- Enclosing class:
- TdApi
Contains full information about a basic group.
-
Field Summary
Modifier and TypeFieldDescriptionList of commands of bots in the group.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.boolean
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.static final int
long
User identifier of the creator of the group; 0 if unknown.Group description.Primary invite link for this group; may be null.Group members.Chat photo; may be null if empty or unknown. -
Constructor Summary
ConstructorDescriptionContains full information about a basic group.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.BasicGroupFullInfo
(DataInput input) Contains full information about a basic group. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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
public long creatorUserIdUser identifier of the creator of the group; 0 if unknown. -
members
Group members. -
canHideMembers
public boolean canHideMembersTrue, 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 canToggleAggressiveAntiSpamTrue, 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. -
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
Contains full information about a basic group.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-