Skip to content

export Function

BotCommand ​

Constructor ​

ts
 MessageEntity.BotCommand( offset, length )
ParameterTypeDescription
offsetnumber
lengthnumber

Return: MessageEntityPayload

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.