Skip to main content
Module

x/grm/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.8.0/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