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

x/mtkruto/types/0_voice.ts>Voice

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Voice
import { type Voice } from "https://deno.land/x/mtkruto@0.6.2/types/0_voice.ts";

A voice note.

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.

mimeType: string

MIME type of the file.

fileSize: number

Size of the file in bytes.