Table of Contents

Class ChatMessage

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class ChatMessage : IMessage<ChatMessage>, IEquatable<ChatMessage>, IDeepCloneable<ChatMessage>, IBufferMessage, IMessage
Inheritance
ChatMessage
Implements
IBufferMessage
Inherited Members

Constructors

ChatMessage()

public ChatMessage()

ChatMessage(ChatMessage)

public ChatMessage(ChatMessage other)

Parameters

other ChatMessage

Properties

Deleted

true to remove message

public bool Deleted { get; set; }

Property Value

bool

EditTimestamp

populated only if the intent is to edit/update an existing message

public long EditTimestamp { get; set; }

Property Value

long

Generated

true if the chat message has been generated by an agent from a participant's audio transcription

public bool Generated { get; set; }

Property Value

bool

HasEditTimestamp

Gets whether the "edit_timestamp" field is set

public bool HasEditTimestamp { get; }

Property Value

bool

Id

uuid

public string Id { get; set; }

Property Value

string

Message

public string Message { get; set; }

Property Value

string

Timestamp

public long Timestamp { get; set; }

Property Value

long

Methods

ClearEditTimestamp()

Clears the value of the "edit_timestamp" field

public void ClearEditTimestamp()