Constructor: botInfo

Back to constructors index

Bot info


Name Type Required Description
user_id int Yes User ID
description string Yes Description
commands Array of BotCommand Yes Commands

Type: BotInfo


$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]];

Or, if you’re into Lua:

botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.