ChatMemberUpdated

@Serializable
data class ChatMemberUpdated(val chat: PreviewChat, val user: PreviewUser, val date: TelegramDate, val oldChatMemberState: ChatMember, val newChatMemberState: ChatMember, val inviteLink: ChatInviteLink? = null, val viaChatFolderInviteLink: Boolean? = false, val viaJoinRequest: Boolean? = false) : WithPreviewChat, WithUser

Constructors

Link copied to clipboard
constructor(chat: PreviewChat, user: PreviewUser, date: TelegramDate, oldChatMemberState: ChatMember, newChatMemberState: ChatMember, inviteLink: ChatInviteLink? = null, viaChatFolderInviteLink: Boolean? = false, viaJoinRequest: Boolean? = false)

Properties

Link copied to clipboard
@SerialName(value = "chat")
open override val chat: PreviewChat
Link copied to clipboard
@SerialName(value = "date")
val date: TelegramDate
Link copied to clipboard
@SerialName(value = "invite_link")
val inviteLink: ChatInviteLink? = null
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "new_chat_member")
val newChatMemberState: ChatMember
Link copied to clipboard
@SerialName(value = "old_chat_member")
val oldChatMemberState: ChatMember
Link copied to clipboard
@SerialName(value = "from")
open override val user: PreviewUser
Link copied to clipboard
@SerialName(value = "via_chat_folder_invite_link")
val viaChatFolderInviteLink: Boolean? = false
Link copied to clipboard
@SerialName(value = "via_join_request")
val viaJoinRequest: Boolean? = false