mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: fix enums typo in Message (#135)
Signed-off-by: wulan17 <wulan17@komodos.id>
This commit is contained in:
parent
f6599d8ef4
commit
315f61d1ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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