2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Remove hide_via param from reply_inline_bot_result (#952)

This commit is contained in:
Tofik Denianto 2022-04-12 04:52:32 +07:00 committed by GitHub
parent 0c0a4b5a5c
commit 874709c258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1668,8 +1668,7 @@ class Message(Object, Update):
result_id: str,
quote: bool = None,
disable_notification: bool = None,
reply_to_message_id: int = None,
hide_via: bool = None
reply_to_message_id: int = None
) -> "Message":
"""Bound method *reply_inline_bot_result* of :obj:`~pyrogram.types.Message`.
@ -1707,9 +1706,6 @@ class Message(Object, Update):
reply_to_message_id (``bool``, *optional*):
If the message is a reply, ID of the original message.
hide_via (``bool``):
Sends the message with *via @bot* hidden.
Returns:
On success, the sent Message is returned.
@ -1727,8 +1723,7 @@ class Message(Object, Update):
query_id=query_id,
result_id=result_id,
disable_notification=disable_notification,
reply_to_message_id=reply_to_message_id,
hide_via=hide_via
reply_to_message_id=reply_to_message_id
)
async def reply_location(