mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 20:20:23 +03:00
add missing buttons docstring to respond and reply
This commit is contained in:
parent
17996e8a9b
commit
45e7b7a380
|
@ -331,6 +331,10 @@ class Message(metaclass=NoPublicConstructor):
|
||||||
:param markdown: See :ref:`formatting`.
|
:param markdown: See :ref:`formatting`.
|
||||||
:param html: See :ref:`formatting`.
|
:param html: See :ref:`formatting`.
|
||||||
:param link_preview: See :meth:`~telethon.Client.send_message`.
|
: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(
|
return await self._client.send_message(
|
||||||
self.chat,
|
self.chat,
|
||||||
|
@ -357,6 +361,10 @@ class Message(metaclass=NoPublicConstructor):
|
||||||
:param markdown: See :ref:`formatting`.
|
:param markdown: See :ref:`formatting`.
|
||||||
:param html: See :ref:`formatting`.
|
:param html: See :ref:`formatting`.
|
||||||
:param link_preview: See :meth:`~telethon.Client.send_message`.
|
: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(
|
return await self._client.send_message(
|
||||||
self.chat,
|
self.chat,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user