pyrofork: fix NoneType errors in promote_chat_member

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-06-20 22:08:20 +07:00
parent 8c51a192af
commit ca6870502e
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

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