Click or drag to resize

ChatSourceItemCreateConversation Method

Creates and adds a new conversation to this chat source.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
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 , 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
ExceptionCondition
ArgumentException A conversation with the same ID already exists in the chat source.
See Also