Skip to main content
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.983/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