Package it.tdlight.jni
Class TdApi.InlineKeyboardButtonTypeUrl
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.TdApi.InlineKeyboardButtonTypeUrl
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButtonTypeUrl extends TdApi.InlineKeyboardButtonType
A button that opens a specified URL.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
url
HTTP or tg:// URL to open. -
Constructor Summary
Constructors Constructor Description InlineKeyboardButtonTypeUrl()
A button that opens a specified URL.InlineKeyboardButtonTypeUrl(DataInput input)
InlineKeyboardButtonTypeUrl(String url)
A button that opens a specified URL. -
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
HTTP or tg:// URL to open. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InlineKeyboardButtonTypeUrl
public InlineKeyboardButtonTypeUrl()A button that opens a specified URL. -
InlineKeyboardButtonTypeUrl
A button that opens a specified URL.- Parameters:
url
- String HTTP or tg:// URL to open.
-
InlineKeyboardButtonTypeUrl
- 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()
-