Usergroup element
Displays a mention of a user group — in Repzo, a department.
| 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, usergroup. |
Required |
usergroup_id |
String | The id of the user group to mention. | Required |
style |
Object | An object of optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, underline and unlink. |
Optional |
Examples
Section titled “Examples”A department mention
Section titled “A department mention”
{ "blocks": [ { "type": "rich_text", "elements": [ { "type": "rich_text_section", "elements": [ { "type": "usergroup", "usergroup_id": "c2b8e5f1-4a6d-4e9b-8f73-1d5a0c6e9b28" }, { "type": "text", "text": " three tickets are close to breaching their SLA." } ] } ] } ]}