you can try
INPerson *person2 = [[INPerson alloc] initWithPersonHandle:personHandle2
nameComponents:nameComponents2
displayName:@"displayName2"
image:image
contactIdentifier:@"contactIdentifier2"
customIdentifier:@"customIdentifier2"
isMe:YES
suggestionType:INPersonSuggestionTypeNone];
INPerson *person = [[INPerson alloc]initWithPersonHandle:personHandle
nameComponents:nameComponents
displayName:@"displayName1"
image:image
contactIdentifier:@"contactIdentifier1"
customIdentifier:@"customIdentifier1"
isMe:NO
suggestionType:INPersonSuggestionTypeNone];
INSpeakableString *speakableGroupName = [[INSpeakableString alloc] initWithSpokenPhrase:@"speakableGroupName"];
INSendMessageIntent *sendMessageIntent = [[INSendMessageIntent alloc]
initWithRecipients:@[person2]
outgoingMessageType:INOutgoingMessageTypeOutgoingMessageText
content:nil
speakableGroupName:speakableGroupName
conversationIdentifier:@"threadId"
serviceName:@"serviceName"
sender:person
attachments:nil];
Topic:
Machine Learning & AI
SubTopic:
General
Tags: