getDeepLinkInfo - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / getDeepLinkInfo

getDeepLinkInfo

suspend fun TelegramFlow.getDeepLinkInfo(link: String?): DeepLinkInfo

Suspend function, which returns information about a tg:// deep link. Use "tg://need_update_for_some_feature" or "tg:someUnsupportedFeature" for testing. Returns a 404 error for unknown links. Can be called before authorization.

Parameters

link - The link.

Return DeepLinkInfo Contains information about a tg:// deep link.