mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
PyroFork: docs: Add missing ChatJoinedByRequest, PeerUser and PeerChannel
and some cleanup Signed-off-by: wulan17 <galihgustip@gmail.com>
This commit is contained in:
parent
609d8985d4
commit
00fb071215
3 changed files with 11 additions and 11 deletions
|
|
@ -397,10 +397,13 @@ def pyrogram_api():
|
||||||
ChatMemberUpdated
|
ChatMemberUpdated
|
||||||
ChatJoinRequest
|
ChatJoinRequest
|
||||||
ChatJoiner
|
ChatJoiner
|
||||||
|
ChatJoinedByRequest
|
||||||
Dialog
|
Dialog
|
||||||
Restriction
|
Restriction
|
||||||
EmojiStatus
|
EmojiStatus
|
||||||
ForumTopic
|
ForumTopic
|
||||||
|
PeerUser
|
||||||
|
PeerChannel
|
||||||
""",
|
""",
|
||||||
messages_media="""
|
messages_media="""
|
||||||
Messages & Media
|
Messages & Media
|
||||||
|
|
|
||||||
|
|
@ -305,10 +305,10 @@ class Message(Object, Update):
|
||||||
forum_topic_edited (:obj:`~pyrogram.types.ForumTopicEdited`, *optional*):
|
forum_topic_edited (:obj:`~pyrogram.types.ForumTopicEdited`, *optional*):
|
||||||
Service message: forum topic edited
|
Service message: forum topic edited
|
||||||
|
|
||||||
general_topic_hidden (:obj:`~pyrogram.types.GeneralForumTopicHidden`, *optional*):
|
general_topic_hidden (:obj:`~pyrogram.types.GeneralTopicHidden`, *optional*):
|
||||||
Service message: forum general topic hidden
|
Service message: forum general topic hidden
|
||||||
|
|
||||||
general_topic_unhidden (:obj:`~pyrogram.types.GeneralForumTopicUnhidden`, *optional*):
|
general_topic_unhidden (:obj:`~pyrogram.types.GeneralTopicUnhidden`, *optional*):
|
||||||
Service message: forum general topic unhidden
|
Service message: forum general topic unhidden
|
||||||
|
|
||||||
video_chat_scheduled (:obj:`~pyrogram.types.VideoChatScheduled`, *optional*):
|
video_chat_scheduled (:obj:`~pyrogram.types.VideoChatScheduled`, *optional*):
|
||||||
|
|
@ -413,8 +413,8 @@ class Message(Object, Update):
|
||||||
forum_topic_closed: "types.ForumTopicClosed" = None,
|
forum_topic_closed: "types.ForumTopicClosed" = None,
|
||||||
forum_topic_reopened: "types.ForumTopicReopened" = None,
|
forum_topic_reopened: "types.ForumTopicReopened" = None,
|
||||||
forum_topic_edited: "types.ForumTopicEdited" = None,
|
forum_topic_edited: "types.ForumTopicEdited" = None,
|
||||||
general_topic_hidden: "types.GeneralForumTopicHidden" = None,
|
general_topic_hidden: "types.GeneralTopicHidden" = None,
|
||||||
general_topic_unhidden: "types.GeneralForumTopicUnhidden" = None,
|
general_topic_unhidden: "types.GeneralTopicUnhidden" = None,
|
||||||
video_chat_scheduled: "types.VideoChatScheduled" = None,
|
video_chat_scheduled: "types.VideoChatScheduled" = None,
|
||||||
video_chat_started: "types.VideoChatStarted" = None,
|
video_chat_started: "types.VideoChatStarted" = None,
|
||||||
video_chat_ended: "types.VideoChatEnded" = None,
|
video_chat_ended: "types.VideoChatEnded" = None,
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@ from ..object import Object
|
||||||
|
|
||||||
|
|
||||||
class ForumTopic(Object):
|
class ForumTopic(Object):
|
||||||
|
# todo
|
||||||
|
# notify_settings: `~pyrogram.types.PeerNotifySettings`
|
||||||
|
# draft: `~pyrogram.types.DraftMessage`
|
||||||
"""A forum topic.
|
"""A forum topic.
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -56,12 +59,9 @@ class ForumTopic(Object):
|
||||||
unread_reactions_count (``Integer``):
|
unread_reactions_count (``Integer``):
|
||||||
N/A
|
N/A
|
||||||
|
|
||||||
from_id (:obj:``~pyrogram.Union[types.PeerChannel``|:obj:``~pyrogram.types.PeerUser``):
|
from_id (:obj:`~pyrogram.types.PeerChannel` | :obj:`~pyrogram.types.PeerUser`):
|
||||||
Topic creator.
|
Topic creator.
|
||||||
|
|
||||||
#notify_settings (:obj:``~pyrogram.types.PeerNotifySettings``): //todo
|
|
||||||
N/A
|
|
||||||
|
|
||||||
my (``Boolean``, *optional*):
|
my (``Boolean``, *optional*):
|
||||||
N/A
|
N/A
|
||||||
|
|
||||||
|
|
@ -77,9 +77,6 @@ class ForumTopic(Object):
|
||||||
icon_emoji_id (``Integer``, *optional*):
|
icon_emoji_id (``Integer``, *optional*):
|
||||||
Unique identifier of the custom emoji shown as the topic icon
|
Unique identifier of the custom emoji shown as the topic icon
|
||||||
|
|
||||||
#draft (:obj:``~pyrogram.types.DraftMessage``, *optional*): //todo
|
|
||||||
N/A
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue