One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSService.ReportSpamRequest

struct · iOS 26.0+ · SDK 27.1

struct ReportSpamRequest

A structure that contains information about a spam reporting request for an RCS message.

Members (9)

get · iOS 26.0+

fileContent

TypeScript
get fileContent(): (ArrayBuffer) | null
Swift declaration
var fileContent: Data?

The content of the file attachment message. When possible, supply downloaded file content when reporting a message as spam.

set · iOS 26.0+

fileContent

TypeScript
set fileContent(value: (ArrayBuffer) | null)
Swift declaration
var fileContent: Data?

The content of the file attachment message. When possible, supply downloaded file content when reporting a message as spam.

get · iOS 26.0+

reason

TypeScript
get reason(): (string) | null
Swift declaration
var reason: String?

An optional reason to report the message as spam.

set · iOS 26.0+

reason

TypeScript
set reason(value: (string) | null)
Swift declaration
var reason: String?

An optional reason to report the message as spam.

init · iOS 26.0+

init

TypeScript
static init(message: RCSMessage, fileContent?: (ArrayBuffer) | null, category?: (RCSService_ReportSpamRequest_Category) | null, reason?: (string) | null): RCSService_ReportSpamRequest
Swift declaration
init(message: RCSMessage, fileContent: Data? = nil, category: RCSService.ReportSpamRequest.Category? = nil, reason: String? = nil)
get · iOS 26.0+

message

TypeScript
get message(): RCSMessage
Swift declaration
var message: RCSMessage

The message to report as spam.

set · iOS 26.0+

message

TypeScript
set message(value: RCSMessage)
Swift declaration
var message: RCSMessage

The message to report as spam.

get · iOS 26.0+

category

TypeScript
get category(): (RCSService_ReportSpamRequest_Category) | null
Swift declaration
var category: RCSService.ReportSpamRequest.Category?

An optional category to classify the spam type of the message.

set · iOS 26.0+

category

TypeScript
set category(value: (RCSService_ReportSpamRequest_Category) | null)
Swift declaration
var category: RCSService.ReportSpamRequest.Category?

An optional category to classify the spam type of the message.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →