Intents · IOS API REFERENCE
INSendMessageIntent
class · iOS 10.0+ · SDK 27.1
class INSendMessageIntent
Members (13)
init · iOS 10.0+ · Deprecated in iOS 11.0init
TypeScriptstatic initRecipientsContentGroupNameServiceNameSender(recipients?: (Array<INPerson>) | null, content?: (string) | null, groupName?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declarationconvenience init(recipients: [INPerson]?, content: String?, groupName: String?, serviceName: String?, sender: INPerson?)
init · iOS 11.0+ · Deprecated in iOS 14.0init
TypeScriptstatic initRecipientsContentSpeakableGroupNameConversationIdentifierServiceNameSender(recipients?: (Array<INPerson>) | null, content?: (string) | null, speakableGroupName?: (INSpeakableString) | null, conversationIdentifier?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declarationconvenience init(recipients: [INPerson]?, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?)
init · iOS 14.0+ · Deprecated in iOS 14.0init
TypeScriptstatic initRecipientsOutgoingMessageTypeContentSpeakableGroupNameConversationIdentifierServiceNameSender(recipients: (Array<INPerson>) | null, outgoingMessageType: INOutgoingMessageType, content?: (string) | null, speakableGroupName?: (INSpeakableString) | null, conversationIdentifier?: (string) | null, serviceName?: (string) | null, sender?: (INPerson) | null): INSendMessageIntent
Swift declarationconvenience init(recipients: [INPerson]?, outgoingMessageType: INOutgoingMessageType, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?)
init · iOS 14.0+init
TypeScriptstatic 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 declarationinit(recipients: [INPerson]?, outgoingMessageType: INOutgoingMessageType, content: String?, speakableGroupName: INSpeakableString?, conversationIdentifier: String?, serviceName: String?, sender: INPerson?, attachments: [INSendMessageAttachment]?)
get · iOS 14.0+attachments
TypeScriptget attachments(): (Array<INSendMessageAttachment>) | null
Swift declarationvar attachments: [INSendMessageAttachment]? { get }
get · iOS 10.0+content
TypeScriptget content(): (string) | null
Swift declarationvar content: String? { get }
get · iOS 11.0+conversationIdentifier
TypeScriptget conversationIdentifier(): (string) | null
Swift declarationvar conversationIdentifier: String? { get }
get · iOS 10.0+ · Deprecated in iOS 11.0groupName
TypeScriptget groupName(): (string) | null
Swift declarationvar groupName: String? { get }
get · iOS 14.0+outgoingMessageType
TypeScriptget outgoingMessageType(): INOutgoingMessageType
Swift declarationvar outgoingMessageType: INOutgoingMessageType { get }
get · iOS 10.0+recipients
TypeScriptget recipients(): (Array<INPerson>) | null
Swift declarationvar recipients: [INPerson]? { get }
get · iOS 10.0+sender
TypeScriptget sender(): (INPerson) | null
Swift declaration@NSCopying var sender: INPerson? { get }
get · iOS 10.0+serviceName
TypeScriptget serviceName(): (string) | null
Swift declarationvar serviceName: String? { get }
get · iOS 11.0+speakableGroupName
TypeScriptget 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 →