Class TdApi.LoginUrlInfoRequestConfirmation
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LoginUrlInfo
dev.voroby.springframework.telegram.client.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
Identifier uniquely determining type of the object.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.LoginUrlInfoRequestConfirmation
(String url, String domain, long botUserId, boolean requestWriteAccess) An authorization confirmation dialog needs to be shown to the user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- 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 must be asked for the permission to the bot to send them messages.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-