Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>account_uploadRingtone_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class account_uploadRingtone_
extends Function_<enums.Document>
import { account_uploadRingtone_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.

Constructors

new
account_uploadRingtone_(params: { file: enums.InputFile; file_name: string; mime_type: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
file: enums.InputFile

Notification sound

file_name: string

File name

mime_type: string

MIME type of file

Static Properties

__F: (params: { file: enums.InputFile; file_name: string; mime_type: string; }) => enums.Document
readonly
[name]: string
readonly
[paramDesc]: ParamDesc