1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-23 00:57:13 +00:00

ChatMemberUpdated

This commit is contained in:
InsanusMokrassar 2024-05-06 21:37:44 +06:00
parent 4dc2bfc8bf
commit 71b9f15e40
2 changed files with 4 additions and 1 deletions

View File

@ -234,6 +234,7 @@ const val isAnimatedField = "is_animated"
const val isVideoField = "is_video"
const val inviteLinkField = "invite_link"
const val viaChatFolderInviteLinkField = "via_chat_folder_invite_link"
const val viaJoinRequestField = "via_join_request"
const val pinnedMessageField = "pinned_message"
const val activeUsernamesField = "active_usernames"
const val customTitleField = "custom_title"

View File

@ -24,5 +24,7 @@ data class ChatMemberUpdated(
@SerialName(inviteLinkField)
val inviteLink: ChatInviteLink? = null,
@SerialName(viaChatFolderInviteLinkField)
val viaChatFolderInviteLink: Boolean? = false
val viaChatFolderInviteLink: Boolean? = false,
@SerialName(viaJoinRequestField)
val viaJoinRequest: Boolean? = false
) : WithPreviewChat, WithUser