mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-13 20:03: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 {
|
): StoryShareParams {
|
||||||
val result: dynamic = js("{}")
|
val result: dynamic = js("{}")
|
||||||
result["text"] = text
|
result["text"] = text
|
||||||
widgetLink ?.let { result["widgetLink"] = it }
|
widgetLink ?.let { result["widget_link"] = it }
|
||||||
return result.unsafeCast<StoryShareParams>()
|
return result.unsafeCast<StoryShareParams>()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user