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 Detail

      • 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 - An HTTP URL to open.
        id - Unique button identifier.
        forwardText - If non-empty, new text of the button in forwarded messages.