1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Indentation fix to fit documentation.

This commit is contained in:
coder2020official 2022-04-17 16:46:38 +05:00
parent 5f2713bcfb
commit b146df346d
2 changed files with 5 additions and 5 deletions

View File

@ -2049,7 +2049,7 @@ class TeleBot:
Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton
:param chat_id: Unique identifier for the target private chat. :param chat_id: Unique identifier for the target private chat.
If not specified, default bot's menu button will be changed If not specified, default bot's menu button will be changed.
:param menu_button: A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault :param menu_button: A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault
""" """
@ -2065,7 +2065,7 @@ class TeleBot:
Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton
:param chat_id: Unique identifier for the target private chat. :param chat_id: Unique identifier for the target private chat.
If not specified, default bot's menu button will be returned If not specified, default bot's menu button will be returned.
:return: types.MenuButton :return: types.MenuButton
""" """

View File

@ -2667,7 +2667,7 @@ class AsyncTeleBot:
Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton
:param chat_id: Unique identifier for the target private chat. :param chat_id: Unique identifier for the target private chat.
If not specified, default bot's menu button will be changed If not specified, default bot's menu button will be changed.
:param menu_button: A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault :param menu_button: A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault
""" """
@ -2683,7 +2683,7 @@ class AsyncTeleBot:
Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton
:param chat_id: Unique identifier for the target private chat. :param chat_id: Unique identifier for the target private chat.
If not specified, default bot's menu button will be returned If not specified, default bot's menu button will be returned.
:return: types.MenuButton :return: types.MenuButton
""" """