Class TdApi.GetInternalLinkType

  • Enclosing class:
    TdApi

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

    Returns InternalLinkType

    • Field Detail

      • link

        public String link
        The link.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetInternalLinkType

        public GetInternalLinkType()
        Default constructor for a function, which returns information about the type of an 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 an internal link. Returns a 404 error if the link is not internal. Can be called before authorization.

        Returns InternalLinkType

        Parameters:
        link - The link.