One Logo Pool Ball
Intents · IOS API REFERENCE

INSendMessageIntent

class · iOS 10.0+ · SDK 27.1

class INSendMessageIntent

Members (13)

init · iOS 10.0+ · Deprecated in iOS 11.0

init

TypeScript
static initRecipientsContentGroupNameServiceNameSender(recipients?: (Array<INPerson>) | null, content?: (string) | null, groupName?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declaration
convenience init(recipients: [INPerson]?, content: String?, groupName: String?, serviceName: String?, sender: INPerson?)
init · iOS 11.0+ · Deprecated in iOS 14.0

init

TypeScript
static initRecipientsContentSpeakableGroupNameConversationIdentifierServiceNameSender(recipients?: (Array<INPerson>) | null, content?: (string) | null, speakableGroupName?: (INSpeakableString) | null, conversationIdentifier?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declaration
convenience init(recipients: [INPerson]?, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?)
init · iOS 14.0+ · Deprecated in iOS 14.0

init

TypeScript
static initRecipientsOutgoingMessageTypeContentSpeakableGroupNameConversationIdentifierServiceNameSender(recipients: (Array<INPerson>) | null, outgoingMessageType: INOutgoingMessageType, content?: (string) | null, speakableGroupName?: (INSpeakableString) | null, conversationIdentifier?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declaration
convenience init(recipients: [INPerson]?, outgoingMessageType: INOutgoingMessageType, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?)
init · iOS 14.0+

init

TypeScript
static initRecipientsOutgoingMessageTypeContentSpeakableGroupNameConversationIdentifierServiceNameSenderAttachments(recipients: (Array<INPerson>) | null, outgoingMessageType: INOutgoingMessageType, content?: (string) | null, speakableGroupName?: (INSpeakableString) | null, conversationIdentifier?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null, attachments?: (Array<INSendMessageAttachment>) | null): INSendMessageIntent
Swift declaration
init(recipients: [INPerson]?, outgoingMessageType: INOutgoingMessageType, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?, attachments: [INSendMessageAttachment]?)
get · iOS 14.0+

attachments

TypeScript
get attachments(): (Array<INSendMessageAttachment>) | null
Swift declaration
var attachments: [INSendMessageAttachment]? { get }
get · iOS 10.0+

content

TypeScript
get content(): (string) | null
Swift declaration
var content: String? { get }
get · iOS 11.0+

conversationIdentifier

TypeScript
get conversationIdentifier(): (string) | null
Swift declaration
var conversationIdentifier: String? { get }
get · iOS 10.0+ · Deprecated in iOS 11.0

groupName

TypeScript
get groupName(): (string) | null
Swift declaration
var groupName: String? { get }
get · iOS 14.0+

outgoingMessageType

TypeScript
get outgoingMessageType(): INOutgoingMessageType
Swift declaration
var outgoingMessageType: INOutgoingMessageType { get }
get · iOS 10.0+

recipients

TypeScript
get recipients(): (Array<INPerson>) | null
Swift declaration
var recipients: [INPerson]? { get }
get · iOS 10.0+

sender

TypeScript
get sender(): (INPerson) | null
Swift declaration
@NSCopying var sender: INPerson? { get }
get · iOS 10.0+

serviceName

TypeScript
get serviceName(): (string) | null
Swift declaration
var serviceName: String? { get }
get · iOS 11.0+

speakableGroupName

TypeScript
get speakableGroupName(): (INSpeakableString) | null
Swift declaration
@NSCopying var speakableGroupName: INSpeakableString? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

INSendMessageIntent.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All Intents types →