D
D
den4eg112018-11-08 18:49:23
Messengers
den4eg11, 2018-11-08 18:49:23

Is it possible to send text first and then a photo to telegram using file_id in one post?

The user sends a photo to the bot. The bot pulls file_id The
task is to send a post, where first there is a text, and then the user's photo
when using return ctx.replyWithPhoto(file_id, {caption: 'text here'}) I get a photo in one post, and then a description. I need a description first, and then a photo. I see a solution to send via markdown, but there you need to use a link to the photo that needs to be downloaded.
I thought in the direction of bot.telegram.getFileLink, but such links go only to the jump, + bot data is opened

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question