java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.LoginUrlInfo
it.tdlight.jni.TdApi.LoginUrlInfoRequestConfirmation
- Enclosing class:
- TdApi
An authorization confirmation dialog
needs to be shown to the user.
-
Field Summary
Modifier and TypeFieldDescriptionlong
User identifier of a bot linked with the website.static final int
A domain of the URL.boolean
True, if the user must be asked for the permission to the bot to send them messages.An HTTP URL to be opened. -
Constructor Summary
ConstructorDescriptionAn authorization confirmation dialog needs to be shown to the user.An authorization confirmation dialog needs to be shown to the user.LoginUrlInfoRequestConfirmation
(String url, String domain, long botUserId, boolean requestWriteAccess) An authorization confirmation dialog needs to be shown to the user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
url
An HTTP URL to be opened. -
domain
A domain of the URL. -
botUserId
public long botUserIdUser identifier of a bot linked with the website. -
requestWriteAccess
public boolean requestWriteAccessTrue, if the user must be asked for the permission to the bot to send them messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
LoginUrlInfoRequestConfirmation
public LoginUrlInfoRequestConfirmation()An authorization confirmation dialog needs to be shown to the user. -
LoginUrlInfoRequestConfirmation
public LoginUrlInfoRequestConfirmation(String url, String domain, long botUserId, boolean requestWriteAccess) An authorization confirmation dialog needs to be shown to the user.- Parameters:
url
- String An HTTP URL to be opened.domain
- String A domain of the URL.botUserId
- long User identifier of a bot linked with the website.requestWriteAccess
- boolean True, if the user must be asked for the permission to the bot to send them messages.
-
LoginUrlInfoRequestConfirmation
An authorization confirmation dialog needs to be shown to the user.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-