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
User rights changed in a chat; for bots only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the user, changing the rights.longChat identifier.static final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the user rights were changed.If user has joined the chat using an invite link, the invite link; may be null.New chat member.Previous chat member.booleanTrue, if the user has joined the chat using an invite link for a chat folder.booleanTrue, if the user has joined the chat after sending a join request and being approved by an administrator. -
Constructor Summary
ConstructorsConstructorDescriptionUser rights changed in a chat; for bots only.UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, boolean viaJoinRequest, boolean viaChatFolderInviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember) User rights changed in a chat; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
actorUserId
public long actorUserIdIdentifier of the user, changing the rights. -
date
public int datePoint in time (Unix timestamp) when the user rights were changed. -
inviteLink
If user has joined the chat using an invite link, the invite link; may be null. -
viaJoinRequest
public boolean viaJoinRequestTrue, if the user has joined the chat after sending a join request and being approved by an administrator. -
viaChatFolderInviteLink
public boolean viaChatFolderInviteLinkTrue, if the user has joined the chat using an invite link for a chat folder. -
oldChatMember
Previous chat member. -
newChatMember
New chat member. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateChatMember
public UpdateChatMember()User rights changed in a chat; for bots only. -
UpdateChatMember
public UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, boolean viaJoinRequest, boolean viaChatFolderInviteLink, 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 were changed.inviteLink- If user has joined the chat using an invite link, the invite link; may be null.viaJoinRequest- True, if the user has joined the chat after sending a join request and being approved by an administrator.viaChatFolderInviteLink- True, if the user has joined the chat using an invite link for a chat folder.oldChatMember- Previous chat member.newChatMember- New chat member.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-