Class TdApi.GetInternalLinkType

Enclosing class:
TdApi

public static class TdApi.GetInternalLinkType extends TdApi.Function<TdApi.InternalLinkType>
Returns information about the type of internal link. Returns a 404 error if the link is not internal. Can be called before authorization.

Returns InternalLinkType

  • Field Details

    • CONSTRUCTOR

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

    • GetInternalLinkType

      public GetInternalLinkType()
      Default constructor for a function, which returns information about the type of internal link. Returns a 404 error if the link is not internal. Can be called before authorization.

      Returns InternalLinkType

    • GetInternalLinkType

      public GetInternalLinkType(String link)
      Creates a function, which returns information about the type of internal link. Returns a 404 error if the link is not internal. Can be called before authorization.

      Returns InternalLinkType

      Parameters:
      link - The link.
  • 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