MessageServiceType#

class pyrogram.enums.MessageServiceType#

Message service type enumeration used in Message.

NEW_CHAT_MEMBERS

New members join

LEFT_CHAT_MEMBERS

Left chat members

NEW_CHAT_TITLE

New chat title

NEW_CHAT_PHOTO

New chat photo

DELETE_CHAT_PHOTO

Deleted chat photo

GROUP_CHAT_CREATED

Group chat created

SUPERGROUP_CHAT_CREATED

Supergroup chat created

CHANNEL_CHAT_CREATED

Channel chat created

MIGRATE_TO_CHAT_ID

Migrated to chat id

MIGRATE_FROM_CHAT_ID

Migrated from chat id

PINNED_MESSAGE

Pinned message

GAME_HIGH_SCORE

Game high score

GIVEAWAY_CREATED

Giveaway Created

GIVEAWAY_COMPLETED

Giveaway Completed

GIFT_CODE

Gift code

GIFTED_PREMIUM

Gifted Premium

GIFTED_STARS

Gifted Stars

VIDEO_CHAT_STARTED

Video chat started

VIDEO_CHAT_ENDED

Video chat ended

VIDEO_CHAT_SCHEDULED

Video chat scheduled

VIDEO_CHAT_PARTICIPANTS_INVITED

Video chat participants invited

WEB_APP_DATA

Web app data

USERS_SHARED

Users Shared

CHAT_SHARED

Chat Shared

MESSAGE_AUTO_DELETE_TIMER_CHANGED

Message Auto Delete Timer changed

CHAT_BOOST_ADDED

Chat Boost Added

CUSTOM_ACTION

Custom action

FORUM_TOPIC_CREATED

a new forum topic created in the chat

FORUM_TOPIC_CLOSED

a new forum topic closed in the chat

FORUM_TOPIC_REOPENED

a new forum topic reopened in the chat

FORUM_TOPIC_EDITED

a new forum topic renamed in the chat

GENERAL_FORUM_TOPIC_HIDDEN

a forum general topic hidden in the chat

GENERAL_FORUM_TOPIC_UNHIDDEN

a forum general topic unhidden in the chat

SUCCESSFUL_PAYMENT

Successful payment

REFUNDED_PAYMENT

Refunded payment

CONTACT_REGISTERED

A contact has registered with Telegram

SCREENSHOT_TAKEN

A screenshot of a message in the chat has been taken

CONNECTED_WEBSITE

The user connected a website by logging in using Telegram Login Widget on it

WRITE_ACCESS_ALLOWED

The user accepted webapp bot’s request to send messages

USER_GIFT

Star gift

UNKNOWN

This service message is unsupported by the current version of Pyrogram