Forums

Проблемы с аудио в телеграм боте

Я создаю телеграм бот. В нем используются аудио. Они воспроизводятся не так, как мне надо. Я хочу, чтобы они звучали только тогда, когда я нажимаю на иконку аудио. А в боте получается так: я нажимаю на иконку аудио и после этого воспроизводится все аудио, которые встречались в чате ранее. Мне нужно так: одно нажатие - одно аудио.

[edit by admin: translation via Google]

I'm creating a telegram bot. It uses audio. They don't reproduce the way I want them to. I want them to sound only when I click on the audio icon. And in the bot it works like this: I click on the audio icon and after that all the audio that was encountered in the chat earlier is played. I need this: one click - one audio.

These are the forums for PythonAnywhere, so we (as in the admins) can only really answer PythonAnywhere-specific questions. There might be another user of the platform here who can help, but you might be better off posting your question on a general Q&A site like Stack Overflow.