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

hotfix for params in shareToStory

This commit is contained in:
InsanusMokrassar 2024-08-02 16:51:20 +06:00
parent 8e3e44769e
commit 96bbf5fc81

View File

@ -102,7 +102,7 @@ external class WebApp {
fun openTelegramLink(url: String)
fun openInvoice(url: String, callback: (InvoiceClosedInfo) -> Unit = definedExternally)
fun shareToStory(mediaUrl: String, params: StoryShareParams?)
fun shareToStory(mediaUrl: String, params: StoryShareParams? = definedExternally)
fun requestWriteAccess(callback: ((Boolean) -> Unit)? = definedExternally)
fun requestContact(callback: ((Boolean) -> Unit)? = definedExternally)