-
Notifications
You must be signed in to change notification settings - Fork 1
/
livechat_chat.go
29 lines (24 loc) · 939 Bytes
/
livechat_chat.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package zendesk
// https://developer.zendesk.com/api-reference/live-chat/introduction/
type ChatService struct {
chatsService *ChatsService
agentEventService *AgentEventService
departmentService *DepartmentService
oauthClientService *OAuthClientService
}
// https://developer.zendesk.com/api-reference/live-chat/chat-api/chats/
func (s *ChatService) Chats() *ChatsService {
return s.chatsService
}
// https://developer.zendesk.com/api-reference/live-chat/chat-api/incremental_agent_events_api/
func (s *ChatService) AgentEvent() *AgentEventService {
return s.agentEventService
}
// https://developer.zendesk.com/api-reference/live-chat/chat-api/departments
func (s *ChatService) Department() *DepartmentService {
return s.departmentService
}
// https://developer.zendesk.com/api-reference/live-chat/chat-api/oauth_clients/
func (s *ChatService) OAuthClientService() *OAuthClientService {
return s.oauthClientService
}