mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Pyrofork: Add support for username in reply_in_chat_id and stories chat_id
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
038462a232
commit
e9f3677908
21 changed files with 77 additions and 77 deletions
|
|
@ -50,7 +50,7 @@ class SendAnimation:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -131,7 +131,7 @@ class SendAnimation:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class SendAudio:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -124,7 +124,7 @@ class SendAudio:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class SendCachedMedia:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -96,7 +96,7 @@ class SendCachedMedia:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class SendContact:
|
|||
disable_notification: bool = None,
|
||||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -82,7 +82,7 @@ class SendContact:
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class SendDice:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -78,7 +78,7 @@ class SendDice:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class SendDocument:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -116,7 +116,7 @@ class SendDocument:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class SendLocation:
|
|||
disable_notification: bool = None,
|
||||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -71,7 +71,7 @@ class SendLocation:
|
|||
Unique identifier for the target message thread (topic) of the forum.
|
||||
for forum supergroups only.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class SendMediaGroup:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -84,7 +84,7 @@ class SendMediaGroup:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class SendMessage:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class SendPhoto:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -107,7 +107,7 @@ class SendPhoto:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class SendPoll:
|
|||
protect_content: bool = None,
|
||||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -127,7 +127,7 @@ class SendPoll:
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class SendSticker:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -87,7 +87,7 @@ class SendSticker:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class SendVenue:
|
|||
disable_notification: bool = None,
|
||||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -91,7 +91,7 @@ class SendVenue:
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class SendVideo:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -137,7 +137,7 @@ class SendVideo:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class SendVideoNote:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -101,7 +101,7 @@ class SendVideoNote:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class SendVoice:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -105,7 +105,7 @@ class SendVoice:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class SendWebPage:
|
|||
message_thread_id: int = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_to_story_id: int = None,
|
||||
reply_to_chat_id: int = None,
|
||||
reply_to_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -93,7 +93,7 @@ class SendWebPage:
|
|||
reply_to_story_id (``int``, *optional*):
|
||||
Unique identifier for the target story.
|
||||
|
||||
reply_to_chat_id (``int``, *optional*):
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class DeleteStories:
|
|||
async def delete_stories(
|
||||
self: "pyrogram.Client",
|
||||
story_ids: Union[int, Iterable[int]],
|
||||
chat_id: int = None
|
||||
chat_id: Union[int, str] = None
|
||||
) -> bool:
|
||||
"""Delete one or more story by using story identifiers.
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ class DeleteStories:
|
|||
story themselves.
|
||||
|
||||
chat_id (``int``, *optional*):
|
||||
Unique identifier (int) of the target channel.
|
||||
Unique identifier (int) or username (str) of the target channel.
|
||||
|
||||
Returns:
|
||||
`bool`: On success, a True is returned.
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class ForwardStory:
|
|||
self: "pyrogram.Client",
|
||||
from_chat_id: Union[int, str],
|
||||
from_story_id: int,
|
||||
chat_id: int = None,
|
||||
chat_id: Union[int, str] = None,
|
||||
privacy: "enums.StoriesPrivacyRules" = None,
|
||||
allowed_users: List[int] = None,
|
||||
denied_users: List[int] = None,
|
||||
|
|
@ -55,8 +55,8 @@ class ForwardStory:
|
|||
from_story_id (``int``):
|
||||
Unique identifier of original story.
|
||||
|
||||
chat_id (``int``, *optional*):
|
||||
Unique identifier (int) of the target channel.
|
||||
chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier (int) or username (str) of the target channel.
|
||||
If you want to forward story to a channel.
|
||||
|
||||
privacy (:obj:`~pyrogram.enums.StoriesPrivacyRules`, *optional*):
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class SendStory:
|
|||
|
||||
async def send_story(
|
||||
self: "pyrogram.Client",
|
||||
chat_id: int = None,
|
||||
chat_id: Union[int,str] = None,
|
||||
privacy: "enums.StoriesPrivacyRules" = None,
|
||||
allowed_users: List[int] = None,
|
||||
denied_users: List[int] = None,
|
||||
|
|
@ -56,8 +56,8 @@ class SendStory:
|
|||
Note: You must pass one of following paramater *animation*, *photo*, *video*
|
||||
|
||||
Parameters:
|
||||
chat_id (``int``, *optional*):
|
||||
Unique identifier (int) of the target channel.
|
||||
chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier (int) or username (str) of the target channel.
|
||||
|
||||
animation (``str`` | ``BinaryIO``, *optional*):
|
||||
Animation to send.
|
||||
|
|
|
|||
|
|
@ -1189,7 +1189,7 @@ class Message(Object, Update):
|
|||
disable_web_page_preview: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -1242,9 +1242,9 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
quote_text (``str``, *optional*):
|
||||
Text to quote.
|
||||
|
|
@ -1331,7 +1331,7 @@ class Message(Object, Update):
|
|||
"types.ForceReply"
|
||||
] = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
progress: Callable = None,
|
||||
|
|
@ -1404,9 +1404,9 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
reply_to_chat_id (``int`` | ``str``, *optional*):
|
||||
Unique identifier for the origin chat.
|
||||
for reply to message from another chat.
|
||||
|
||||
quote_text (``str``, *optional*):
|
||||
Text to quote.
|
||||
|
|
@ -1503,7 +1503,7 @@ class Message(Object, Update):
|
|||
file_name: str = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -1579,7 +1579,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -1672,7 +1672,7 @@ class Message(Object, Update):
|
|||
caption_entities: List["types.MessageEntity"] = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -1725,7 +1725,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -1824,7 +1824,7 @@ class Message(Object, Update):
|
|||
vcard: str = "",
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -1877,7 +1877,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -1948,7 +1948,7 @@ class Message(Object, Update):
|
|||
force_document: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -2021,7 +2021,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2269,7 +2269,7 @@ class Message(Object, Update):
|
|||
quote: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -2316,7 +2316,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2384,7 +2384,7 @@ class Message(Object, Update):
|
|||
quote: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None
|
||||
|
|
@ -2423,7 +2423,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2479,7 +2479,7 @@ class Message(Object, Update):
|
|||
ttl_seconds: int = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -2544,7 +2544,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2643,7 +2643,7 @@ class Message(Object, Update):
|
|||
disable_notification: bool = None,
|
||||
protect_content: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -2734,7 +2734,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2812,7 +2812,7 @@ class Message(Object, Update):
|
|||
quote: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -2860,7 +2860,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -2953,7 +2953,7 @@ class Message(Object, Update):
|
|||
foursquare_type: str = "",
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -3015,7 +3015,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -3093,7 +3093,7 @@ class Message(Object, Update):
|
|||
supports_streaming: bool = True,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -3180,7 +3180,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -3276,7 +3276,7 @@ class Message(Object, Update):
|
|||
thumb: Union[str, BinaryIO] = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
|
|
@ -3336,7 +3336,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -3426,7 +3426,7 @@ class Message(Object, Update):
|
|||
duration: int = 0,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -3486,7 +3486,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
@ -3576,7 +3576,7 @@ class Message(Object, Update):
|
|||
invert_media: bool = None,
|
||||
disable_notification: bool = None,
|
||||
reply_to_message_id: int = None,
|
||||
reply_in_chat_id: int = None,
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
|
|
@ -3632,7 +3632,7 @@ class Message(Object, Update):
|
|||
reply_to_message_id (``int``, *optional*):
|
||||
If the message is a reply, ID of the original message.
|
||||
|
||||
reply_in_chat_id (``int``, *optional*):
|
||||
reply_in_chat_id: Union[int, str] = None,
|
||||
Unique identifier of target chat.
|
||||
for reply message in another chat.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue