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

x/mtkruto/3_types.ts>Voice

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