Module tdlight.api

Class TdApi.GetLoginUrlInfo

Enclosing class:
TdApi

public static final class TdApi.GetLoginUrlInfo extends TdApi.Function<TdApi.LoginUrlInfo>
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button. Returns LoginUrlInfo
  • Field Details

    • chatId

      public long chatId
      Chat identifier of the message with the button.
    • messageId

      public long messageId
      Message identifier of the message with the button.
    • buttonId

      public long buttonId
      Button identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetLoginUrlInfo

      public GetLoginUrlInfo()
      Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button. Returns LoginUrlInfo
    • GetLoginUrlInfo

      public GetLoginUrlInfo(long chatId, long messageId, long buttonId)
      Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button. Returns LoginUrlInfo
      Parameters:
      chatId - long Chat identifier of the message with the button.
      messageId - long Message identifier of the message with the button.
      buttonId - long Button identifier.
    • GetLoginUrlInfo

      public GetLoginUrlInfo(DataInput input) throws IOException
      Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button. Returns LoginUrlInfo
      Throws:
      IOException
  • Method Details