Access Guide
- Create an application to obtain the Appkey.
- Integrate the SDK.
- Configure SDK information.
- Start the SDK to use the customer service capability.
Resource Package Description
The SDK includes (SobotKit.framework, SobotCommon.framework, SobotChatClient.framework, and SobotKit.bundle), SobotDemo, and Doc-related documentation.| File Name | Description | Notes |
|---|---|---|
| SobotKit.framework | Sobot SDK UI Code Library | |
| SobotCommon.framework | Sobot SDK Basic Component Library | |
| SobotChatClient.framework | Core business code library of ZhiChi SDK | |
| SobotKit.bundle | SDK resource library, including image files, multilingual files, and colors | |
| ZCSobotApi.h | This file provides access functions | |
| ZCLibInitInfo.h | Basic function parameter class (user information, reception mode, skill group, etc.) | |
| ZCKitInfo.h | Basic UI parameter class (color, control visibility, etc.) | |
| ZCUIBaseController | Parent class for UI interface, all other pages inherit from this controller | |
| ZCChatController | Chat Interface | |
| SobotLocalizable.strings | International language file, automatically matches based on system language by default | |
| ZCLibClient.h | Global configuration class, mainly includes non-UI related operation settings |
Integration Method
Manual Integration
Download link: iOS_SDK_V1 Unzip [iOS_SDK], and add the necessary files SobotKit.framework, SobotChatClient.framework, SobotCommon.framework, and SobotKit.bundle to your project. The implementation of the ZhiChi iOS_SDK relies on some system frameworks. When developing an application, these frameworks need to be added to the project. First, the developer should click the project name on the right side of the project. Then, on the right side of the project name, select TARGETS -> Build Phases -> Link Binary With Libraries. After expanding Link Binary With Libraries, click the + below to add the following dependencies:- AVFoundation.framework
- AssetsLibrary.framework
- AudioToolbox.framework
- SystemConfiguration.framework
- MobileCoreServices.framework
- WebKit.framework
CocoPods Integration
Add the following to your Podfile:Quick Start
Get app_key
Log in to the Sobot Technology Management Platform to get the appkey, as shown in the picture.
Initialize SDK
Initialize the SDK, configure the domain name and appkey. Domain Name Description:- The default SaaS platform domain name is: https://api.sobot.com.
- If you are a Tencent Cloud service, set it to: https://www.soboten.com.
- For other cases, please refer to the correct configuration of the domain name for obtaining the appkey.
| Parameter Name | Type | Description |
|---|---|---|
| appkey | NSString | app_key is required. You can view it in the backend under Settings -> APP. |
| host | NSString | Can be empty. Default is the Alibaba Cloud domain. If using another domain, you need to specify it yourself. |
| resultBlock | NSString | Initialization status callback |
Launch Customer Inquiry Page
Customize the UI style and use ZhiChi for customer inquiries. Example code:| Parameter Name | Type | Description |
|---|---|---|
| info | ZCKitInfo | Custom settings for initialization parameters |
| byController | UIViewController | The vc that performs the jump |
| pageClick | void (^)(id object,ZCPageBlockType type) | Callback when returning a click |
Start Customer Service Center
Optional. If not configured, you can skip it. Example code:
Permission Settings
If sending voice, images, videos, etc., the following permissions are required. The system will automatically judge internally. Not adding them does not affect the use of other functions.Advanced Features
Customer Service Configuration
1. Configure Robot Voice
Based on the needs of your own business, you can configure the following initialization parameters to control the access mode:2. Custom Transfer to Human Agent Event
Customize the manual transfer callback event to intercept the SDK’s manual transfer event. Use it to redirect to your application page for dynamically handling the manual transfer function, and configure parameters such as skill group ID/product information. [Note: If this method is implemented, the SDK’s transfer-to-human event will be handed over to external control. You can jump to a custom skill group page or switch product information, etc. The SDK will no longer perform the transfer-to-human operation. You need to call the transfer-to-human API turnServiceWithGroupId: to implement the specific transfer-to-human operation.]]3. Connect to the designated skill group
Get the skill group ID in the background:
Configure the skill group ID in the SDK code:[Note: This field is optional. If a skill group ID is provided, the SDK will skip the skill group selection dialog when transferring to manual service and directly route to the specified skill group.]
4. Connect to the designated customer service representative
Get the specified customer service ID in the background:
Set in the SDK code:
| Parameter Name | Type | Description |
|---|---|---|
| choose_adminid | NSString | Specify the customer service to connect. If not set, use the default value. |
| tran_flag | int | 0: Can be transferred to other customer service; 1: Must be transferred to a specified customer service. If set to 1, when the specified customer service is offline, it cannot be transferred to other customer service. |
5. Set User Custom Profile and Custom Fields
Developers can directly pass in these user details for customer service to view. Configure the fields you need to display on the workbench by yourself. The configuration method is as shown in the figure below:
Custom fields with fixed keys
6. Set up priority access for designated customers in the queue
The SDK can set the current user’s queue priority. When this user enters the queue, they will be served first.7. Set Service Summary Custom Fields
The SDK can configure custom fields for service summaries, enabling customer service to create session summaries more quickly.- Get Custom Field ID
- Set custom fields for service summary (Support transferring to human agents with service summary parameters)
8. Set Multi-turn Conversation Interface Parameters
When using the multi-round conversation feature, we pass two fixed custom parameters, uid and mulitParams, to each interface. The uid is the unique identifier for the user, and mulitParams is a custom field in JSON string format. If the user has integrated these two fields, we will pass them back to the third-party interface. If not, we will pass empty fields.9. Set VIP level and user tags
Conversations and Messages
1. Message Push Notifications
[Note: If you need the SDK push function, please refer to the following message notifications and registration push related code. If your project does not need it, please ignore.]- When generating the appkey, upload the push certificate (.p12 format). The exported certificate must have a password;
- Push notifications are only effective for manual conversations. The robot answers directly without push notifications. When local IM communicates normally, it will directly use the IM channel and will not send APNS push notifications.
2. Set whether to enable message notifications
When the user is not on the chat interface and receives a message from customer service, the app can provide reminders in the notification bar or at the chat entry. The notification bar reminder can display the content of the most recent message.3. Offline Messages
Offline Message Settings4. Unread Message Count Operations
5. Send Location Message
Send location information. This method can only initiate a location call when the initialization link is received and the URL is listened to as sobot://sendlocation. Otherwise, the sending may fail.5. Link Interception
Set the message link listenermessagelinkBlock to intercept link redirection. If the block returns YES, it means the current link event is handled by itself, and the internal system will not display the link.
6. Listen for changes in the current chat mode
You can do this by initializing the previous code:7. Regular expression for replacing mobile or landline numbers in messages
Change the rules for identifying your own phone number:8. Replace the regular expression for identifying hyperlinks in chat messages
Change the recognition rules for hyperlinks in messages:9. Hide Time Prompts in the Message List
10. Configure Automatic Message Content After Access
You can pre-configure related consultation questions. After entering the chat page, a consultation will be automatically initiated in the customer’s identity.11. Configure Sending Product Cards
Product inquiry information supports sending message cards directly only in manual mode. Configure the following information in ZCKitInfo.h, and pass it in when launching the page:
12. Order Card
The SDK can send custom order information, but this is only supported in manual mode. If you have this requirement, you can use the following method to set it up: Configuration Button:Return YES to indicate event interception, and let the user handle it manually. Returning NO means the event is not intercepted and will be handled internally by the ZhiChi SDK.
12. Send custom cards to the conversation record to recommend to customers in a systematic way
Custom Card Parameter Description Document13. End Session
Not required, the session will automatically stay connected and disconnect.Other Function Configurations
1. Customize the display time range for chat history
If you want to set users to only see chat records within xx days, you can call the following method to make the setting:2. ”+” Panel Menu Extension
In the customer service chat interface, after clicking the ”+” button, a menu panel will appear. You can add menus as needed. The code is as follows:3. Call up the dialing interface API
4. Wisdom Tooth Log Display Switch
5. IOS Multi-language Support
Currently, the SDK supports two languages: English and Chinese. The language will automatically switch and adapt based on the current phone language. If the current phone language is not recognized, it will default to Chinese. Language files are unified in the SobotKit.bundle file. If you need to add a new language package, place the supported language file in the corresponding language directory. For example: English path: SobotKit.bundle/en_lproj/SobotLocalizable.strings, Chinese path: SobotKit.bundle/zh-Hans_lproj/SobotLocalizable.strings; [Note: The language folder name is the current language name followed by _lproj, such as zh-Hans_lproj, en_lproj]6. Set Dark Mode
Starting from version 2.8.5, dark mode is supported. By default, it adapts automatically based on the phone’s system settings; it can also be forcefully specified for use, with the configuration as follows:7. Time Zone Adaptation
Starting from version 2.8.9, it is supported by default. The system uses Beijing East Eight Zone standard time. If dynamically adapting based on mobile phone time, configure the following code:8. Wisdom tooth partial function page click return and event listening (record only, do not intercept), you can add your own logic (e.g., tracking points)
9. Security Verification
- Function location: Online channel settings - Channel security settings - Security key settings - Check “Effective scope (APP)”.
- After enabling the APP “Security Key” function, the SDK channel must pass the partnerid parameter. When integrating, add the parameters “sign” and “create_time”. Here, sign = “MD5(app_key + partnerid + secret + create_time)”, createTime is a Unix millisecond timestamp; secret is a 32-character string, and create_time is a millisecond-level timestamp.
- After passing parameters, ZhiChi will decrypt the sign and verify whether the passed partnerid matches the partnerid in the sign. If they match, the system will connect to ZhiChi normally. If they do not match, the connection will fail. If the customer does not pass the partnerid or sign, it will be considered an illegal user, and the connection will fail. If the create_time differs from the current time by more than 5 minutes, it will be considered an illegal user, and the connection will fail.
- The function of enabling and disabling the “Security Key” in the APP takes effect in real time.
Parameter Description
ZCKitInfo Class Description (UI Related Configuration)
You can reset every time you start the ZhiChi page.1. UI Logic Related
| Attribute Name | Data Type | Description | Remarks |
|---|---|---|---|
| isOpenEvaluation | BOOL | Whether to enable satisfaction evaluation when clicking back | Default is NO, not enabled |
| isCloseAfterEvaluation | BOOL | After enabling satisfaction evaluation on return click, whether to close the session after the evaluation | Default is NO, not enabled |
| isShowTelIcon | BOOL | Whether to show the dial button at the top right corner of the navigation bar. Hidden by default. Note: Mutually exclusive with isShowEvaluation. Only one can be set as valid. | |
| isShowEvaluation | BOOL | Whether to show the evaluation button at the top right corner of the navigation bar | Hidden by default |
| customTel | NSString | When the dial button is displayed at the top right corner of the navigation bar (effective when set together with isShowTelIcon) | |
| isOpenRecord | BOOL | Whether to enable voice function (during manual reception) | Default YES, enabled |
| isSetPhotoLibraryBgImage | BOOL | Whether to set the photo library background image (if not set, it will follow the navigation color configuration) | |
| isOpenRobotVoice | BOOL | Whether to enable robot voice (requires activation; the robot cannot recognize voice if not activated) | |
| navcBarHidden | BOOL | Use a custom navigation bar in the SDK page, and do not use the system navigation bar (hidden) | |
| isSendInfoCard | BOOL | Whether to automatically send product card information (When transferring to human agent succeeds, the product card information will be sent automatically) Default: Not automatically sent | |
| isEveryTimeSendCard | BOOL | Whether to automatically send product information every time (When transferring to human agent succeeds, send product card information automatically) Need to first enable isSendInfoCard = YES | |
| productInfo | ZCProductInfo | Product information, used together with isSendInfoCard | |
| isShowCloseSatisfaction | BOOL | Whether to show the evaluation interface when closing the button. Default is not to show. | |
| isShowReturnTips | BOOL | Whether to show a prompt when returning. The default prompt text is: “Do you want to end the session?”. To modify it, please update the internationalization configuration file. | |
| ishidesBottomBarWhenPushed | BOOL | Hide BottomBar after push | Default is yes |
| isShowPortrait | BOOL | Only supports portrait mode | Default is NO |
| isCloseInquiryForm | BOOL | Whether to close the pre-inquiry form (default is NO, using system default configuration) | |
| isShowClose | BOOL | Whether to show the close button at the top right corner of the navigation bar. Hidden by default. After clicking the close button, background message listening will be disabled. | |
| isUseImagesxcassets | BOOL | Whether to use images in .xcassets | Default is NO, not enabled |
| autoSendOrderMessage | BOOL | After manual operation, whether to actively send a message | |
| isEveryTimeAutoSend | BOOL | Whether to send order information every time. You need to set the parameter autoSendOrderMessage = YES first. | |
| orderGoodsInfo | ZCOrderGoodsModel | Order information that needs to be sent, used together with autoSendOrderMessage | |
| leaveCompleteCanReply | BOOL | Whether to show the reply button after leaving a message | Default is yes, allowing replies |
| hideMenuSatisfaction | BOOL | Function in the plus sign at the bottom of the chat page: Hide evaluation | Default NO (not hidden) |
| hideMenuLeave | BOOL | Leave a message at the bottom plus sign of the chat page (human and robot) | Default NO (not hidden) |
| hideMenuManualLeave | BOOL | Leave a message at the bottom plus sign of the chat page (manual only) | Default NO (not hidden) |
| hideMenuPicture | BOOL | Function in the plus sign at the bottom of the chat page: Hide picture | Default NO (not hidden) |
| hideMenuCamera | BOOL | Function in the plus sign at the bottom of the chat page: Hide Camera | Default NO (not hidden) |
| hideMenuFile | BOOL | Function in the plus sign at the bottom of the chat page: Hide file | Default NO (not hidden) |
| themeStyle | BOOL | Whether to set to dark mode, 2: normal mode, 1: dark mode, 0: follow system settings | Default is 0 |
| useDefaultDarkTheme | BOOL | Whether to use the default dark theme if custom colors are set. If set to NO, the custom color attributes will not work in dark mode. | Default is YES |
| leaveContentPlaceholder | NSString | Custom leave message content placeholder | |
| leaveMsgGuideContent | NSString | Custom leave message guidance | |
| leaveCusFieldArray | NSMutableArray | Directly enter the custom field for leaving a message | |
| leaveMsgGroupId | NSString | Leave message skill group ID, obtain from: Settings -> Ticket Skill Group Settings | |
| hideChatTime | BOOL | Whether to hide chat time | Default NO |
| hideRototEvaluationLabels | BOOL | Whether to hide robot evaluation labels | Default NO, not hidden |
| hideManualEvaluationLabels | BOOL | Whether to hide manual evaluation labels | Default NO, not hidden |
| helpCenterTel | NSString | Help Center redirectable phone number | Not displayed by default |
| helpCenterTelTitle | NSString | Help Center Phone Number Display Content | Not displayed by default |
| showPhotoPreview | BOOL | When selecting a photo, it is not sent directly. Preview before sending. [Note: The preview box only shows a magnifying glass effect. It does not crop the image. The original image will still be sent.] | Default NO, Off |
| leaveTemplateId | NSString | Leave template id [Note: Use with ZCChatControllerDelegate] | |
| hideNavBtnMore | BOOL | Whether to hide the ”…” more button at the top right corner of the navigation | Default is NO, meaning not hidden by default |
| hideQRCode | BOOL | Whether to disable the QR code recognition feature | Set to YES to disable, default is NO to keep |
2. Font Related
| Attribute Name | Data Type | Description | Remarks | |
|---|---|---|---|---|
| titleFont | UIFont | Font for the top title | ||
| subTitleFont | UIFont | Subtitle font | ||
| listTitleFont | UIFont | List title font | ||
| listDetailFont | UIFont | Font for unread message button, rating label | ||
| listTimeFont | UIFont | Message reminders (time, transfer to human agent, customer service reception, etc.) font | ||
| chatFont | UIFont | Font for text in chat bubbles | ||
| voiceButtonFont | UIFont | Font for the text on the recording button | ||
| goodsTitleFont | UIFont | The font of the title text in the product details cell | ||
| goodsDetFont | UIFont | Font for the summary text in the product details cell | ||
| scTopTextFont | UIFont | Help Center Title Font |
3. Background Color Related
| Attribute Name | Data Type | Description | Remarks |
|---|---|---|---|
| goodSendBtnColor | UIColor | Background color of the btn in the product details cell | |
| leftChatColor | UIColor | Color of the left chat bubble | |
| rightChatColor | UIColor | Color of the right chat bubble | |
| leftChatSelectedColor | UIColor | Color of selected text in left chat bubble | |
| rightChatSelectedColor | UIColor | Color of the selected copy for the right chat bubble | |
| bottomLineColor | UIColor | Bottom border line color of the bottom box (input box, recording button, dividing line) | |
| commentCommitButtonColor | UIColor | Comment submit button background color | |
| commentItemButtonBgColor | UIColor | Default color of the rating option button (follows the theme color by default) | |
| LineRichColor | UIColor | Line color in rich text | |
| goodSendBtnColor | UIColor | Background color of the product send button | |
| leaveSubmitBtnImgColor | UIColor | Background color of the submit button on the message page | |
| topViewBgColor | UIColor | Custom navigation bar background color | |
| documentLookImgProgressColor | UIColor | Document view, ImgProgress image background color | |
| documentBtnDownColor | UIColor | File view, button background color | |
| notificationTopViewBgColor | UIColor | Background color of the announcement bar | |
| satisfactionSelectedBgColor | UIColor | Background color for “Resolved” and “Unresolved” on the feedback page | |
| leaveSuccessViewBgColor | UIColor | Background color of the prompt page after successfully submitting a message |
4. Text Color Related
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| topViewTextColor | UIColor | Top text color | |
| leftChatTextColor | UIColor | Left bubble text color | |
| rightChatTextColor | UIColor | Right bubble text color | |
| chatTextViewColor | UIColor | Input box text color | |
| timeTextColor | UIColor | Color of the time text | |
| chatLeftLinkColor | UIColor | Link color in left bubble | |
| chatRightLinkColor | UIColor | Link color in right bubble | |
| satisfactionTextColor | UIColor | The text color after submitting the evaluation will end the session | |
| noSatisfactionTextColor | UIColor | Text color for not satisfied | |
| satisfactionTextSelectedColor | UIColor | The text color for “Resolved” and “Unresolved” on the feedback page | |
| scoreExplainTextColor | UIColor | Text color for the satisfaction rating explanation | |
| submitEvaluationColor | UIColor | Text color of the submit evaluation button | |
| notificationTopViewLabelColor | UIColor | Text color of the announcement bar | |
| leaveSubmitBtnTextColor | UIColor | Text color of the submit button on the message page | |
| scTopTextColor | UIColor | Text color for Help Center and navigation titles | |
| robotBtnTitleColor | UIColor | Text color of the switch robot button | |
| textNolColor | UIColor | Default text color for buttons like “Click More”, “Reviews”, “Comments”, “Images” | |
| pricetTagTextColor | UIColor | Custom card product price text color | |
| referenceLeftLineColor | UIColor | Color of the vertical line on the left side of the quoted message | |
| referenceLeftNameColor | UIColor | Color of the sender name on the left side of the quoted message | |
| referenceLeftTextColor | UIColor | Reference message left content color | |
| referenceRightLineColor | UIColor | Reference message right vertical line color | |
| referenceRightNameColor | UIColor | Reference message right-side sender name color | |
| referenceRightTextColor | UIColor | Color of the content on the right side of the quoted message |
5. UI Extension
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| cusMoreArray | NSMutableArray | Custom input box below more (+ icon) button content below (will not replace existing content, will append to the original content) Filling content is: ZCLibCusMenu.h title: Button name url: Click link (clicking will call the initialization linkBock) imgName: Local image name, such as [email protected], icon=xxx | |
| cusMenuArray | NSMutableArray | Custom quick access Filling content: ZCLibCusMenu.h url: Quick access link (clicking will call the initialization linkBock) title: Button title lableId: ID for custom quick access | |
| cusRobotMoreArray | NSMutableArray | Custom content below the more button (+ icon) under the custom input box (does not replace existing content, appends to the original). Fill with content from: ZCLibCusMenu.h |
Description of the ZCLibInitInfo Class
This object will be automatically created after initialization. You can use it directly afterwards.1. ID Related:
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| api_host | NSString | API domain name. The default SaaS platform domain name is: https://api.sobot.com | If you are using Tencent Cloud services, set it to: https://ten.sobot.com. For other cases, please refer to the correct configuration of the domain name for obtaining the appkey. |
| app_key | NSString | Must be set. Initialization will fail if not set. The value will be automatically assigned during initialization. | Required |
| choose_adminid | NSString | Specify customer service ID | |
| tran_flag | int | Transfer type | 0 Can transfer to other agents 1 Must transfer to designated agent |
| partnerid | NSString | Unique user identifier | Integrate reliable user identity, must not be hardcoded (using a fixed value will result in the same identity, with serious consequences). It is not recommended to be null. If empty, it will differentiate by device. Supports up to 300 characters; any excess will be automatically truncated. |
| robotid | NSString | Docking Robot ID | |
| robot_alias | NSString | Alias for the connected robot. If this value is set, robotid needs to be cleared each time. | |
| platform_userid | NSString | Platform channel parameter, which will be automatically assigned after successful initialization | |
| platform_key | NSString | Private key | |
| sign | NSString | Signature MD5 (app_key+partnerid+secret+create_time) | Use this when you need to generate the signature yourself |
| create_time | NSString | Timestamp used for the signature |
2. Customer service workstation display:
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| user_nick | NSString | Nickname | |
| user_name | NSString | Real name | |
| user_tels | NSString | User phone | |
| user_emails | NSString | User email | |
| NSString | |||
| remark | NSString | Note | |
| face | NSString | User-defined avatar | |
| visit_title | NSString | Access source page title | |
| visit_url | NSString | Source URL for access | |
| params | NSDictionary | User information | |
| customer_fields | NSDictionary | Custom fields with fixed KEY. All KEYs take effect after being set in the workspace (Settings -> Custom Fields -> User Information Fields) | @{@"customField22":@"I am a custom branch"}; |
| group_name | NSString | Skill group name | |
| groupid | NSString | Skill group ID | |
| isVip | NSString | Specifies whether the customer is a VIP, 0: Regular 1: VIP | Same as PC settings - Online customer service allocation - Queue priority settings - VIP customer queue priority. Enable by passing 1. Default is not set. When enabled, if the specified customer initiates a consultation and there is a queue, the system will prioritize their access. |
| vipLevel | NSString | Specify the VIP level for the customer, pass in the level | Same as PC end Settings-Custom Fields-Customer Fields |
| enterprise_name | NSString | Company/Enterprise Name |
3. Related Talking Points:
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| admin_hello_word | NSString | Custom customer service greeting, default is empty (If passed in, this field will be used first) | |
| robot_hello_word | NSString | Custom robot greeting, default is empty (If passed in, this field takes precedence) | |
| user_tip_word | NSString | Custom user timeout prompt, empty by default (If passed in, this field will be used first) | |
| admin_offline_title | NSString | Custom message when the customer service is offline, default is empty (if passed in, this field will be used first) | |
| admin_tip_word | NSString | Custom customer service timeout prompt, default is empty (If passed in, this field will be used first) | |
| user_out_word | NSString | Custom user timeout offline prompt, default is empty (If passed in, this field will be used first) |
4. Conversation Page Related:
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| service_mode | int | Custom access mode: 1. Only robot, 2. Human only, 3. Intelligent customer service - Robot first, 4. Intelligent customer service - Human first | |
| custom_title_url | NSString | Custom image path | |
| scope_time | int | History record time range, in minutes (Example: 100 - represents sessions from 100 minutes ago) | |
| notifition_icon_url | NSString | URL of the notification icon | |
| faqId | int | Specify guiding words, set specific guiding words for different users |
5. Others:
| Attribute Name | Data Type | Description | Notes |
|---|---|---|---|
| margs | NSDictionary | Extended fields for hotspot guidance questions | |
| transferaction | NSArray | Transfer to human agent, specify skill group overflow. actionType: Action type: to_group: Transfer to specified skill group. optionId: Overflow setting when specifying a skill group: 3: Overflow, 4: No overflow. deciId: The specified skill group. spillId: Overflow condition when specifying a customer service group: 4: No agents online in the skill group, 5: All agents in the skill group are busy, 6: Skill group is off duty, 7: Intelligent judgment. Example: [{"actionType":"to_group","optionId":"3","deciId":"162bb6bb038d4a9ea018241a30694064","spillId":"7"}, {"actionType":"to_group","optionId":"4","deciId":"a457f4dfe92842f8a11d1616c1c58dc1"}] | |
| summary_params | NSDictionary | Custom fields for transferring to human agent key: @{@"customField15619769556831":@"Display xxyyyzzz1032"}; | |
| multi_params | NSDictionary | Multi-turn conversation custom field | |
| good_msg_type | int | Custom product order info type; 0 Do not send 1 Send to bot 2 Send to human agent 3 Send to both bot and human agent | |
| content | NSString | Automatically send product order information content | |
| queue_first | int | Specify customer priority | |
| default_language | NSString | Default language. If not specified, the system language is not recognized, defaulting to English, en_lproj | Only used when not recognized |
| absolute_language | NSString | Specifies the language, not following the system language auto-switch |
Frequently Asked Questions
FAQ: Please click the link to access the intelligent robot and enter your question.Update Notes
《Sobot iOS_SDK Version Update Notes》Source Code and Demo
Sobot iOS_SDK UI source code;Sobot SDK function experience Demo APP download;