index/interfaces/CreateFlagOptions.md
Options for creating a content flag/report
- Chat/Comment: reason and details are optional (one-click flag)
- Stream: reason is required (modal flow)
Properties
| Property | Type | Description |
|---|---|---|
contentId | string | ID of the content (message ID, comment ID, or stream ID) |
contentType | ContentType | Type of content being flagged |
details? | string | Additional details about the flag (max 500 chars) |
reason? | FlagReason | Reason for the flag (required for STREAM, optional for others) |
reportedUserAddress | string | Address of the user who created the flagged content |
tokenName | string | Token name the content belongs to |
content id type flag reason reported user address token name