LoginUrlInfo
public indirect enum LoginUrlInfo : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Contains information about an inline button of type inlineKeyboardButtonTypeLoginUrl
-
An HTTP url needs to be open
- url: The URL to open
- skipConfirm: True, if there is no need to show an ordinary open URL confirm
Declaration
Swift
case open(url: String, skipConfirm: Bool)
-
An authorization confirmation dialog needs to be shown to the user
- url: An HTTP URL to be opened
- domain: A domain of the URL
- botUserId: User identifier of a bot linked with the website
- requestWriteAccess: True, if the user needs to be requested to give the permission to the bot to send them messages
Declaration
Swift
case requestConfirmation(url: String, domain: String, botUserId: Int32, requestWriteAccess: Bool)