- Notifications
You must be signed in to change notification settings - Fork5.7k
-
InlineQueryResultCachedAudio constructor doesn't accept title argument however when I'm trying to send this object I get |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 15 replies
-
Where did you get ths audio file id from? |
BetaWas this translation helpful?Give feedback.
All reactions
-
No, the problem is with display of list. Here's a video that demonstrates the issue. document_5449744986687960260.mp4 |
BetaWas this translation helpful?Give feedback.
All reactions
-
Oh! Strange behavior indeed. However this is not PTB related so there's nothing we can do, maybe try on a different client. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes, it's probably telegram problem. It's the same in web. .It works fine when output looks like list. Can I force it to be displayed as list? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Sorry for getting back to you late. It's a bit hard for me to understand what you mean by that without looking at some actual code. |
BetaWas this translation helpful?Give feedback.
All reactions
-
In this video you can see that when list returned by inline query method includes InlineQueryResultCachedVoice Telegram displays response as list of media with titles. Andin this case you can see title of audio sent as document. But when response does not include voice as in previous video Telegram displays it as gallery without titles and document becomes invisible. If you want to see source code:generate_inline_list generates response. But currently because audio does not work as intended bot does not support it. document_5465233575060203119.mp4 |
BetaWas this translation helpful?Give feedback.