docs: add new methods Source

This commit is contained in:
Oleg A 2021-12-07 18:43:45 +03:00
parent a5739a8dd2
commit c380a2b1b7

View file

@ -1830,6 +1830,8 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
for this to work and must have the appropriate administrator
rights. Returns True on success.
Source: https://core.telegram.org/bots/api#banchatsenderchat
:param chat_id: Unique identifier for the target chat or
username of the target channel (in the format
@channelusername)
@ -1856,6 +1858,8 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
The bot must be an administrator for this to work and must have
the appropriate administrator rights. Returns True on success.
Source: https://core.telegram.org/bots/api#unbanchatsenderchat
:param chat_id: Unique identifier for the target chat or
username of the target channel (in the format
@channelusername)