S
S
Semyon2021-12-12 12:42:07
Python
Semyon, 2021-12-12 12:42:07

Why doesn't InlineQueryResultCachedPhoto display the title and description of the result?

When using InlineQueryResultCachedPhoto with "title" and "description" parameters specified, it does not display the title and description of the result in the Inline query. With what it can be connected? I am using the pyTelegramBotAPI library.

InlineQueryResultCachedPhoto(
   id=PID,
   title=Users[ID].products[PID].name,
   description=Users[ID].products[PID].description,
   photo_file_id=FID[PID],
   caption="*{0}.*\n"
           "{1}.".format(Users[ID].products[PID].name,
                        Users[ID].products[PID].description),
   parse_mode="Markdown"
   )

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