Constructors
NSChatAgent()
Methods
AcceptChatSessionTransfer(Integer)
Accept the transfer: assign the session to the user. If the session is not being transferred, nothing happens.AddChatMessage(Integer,NSChatMessage)
Adds a new message to a chat sessionAddChatTopicUserAgent(Integer,NSChatTopicAgent)
Adds a user to a chat topicChatSessionsForUser()
Gets all chat sessions which this user is a member of.Members means that you have at least one of: Can Respond, Notifications, Listen or Manager
ChatTopicsForUser()
Gets all chat topics which this user is a member of.nd, Notifications, Listen or Manager.Members means that you have at least one of: Can Respond, Notifications, Listen or Manager
CreateChatSessionForTopic(Integer)
Creates a new session on a chat topicCreateDefaultChatSessionEntity()
Sets default values into a new NSChatSessionEntity.NetServer calculates default values (for example Country) on the entity, which is required when creating/storing a new instance
CreateDefaultChatTopicAgent()
Sets default values into a new NSChatTopicAgent.NetServer calculates default values (for example Country) on the entity, which is required when creating/storing a new instance
CreateDefaultChatTopicEntity()
Sets default values into a new NSChatTopicEntity.NetServer calculates default values (for example Country) on the entity, which is required when creating/storing a new instance
DeleteChatSessionEntity(Integer)
Deletes the NSChatSessionEntityDeleteChatTopicEntity(Integer)
Deletes the NSChatTopicEntityDeleteChatTopicUserAgent(Integer,String)
Removes a user from a topicGetChatMessages(Integer,Integer)
Gets all or some of the messages in a chat sessionGetChatPresence()
Gets the chat presence status for all chat users.GetChatSessionEntity(Integer)
Gets an NSChatSessionEntity object.GetChatTopicEntity(Integer)
Gets an NSChatTopicEntity object.GetChatTopicUserAgent(Integer,String)
Gets a user assigned to a topicGetChatTopicUserAgentList(Integer)
Gets a list of users assigned to a chat topic.GetChatTranscript(Integer,Bool)
Gets the chat transcript, formatted as plain text or HTML.GetUserAgentList(Bool,Bool)
Gets list of users that can be assigned to chat topics.Users with Chat-CALs from the MDO list ‘chatuser’
IsWithinOpeningHours(Integer)
Checks if we are right now within the opening hours of the given topic. Will use timezones to calculate if configured.PickUpChatSession(Integer)
Answer the session: assign the session to the user. The welcome message is sent to the customer.PickUpFirstChatSession()
Answer the first available session from the queue: assign the session to the user. The welcome message is sent to the customer.RejectChatSessionTransfer(Integer)
Do not want. Deny the transfer to the user. If the session is not being transferred, nothing happens.ResetChatSession(Integer)
Resets chat session, puts it back on the queue for pickup.Used by bots to hand off a session to human