Click or drag to resize

ChatProjectItemCreateParticipant Method

Creates and adds a new participant to this chat project.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
public ChatParticipantItem CreateParticipant(
	string? id = null,
	string? displayName = null,
	string? email = null,
	string? avatarPath = null
)

Parameters

id  String  (Optional)
The ID of the participant. If , a new ID will be generated.
displayName  String  (Optional)
The display name of the participant.
email  String  (Optional)
The email of the participant.
avatarPath  String  (Optional)
The path to the avatar of the participant.

Return Value

ChatParticipantItem
The created participant.
Exceptions
ExceptionCondition
ArgumentException A participant with the same ID already exists in the project.
See Also