Package it.tdlight.jni
Class TdApi.ChatMember
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatMember
- Enclosing class:
- TdApi
public static class TdApi.ChatMember extends TdApi.Object
A user with information about
joining/leaving a chat.
-
Field Summary
Fields Modifier and Type Field Description TdApi.BotInfo
botInfo
If the user is a bot, information about the bot; may be null.static int
CONSTRUCTOR
int
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.ChatMemberStatus
status
Status of the member in the chat.int
userId
User identifier of the chat member. -
Constructor Summary
Constructors Constructor Description ChatMember()
A user with information about joining/leaving a chat.ChatMember(int userId, int inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status, TdApi.BotInfo botInfo)
A user with information about joining/leaving a chat.ChatMember(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
-
userId
public int userIdUser identifier of the chat member. -
inviterUserId
public int 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. -
botInfo
If the user is a bot, information about the bot; may be null. Can be null even for a bot if the bot is not the chat member. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatMember
public ChatMember()A user with information about joining/leaving a chat. -
ChatMember
public ChatMember(int userId, int inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status, TdApi.BotInfo botInfo)A user with information about joining/leaving a chat.- Parameters:
userId
- int User identifier of the chat member.inviterUserId
- int 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.botInfo
- BotInfo If the user is a bot, information about the bot; may be null. Can be null even for a bot if the bot is not the chat member.
-
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()
-