Skip to content

Commit 32f320c

Browse files
committed
API-10525: apply review comments
1 parent c168598 commit 32f320c

File tree

8 files changed

+6
-3
lines changed

8 files changed

+6
-3
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55

66
### Added
77
- New methods in configuration-api v3.5 for tags management: `create_tag`, `list_tags`, `update_tag`, `delete_tag`.
8+
- New method in reports-api v3.5 for getting tags usage statistics in chats: `tags_chat_usage`.
89

910
### Changed
1011
- Major refactoring: classes with API methods for each version are now held in separate modules

examples/customer_rtm_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
from livechat.customer.rtm.base import CustomerRTM
44

5-
customer_rtm = CustomerRTM.get_client(organization_id='foo-bar-baz')
5+
customer_rtm = CustomerRTM.get_client(
6+
organization_id='142cf3ad-5d54-4cf6-8ce1-3773d14d7f3f')
67
customer_rtm.open_connection()
78
customer_rtm.login(token='Bearer <your bearer token>')
89
response = customer_rtm.start_chat(continuous=True)

examples/customer_web_example.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
from livechat.customer.web.base import CustomerWeb
44

5-
customer_web = CustomerWeb.get_client(organization_id='foo-bar-baz',
6-
access_token='<your access token>')
5+
customer_web = CustomerWeb.get_client(
6+
organization_id='142cf3ad-5d54-4cf6-8ce1-3773d14d7f3f',
7+
access_token='<your access token>')
78
results = customer_web.start_chat(continuous=True)
89
chat_id = results.json().get('chat_id')
910
thread_id = results.json().get('thread_id')

livechat/agent/rtm/api/__init__.py

Whitespace-only changes.

livechat/agent/web/api/__init__.py

Whitespace-only changes.

livechat/configuration/api/__init__.py

Whitespace-only changes.

livechat/customer/rtm/api/__init__.py

Whitespace-only changes.

livechat/customer/web/api/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)