mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
docs: add new methods Source
This commit is contained in:
parent
a5739a8dd2
commit
c380a2b1b7
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue