1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-18 06:13:47 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.bot/set-my-commands.md

13 lines
966 B
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.bot](index.md)/[setMyCommands](set-my-commands.md)
# setMyCommands
[common]
Content
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setMyCommands](set-my-commands.md)(commands: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BotCommand](../dev.inmo.tgbotapi.types/-bot-command/index.md)>): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setMyCommands](set-my-commands.md)(vararg commands: [BotCommand](../dev.inmo.tgbotapi.types/-bot-command/index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)