Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions rocketchat_API/APISections/livechat.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def livechat_inquiries_take(self, inquiry_id, **kwargs):
"livechat/inquiries.take", inquiryId=inquiry_id, kwargs=kwargs
)

def livechat_get_inquiries(self, roomId, **kwargs):
"""Get Inquiry by Room ID"""
return self.call_api_get("livechat/inquiries.getOne", roomId=roomId, kwargs=kwargs)

def livechat_get_users(self, user_type, **kwargs):
"""Get a list of agents or managers."""
return self.call_api_get("livechat/users/{}".format(user_type), kwargs=kwargs)
Expand Down