libtd-ktx / kotlinx.telegram.extensions / MessageKtx / getLoginUrlInfo
getLoginUrlInfo
open suspend fun Message.getLoginUrlInfo(chatId: 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
chatId - Chat identifier of the message with the button.
buttonId - Button identifier.
Return TdApi.LoginUrlInfo This class is an abstract base class.