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

x/mtkruto/3_types.ts>InputMediaAudio

Cross-runtime JavaScript library for building Telegram clients
Latest
interface InputMediaAudio
implements _InputMediaCommon
import { type InputMediaAudio } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

Properties

audio: FileSource

The audio.

optional
thumbnail: FileSource

A thumbnail to assign. Cannot be a URL.

optional
duration: number

The duration of the audio file in seconds.

optional
performer: string

Names of the entities that are being featured in the audio.

optional
title: string

The title of the audio.