This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IConversationMessages>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterCreate
Handler
void ConversationMessageAfterCreateEventHandler(ConversationMessageAfterCreateEventArgs e);
Events.AfterDelete
Handler
void ConversationMessageAfterDeleteEventHandler(ConversationMessageAfterDeleteEventArgs e);
Events.BeforeCreate
Handler
void ConversationMessageBeforeCreateEventHandler(ConversationMessageBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void ConversationMessageBeforeDeleteEventHandler(ConversationMessageBeforeDeleteEventArgs e);
Events.Render
Handler
void ConversationMessageRenderEventHandler(ConversationMessageRenderEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ContentTypeId | Guid | Conversation message content type | ||
DataTypeId | Guid | Conversation message data type identifier |
Methods
ConversationMessage Create(Guid conversationId, string body, ConversationMessagesCreateOptions options = null);
Creates a new conversation
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
conversationId | Guid | Id of the conversation | Required | ||
body | string | Body of the conversation | Required | ||
options | ConversationMessagesCreateOptions | Optional parameter names are: Subject, ReadUsers. Note: Subject is OBSOLETE in v10.0 and will not be saved. | Optional |
Return Type
AdditionalInfo Delete(Guid conversationId, Guid id);
Delete a conversation message
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
conversationId | Guid | Id of the parent conversation | Required | ||
id | Guid | Id of the conversation message | Required |
Return Type
ConversationMessage Get(Guid messageId);
Gets a conversation by Id
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
messageId | Guid | Message Id | Required |
Return Type
PagedList<ConversationMessage> List(Guid conversationId, ConversationMessagesListOptions options = null);
List conversation messages for a conversation
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
conversationId | Guid | Id of a conversation | Required | ||
options | ConversationMessagesListOptions | Optional parameter names are: PageSize, PageIndex, SortOrder | Optional |
Return Type
PagedList<ConversationMessage>
PagedList<ConversationMessage> Search(ConversationMessagesSearchOptions options);
Search for conversation messages
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | ConversationMessagesSearchOptions | Optional parameter names are: PageSize, PageIndex, SortBy, SortOrder | Required |