1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-25 03:28:44 +00:00

Merge pull request #881 from InsanusMokrassar/15.3.0

hotfix for params in shareToStory
This commit is contained in:
InsanusMokrassar 2024-08-02 16:51:55 +06:00 committed by GitHub
commit 6016387e07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,7 @@ external class WebApp {
fun openTelegramLink(url: String) fun openTelegramLink(url: String)
fun openInvoice(url: String, callback: (InvoiceClosedInfo) -> Unit = definedExternally) 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 requestWriteAccess(callback: ((Boolean) -> Unit)? = definedExternally)
fun requestContact(callback: ((Boolean) -> Unit)? = definedExternally) fun requestContact(callback: ((Boolean) -> Unit)? = definedExternally)