java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.TdApi.InlineKeyboardButtonTypeLoginUrl
- Enclosing class:
- TdApi
public static final class TdApi.InlineKeyboardButtonTypeLoginUrl
extends TdApi.InlineKeyboardButtonType
A button that opens a specified URL
and automatically authorize the current
user by calling getLoginUrlInfo.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
If non-empty, new text of the button in forwarded messages.long
Unique button identifier.An HTTP URL to pass to getLoginUrlInfo. -
Constructor Summary
ConstructorDescriptionA button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.InlineKeyboardButtonTypeLoginUrl
(String url, long id, String forwardText) A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
url
An HTTP URL to pass to getLoginUrlInfo. -
id
public long idUnique button identifier. -
forwardText
If non-empty, new text of the button in forwarded messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InlineKeyboardButtonTypeLoginUrl
public InlineKeyboardButtonTypeLoginUrl()A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo. -
InlineKeyboardButtonTypeLoginUrl
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.- Parameters:
url
- String An HTTP URL to pass to getLoginUrlInfo.id
- long Unique button identifier.forwardText
- String If non-empty, new text of the button in forwarded messages.
-
InlineKeyboardButtonTypeLoginUrl
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-