mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-22 08:37:12 +00:00
fix of "widget_link" parameter name in StoryShareParams
This commit is contained in:
parent
799ad6ca66
commit
8bb3095fb1
@ -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>()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user