Skip to content

Commit a9adbf0

Browse files
author
skamieniarz
committed
API-10478: [CR] Add missing tags related webhooks to v35.py
1 parent 55707a4 commit a9adbf0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

livechat/webhooks/v35.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,27 @@ class GroupUpdated:
319319
agent_priorities: dict = None
320320

321321

322+
@dataclass
323+
class TagCreated:
324+
name: str
325+
author_id: str
326+
created_at: str
327+
group_ids: list
328+
329+
330+
@dataclass
331+
class TagDeleted:
332+
name: str
333+
334+
335+
@dataclass
336+
class TagUpdated:
337+
name: str
338+
group_ids: list
339+
author_id: str = None
340+
created_at: str = None
341+
342+
322343
# Other
323344

324345

@@ -366,5 +387,8 @@ class EventsMarkedAsSeen:
366387
'group_created': GroupCreated,
367388
'group_deleted': GroupDeleted,
368389
'group_updated': GroupUpdated,
390+
'tag_created': TagCreated,
391+
'tag_deleted': TagDeleted,
392+
'tag_updated': TagUpdated,
369393
'events_marked_as_seen': EventsMarkedAsSeen,
370394
}

0 commit comments

Comments
 (0)