Package it.tdlight.jni
Class TdApi.InlineKeyboardButtonTypeLoginUrl
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.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 int
CONSTRUCTOR
String
forwardText
If non-empty, new text of the button in forwarded messages.int
id
Unique button identifier.String
url
An 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(DataInput input)
InlineKeyboardButtonTypeLoginUrl(String url, int id, String forwardText)
A button that opens a specified URL and automatically authorize the current user if allowed to do so. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
url
An HTTP URL to open. -
id
public int idUnique button identifier. -
forwardText
If non-empty, new text of the button in forwarded messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InlineKeyboardButtonTypeLoginUrl
public InlineKeyboardButtonTypeLoginUrl()A button that opens a specified URL and automatically authorize the current user if allowed to do so. -
InlineKeyboardButtonTypeLoginUrl
A button that opens a specified URL and automatically authorize the current user if allowed to do so.- Parameters:
url
- String An HTTP URL to open.id
- int Unique button identifier.forwardText
- String If non-empty, new text of the button in forwarded messages.
-
InlineKeyboardButtonTypeLoginUrl
- 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()
-