spam_list IQ stanzas.
Access
Send a spam report directly through the client:send_spam_report
SpamReportRequest
required
The spam report request containing message details, sender info, and the report flow type.
SpamReportResult
Contains an optional
report_id returned by the server.Group spam report
Types
SpamReportRequest
SpamFlow
The context from which the spam report was triggered.SpamReportResult
Error handling
The method returnsResult<SpamReportResult, IqError>. Common errors include network failures and server-side rejections.
See also
- Client API - Core client methods
- Blocking - Block and unblock contacts