mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: Add missing parameters
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
87e0314f4a
commit
116a353477
2 changed files with 51 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ class SendWebPage:
|
|||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
protect_content: bool = None,
|
||||
message_effect_id: int = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
"types.ReplyKeyboardMarkup",
|
||||
|
|
@ -118,6 +119,9 @@ class SendWebPage:
|
|||
protect_content (``bool``, *optional*):
|
||||
Protects the contents of the sent message from forwarding and saving.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
instructions to remove reply keyboard or to force a reply from the user.
|
||||
|
|
@ -162,7 +166,8 @@ class SendWebPage:
|
|||
media=media,
|
||||
invert_media=invert_media,
|
||||
entities=entities,
|
||||
noforwards=protect_content
|
||||
noforwards=protect_content,
|
||||
effect=message_effect_id
|
||||
)
|
||||
if business_connection_id is not None:
|
||||
r = await self.invoke(
|
||||
|
|
|
|||
|
|
@ -1491,6 +1491,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
progress: Callable = None,
|
||||
progress_args: tuple = ()
|
||||
) -> "Message":
|
||||
|
|
@ -1578,6 +1579,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
True to invert the animation and caption position..
|
||||
|
||||
|
|
@ -1653,6 +1657,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
invert_media=invert_media,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
|
|
@ -1677,6 +1682,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
"types.ReplyKeyboardMarkup",
|
||||
|
|
@ -1766,6 +1772,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
instructions to remove reply keyboard or to force a reply from the user.
|
||||
|
|
@ -1837,6 +1846,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
progress_args=progress_args
|
||||
|
|
@ -2167,6 +2177,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
schedule_date: datetime = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
|
|
@ -2252,6 +2263,9 @@ class Message(Object, Update):
|
|||
quote_entities (List of :obj:`~pyrogram.types.MessageEntity`, *optional*):
|
||||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
schedule_date (:py:obj:`~datetime.datetime`, *optional*):
|
||||
Date when the message will be automatically sent.
|
||||
|
|
@ -2325,6 +2339,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
schedule_date=schedule_date,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
|
|
@ -2745,6 +2760,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
view_once: bool = None,
|
||||
invert_media: bool = None,
|
||||
reply_markup: Union[
|
||||
|
|
@ -2832,6 +2848,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
instructions to remove reply keyboard or to force a reply from the user.
|
||||
|
|
@ -2900,6 +2919,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
view_once=view_once,
|
||||
invert_media=invert_media,
|
||||
reply_markup=reply_markup,
|
||||
|
|
@ -3107,6 +3127,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
|
|
@ -3168,6 +3189,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
|
||||
By default, quote_text are parsed using both Markdown and HTML styles.
|
||||
You can combine both syntaxes together.
|
||||
|
|
@ -3236,6 +3260,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
parse_mode=parse_mode,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
|
|
@ -3407,6 +3432,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
invert_media: bool = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
|
|
@ -3508,6 +3534,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
invert_media (``bool``, *optional*):
|
||||
Pass True to invert the video and caption position.
|
||||
|
||||
|
|
@ -3585,6 +3614,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
invert_media=invert_media,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
|
|
@ -3606,6 +3636,7 @@ class Message(Object, Update):
|
|||
quote_entities: List["types.MessageEntity"] = None,
|
||||
parse_mode: Optional["enums.ParseMode"] = None,
|
||||
protect_content: bool = None,
|
||||
message_effect_id: int = None,
|
||||
ttl_seconds: int = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
|
|
@ -3682,6 +3713,9 @@ class Message(Object, Update):
|
|||
protect_content (``bool``, *optional*):
|
||||
Protects the contents of the sent message from forwarding and saving.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
ttl_seconds (``int``, *optional*):
|
||||
Self-Destruct Timer.
|
||||
If you set a timer, the video note will self-destruct in *ttl_seconds*
|
||||
|
|
@ -3754,6 +3788,7 @@ class Message(Object, Update):
|
|||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
protect_content=protect_content,
|
||||
message_effect_id=message_effect_id,
|
||||
ttl_seconds=ttl_seconds,
|
||||
parse_mode=parse_mode,
|
||||
reply_markup=reply_markup,
|
||||
|
|
@ -3775,6 +3810,7 @@ class Message(Object, Update):
|
|||
reply_in_chat_id: Union[int, str] = None,
|
||||
quote_text: str = None,
|
||||
quote_entities: List["types.MessageEntity"] = None,
|
||||
message_effect_id: int = None,
|
||||
reply_markup: Union[
|
||||
"types.InlineKeyboardMarkup",
|
||||
"types.ReplyKeyboardMarkup",
|
||||
|
|
@ -3848,6 +3884,9 @@ class Message(Object, Update):
|
|||
List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
|
||||
for reply_to_message only.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
instructions to remove reply keyboard or to force a reply from the user.
|
||||
|
|
@ -3915,6 +3954,7 @@ class Message(Object, Update):
|
|||
reply_to_chat_id=reply_to_chat_id,
|
||||
quote_text=quote_text,
|
||||
quote_entities=quote_entities,
|
||||
message_effect_id=message_effect_id,
|
||||
reply_markup=reply_markup,
|
||||
progress=progress,
|
||||
progress_args=progress_args
|
||||
|
|
@ -3936,6 +3976,7 @@ class Message(Object, Update):
|
|||
quote_entities: List["types.MessageEntity"] = None,
|
||||
schedule_date: datetime = None,
|
||||
protect_content: bool = None,
|
||||
message_effect_id: int = None,
|
||||
reply_markup=None
|
||||
) -> "Message":
|
||||
"""Bound method *reply_web_page* of :obj:`~pyrogram.types.Message`.
|
||||
|
|
@ -4009,6 +4050,9 @@ class Message(Object, Update):
|
|||
protect_content (``bool``, *optional*):
|
||||
Protects the contents of the sent message from forwarding and saving.
|
||||
|
||||
message_effect_id (``int`` ``64-bit``, *optional*):
|
||||
Unique identifier of the message effect to be added to the message; for private chats only.
|
||||
|
||||
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
|
||||
Additional interface options. An object for an inline keyboard, custom reply keyboard,
|
||||
instructions to remove reply keyboard or to force a reply from the user.
|
||||
|
|
@ -4056,6 +4100,7 @@ class Message(Object, Update):
|
|||
quote_entities=quote_entities,
|
||||
schedule_date=schedule_date,
|
||||
protect_content=protect_content,
|
||||
message_effect_id=message_effect_id,
|
||||
reply_markup=reply_markup
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue