Skip to content
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

How to handle incoming 'messageMediaPoll ' messages? #100

Open
scozic opened this issue Jun 10, 2022 · 0 comments
Open

How to handle incoming 'messageMediaPoll ' messages? #100

scozic opened this issue Jun 10, 2022 · 0 comments

Comments

@scozic
Copy link

scozic commented Jun 10, 2022

Hi I am writing a telegram client that listen to incoming messages but I noticed some relevant messages carried in 'Polls' could not be read.

After a few debugging, it appears when such message is received, the incoming 'MessageMedia' part of the TLMessage being deserialized is mapped to messageMediaUnsupported#9f84f49e
According to documentation it means it is 'not supported by current client version'.

Indeed, I could see no implementation for messageMediaPoll message media in org.telegram.api.message.media package, and I could add it. But, how to have the server consider my client as valid for receiving such media?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant