Skip to main content

MessageUri

MessageUri = object

A URI reference extracted from message content. URIs can reference users, roles, channels, assets, or external URLs.

Properties

attachment?

optional attachment: MessageUriAttachment

Metadata for file attachments. Only present when the URI references an uploaded file (root://asset/ or root://upload/ URIs). See MessageUriAttachment for the structure.


uri

uri: string

The full URI string. Common formats include:

TypeFormat
User mentionroot://user/{userId}
Role mentionroot://role/{roleId}
Channel mentionroot://channel/{channelId}
@All mentionroot://role/All
@Here mentionroot://role/Here
Assetroot://asset/{assetId}
External URLhttps://...