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
So, I cant take channel name from message.fwd_from. And I dont join into this channel.
When I try to call GetFullChannelRequest, I have next error:
ChannelInvalidError(...), 'Invalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited.'
You should be able to client.get_input_entity(PeerChannel(fwd.from_id)), as the library saves id/hash pairs automatically and by default for you. Using 0 as the hash for the InputChannel simply won't work.
I try to get name of channel by channel id:
message.fwd_from
looks like:So, I cant take channel name from
message.fwd_from
. And I dont join into this channel.When I try to call
GetFullChannelRequest
, I have next error:How to get name of channel properly?
ps
Question on stackoverflow
The text was updated successfully, but these errors were encountered: