Class TdApi.InlineKeyboardButtonTypeUrl
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InlineKeyboardButtonType
dev.voroby.springframework.telegram.client.TdApi.InlineKeyboardButtonTypeUrl
- Enclosing class:
- TdApi
A button that opens a specified URL.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.HTTP or tg:// URL to open. -
Constructor Summary
ConstructorDescriptionA button that opens a specified URL.A button that opens a specified URL. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
url
HTTP or tg:// URL to open. If the link is of the type internalLinkTypeWebApp, then the button must be marked as a Web App button. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InlineKeyboardButtonTypeUrl
public InlineKeyboardButtonTypeUrl()A button that opens a specified URL. -
InlineKeyboardButtonTypeUrl
A button that opens a specified URL.- Parameters:
url
- HTTP or tg:// URL to open. If the link is of the type internalLinkTypeWebApp, then the button must be marked as a Web App button.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-