MessageReferenceMaps
MessageReferenceMaps =
object
Contains resolved display names for all references in a message, including user mentions, channel mentions, role mentions, and file attachments.
Properties
assets?
optionalassets:object
Map of general asset URIs to their metadata. Keys are root://asset/{id} URIs. Use this to display file attachment information.
Index Signature
[key: string]: AssetInformation
channels?
optionalchannels:MessageReferenceMapChannel[]
Array of channels mentioned in the message. Each entry maps a channel ID to its current name.
imageAssets?
optionalimageAssets:object
Map of image asset URIs to their metadata. Keys are root://asset/{id} URIs. Use this to display image previews or thumbnails.
Index Signature
[key: string]: AssetImage
roles?
optionalroles:MessageReferenceMapCommunityRole[]
Array of roles mentioned in the message. Each entry maps a role ID to its current name. Includes @All and @Here mentions.
users?
optionalusers:MessageReferenceMapUser[]
Array of users mentioned in the message. Each entry maps a user ID to their current display name.