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:
parent
5f2713bcfb
commit
b146df346d
@ -2049,7 +2049,7 @@ class TeleBot:
|
||||
Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton
|
||||
|
||||
: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
|
||||
|
||||
"""
|
||||
@ -2065,7 +2065,7 @@ class TeleBot:
|
||||
Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton
|
||||
|
||||
: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
|
||||
|
||||
"""
|
||||
@ -2100,7 +2100,7 @@ class TeleBot:
|
||||
:param for_channels: Pass True to get the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be returned.
|
||||
:return: types.ChatAdministratorRights
|
||||
"""
|
||||
|
||||
|
||||
return types.ChatAdministratorRights.de_json(apihelper.get_my_default_administrator_rights(self.token, for_channels))
|
||||
|
||||
|
||||
|
@ -2667,7 +2667,7 @@ class AsyncTeleBot:
|
||||
Telegram documentation: https://core.telegram.org/bots/api#setchatmenubutton
|
||||
|
||||
: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
|
||||
|
||||
"""
|
||||
@ -2683,7 +2683,7 @@ class AsyncTeleBot:
|
||||
Telegram Documentation: https://core.telegram.org/bots/api#getchatmenubutton
|
||||
|
||||
: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
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user