Package org.drinkless.tdlib
Class TdApi.UpdateChatMember
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateChatMember
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatMember extends TdApi.Update
User rights changed in a chat; for bots only.
-
-
Field Summary
Fields Modifier and Type Field Description longactorUserIdIdentifier of the user, changing the rights.longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.intdatePoint in time (Unix timestamp) when the user rights was changed.TdApi.ChatInviteLinkinviteLinkIf user has joined the chat using an invite link, the invite link; may be null.TdApi.ChatMembernewChatMemberNew chat member.TdApi.ChatMemberoldChatMemberPrevious chat member.
-
Constructor Summary
Constructors Constructor Description UpdateChatMember()User rights changed in a chat; for bots only.UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember)User rights changed in a chat; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
actorUserId
public long actorUserId
Identifier of the user, changing the rights.
-
date
public int date
Point in time (Unix timestamp) when the user rights was changed.
-
inviteLink
public TdApi.ChatInviteLink inviteLink
If user has joined the chat using an invite link, the invite link; may be null.
-
oldChatMember
public TdApi.ChatMember oldChatMember
Previous chat member.
-
newChatMember
public TdApi.ChatMember newChatMember
New chat member.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateChatMember
public UpdateChatMember()
User rights changed in a chat; for bots only.
-
UpdateChatMember
public UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember)User rights changed in a chat; for bots only.- Parameters:
chatId- Chat identifier.actorUserId- Identifier of the user, changing the rights.date- Point in time (Unix timestamp) when the user rights was changed.inviteLink- If user has joined the chat using an invite link, the invite link; may be null.oldChatMember- Previous chat member.newChatMember- New chat member.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-