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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class BotInfo
extends TypeBotInfo
import { BotInfo } from "https://deno.land/x/mtkruto@0.0.982/tl/2_types.ts";

Constructors

new
BotInfo(params?: { userId?: bigint; description?: string; descriptionPhoto?: TypePhoto; descriptionDocument?: TypeDocument; commands?: Array<TypeBotCommand>; menuButton?: TypeBotMenuButton; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
commands: Array<TypeBotCommand>
optional
description: string
optional
descriptionDocument: TypeDocument
optional
descriptionPhoto: TypePhoto
optional
menuButton: TypeBotMenuButton
optional
userId: bigint

Static Properties

readonly
[paramDesc]: ParamDesc