Relative Content

Tag Archive for pythonaiogrampyrogram

Sending thumbnail_url images using the image id to InlineQueryResultArticle in aiogram3

I want to implement such functionality for parsing and displaying channels in telegram:
enter image description here
I already get help from cl.get_chat(cht_id) (pyrogram) subscribers,the name and type of the channel, as well as the picture, but how to transfer this picture to the thumbnail_url InlineQueryResultArticle (aiogram3) if you need a url, but get_chat gives the id of the picture,how to make the correct display of the picture in inlinequeryresultarticle ?