Module tdlight.api

Class TdApi.UserLink

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.UserLink
Enclosing class:
TdApi

public static final class TdApi.UserLink extends TdApi.Object
Contains an HTTPS URL, which can be used to get information about a user.
  • Field Details

    • url

      public String url
      The URL.
    • expiresIn

      public int expiresIn
      Left time for which the link is valid, in seconds; 0 if the link is a public username link.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UserLink

      public UserLink()
      Contains an HTTPS URL, which can be used to get information about a user.
    • UserLink

      public UserLink(String url, int expiresIn)
      Contains an HTTPS URL, which can be used to get information about a user.
      Parameters:
      url - String The URL.
      expiresIn - int Left time for which the link is valid, in seconds; 0 if the link is a public username link.
    • UserLink

      public UserLink(DataInput input) throws IOException
      Contains an HTTPS URL, which can be used to get information about a user.
      Throws:
      IOException
  • Method Details