|
27 | 27 |
|
28 | 28 | #: Contains all media content types.
|
29 | 29 | content_type_media = [
|
30 |
| - 'text', 'animation', 'audio', 'document', 'photo', 'sticker', 'story', 'video', 'video_note', 'voice', 'contact', |
31 |
| - 'dice', 'game', 'poll', 'venue', 'location', 'invoice', 'successful_payment', 'connected_website', |
32 |
| - 'passport_data', 'web_app_data', |
| 30 | + 'text', 'audio', 'document', 'animation', 'game', 'photo', 'sticker', 'video', 'video_note', 'voice', 'contact', |
| 31 | + 'location', 'venue', 'dice', 'invoice', 'successful_payment', 'connected_website', 'poll', 'passport_data', |
| 32 | + 'web_app_data', 'story', 'giveaway', 'gift', 'unique_gift', |
33 | 33 | ]
|
34 | 34 |
|
35 | 35 | #: Contains all service content types such as `User joined the group`.
|
36 | 36 | content_type_service = [
|
37 | 37 | 'new_chat_members', 'left_chat_member', 'new_chat_title', 'new_chat_photo', 'delete_chat_photo',
|
38 |
| - 'group_chat_created', 'supergroup_chat_created', 'channel_chat_created', 'message_auto_delete_timer_changed', |
39 |
| - 'migrate_to_chat_id', 'migrate_from_chat_id', 'pinned_message', 'users_shared', 'chat_shared', |
40 |
| - 'write_access_allowed', 'proximity_alert_triggered', 'forum_topic_created', 'forum_topic_edited', |
41 |
| - 'forum_topic_closed', 'forum_topic_reopened', 'general_forum_topic_hidden', 'general_forum_topic_unhidden', |
42 |
| - 'giveaway_created', 'giveaway', 'giveaway_winners', 'giveaway_completed', 'video_chat_scheduled', |
43 |
| - 'video_chat_started', 'video_chat_ended', 'video_chat_participants_invited','checklist_tasks_done', |
44 |
| - 'checklist_tasks_added','direct_message_price_changed' |
| 38 | + 'group_chat_created', 'supergroup_chat_created', 'channel_chat_created', 'migrate_to_chat_id', |
| 39 | + 'migrate_from_chat_id', 'pinned_message', 'proximity_alert_triggered', 'video_chat_scheduled', |
| 40 | + 'video_chat_started', 'video_chat_ended', 'video_chat_participants_invited', 'message_auto_delete_timer_changed', |
| 41 | + 'chat_background_set', 'forum_topic_created', 'forum_topic_closed', 'forum_topic_reopened', 'forum_topic_edited', |
| 42 | + 'general_forum_topic_hidden', 'general_forum_topic_unhidden', 'write_access_allowed', 'users_shared', 'chat_shared', |
| 43 | + 'giveaway_created', 'giveaway_winners', 'giveaway_completed', 'boost_added', 'paid_message_price_changed', |
| 44 | + 'checklist_tasks_done', 'checklist_tasks_added', 'direct_message_price_changed', |
45 | 45 | ]
|
46 | 46 |
|
47 | 47 | #: All update types, should be used for allowed_updates parameter in polling.
|
48 | 48 | update_types = [
|
49 | 49 | "message", "edited_message", "channel_post", "edited_channel_post", "inline_query", "chosen_inline_result",
|
50 | 50 | "callback_query", "shipping_query", "pre_checkout_query", "poll", "poll_answer", "my_chat_member", "chat_member",
|
51 |
| - "chat_join_request", "message_reaction", "message_reaction_count", "chat_boost", "removed_chat_boost", |
52 |
| - "business_connection", "business_message", "edited_business_message", "deleted_business_messages", "purchased_paid_media" |
| 51 | + "chat_join_request", "message_reaction", "message_reaction_count", "removed_chat_boost", "chat_boost", |
| 52 | + "business_connection", "business_message", "edited_business_message", "deleted_business_messages", |
| 53 | + "purchased_paid_media", |
53 | 54 | ]
|
54 | 55 |
|
55 | 56 |
|
|
0 commit comments