mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fix getMyCommands overloads conflict when no arguments provided
This commit is contained in:
parent
064b6222e6
commit
a5cc80a1eb
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 0.36.1
|
## 0.36.1
|
||||||
|
|
||||||
|
* `API`:
|
||||||
|
* Fix `getMyCommands` overloads conflict when no arguments provided
|
||||||
* `Utils`:
|
* `Utils`:
|
||||||
* `buildEntities` DSL now have parameter `separator` to specify `TextSource` that will be inserted between other sources
|
* `buildEntities` DSL now have parameter `separator` to specify `TextSource` that will be inserted between other sources
|
||||||
|
|
||||||
|
@ -13,5 +13,5 @@ suspend fun TelegramBot.getMyCommands(
|
|||||||
|
|
||||||
suspend fun TelegramBot.getMyCommands(
|
suspend fun TelegramBot.getMyCommands(
|
||||||
scope: BotCommandScope = BotCommandScopeDefault,
|
scope: BotCommandScope = BotCommandScopeDefault,
|
||||||
languageCode: String? = null
|
languageCode: String?
|
||||||
) = getMyCommands(scope, languageCode ?.let(::IetfLanguageCode))
|
) = getMyCommands(scope, languageCode ?.let(::IetfLanguageCode))
|
||||||
|
Loading…
Reference in New Issue
Block a user