Class AiChatTurnRows.IdxAssociateIdChatIdTimestamp
Class representing index 'IAssociate_idChat_idTimestamp'.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class AiChatTurnRows.IdxAssociateIdChatIdTimestamp : AiChatTurnRows.AiChatTurnRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxAssociateIdChatIdTimestamp(int, string, StringSearchType, DateTime, DateTimeSearchType)
Constructor for class AiChatTurnRows.IdxAssociateIdChatIdTimestamp This class represents index 'IAssociate_idChat_idTimestamp'.
Declaration
public IdxAssociateIdChatIdTimestamp(int associateId, string chatId, StringSearchType chatIdSearchType, DateTime timestamp, DateTimeSearchType timestampSearchType)
Parameters
| Type | Name | Description |
|---|---|---|
| int | associateId | |
| string | chatId | |
| StringSearchType | chatIdSearchType | How to search for ChatId |
| DateTime | timestamp | |
| DateTimeSearchType | timestampSearchType | How to search for Timestamp |
IdxAssociateIdChatIdTimestamp(int, string, DateTime)
Constructor for class AiChatTurnRows.IdxAssociateIdChatIdTimestamp This class represents index 'IAssociate_idChat_idTimestamp'.
Declaration
public IdxAssociateIdChatIdTimestamp(int associateId, string chatId, DateTime timestamp)
Parameters
| Type | Name | Description |
|---|---|---|
| int | associateId | |
| string | chatId | |
| DateTime | timestamp |
Properties
AssociateId
User id that is chatting with the bot
Declaration
public int AssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ChatId
The name of this chat topic - usually soproto + id (contact-123, sale-43, diary) but could also be an arbitrary name
Declaration
public string ChatId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
| Type | Description |
|---|---|
| Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
Timestamp
When the chat happened (UTC)
Declaration
public DateTime Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
UpdateRow(TableRowBase)
Update the AiChatTurnRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
| Type | Name | Description |
|---|---|---|
| TableRowBase | baseRow | The row to update. This must be an instance of AiChatTurnRow. |