Module tdlight.api

Class TdApi.LoginUrlInfoRequestConfirmation

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.LoginUrlInfo
it.tdlight.jni.TdApi.LoginUrlInfoRequestConfirmation
Enclosing class:
TdApi

public static final class TdApi.LoginUrlInfoRequestConfirmation extends TdApi.LoginUrlInfo
An authorization confirmation dialog needs to be shown to the user.
  • Field Details

    • url

      public String url
      An HTTP URL to be opened.
    • domain

      public String domain
      A domain of the URL.
    • botUserId

      public long botUserId
      User identifier of a bot linked with the website.
    • requestWriteAccess

      public boolean requestWriteAccess
      True, if the user must be asked for the permission to the bot to send them messages.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • LoginUrlInfoRequestConfirmation

      public LoginUrlInfoRequestConfirmation()
      An authorization confirmation dialog needs to be shown to the user.
    • LoginUrlInfoRequestConfirmation

      public LoginUrlInfoRequestConfirmation(String url, String domain, long botUserId, boolean requestWriteAccess)
      An authorization confirmation dialog needs to be shown to the user.
      Parameters:
      url - An HTTP URL to be opened.
      domain - A domain of the URL.
      botUserId - User identifier of a bot linked with the website.
      requestWriteAccess - True, if the user must be asked for the permission to the bot to send them messages.
    • LoginUrlInfoRequestConfirmation

      public LoginUrlInfoRequestConfirmation(DataInput input) throws IOException
      An authorization confirmation dialog needs to be shown to the user.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object