Package org.drinkless.tdlib
Class TdApi.UpdateNewOauthRequest
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateNewOauthRequest
- Enclosing class:
TdApi
An OAuth authorization request was received.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Update
TdApi.Update.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.A domain of the URL where the user authorizes.Human-readable description of a country and a region from which the authorization is performed, based on the IP address.The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds. -
Constructor Summary
ConstructorsConstructorDescriptionAn OAuth authorization request was received.UpdateNewOauthRequest(String domain, String location, String url) An OAuth authorization request was received. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
domain
A domain of the URL where the user authorizes. -
location
Human-readable description of a country and a region from which the authorization is performed, based on the IP address. -
url
The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateNewOauthRequest
public UpdateNewOauthRequest()An OAuth authorization request was received. -
UpdateNewOauthRequest
An OAuth authorization request was received.- Parameters:
domain- A domain of the URL where the user authorizes.location- Human-readable description of a country and a region from which the authorization is performed, based on the IP address.url- The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Update- Returns:
- this.CONSTRUCTOR
-