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

x/grm/mod.ts>Api.BotInfo

MTProto API Client for Deno 🦕
Go to Latest
class Api.BotInfo
extends VirtualClass<{ userId?: long; description?: string; descriptionPhoto?: Api.TypePhoto; descriptionDocument?: Api.TypeDocument; commands?: Api.TypeBotCommand[]; menuButton?: Api.TypeBotMenuButton; }>
import { Api } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { BotInfo } = Api;

Properties

className: "BotInfo"
classType: "constructor"
optional
commands: Api.TypeBotCommand[]
CONSTRUCTOR_ID: 2402290519
optional
description: string
optional
descriptionDocument: Api.TypeDocument
optional
descriptionPhoto: Api.TypePhoto
optional
menuButton: Api.TypeBotMenuButton
SUBCLASS_OF_ID: 4059496923
optional
userId: long