Package org.drinkless.tdlib
Class TdApi.BasicGroupFullInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BasicGroupFullInfo
- Enclosing class:
- TdApi
Contains full information about a basic group.
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of commands of bots in the group.booleanTrue, 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.booleanTrue, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.static final intIdentifier uniquely determining type of the object.longUser 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
ConstructorsConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-