bots.getBotCommands

Obtain a list of bot commands for the specified bot scope and language code

 اسکیمای روش از لایه 129 در دسترس است. تغییر »

Parameters

Name Type Description
scope BotCommandScope Command scope
lang_code string Language code

Result

Vector<BotCommand>

Only bots can use this method

Possible errors

Code Type Description
400 USER_BOT_REQUIRED This method can only be called by a bot.