OBJECT

Visitor

A website visitor that requests a chat.

link GraphQL Schema definition

1type Visitor implements User {
2
3# The channel which the visitor is currently in.
4current_channel: VisitorChannel
5
6# The current city of the visitor.
7current_city: String
8
9# The current country of the visitor.
10current_country: String
11
12# The current requested department of the visitor.
13current_department: Department
14
15# The current device type of the visitor.
16current_device_type: String
17
18# The current IP address of the visitor.
19current_ip: String
20
21# The current platform of the visitor.
22current_platform: String
23
24# The current region of the visitor.
25current_region: String
26
27# The current tags of the visitor.
28current_tags: [String!]!
29
30# The current user agent of the visitor.
31current_user_agent: String
32
33# The current path of webpages the visitor has been to.
34current_web_paths(
35after: String,
36first: Int,
37before: String,
38last: Int
39): WebPathConnection
40
41# The display name of the visitor.
42display_name: String
43
44# The email of the visitor.
45email: String
46
47# The external ID of the visitor, if authenticated
48external_id: String
49
50# The list of past chat history of the visitor. Limited to the last 99 chats.
51history(after: String, first: Int, before: String, last: Int): VisitorChannelConnection
52
53# Globally unique identifier.
54id: ID!
55
56# The remark given to the visitor by an agent.
57notes: String
58
59# The phone number of the visitor.
60phone: String
61
62# The raw id of the visitor.
63raw_id: ID!
64
65# The status of the visitor to indicates its activity.
66status: VISITOR_STATUS!
67
68}