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

Retrieve caption of a sended document? #137

Open
DopeforHope opened this issue Dec 9, 2019 · 1 comment
Open

Retrieve caption of a sended document? #137

DopeforHope opened this issue Dec 9, 2019 · 1 comment

Comments

@DopeforHope
Copy link

Hey,

so it is possible to send a document with caption. But according to this: vysheng/tg#1631 it should be possible to retrieve the caption via msg['media']['caption'].

But in my case the receiver doesn't give a message with a caption field in the media dictionary...
Beside that everything works fine.

@luckydonald
Copy link
Owner

luckydonald commented Dec 9, 2019

You should check if the CLI is sending that in json mode. In the README of this project there is a section about debugging which should help you with that.

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

2 participants