Package it.tdlight.jni
Class TdApi.BasicGroup
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BasicGroup
- Enclosing class:
- TdApi
public static class TdApi.BasicGroup extends TdApi.Object
Represents a basic group of 0-200
users (must be upgraded to a supergroup
to accommodate more than 200 users).
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
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.int
upgradedToSupergroupId
Identifier of the supergroup to which this group was upgraded; 0 if none. -
Constructor Summary
Constructors Constructor Description BasicGroup()
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).BasicGroup(int id, int memberCount, TdApi.ChatMemberStatus status, boolean isActive, int upgradedToSupergroupId)
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).BasicGroup(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idGroup identifier. -
memberCount
public int memberCountNumber of members in the group. -
status
Status of the current user in the group. -
isActive
public boolean isActiveTrue, if the group is active. -
upgradedToSupergroupId
public int upgradedToSupergroupIdIdentifier of the supergroup to which this group was upgraded; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
BasicGroup
public BasicGroup()Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users). -
BasicGroup
public BasicGroup(int id, int memberCount, TdApi.ChatMemberStatus status, boolean isActive, int upgradedToSupergroupId)Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).- Parameters:
id
- int Group identifier.memberCount
- int Number of members in the group.status
- ChatMemberStatus Status of the current user in the group.isActive
- boolean True, if the group is active.upgradedToSupergroupId
- int Identifier of the supergroup to which this group was upgraded; 0 if none.
-
BasicGroup
- 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()
-