ChatMemberUpdated

data class ChatMemberUpdated(chat: Chat, from: User, date: Long, old_chat_member: ChatMember, new_chat_member: ChatMember, invite_link: ChatInviteLink?) : ChatMember

This object represents changes in the status of a chat member.

Constructors

ChatMemberUpdated
Link copied to clipboard
fun ChatMemberUpdated(chat: Chat, from: User, date: Long, old_chat_member: ChatMember, new_chat_member: ChatMember, invite_link: ChatInviteLink? = null)

Properties

chat
Link copied to clipboard
val chat: Chat
Chat the user belongs to
date
Link copied to clipboard
val date: Long
Date the change was done in Unix time
from
Link copied to clipboard
val from: User
Performer of the action, which resulted in the change
invite_link
Link copied to clipboard
val invite_link: ChatInviteLink? = null
Optional.
new_chat_member
Link copied to clipboard
val new_chat_member: ChatMember
New information about the chat member
old_chat_member
Link copied to clipboard
val old_chat_member: ChatMember
Previous information about the chat member