1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-04 07:39:39 +00:00

Merge pull request #881 from InsanusMokrassar/15.3.0

hotfix for params in shareToStory
This commit is contained in:
2024-08-02 16:51:55 +06:00
committed by GitHub

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)