You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/messaging/agent-chat-api/changelog/index.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,9 @@ The developer preview version provides a preview of the upcoming changes to the
40
40
41
41
- The **List Customers** method was removed.
42
42
- The **Subscribe Customers** ([RTM](/messaging/agent-chat-api/v3.6/rtm-reference/#subscribe_customers)) and **Unsubscribe Customers** ([RTM](/messaging/agent-chat-api/v3.6/rtm-reference/#unsubscribe_customers)) methods along with a [**subscribed_customers_totals_updated**](/messaging/agent-chat-api/v3.6/rtm-pushes/#subscribed_customers_totals_updated) push were added.
43
+
- The name of the `last_visit` field was changed to `visit` in the [**Customer**](/messaging/agent-chat-api/v3.6/data-structures#customer) data structure.
43
44
- The [**Customer**](/messaging/agent-chat-api/v3.6/data-structures#customer) data structure now contains information about HelpDesk tickets (when available).
Copy file name to clipboardExpand all lines: src/pages/messaging/agent-chat-api/v3.6/index.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1832,7 +1832,7 @@ Returns the info about the Customer with a given `id`.
1832
1832
|`created_at`| string | Specifies when the customer's identity was created. |
1833
1833
|`session_fields`|[]object | An array of custom object-enclosed `key:value` pairs. Returned only if set. Available for the session duration. |
1834
1834
|`statistics`| object | Counters for started threads, opened pages, etc. |
1835
-
|`last_visit`| object | Geolocation and opened pages from the customer's most recent online visit. Returned only if the customer logged in at least once. |
1835
+
|`visit`| object | Geolocation and opened pages from the customer's most recent online visit. Returned only if the customer logged in at least once. |
1836
1836
|`chat_ids`|[]string | IDs of a customer's chats. Returned only if the customer had at least one chat. |
Copy file name to clipboardExpand all lines: src/pages/messaging/agent-chat-api/v3.6/rtm-reference/index.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ The `filters`, `limit`, and `sort_order` parameters can't be provided along with
85
85
86
86
## Calling the API as a bot
87
87
88
-
Sometimes, you want to [send an event as a bot](#send-event). To do it, you need to have a token that allows you to send it. The token can be easily generated for an agent, but you cannot generate a token for a bot. The other time you want to [add a user to your chat](#add-user-to-chat), and this user happens to be a bot in the group with no access to this chat, so you cannot add it.
88
+
Sometimes, you want to [send an event as a bot](#send-event). To do it, you need to have a token that allows you to send it. The token can be easily generated for an agent, but you cannot generate a token for a bot. The other time you want to [add a user to your chat](#add-user-to-chat), and this user happens to be a bot in the group with no access to this chat, so you cannot add it.
89
89
90
90
In both situations, the `Author-Id` header is what you need to include in your request. With it, you can authorize using the agent’s token and send the event as a bot or add a bot to a chat even if the bot belongs to the group that has no access to this chat.
91
91
@@ -2018,7 +2018,7 @@ Returns the info about the Customer with a given `id`.
2018
2018
|`created_at`| string | Specifies when the customer's identity was created. |
2019
2019
|`session_fields`|[]object | An array of custom object-enclosed `key:value` pairs. Returned only if set. Available for the session duration. |
2020
2020
|`statistics`| object | Counters for started threads, opened pages, etc. |
2021
-
|`last_visit`| object | Geolocation and opened pages from the customer's most recent online visit. Returned only if the customer logged in at least once. |
2021
+
|`visit`| object | Geolocation and opened pages from the customer's most recent online visit. Returned only if the customer logged in at least once. |
2022
2022
|`chat_ids`|[]string | IDs of a customer's chats. Returned only if the customer had at least one chat. |
2023
2023
2024
2024
</Text>
@@ -2055,7 +2055,7 @@ Returns the info about the Customer with a given `id`.
2055
2055
}, {
2056
2056
"another_custom_key": "another_custom_value"
2057
2057
}],
2058
-
"last_visit": {
2058
+
"visit": {
2059
2059
"started_at": "2017-10-12T15:19:21.010200Z",
2060
2060
"ended_at": "2017-10-12T15:20:22.010200Z",
2061
2061
"referrer": "http://www.google.com/",
@@ -2422,7 +2422,7 @@ Removes the agent from the list of customer's followers. Calling this method on
2422
2422
2423
2423
### Subscribe Customers
2424
2424
2425
-
Creates a subscription for tracking customers based on the group they belong to. The response will contain customers currently matching the criteria. After a successful subscription, the agent will receive pushes about tracked customers on this RTM connection.
2425
+
Creates a subscription for tracking customers based on the group they belong to. The response will contain customers currently matching the criteria. After a successful subscription, the agent will receive pushes about tracked customers on this RTM connection.
2426
2426
2427
2427
If the number of tracked customers exceeds the limit, the `subscribed_customers_totals_updated` push will be periodically sent to indicate the total number of customers matching the criteria at the given moment.
0 commit comments