R
R
Roman2020-10-24 13:37:22
Python
Roman, 2020-10-24 13:37:22

How to send a picture to a bot and combine text with a photo and send it to a group or channel?

I use telebot
the essence of the question is the following, how to make the bot make posts in the channel, the user throws the text, uploads the picture, sends it to the bot, the bot sends the post with the picture to the channel, I need help in solving the image processing

here is an example5f9403d30f377331335889.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Demidov, 2020-10-24
@no_name_2020

This requires Pillow.
I don’t use telebot at all,
but I’ll tell you, you need to somehow download the picture and somehow find out the text.
Next, this picture needs to be opened with PILLOW.
Then use the text method and write that text .
It's all written in the documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question