Class ChatTopicRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the chat_topic table.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ChatTopicRecordData
Remarks
Please use this class instead of a full ChatTopicRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ChatTopicTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ChatTopicRecordData()
Declaration
public ChatTopicRecordData()
Fields
AlertRecipient
The recipient(s) for the alert template
Declaration
public string AlertRecipient
Field Value
Type | Description |
---|---|
System.String |
AlertTemplate
The reply template to use for alerting
Declaration
public int AlertTemplate
Field Value
Type | Description |
---|---|
System.Int32 |
AlertTimeout
The number of seconds for an unanswered session before we alert
Declaration
public int AlertTimeout
Field Value
Type | Description |
---|---|
System.Int32 |
BadgeHeader
The badge header of the chat topic
Declaration
public string BadgeHeader
Field Value
Type | Description |
---|---|
System.String |
BotEnabled
Enable chatbot on this topic. Run the trigger scripts on bot events.
Declaration
public short BotEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
BotMessageReceivedScriptid
Script id to run when new messages received from customer.
Declaration
public int BotMessageReceivedScriptid
Field Value
Type | Description |
---|---|
System.Int32 |
BotName
Chatbot name
Declaration
public string BotName
Field Value
Type | Description |
---|---|
System.String |
BotRegisterScriptid
Script id to register/unregister chatbot. 0 if there is no bot
Declaration
public int BotRegisterScriptid
Field Value
Type | Description |
---|---|
System.Int32 |
BotSessionChangedScriptid
Script id to run when session state changes.
Declaration
public int BotSessionChangedScriptid
Field Value
Type | Description |
---|---|
System.Int32 |
BotSessionCreatedScriptid
Script id to run on new session.
Declaration
public int BotSessionCreatedScriptid
Field Value
Type | Description |
---|---|
System.Int32 |
CategoryId
Category on ticket created from off-line request
Declaration
public int CategoryId
Field Value
Type | Description |
---|---|
System.Int32 |
ChatTopicId
The primary key (auto-incremented)
Declaration
public int ChatTopicId
Field Value
Type | Description |
---|---|
System.Int32 |
CustomQueueText
A text to be used in the queue message in the chat widget. Usage is controlled by the flags field, bit number 3
Declaration
public string CustomQueueText
Field Value
Type | Description |
---|---|
System.String |
Description
The descriptiong for this topic.
Declaration
public string Description
Field Value
Type | Description |
---|---|
System.String |
Flags
Flags for this topic: show popup alert?, collect consent first?, use custom message?
Declaration
public ChatTopicFlag Flags
Field Value
Type | Description |
---|---|
ChatTopicFlag |
FriEnabled
Whether open on Fridays.
Declaration
public short FriEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
FriStart
When opening hours start on Fridays. Only time-part is used.
Declaration
public DateTime FriStart
Field Value
Type | Description |
---|---|
System.DateTime |
FriStop
When opening hours stop on Fridays. Only time-part is used.
Declaration
public DateTime FriStop
Field Value
Type | Description |
---|---|
System.DateTime |
KbCategoryId
Root folder for FAQ suggestions
Declaration
public int KbCategoryId
Field Value
Type | Description |
---|---|
System.Int32 |
LanguageId
The reference to the associated customer language. NULL or -1 if not set.
Declaration
public int LanguageId
Field Value
Type | Description |
---|---|
System.Int32 |
LastAccept
The last time a session was accepted from the inside for this topic.
Declaration
public DateTime LastAccept
Field Value
Type | Description |
---|---|
System.DateTime |
LunchStart
When opening hours starts for lunch. Only time-part is used.
Declaration
public DateTime LunchStart
Field Value
Type | Description |
---|---|
System.DateTime |
LunchStop
When opening hours stops for lunch. Only time-part is used.
Declaration
public DateTime LunchStop
Field Value
Type | Description |
---|---|
System.DateTime |
ManagerWarningNewChat
Contains the manager notify time in minutes
Declaration
public int ManagerWarningNewChat
Field Value
Type | Description |
---|---|
System.Int32 |
MonEnabled
Whether open on Mondays.
Declaration
public short MonEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
MonStart
When opening hours start on Mondays. Only time-part is used.
Declaration
public DateTime MonStart
Field Value
Type | Description |
---|---|
System.DateTime |
MonStop
When opening hours stop on Mondays. Only time-part is used.
Declaration
public DateTime MonStop
Field Value
Type | Description |
---|---|
System.DateTime |
Name
The name of this chat topic
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
PriorityId
Priority on ticket created from off-line request
Declaration
public int PriorityId
Field Value
Type | Description |
---|---|
System.Int32 |
SatEnabled
Whether open on Saturdays.
Declaration
public short SatEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
SatStart
When opening hours start on Saturdays. Only time-part is used.
Declaration
public DateTime SatStart
Field Value
Type | Description |
---|---|
System.DateTime |
SatStop
When opening hours stop on Saturdays. Only time-part is used.
Declaration
public DateTime SatStop
Field Value
Type | Description |
---|---|
System.DateTime |
SecondsPrAccept
The average number of seconds per accept for this topic.
Declaration
public int SecondsPrAccept
Field Value
Type | Description |
---|---|
System.Int32 |
SunEnabled
Whether open on Sundays.
Declaration
public short SunEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
SunStart
When opening hours start on Sundays. Only time-part is used.
Declaration
public DateTime SunStart
Field Value
Type | Description |
---|---|
System.DateTime |
SunStop
When opening hours stop on Sundays. Only time-part is used.
Declaration
public DateTime SunStop
Field Value
Type | Description |
---|---|
System.DateTime |
ThuEnabled
Whether open on Thursdays.
Declaration
public short ThuEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
ThuStart
When opening hours start on Thursdays. Only time-part is used.
Declaration
public DateTime ThuStart
Field Value
Type | Description |
---|---|
System.DateTime |
ThuStop
When opening hours stop on Thursdays. Only time-part is used.
Declaration
public DateTime ThuStop
Field Value
Type | Description |
---|---|
System.DateTime |
TueEnabled
Whether open on Tuesdays.
Declaration
public short TueEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
TueStart
When opening hours start on Tuesdays. Only time-part is used.
Declaration
public DateTime TueStart
Field Value
Type | Description |
---|---|
System.DateTime |
TueStop
When opening hours stop on Tuesdays. Only time-part is used.
Declaration
public DateTime TueStop
Field Value
Type | Description |
---|---|
System.DateTime |
TzLocationId
Timezone used for the start/stop times for this topic.
Declaration
public int TzLocationId
Field Value
Type | Description |
---|---|
System.Int32 |
UseLunchHours
Whether to use lunch hours or not.
Declaration
public short UseLunchHours
Field Value
Type | Description |
---|---|
System.Int16 |
UseOpeningHours
Whether to use opening hours or not.
Declaration
public short UseOpeningHours
Field Value
Type | Description |
---|---|
System.Int16 |
WarningNewChat
Contains the user notify time in minutes
Declaration
public int WarningNewChat
Field Value
Type | Description |
---|---|
System.Int32 |
WedEnabled
Whether open on Wednesdays.
Declaration
public short WedEnabled
Field Value
Type | Description |
---|---|
System.Int16 |
WedStart
When opening hours start on Wednesdays. Only time-part is used.
Declaration
public DateTime WedStart
Field Value
Type | Description |
---|---|
System.DateTime |
WedStop
When opening hours stop on Wednesday. Only time-part is used.
Declaration
public DateTime WedStop
Field Value
Type | Description |
---|---|
System.DateTime |
WelcomeMessage
The welcome message sent to the customer when the chat session starts.
Declaration
public string WelcomeMessage
Field Value
Type | Description |
---|---|
System.String |
WidgetAgentUseFirstname
Whether to use the firstname of the agent in the chat widget.
Declaration
public short WidgetAgentUseFirstname
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetAutoFaq
Enable automatic FAQ suggestions
Declaration
public short WidgetAutoFaq
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetColor
The base color of the widget
Declaration
public string WidgetColor
Field Value
Type | Description |
---|---|
System.String |
WidgetEnableTicket
Enable ticket submission in offline mode
Declaration
public short WidgetEnableTicket
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetFont
The font used in the widget
Declaration
public string WidgetFont
Field Value
Type | Description |
---|---|
System.String |
WidgetLanguage
The language ISO code for the widget language
Declaration
public string WidgetLanguage
Field Value
Type | Description |
---|---|
System.String |
WidgetOfflineFields
Required field when creating ticket in offline mode
Declaration
public WidgetRequiredFields WidgetOfflineFields
Field Value
Type | Description |
---|---|
WidgetRequiredFields |
WidgetOfflineHeader
Offline text shown in widget header
Declaration
public string WidgetOfflineHeader
Field Value
Type | Description |
---|---|
System.String |
WidgetOfflineMessage
Offline message shown in widget
Declaration
public string WidgetOfflineMessage
Field Value
Type | Description |
---|---|
System.String |
WidgetPostForm
Enable post chat form
Declaration
public short WidgetPostForm
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetPostHeader
Header text to show in post chat form
Declaration
public string WidgetPostHeader
Field Value
Type | Description |
---|---|
System.String |
WidgetPostMessage
Message text to show in post chat form
Declaration
public string WidgetPostMessage
Field Value
Type | Description |
---|---|
System.String |
WidgetPostTranscript
Enable transcript of chat session
Declaration
public short WidgetPostTranscript
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetPreForm
Enable pre-chat form for anonymous users
Declaration
public short WidgetPreForm
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetPreMessage
Message to be shown in a pre-chat
Declaration
public string WidgetPreMessage
Field Value
Type | Description |
---|---|
System.String |
WidgetRequiredFields
Fields required to start a chat
Declaration
public WidgetRequiredFields WidgetRequiredFields
Field Value
Type | Description |
---|---|
WidgetRequiredFields |
WidgetShowAgentPhoto
Use agent photo and name when chatting
Declaration
public short WidgetShowAgentPhoto
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetShowLogo
Indicates if the logo should be shown in the widget
Declaration
public short WidgetShowLogo
Field Value
Type | Description |
---|---|
System.Int16 |
WidgetTheme
Predefined themes for the chat widget
Declaration
public WidgetTheme WidgetTheme
Field Value
Type | Description |
---|---|
WidgetTheme |
WidgetWelcomeMessage
Short message displayed as long as the request is in queue or active
Declaration
public string WidgetWelcomeMessage
Field Value
Type | Description |
---|---|
System.String |
WidgetWelcomeTitle
Short welcome message when user initiates a chat
Declaration
public string WidgetWelcomeTitle
Field Value
Type | Description |
---|---|
System.String |