public static class TdApi.BasicGroup extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
Group identifier.
|
boolean |
isActive
True, if the group is active.
|
int |
memberCount
Number of members in the group.
|
TdApi.ChatMemberStatus |
status
Status of the current user in the group.
|
long |
upgradedToSupergroupId
Identifier of the supergroup to which this group was upgraded; 0 if none.
|
Constructor and Description |
---|
BasicGroup()
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
|
BasicGroup(long id,
int memberCount,
TdApi.ChatMemberStatus status,
boolean isActive,
long upgradedToSupergroupId)
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public int memberCount
public TdApi.ChatMemberStatus status
public boolean isActive
public long upgradedToSupergroupId
public static final int CONSTRUCTOR
public BasicGroup()
public BasicGroup(long id, int memberCount, TdApi.ChatMemberStatus status, boolean isActive, long upgradedToSupergroupId)
id
- Group identifier.memberCount
- Number of members in the group.status
- Status of the current user in the group.isActive
- True, if the group is active.upgradedToSupergroupId
- Identifier of the supergroup to which this group was upgraded; 0 if none.public int getConstructor()
getConstructor
in class TdApi.Object