mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16: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,
|
self,
|
||||||
user_id: Union[int, str],
|
user_id: Union[int, str],
|
||||||
privileges: "types.ChatPrivileges" = None,
|
privileges: "types.ChatPrivileges" = None,
|
||||||
title: Optional[str] = None,
|
title: Optional[str] = "",
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""Bound method *promote_member* of :obj:`~pyrogram.types.Chat`.
|
"""Bound method *promote_member* of :obj:`~pyrogram.types.Chat`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue