How to display the Business Messaging on your iOS app?
Displaying Business Messaging
The following keys are essential to call the methods for displaying the conversation AI in your app.
• OrgId
• AppId
• Domain

The values of these keys appear under the Instant Messaging section on the setup page in Zoho Desk.
For all method calls related to Business messaging, you must include the following import statement.
Show Bot:
Swift
- import BusinessMessagingSDK
Objective-C
- @import BusinessMessagingSDK;
Display Business Messaging:
Swift
- Businessmessaging.show(orgId: <#orgId#>, appId: <#appId#>, domain: <#domain#>)
Objective-C
- [Businessmessaging showWithOrgId:<#orgId#> appId:<#appId#> domain:<#domain#>];
What are session variables?
These variables are dynamically retrieved during the bot conversations. These variables are org-specific and accessible across GC flows.
You can perform these actions with the session variable as mentioned:
Set Session Variable:
Swift
- Businessmessaging.setSessionVariables(appId: <#AppId#>, sessionVariables: <#sessionVariable#>)
Objective-C
- [Businessmessaging setSessionVariablesWithAppId:<#AppId#> sessionVariables:<#SessionVariables#>];
Update Session Variable:
Swift
- Businessmessaging.updateSessionVariables(appId: <#AppId#>, sessionVariables: <#sessionVariable#>)
Objective-C
- [Businessmessaging updateSessionVariablesWithAppId:<#AppId#> sessionVariables:<#SessionVariables#>];