transcribe_audio()

Client.transcribe_audio()

Transcribes the audio of a voice message.

Parameters:
  • chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat.

  • message_id (``int``) – Identifier of the message containing the voice message.

Returns:

:obj:`~pyrogram.types.TranscribeAudio` (On success.)