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

x/mtkruto/mod.ts>types.BotInfo

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.BotInfo
extends _TypeBotInfo
import { types } from "https://deno.land/x/mtkruto@0.0.997/mod.ts";
const { BotInfo } = types;

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