Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#sendAudio

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.sendAudio
import { Client } from "https://deno.land/x/mtkruto@0.6.3/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.