Package org.drinkless.tdlib
Class TdApi.InlineKeyboardButtonTypeLoginUrl
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonType
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonTypeLoginUrl
-
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButtonTypeLoginUrl extends TdApi.InlineKeyboardButtonType
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringforwardTextIf non-empty, new text of the button in forwarded messages.longidUnique button identifier.StringurlAn HTTP URL to open.
-
Constructor Summary
Constructors Constructor Description InlineKeyboardButtonTypeLoginUrl()A button that opens a specified URL and automatically authorize the current user if allowed to do so.InlineKeyboardButtonTypeLoginUrl(String url, long id, String forwardText)A button that opens a specified URL and automatically authorize the current user if allowed to do so.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
url
public String url
An HTTP URL to open.
-
id
public long id
Unique button identifier.
-
forwardText
public String forwardText
If non-empty, new text of the button in forwarded messages.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineKeyboardButtonTypeLoginUrl
public InlineKeyboardButtonTypeLoginUrl()
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
-
InlineKeyboardButtonTypeLoginUrl
public InlineKeyboardButtonTypeLoginUrl(String url, long id, String forwardText)
A button that opens a specified URL and automatically authorize the current user if allowed to do so.- Parameters:
url- An HTTP URL to open.id- Unique button identifier.forwardText- If non-empty, new text of the button in forwarded messages.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-