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
Can this issue be reproduced with the latest version?
Yes
What did you do?
Just run echo bot example
What did you expect to see?
should echo in super group, it echo as expected in normal Telegram group
I test the same bot(same appId, appHash, botToken) with pyrogram, pyrogram can receive message from the same super group
What did you see instead?
nothing
What Go version and environment are you using?
``
go version go1.23.3 windows/amd64
And there is another bug, the ChatID from group or super group should be negative
The text was updated successfully, but these errors were encountered:
def get_peer_id(peer: raw.base.Peer) -> int:
"""Get the non-raw peer id from a Peer object"""
if isinstance(peer, raw.types.PeerUser):
return peer.user_id
if isinstance(peer, raw.types.PeerChat):
return -peer.chat_id
if isinstance(peer, raw.types.PeerChannel):
return MAX_CHANNEL_ID - peer.channel_id
raise ValueError(f"Peer type invalid: {peer}")
What version of gotd are you using?
Can this issue be reproduced with the latest version?
Yes
What did you do?
Just run echo bot example
What did you expect to see?
should echo in super group, it echo as expected in normal Telegram group
I test the same bot(same appId, appHash, botToken) with pyrogram, pyrogram can receive message from the same super group
What did you see instead?
nothing
What Go version and environment are you using?
``
go version go1.23.3 windows/amd64
The text was updated successfully, but these errors were encountered: