Class 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 Details

    • url

      public String url
      An HTTP URL to open.
    • id

      public long id
      Unique button identifier.
    • forwardText

      public String 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

      public InlineKeyboardButtonTypeLoginUrl​(String url, long id, String forwardText)
      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 - long Unique button identifier.
      forwardText - String If non-empty, new text of the button in forwarded messages.
    • InlineKeyboardButtonTypeLoginUrl

      public InlineKeyboardButtonTypeLoginUrl​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details