fileContent
TypeScriptget fileContent(): (ArrayBuffer) | nullSwift declarationvar fileContent: Data?The content of the file attachment message. When possible, supply downloaded file content when reporting a message as spam.
struct · iOS 26.0+ · SDK 27.1
struct ReportSpamRequestA structure that contains information about a spam reporting request for an RCS message.
get fileContent(): (ArrayBuffer) | nullSwift declarationvar fileContent: Data?The content of the file attachment message. When possible, supply downloaded file content when reporting a message as spam.
set fileContent(value: (ArrayBuffer) | null)Swift declarationvar fileContent: Data?The content of the file attachment message. When possible, supply downloaded file content when reporting a message as spam.
get reason(): (string) | nullSwift declarationvar reason: String?An optional reason to report the message as spam.
set reason(value: (string) | null)Swift declarationvar reason: String?An optional reason to report the message as spam.
static init(message: RCSMessage, fileContent?: (ArrayBuffer) | null, category?: (RCSService_ReportSpamRequest_Category) | null, reason?: (string) | null): RCSService_ReportSpamRequestSwift declarationinit(message: RCSMessage, fileContent: Data? = nil, category: RCSService.ReportSpamRequest.Category? = nil, reason: String? = nil)get message(): RCSMessageSwift declarationvar message: RCSMessageThe message to report as spam.
set message(value: RCSMessage)Swift declarationvar message: RCSMessageThe message to report as spam.
get category(): (RCSService_ReportSpamRequest_Category) | nullSwift declarationvar category: RCSService.ReportSpamRequest.Category?An optional category to classify the spam type of the message.
set category(value: (RCSService_ReportSpamRequest_Category) | null)Swift declarationvar category: RCSService.ReportSpamRequest.Category?An optional category to classify the spam type of the message.
No declarations were skipped in this snapshot.