Package it.tdlight.jni
Class TdApi.ChatMember
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatMember
- Enclosing class:
- TdApi
Information about a user or a chat as
a member of another chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.int
Point in time (Unix timestamp) when the user joined the chat.Identifier of the chat member.Status of the member in the chat. -
Constructor Summary
ConstructorDescriptionInformation about a user or a chat as a member of another chat.ChatMember
(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status) Information about a user or a chat as a member of another chat.ChatMember
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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
public long inviterUserIdIdentifier of a user that invited/promoted/banned this member in the chat; 0 if unknown. -
joinedChatDate
public int joinedChatDatePoint in time (Unix timestamp) when the user joined the chat. -
status
Status of the member in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ChatMember
public ChatMember()Information about a user or a chat as a member of another chat. -
ChatMember
public ChatMember(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status) Information about a user or a chat as a member of another chat.- Parameters:
memberId
- MessageSender 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
- long Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.joinedChatDate
- int Point in time (Unix timestamp) when the user joined the chat.status
- ChatMemberStatus Status of the member in the chat.
-
ChatMember
- 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()
-