Function recognize_speech

Source
pub async fn recognize_speech(
    chat_id: i64,
    message_id: i64,
    client_id: i32,
) -> Result<(), Error>
Expand description

Recognizes speech in a video note or a voice note message. The message must be successfully sent, must not be scheduled, and must be from a non-secret chat

ยงArguments

  • chat_id - Identifier of the chat to which the message belongs
  • message_id - Identifier of the message
  • client_id - The client id to send the request to