1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-09 09:53:47 +00:00

fix of "widget_link" parameter name in StoryShareParams

This commit is contained in:
InsanusMokrassar 2024-08-01 17:39:14 +06:00
parent 799ad6ca66
commit 8bb3095fb1

View File

@ -12,6 +12,6 @@ fun StoryShareParams(
): StoryShareParams {
val result: dynamic = js("{}")
result["text"] = text
widgetLink ?.let { result["widgetLink"] = it }
widgetLink ?.let { result["widget_link"] = it }
return result.unsafeCast<StoryShareParams>()
}