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
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 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.
-
BasicGroupFullInfo
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-