Class TdApi.GetMessageLinkInfo

Enclosing class:
TdApi

public static class TdApi.GetMessageLinkInfo
extends TdApi.Function
Returns information about a public or private message link.

Returns MessageLinkInfo

  • Field Details

    • url

      public String url
      The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?...".
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetMessageLinkInfo

      public GetMessageLinkInfo()
      Returns information about a public or private message link.

      Returns MessageLinkInfo

    • GetMessageLinkInfo

      public GetMessageLinkInfo​(String url)
      Returns information about a public or private message link.

      Returns MessageLinkInfo

      Parameters:
      url - String The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?...".
    • GetMessageLinkInfo

      public GetMessageLinkInfo​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details