RCSService.Business
Structure containing details about a business.
Declaration
struct BusinessOverview
This structure and its supporting types correspond to the “chatbot” JSON schemas defined by the RCS specification.
To get information about a business, use the CellularServiceID and RCSHandle from an RCSMessage you receive in the RCS service’s incomingMessageNotifications, then call businessInformation(for:) on the RCS service, which returns an instance of the Business type.
Your app receives RCSService.Business.Card and RCSService.Business.CardCarousel instances as cases of the RCSMessage.Content enumeration in messages received from the RCS service’s incomingMessageNotifications asynchronous sequence. Use the properties of the received cards to display content sent from the business to the person using your app.
An RCSService.IncomingMessageNotification instance may contain RCSService.Business.Suggestion instances in its suggestions array. These suggestions can include a RCSService.Business.SuggestedAction or a RCSService.Business.SuggestedReply. Act on these, then call sendSuggestionResponse(_:) on the RCS service.
Topics
Accessing business identity information
Accessing business contact information
communicationAddressRCSService.Business.CommunicationAddressaddressEntriesRCSService.Business.AddressEntryemailAddresswebsiteURLverificationDetailsRCSService.Business.VerificationDetails
Accessing terms and conditions
Accessing display information
Accessing media entries
Accessing version information
Supporting types
RCSService.Business.CardRCSService.Business.CardCarouselRCSService.Business.ComposeRecordingActionRCSService.Business.ComposeTextActionRCSService.Business.CreateCalendarEventActionRCSService.Business.DialPhoneNumberActionRCSService.Business.MediaRCSService.Business.OpenURLActionRCSService.Business.ShowLocationActionRCSService.Business.SuggestedActionRCSService.Business.SuggestedReplyRCSService.Business.TelephoneDetailsRCSService.Business.URIEntry