mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-21 15:53:47 +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