Let customers start a conversation with you from your app.
You can let a customer start a chat from your app by creating a class button and adding it to the app’s user interface. Build the chat button so that it calls the Business Chat URL link used in the target-action mechanism to initiate a conversation with your business when the customer taps the button.
Use the SVG button images to create a Business Chat button class. The SVG images are customizable to meet your design needs. Make sure you use an appropriate call-to-action message so your customers know that they can get resolution to their questions by tapping this entry point. For more information about customizing the Business Chat button for your website or app, see Business Chat Human Interface Guidelines.
The sample code below shows how to verify iOS version compatibility and build the Business Chat URL link with intent parameters.