Package org.drinkless.tdlib
Class TdApi.CheckOauthRequestMatchCode
- Enclosing class:
TdApi
Checks a match-code for an OAuth authorization request. If fails, then the authorization request has failed. Otherwise, authorization confirmation dialog must be shown and the link must be processed using acceptOauthRequest or declineOauthRequest.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The matching code chosen by the user.URL of the OAuth deep link. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which checks a match-code for an OAuth authorization request.CheckOauthRequestMatchCode(String url, String matchCode) Creates a function, which checks a match-code for an OAuth authorization request. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
url
URL of the OAuth deep link. -
matchCode
The matching code chosen by the user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CheckOauthRequestMatchCode
public CheckOauthRequestMatchCode()Default constructor for a function, which checks a match-code for an OAuth authorization request. If fails, then the authorization request has failed. Otherwise, authorization confirmation dialog must be shown and the link must be processed using acceptOauthRequest or declineOauthRequest.Returns
Ok -
CheckOauthRequestMatchCode
Creates a function, which checks a match-code for an OAuth authorization request. If fails, then the authorization request has failed. Otherwise, authorization confirmation dialog must be shown and the link must be processed using acceptOauthRequest or declineOauthRequest.Returns
Ok- Parameters:
url- URL of the OAuth deep link.matchCode- The matching code chosen by the user.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-