Skip to main content
Module

x/mtkruto/mod.ts>Client#sendAudio

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.sendAudio
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.ts";

Send an audio file.

Parameters

chatId: ID

The chat to send the audio file to.

audio: FileSource

The audio to send.

optional
params: SendAudioParams

Returns

Promise<MessageAudio>

The sent audio filr.