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>BotInfo_

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

Info about bots (available bot commands, etc)

Constructors

new
BotInfo_(params?: { user_id?: bigint; description?: string; description_photo?: enums.Photo; description_document?: enums.Document; commands?: Array<enums.BotCommand>; menu_button?: enums.BotMenuButton; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
commands: Array<enums.BotCommand>

Bot commands that can be used in the chat

optional
description: string

Description of the bot

optional
description_document: enums.Document

Description animation in MPEG4 format

optional
description_photo: enums.Photo

Description photo

optional
menu_button: enums.BotMenuButton

Indicates the action to execute when pressing the in-UI menu button for bots

optional
user_id: bigint

ID of the bot

Static Properties

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