add missing buttons docstring to respond and reply

This commit is contained in:
apepenkov 2023-11-10 10:38:19 +03:00
parent 17996e8a9b
commit 45e7b7a380

View File

@ -331,6 +331,10 @@ 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.
"""
return await self._client.send_message(
self.chat,
@ -357,6 +361,10 @@ 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.
"""
return await self._client.send_message(
self.chat,