libtd-ktx / kotlinx.telegram.coroutines / getWebPageInstantView
getWebPageInstantView
suspend fun TelegramFlow.getWebPageInstantView(url: String?, forceFull: Boolean): WebPageInstantView
Suspend function, which returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page.
Parameters
url - The web page URL.
forceFull - If true, the full instant view for the web page will be returned.
Return WebPageInstantView Describes an instant view page for a web page.