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

x/mtkruto/3_types.ts>Audio

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Audio
Re-export
import { type Audio } from "https://deno.land/x/mtkruto@0.6.3/3_types.ts";

An audio file.

Properties

fileId: string

A file identifier that can be used to download or reuse this file.

fileUniqueId: string

A file identifier that can be used to identify this file.

duration: number

Duration of the audio in seconds.

optional
performer: string

Authors of the audio.

optional
title: string

Title of the audio.

mimeType: string

MIME type of the file.

fileSize: number

Size of the file in bytes.

thumbnails: Thumbnail[]

Thumbnails of the album cover to which the music file belongs.