transcribeVoice

Transcribe a voice message. User-only.

Parameters

chatId: ID

The identifier of the chat that includes the message.

messageId: number

The identifier of the message.

Result

Syntax

await client.transcribeVoice(chatId, messageId);