Class TdApi.InlineKeyboardButtonTypeUrl

Enclosing class:
TdApi

public static class TdApi.InlineKeyboardButtonTypeUrl extends TdApi.InlineKeyboardButtonType
A button that opens a specified URL.
  • Field Details

    • url

      public String 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 CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InlineKeyboardButtonTypeUrl

      public InlineKeyboardButtonTypeUrl()
      A button that opens a specified URL.
    • InlineKeyboardButtonTypeUrl

      public InlineKeyboardButtonTypeUrl(String url)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR