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

x/mtkruto/mod.ts>Audio

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Audio
Re-export
import { type Audio } from "https://deno.land/x/mtkruto@0.1.118/mod.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.