libtd-ktx / kotlinx.telegram.coroutines / confirmQrCodeAuthentication
confirmQrCodeAuthentication
suspend fun
TelegramFlow
.confirmQrCodeAuthentication(link:
String
?):
Session
Suspend function, which confirms QR code authentication on another device. Returns created session on success.
Parameters
link
- A link from a QR code. The link must be scanned by the in-app camera.
Return Session Contains information about one session in a Telegram application used by the current user. Sessions should be shown to the user in the returned order.