<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | ChatSourceItem.CreateConversation Method

Creates and adds a new conversation to this chat source.

Syntax

C# Copy
public ChatConversationItem CreateConversation(
	string? id = null,
	string? displayName = null,
	string? platform = null,
	ChatConversationItemType type = ChatConversationItemType.Channel
)

Parameters
 id    String (Optional)
              The ID of the conversation. If null, a new ID will be generated.
displayName    String (Optional)
              The display name of the conversation.
platform    String (Optional)
              The chat platform of the conversation.
type    ChatConversationItemType (Optional)
              The type of the conversation. 

Return Value
ChatConversationItem
The created conversation.

Exceptions

Exception Condition
ArgumentException The attachment cannot be moved due to the specified target path pointing to an existing file.

See Also

Reference
ChatSourceItem Class
Compiled.EDD.Scripting Namespace