public static class TdApi.ChatMember extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
inviterUserId
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
|
int |
joinedChatDate
Point in time (Unix timestamp) when the user joined the chat.
|
TdApi.MessageSender |
memberId
Identifier of the chat member.
|
TdApi.ChatMemberStatus |
status
Status of the member in the chat.
|
Constructor and Description |
---|
ChatMember()
Describes a user or a chat as a member of another chat.
|
ChatMember(TdApi.MessageSender memberId,
long inviterUserId,
int joinedChatDate,
TdApi.ChatMemberStatus status)
Describes a user or a chat as a member of another chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.MessageSender memberId
public long inviterUserId
public int joinedChatDate
public TdApi.ChatMemberStatus status
public static final int CONSTRUCTOR
public ChatMember()
public ChatMember(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status)
memberId
- Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.inviterUserId
- Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.joinedChatDate
- Point in time (Unix timestamp) when the user joined the chat.status
- Status of the member in the chat.public int getConstructor()
getConstructor
in class TdApi.Object