Table of Contents

Class ChannelMessage

Namespace
JD.AI.Core.Channels
Assembly
JD.AI.Core.dll

Represents a message from any channel (Discord, Signal, Slack, Web, etc.).

public record ChannelMessage : IEquatable<ChannelMessage>
Inheritance
ChannelMessage
Implements
Inherited Members

Properties

Attachments

public IReadOnlyList<ChannelAttachment> Attachments { get; init; }

Property Value

IReadOnlyList<ChannelAttachment>

ChannelId

public required string ChannelId { get; init; }

Property Value

string

Content

public required string Content { get; init; }

Property Value

string

Id

public required string Id { get; init; }

Property Value

string

Metadata

public IReadOnlyDictionary<string, string> Metadata { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ReplyToMessageId

public string? ReplyToMessageId { get; init; }

Property Value

string

SenderDisplayName

public string? SenderDisplayName { get; init; }

Property Value

string

SenderId

public required string SenderId { get; init; }

Property Value

string

ThreadId

public string? ThreadId { get; init; }

Property Value

string

Timestamp

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset