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

x/grm/src/tl/mod.ts>Api.bots.SetBotCommands

MTProto API Client for Deno 🦕
Go to Latest
class Api.bots.SetBotCommands
extends Request<Partial<{ scope: Api.TypeBotCommandScope; langCode: string; commands: Api.TypeBotCommand[]; }>, Bool>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { SetBotCommands } = Api.bots;

Properties

className: "bots.SetBotCommands"
classType: "request"
commands: Api.TypeBotCommand[]
CONSTRUCTOR_ID: 85399130
langCode: string
scope: Api.TypeBotCommandScope
SUBCLASS_OF_ID: 4122188204

Static Methods

fromReader(reader: Reader): SetBotCommands