Package org.drinkless.tdlib
Class TdApi.GetOauthLinkInfo
- Enclosing class:
TdApi
Returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.
Returns OauthLinkInfo
-
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.Origin of the OAuth request if the request was received from the in-app browser; pass an empty string otherwise.URL of the link. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns information about an OAuth deep link.GetOauthLinkInfo(String url, String inAppOrigin) Creates a function, which returns information about an OAuth deep link. -
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 link. -
inAppOrigin
Origin of the OAuth request if the request was received from the in-app browser; pass an empty string otherwise. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetOauthLinkInfo
public GetOauthLinkInfo()Default constructor for a function, which returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.Returns
OauthLinkInfo -
GetOauthLinkInfo
Creates a function, which returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.Returns
OauthLinkInfo- Parameters:
url- URL of the link.inAppOrigin- Origin of the OAuth request if the request was received from the in-app browser; pass an empty string otherwise.
-
-
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.OauthLinkInfo>- Returns:
- this.CONSTRUCTOR
-