class AttachMenuBot_
extends _AttachMenuBot_
import { AttachMenuBot_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Constructors
new
AttachMenuBot_(params: { inactive?: true; has_settings?: true; request_write_access?: true; show_in_attach_menu?: true; show_in_side_menu?: true; side_menu_disclaimer_needed?: true; bot_id: bigint; short_name: string; peer_types?: Array<enums.AttachMenuPeerType>; icons: Array<enums.AttachMenuBotIcon>; })Properties
protected
readonly
[params]: ParamsList of platform-specific static icons and animations to use for the attachment menu button
If set, before launching the mini app the client should ask the user to add the mini app to the attachment/side menu, and only if the user accepts, after invoking messages.toggleBotInAttachMenu the app should be opened.
List of dialog types where this attachment menu entry should be shown
Static Properties
readonly
[paramDesc]: ParamDesc