Table of Contents

Class ChatMessage

Namespace
LiveKit.Proto
public sealed class ChatMessage : Google.Protobuf.IMessage<ChatMessage>, Google.Protobuf.IBufferMessage
Inheritance
ChatMessage
Implements
IBufferMessage
Extension Methods

Constructors

ChatMessage()

public ChatMessage()

ChatMessage(ChatMessage)

public ChatMessage(ChatMessage other)

Parameters

other ChatMessage

Fields

DeletedFieldNumber

Field number for the "deleted" field.

public const int DeletedFieldNumber = 5

Field Value

int

EditTimestampFieldNumber

Field number for the "edit_timestamp" field.

public const int EditTimestampFieldNumber = 4

Field Value

int

GeneratedFieldNumber

Field number for the "generated" field.

public const int GeneratedFieldNumber = 6

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 3

Field Value

int

TimestampFieldNumber

Field number for the "timestamp" field.

public const int TimestampFieldNumber = 2

Field Value

int

Properties

Deleted

public bool Deleted { get; set; }

Property Value

bool

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EditTimestamp

public long EditTimestamp { get; set; }

Property Value

long

Generated

public bool Generated { get; set; }

Property Value

bool

HasDeleted

Gets whether the "deleted" field is set

public bool HasDeleted { get; }

Property Value

bool

HasEditTimestamp

Gets whether the "edit_timestamp" field is set

public bool HasEditTimestamp { get; }

Property Value

bool

HasGenerated

Gets whether the "generated" field is set

public bool HasGenerated { get; }

Property Value

bool

HasId

Gets whether the "id" field is set

public bool HasId { get; }

Property Value

bool

HasMessage

Gets whether the "message" field is set

public bool HasMessage { get; }

Property Value

bool

HasTimestamp

Gets whether the "timestamp" field is set

public bool HasTimestamp { get; }

Property Value

bool

Id

public string Id { get; set; }

Property Value

string

Message

public string Message { get; set; }

Property Value

string

Parser

public static Google.Protobuf.MessageParser<ChatMessage> Parser { get; }

Property Value

MessageParser<ChatMessage>

Timestamp

public long Timestamp { get; set; }

Property Value

long

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDeleted()

Clears the value of the "deleted" field

public void ClearDeleted()

ClearEditTimestamp()

Clears the value of the "edit_timestamp" field

public void ClearEditTimestamp()

ClearGenerated()

Clears the value of the "generated" field

public void ClearGenerated()

ClearId()

Clears the value of the "id" field

public void ClearId()

ClearMessage()

Clears the value of the "message" field

public void ClearMessage()

ClearTimestamp()

Clears the value of the "timestamp" field

public void ClearTimestamp()

Clone()

public ChatMessage Clone()

Returns

ChatMessage

Equals(ChatMessage)

public bool Equals(ChatMessage other)

Parameters

other ChatMessage

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(ChatMessage)

public void MergeFrom(ChatMessage other)

Parameters

other ChatMessage

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream