User element
Displays a mention of a user.
| Available in | Messages, Modals, Home tab |
| Used in | Rich text section element, Rich text list element, Rich text quote element |
Fields
Section titled “Fields”| Field | Type | Description | Required? |
|---|---|---|---|
type |
String | The type of object; in this case, user. |
Required |
user_id |
String | The id of the user to mention. | Required |
style |
Object | An object of optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, underline and unlink. |
Optional |
from_llm |
Boolean | Whether the mention was generated by an LLM. | Optional |
Examples
Section titled “Examples”A user mention
Section titled “A user mention”
{ "blocks": [ { "type": "rich_text", "elements": [ { "type": "rich_text_section", "elements": [ { "type": "user", "user_id": "3f6c2a1e-8b4d-4c7a-9e21-5d0b7f9a1c34" }, { "type": "text", "text": " was assigned the deal Orchid Dental Clinics." } ] } ] } ]}