mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 09:07:12 +00:00
ChatMemberUpdated
This commit is contained in:
parent
4dc2bfc8bf
commit
71b9f15e40
@ -234,6 +234,7 @@ const val isAnimatedField = "is_animated"
|
|||||||
const val isVideoField = "is_video"
|
const val isVideoField = "is_video"
|
||||||
const val inviteLinkField = "invite_link"
|
const val inviteLinkField = "invite_link"
|
||||||
const val viaChatFolderInviteLinkField = "via_chat_folder_invite_link"
|
const val viaChatFolderInviteLinkField = "via_chat_folder_invite_link"
|
||||||
|
const val viaJoinRequestField = "via_join_request"
|
||||||
const val pinnedMessageField = "pinned_message"
|
const val pinnedMessageField = "pinned_message"
|
||||||
const val activeUsernamesField = "active_usernames"
|
const val activeUsernamesField = "active_usernames"
|
||||||
const val customTitleField = "custom_title"
|
const val customTitleField = "custom_title"
|
||||||
|
@ -24,5 +24,7 @@ data class ChatMemberUpdated(
|
|||||||
@SerialName(inviteLinkField)
|
@SerialName(inviteLinkField)
|
||||||
val inviteLink: ChatInviteLink? = null,
|
val inviteLink: ChatInviteLink? = null,
|
||||||
@SerialName(viaChatFolderInviteLinkField)
|
@SerialName(viaChatFolderInviteLinkField)
|
||||||
val viaChatFolderInviteLink: Boolean? = false
|
val viaChatFolderInviteLink: Boolean? = false,
|
||||||
|
@SerialName(viaJoinRequestField)
|
||||||
|
val viaJoinRequest: Boolean? = false
|
||||||
) : WithPreviewChat, WithUser
|
) : WithPreviewChat, WithUser
|
||||||
|
Loading…
Reference in New Issue
Block a user