mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-04-16 23:12:33 +00:00
fix of custom emoji icons passing in setParams of WebApp and rewrite init errors to warnings in SendQuizPoll
This commit is contained in:
@@ -47,7 +47,7 @@ data class BottomButtonParams(
|
||||
fun BottomButton.setParams(params: BottomButtonParams) = setParams(
|
||||
json(
|
||||
*listOfNotNull(
|
||||
params.iconCustomEmojiId ?.let { "icon_custom_emoji_id" to params.iconCustomEmojiId },
|
||||
params.iconCustomEmojiId ?.let { "icon_custom_emoji_id" to params.iconCustomEmojiId.string },
|
||||
params.text ?.let { "text" to params.text },
|
||||
params.color ?.let { "color" to params.color },
|
||||
params.textColor ?.let { "text_color" to params.textColor },
|
||||
|
||||
Reference in New Issue
Block a user