mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix: typo enums.MessageServiceType.ChatShared in pyrogram/types/messages_and_media/message.
Signed-off-by: Ling-ex <nekochan@rizkiofficial.com>
This commit is contained in:
parent
b2ca66bb9e
commit
38cde8d556
1 changed files with 2 additions and 2 deletions
|
|
@ -305,7 +305,7 @@ class Message(Object, Update):
|
|||
|
||||
views (``int``, *optional*):
|
||||
Channel post views.
|
||||
|
||||
|
||||
forwards (``int``, *optional*):
|
||||
Channel post forwards.
|
||||
|
||||
|
|
@ -808,7 +808,7 @@ class Message(Object, Update):
|
|||
service_type = enums.MessageServiceType.BOT_ALLOWED
|
||||
elif isinstance(action, raw.types.MessageActionRequestedPeer) or isinstance(action, raw.types.MessageActionRequestedPeerSentMe):
|
||||
chats_shared = await types.RequestedChats._parse(client, action)
|
||||
service_type = enums.MessageServiceType.ChatShared
|
||||
service_type = enums.MessageServiceType.CHAT_SHARED
|
||||
elif isinstance(action, raw.types.MessageActionTopicCreate):
|
||||
forum_topic_created = types.ForumTopicCreated._parse(message)
|
||||
service_type = enums.MessageServiceType.FORUM_TOPIC_CREATED
|
||||
|
|
|
|||
Loading…
Reference in a new issue