Class AiChatTurnRows.IdxAssociateIdChatIdTimestamp
Class representing index 'IAssociate_idChat_idTimestamp'.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class IdxAssociateIdChatIdTimestamp : AiChatTurnRows.AiChatTurnRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxAssociateIdChatIdTimestamp(Int32, 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 |
---|---|---|
Int32 | associateId | |
String | chatId | |
StringSearchType | chatIdSearchType | How to search for ChatId |
DateTime | timestamp | |
DateTimeSearchType | timestampSearchType | How to search for Timestamp |
IdxAssociateIdChatIdTimestamp(Int32, 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 |
---|---|---|
Int32 | 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 |
---|---|
Int32 |
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. |