mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
pyrofork: fix NoneType errors in promote_chat_member
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
8c51a192af
commit
ca6870502e
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class PromoteChatMember:
|
|||
chat_id: Union[int, str],
|
||||
user_id: Union[int, str],
|
||||
privileges: "types.ChatPrivileges" = None,
|
||||
title: Optional[str] = None,
|
||||
title: Optional[str] = "",
|
||||
) -> bool:
|
||||
"""Promote or demote a user in a supergroup or a channel.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue