mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-02 07:55:25 +00:00
10 lines
399 B
Kotlin
10 lines
399 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.bot
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.bot.SetMyCommands
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.BotCommand
|
||
|
|
||
|
suspend fun RequestsExecutor.setMyCommands(
|
||
|
commands: List<BotCommand>
|
||
|
) = execute(SetMyCommands(commands))
|