mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 20:20:23 +03:00
Apply suggestions from code review
This commit is contained in:
parent
619afe616e
commit
d9475ec203
|
@ -331,10 +331,7 @@ class Message(metaclass=NoPublicConstructor):
|
|||
:param markdown: See :ref:`formatting`.
|
||||
:param html: See :ref:`formatting`.
|
||||
:param link_preview: See :meth:`~telethon.Client.send_message`.
|
||||
:param buttons:
|
||||
The buttons to use for the message.
|
||||
|
||||
Only bot accounts can send buttons.
|
||||
:param buttons: See :meth:`~telethon.Client.send_message`.
|
||||
"""
|
||||
return await self._client.send_message(
|
||||
self.chat,
|
||||
|
@ -361,10 +358,7 @@ class Message(metaclass=NoPublicConstructor):
|
|||
:param markdown: See :ref:`formatting`.
|
||||
:param html: See :ref:`formatting`.
|
||||
:param link_preview: See :meth:`~telethon.Client.send_message`.
|
||||
:param buttons:
|
||||
The buttons to use for the message.
|
||||
|
||||
Only bot accounts can send buttons.
|
||||
:param buttons: See :meth:`~telethon.Client.send_message`.
|
||||
"""
|
||||
return await self._client.send_message(
|
||||
self.chat,
|
||||
|
@ -399,10 +393,7 @@ class Message(metaclass=NoPublicConstructor):
|
|||
:param markdown: See :ref:`formatting`.
|
||||
:param html: See :ref:`formatting`.
|
||||
:param link_preview: See :meth:`~telethon.Client.send_message`.
|
||||
:param buttons:
|
||||
The buttons to use for the message.
|
||||
|
||||
Only bot accounts can send buttons.
|
||||
:param buttons: See :meth:`~telethon.Client.send_message`.
|
||||
"""
|
||||
return await self._client.edit_message(
|
||||
self.chat,
|
||||
|
|
Loading…
Reference in New Issue
Block a user