ChatKtx.getLoginUrlInfo - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / getLoginUrlInfo

getLoginUrlInfo

open suspend fun Chat.getLoginUrlInfo(messageId: Long, buttonId: Int): LoginUrlInfo

Suspend function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.

Parameters

messageId - Message identifier of the message with the button.

buttonId - Button identifier.

Return TdApi.LoginUrlInfo This class is an abstract base class.