Table of Contents

Struct PluginChatLinkClicked

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

A semantic link selected in the client's chat transcript.

public readonly record struct PluginChatLinkClicked : IEquatable<PluginChatLinkClicked>
Implements
Inherited Members

Constructors

PluginChatLinkClicked(PluginChatLinkKind, string, PluginChatCoordinate?)

A semantic link selected in the client's chat transcript.

public PluginChatLinkClicked(PluginChatLinkKind Kind, string DisplayText, PluginChatCoordinate? Coordinate = null)

Parameters

Kind PluginChatLinkKind

The kind of link.

DisplayText string

The text displayed for the link.

Coordinate PluginChatCoordinate?

The coordinate payload, when Kind is Coordinate.

Properties

Coordinate

The coordinate payload, when Kind is Coordinate.

public PluginChatCoordinate? Coordinate { get; init; }

Property Value

PluginChatCoordinate?

DisplayText

The text displayed for the link.

public string DisplayText { get; init; }

Property Value

string

Kind

The kind of link.

public PluginChatLinkKind Kind { get; init; }

Property Value

PluginChatLinkKind