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