Skip to main content
Send a link part when a URL should be the Message’s primary content.

Composition rules

  • A link must use a valid absolute URL.
  • Maximum length is 2,048 characters.
  • A link must be the only part in its Message.
  • Relay stores the URL as the link part.
  • Clients render preview metadata from the URL.
Use a text part when the URL belongs inside a larger sentence. POST /v1/chats rejects links in the first Message, including HTTP or HTTPS URLs inside a text part. Use POST /v1/messages to resolve or create the Chat when the first Message is a link, or send the link to an existing Chat.