chat_member_updated_t

struct banana::api::chat_member_updated_t

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

chat_t chat

Chat the user belongs to

user_t from

Performer of the action, which resulted in the change

integer_t date

Date the change was done in Unix time

chat_member_t old_chat_member

Previous information about the chat member

chat_member_t new_chat_member

New information about the chat member

optional_t<chat_invite_link_t> invite_link

Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.

optional_t<boolean_t> via_join_request

Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator

optional_t<boolean_t> via_chat_folder_invite_link

Optional. True, if the user joined the chat via a chat folder invite link