MessageServiceType¶
- class pyrogram.enums.MessageServiceType¶
Message service type enumeration used in
Message.-
UNSUPPORTED =
'unsupported'¶ A message content that is not supported in the current pyrogram version
-
CUSTOM_ACTION =
'custom_action'¶ Custom action
-
NEW_CHAT_MEMBERS =
'new_chat_members'¶ New members join
-
LEFT_CHAT_MEMBERS =
'left_chat_members'¶ Left chat members
-
NEW_CHAT_TITLE =
'new_chat_title'¶ New chat title
-
NEW_CHAT_PHOTO =
'new_chat_photo'¶ New chat photo
-
DELETE_CHAT_PHOTO =
'delete_chat_photo'¶ Deleted chat photo
-
GROUP_CHAT_CREATED =
'group_chat_created'¶ Group chat created
-
CHANNEL_CHAT_CREATED =
'channel_chat_created'¶ Channel chat created
-
MIGRATE_TO_CHAT_ID =
'migrate_to_chat_id'¶ Migrated to chat id
-
MIGRATE_FROM_CHAT_ID =
'migrate_from_chat_id'¶ Migrated from chat id
-
PINNED_MESSAGE =
'pinned_message'¶ Pinned message
-
GAME_HIGH_SCORE =
'game_high_score'¶ Game high score
a shared chat/channel
a shared user
-
FORUM_TOPIC_CREATED =
'forum_topic_created'¶ a new forum topic created in the chat
-
FORUM_TOPIC_CLOSED =
'forum_topic_closed'¶ a new forum topic closed in the chat
-
FORUM_TOPIC_REOPENED =
'forum_topic_reopened'¶ a new forum topic reopened in the chat
-
FORUM_TOPIC_EDITED =
'forum_topic_edited'¶ a new forum topic renamed in the chat
-
GENERAL_TOPIC_HIDDEN =
'general_topic_hidden'¶ a forum general topic hidden in the chat
-
GENERAL_TOPIC_UNHIDDEN =
'general_topic_unhidden'¶ a forum general topic unhidden in the chat
-
VIDEO_CHAT_STARTED =
'video_chat_started'¶ Video chat started
-
VIDEO_CHAT_ENDED =
'video_chat_ended'¶ Video chat ended
-
VIDEO_CHAT_SCHEDULED =
'video_chat_scheduled'¶ Video chat scheduled
-
VIDEO_CHAT_MEMBERS_INVITED =
'video_chat_members_invited'¶ Video chat members invited
-
WEB_APP_DATA =
'web_app_data'¶ Web app data
-
GIVEAWAY_LAUNCHED =
'giveaway_launched'¶ Giveaway Launch
-
GIVEAWAY_RESULT =
'giveaway_result'¶ Giveaway Result
-
GIFT_CODE =
'gift_code'¶ Gift code
-
REQUESTED_CHAT =
'requested_chat'¶ Requested chat
-
CHAT_TTL_CHANGED =
'chat_ttl_changed'¶ Chat TTL changed
-
BOOST_APPLY =
'boost_apply'¶ Boost apply
-
JOIN_REQUEST_APPROVED =
'join_request_approved'¶ Join request approved
-
SUCCESSFUL_PAYMENT =
'successful_payment'¶ Successful payment
-
PAYMENT_REFUNDED =
'payment_refunded'¶ Payment refunded
-
BOT_ALLOWED =
'bot_allowed'¶ Bot allowed
-
CHECKLIST_TASKS_DONE =
'checklist_tasks_done'¶ Checklist tasks done
-
CHECKLIST_TASKS_ADDED =
'checklist_tasks_added'¶ Checklist tasks added
-
UNSUPPORTED =