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

x/mtkruto/tl/2_types.ts>AttachMenuBotIcon_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class AttachMenuBotIcon_
import { AttachMenuBotIcon_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Represents an attachment menu icon for bot mini apps »

Constructors

new
AttachMenuBotIcon_(params: { name: string; icon: enums.Document; colors?: Array<enums.AttachMenuBotIconColor>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
colors: Array<enums.AttachMenuBotIconColor>

Attachment menu icon colors.

icon: enums.Document

The actual icon file.

name: string

One of the following values: note that animated icons must be played when the user clicks on the button, activating the bot mini app.

default_static - Default attachment menu icon in SVG format
placeholder_static - Default placeholder for opened Web Apps in SVG format
ios_static - Attachment menu icon in SVG format for the official iOS app
ios_animated - Animated attachment menu icon in TGS format for the official iOS app
android_animated - Animated attachment menu icon in TGS format for the official Android app
macos_animated - Animated attachment menu icon in TGS format for the official native Mac OS app
ios_side_menu_static - Side menu icon in PNG format for the official iOS app
android_side_menu_static - Side menu icon in SVG format for the official android app
macos_side_menu_static - Side menu icon in PNG format for the official native Mac OS app

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc