Class NSChatSession
Use the ChatSessionEntity on the Chat agent instead. Chat sessions belong to a chat topic, and contain messages to/from users. Carrier object for ChatSession.
Syntax
Constructors
NSChatSession()
Initializes a new instance of the NSChatSession class.
Declaration
NSChatSession
Methods
GetChatSessionId()
Use the ChatSessionEntity on the Chat agent instead. Chat sessions belong to a chat topic, and contain messages to/from users. Carrier object for ChatSession.
Declaration
Integer GetChatSessionId()
Returns
| Type | Description |
|---|---|
| Integer | The primary key (auto-incremented). |
Examples
NSChatSession thing;
Integer chatSessionId = thing.GetChatSessionId();
SetChatSessionId(Integer)
Use the ChatSessionEntity on the Chat agent instead. Chat sessions belong to a chat topic, and contain messages to/from users. Carrier object for ChatSession.
Declaration
Void SetChatSessionId(Integer chatSessionId)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | chatSessionId | The primary key (auto-incremented). |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSChatSession thing;
Integer chatSessionId;
thing.SetChatSessionId(chatSessionId);