-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot cast [channel_ID] to any kind of InputPeer #14
Comments
@rtcq The chat/channel is not yet in cache If the client have already interacted in the chat, remove -100 and try. |
@AmarnathCJD Pro |
I see, so when I want to get a message, what would be the best method to get it directly? my current method is requesting it with channel_ID and message_ID like |
If the channel has a username if it's private, wait for NewMessage event and save the chatID and AccessHash from it. Reuse these values in future.
|
Ok thanks |
The text was updated successfully, but these errors were encountered: