Closed djnotes closed 4 years ago
channel#-1001262892111
is not a valid combination, use -1001262892111
or channel#1262892111
, instead.
Anyway, you should never be doing this manual kind of conversion, just pass the peer and you're done.
Why do update objects sometimes give -some_long_id
and other times some_short_id
? What is the difference between tg-cli style IDs and bot api style IDs? On Jan 20, 2020 15:01, Daniil Gentili notifications@github.com wrote:channel#-1001262892111 is not a valid combination, use -1001262892111 or channel#1262892111, instead.
Anyway, you should never be doing this manual kind of conversion, just pass the peer and you're done.
I am trying different ways of sending messages by sending to different types of peers. I get the following error which crashes my app. Seems like a bug in PeerHandler.
My code resulting in the crash is as follows:
I am not sure if I am ever sending a message to a super group with this code, but the method
toSuperGroup()
is called anyways.