pyrofork: fix Chat.promote_member NoneType error

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-07-13 15:02:12 +07:00
parent 30dad015ae
commit ff69bbaf3b
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -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`.