A chat event from the recent actions log (also known as admin log).
int) – Chat event identifier.
int) – Date of the event. Unix time.
str) – Event action. Can be:
“description_changed”: the chat description has been changed (see old_description and new_description below).
“history_ttl_changed”: the history time-to-live has been changed (see old_history_ttl and new_history_ttl below).
“linked_chat_changed”: the linked chat has been changed (see old_linked_chat and new_linked_chat below).
“photo_changed”: the chat photo has been changed (see old_photo and new_photo below).
“title_changed”: the chat title has been changed (see old_title and new_title below).
“username_changed”: the chat username has been changed (see old_username and new_username below).
“chat_permissions_changed”: the default chat permissions has been changed (see old_chat_permissions and new_chat_permissions below).
“message_deleted”: a message has been deleted (see deleted_message below).
“message_edited”: a message has been edited (see old_message and new_message below).
“member_invited”: a member has been invited by someone (see invited_member below).
“member_joined”: a member joined by themselves. (see user below)
“member_left”: a member left by themselves. (see user below).
“admin_rights_changed”: a chat member has been promoted/demoted or their administrator rights has changed (see old_admin_rights and new_admin_rights below).
“member_permissions_changed”: a chat member has been restricted/unrestricted or banned/unbanned, or their permissions has changed (see old_member_permissions and new_member_permissions below).
“poll_stopped”: a poll has been stopped (see stopped_poll below).
“invites_enabled”: the chat invitation has been enabled or disabled (see invites_enabled below).
“history_hidden”: the chat history has been hidden or unhidden (see history_hidden below).
“signatures_enabled”: the message signatures have been enabled or disabled (see signatures_enabled below).
“slow_mode_changed”: the slow mode has been changes (see old_slow_mode and new_slow_mode below).
“message_pinned”: a message has been pinned (see pinned_message below).
“message_unpinned”: a message has been unpinned (see unpinned_message below).
“invite_link_edited”: an invite link has been edited (see edited_invite_link below).
“invite_link_revoked”: an invite link has been revoked (see revoked_invite_link below).
“invite_link_deleted”: an invite link has been deleted (see deleted_invite_link below).
User) – User that triggered the event.
old_description, new_description (
str, optional) – Previous and new chat description. For “description_changed” only.
old_history_ttl, new_history_ttl (
int, optional) – Previous and new chat history TTL. For “history_ttl_changed” only.
old_linked_chat, new_linked_chat (
Chat, optional) – Previous and new linked chat. For “linked_chat_changed” only.
old_photo, new_photo (
Photo, optional) – Previous and new chat photo. For “photo_changed” only.
old_title, new_title (
str, optional) – Previous and new chat title. For “title_changed” only.
old_username, new_username (
str, optional) – Previous and new chat username. For “username_changed” only.
old_chat_permissions, new_chat_permissions (
ChatPermissions, optional) – Previous and new default chat permissions. For “chat_permissions_changed” only.
Message, optional) – Deleted message. For “deleted_message” only.
old_message, new_message (
Message, optional) – Previous and new message before it has been edited. For “message_edited” only.
ChatMember, optional) – New invited chat member. For “member_invited” only.
old_admin_rights, new_admin_rights (
ChatMember, optional) – Previous and new administrator rights. For “admin_rights_changed” only.
old_member_permissions, new_member_permissions (
ChatMember, optional) – Previous and new member permissions. For “member_permissions_changed” only.
Message, optional) – Message containing the stopped poll. For “poll_stopped” only.
bool, optional) – If chat invites were enabled (True) or disabled (False). For “invites_enabled” only.
bool, optional) – If chat history has been hidden (True) or unhidden (False). For “history_hidden” only.
bool, optional) – If message signatures were enabled (True) or disabled (False). For “signatures_enabled” only.
old_slow_mode, new_slow_mode (
int, optional) – Previous and new slow mode value in seconds. For “slow_mode_changed” only.
Message, optional) – Pinned message. For “message_pinned” only.
Message, optional) – Unpinned message. For “unpinned_message” only.
old_invite_link, new_invite_link (
ChatInviteLink, optional) – Previous and new edited invite link. For “invite_link_edited” only.
ChatInviteLink, optional) – Revoked invite link. For “invite_link_revoked” only.
ChatInviteLink, optional) – Deleted invite link. For “invite_link_deleted” only.