Skip to main content

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​

PropertyTypeDescription
contentIdstringID of the content (message ID, comment ID, or stream ID)
contentTypeContentTypeType of content being flagged
details?stringAdditional details about the flag (max 500 chars)
reason?FlagReasonReason for the flag (required for STREAM, optional for others)
reportedUserAddressstringAddress of the user who created the flagged content
tokenNamestringToken name the content belongs to