mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: fix Chat.promote_member NoneType error
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
30dad015ae
commit
ff69bbaf3b
1 changed files with 1 additions and 1 deletions
|
|
@ -954,7 +954,7 @@ class Chat(Object):
|
|||
self,
|
||||
user_id: Union[int, str],
|
||||
privileges: "types.ChatPrivileges" = None,
|
||||
title: Optional[str] = None,
|
||||
title: Optional[str] = "",
|
||||
) -> bool:
|
||||
"""Bound method *promote_member* of :obj:`~pyrogram.types.Chat`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue