K
K
kos_dev2017-07-10 02:43:29
.NET
kos_dev, 2017-07-10 02:43:29

How to convert voice messages to text messages in Telegram?

Hello.
I am writing a telegram bot and first I want it to be able to recognize a person's voice message and output text from this voice message. The response from the bot comes like this:

[{"update_id":720609527,
"message":{"message_id":2,"from":{"id":226508937,"first_name":"Nick","last_name":"Anders","username":"hideNick","language_code":"ru-RU"},"chat":{"id":226508937,"first_name":"Nick","last_name":"Anders","username":"hideNick","type":"private"},"date":1499643337,"voice":{"duration":6,"mime_type":"audio/ogg","file_id":"AwADAgADQAADUSkZS85YseoR2g6eAg","file_size":53808}}}]

If someone knows how to get a voice message sent to Telegram in the form of text, then thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2017-07-10
@2ord

Search: speech to text recognition API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question