You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.
Starting group call not working in not super groups
Reproduce steps:
try to start group call in common(not super) group await GroupCall(...).start(505051194)
get pyrogram error about invalid argument
Fix:
Check GroupCall.chat_peer type in GroupCall.get_group_call method.
If it is raw.types.InputPeerChannel, then use functions.channels.GetFullChannel(channel=self.chat_peer)
else use functions.messages.GetFullChat(chat_id=self.chat_peer.chat_id).
It can also be InputPeerUser and InputPeerSelf, but imo this shouldn't be handled by this library.
The text was updated successfully, but these errors were encountered:
Starting group call not working in not super groups
Reproduce steps:
await GroupCall(...).start(505051194)
Fix:
Check
GroupCall.chat_peer
type inGroupCall.get_group_call
method.If it is
raw.types.InputPeerChannel
, then usefunctions.channels.GetFullChannel(channel=self.chat_peer)
else use
functions.messages.GetFullChat(chat_id=self.chat_peer.chat_id)
.It can also be InputPeerUser and InputPeerSelf, but imo this shouldn't be handled by this library.
The text was updated successfully, but these errors were encountered: