mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-27 14:13:05 +00:00
fix getMyCommands overloads conflict when no arguments provided
This commit is contained in:
1 parent
064b6222e6
commit
a5cc80a1eb
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -13,5 +13,5 @@ suspend fun TelegramBot.getMyCommands(
|
||||
|
||||
suspend fun TelegramBot.getMyCommands(
|
||||
scope: BotCommandScope = BotCommandScopeDefault,
|
||||
languageCode: String? = null
|
||||
languageCode: String?
|
||||
) = getMyCommands(scope, languageCode ?.let(::IetfLanguageCode))
|
||||
Reference in new issue
Block a user