This commit is contained in:
HueByte
2026-07-17 19:09:56 +00:00
parent dfbe5be317
commit a6bf50c567
73 changed files with 17893 additions and 427 deletions
@@ -379,6 +379,96 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<h3 id="EchoHub_Client_Commands_CommandHandler_OnCreateInvite" data-uid="EchoHub.Client.Commands.CommandHandler.OnCreateInvite">
OnCreateInvite
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;int?, int?, Task&gt;? OnCreateInvite</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?, <span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnDeleteAccount" data-uid="EchoHub.Client.Commands.CommandHandler.OnDeleteAccount">
OnDeleteAccount
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;Task&gt;? OnDeleteAccount</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnExportData" data-uid="EchoHub.Client.Commands.CommandHandler.OnExportData">
OnExportData
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;Task&gt;? OnExportData</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnHelp" data-uid="EchoHub.Client.Commands.CommandHandler.OnHelp">
OnHelp
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
@@ -499,6 +589,36 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<h3 id="EchoHub_Client_Commands_CommandHandler_OnListInvites" data-uid="EchoHub.Client.Commands.CommandHandler.OnListInvites">
OnListInvites
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;Task&gt;? OnListInvites</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnListUsers" data-uid="EchoHub.Client.Commands.CommandHandler.OnListUsers">
OnListUsers
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
@@ -679,6 +799,36 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<h3 id="EchoHub_Client_Commands_CommandHandler_OnRevokeInvite" data-uid="EchoHub.Client.Commands.CommandHandler.OnRevokeInvite">
OnRevokeInvite
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;string, Task&gt;? OnRevokeInvite</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnRoomInfo" data-uid="EchoHub.Client.Commands.CommandHandler.OnRoomInfo">
OnRoomInfo
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
@@ -709,6 +859,66 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<h3 id="EchoHub_Client_Commands_CommandHandler_OnSendAction" data-uid="EchoHub.Client.Commands.CommandHandler.OnSendAction">
OnSendAction
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;string, Task&gt;? OnSendAction</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnSendBanner" data-uid="EchoHub.Client.Commands.CommandHandler.OnSendBanner">
OnSendBanner
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;string, Task&gt;? OnSendBanner</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Commands_CommandHandler_OnSendFile" data-uid="EchoHub.Client.Commands.CommandHandler.OnSendFile">
OnSendFile
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
@@ -894,11 +1104,14 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Commands/CommandHandler.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Status update. A null status means &quot;keep the current status&quot;; a null message means
&quot;keep the current message&quot; and an empty message means &quot;clear it&quot;. The orchestrator
resolves both against the session state.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Func&lt;UserStatus, string?, Task&gt;? OnSetStatus</code></pre>
<pre><code class="lang-csharp hljs">public event Func&lt;UserStatus?, string?, Task&gt;? OnSetStatus</code></pre>
</div>
@@ -908,7 +1121,7 @@ Class CommandHandler <a class="header-action link-secondary" title="View source
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/Models/UserStatus.cs">UserStatus</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <span class="xref">Task</span>&gt;</dt>
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/Models/UserStatus.cs">UserStatus</a>?, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <span class="xref">Task</span>&gt;</dt>
<dd></dd>
</dl>
@@ -409,6 +409,44 @@ Class ApiClient <a class="header-action link-secondary" title="View source" hre
<a id="EchoHub_Client_Services_ApiClient_CreateInviteAsync_" data-uid="EchoHub.Client.Services.ApiClient.CreateInviteAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_CreateInviteAsync_System_Nullable_System_Int32__System_Nullable_System_Int32__" data-uid="EchoHub.Client.Services.ApiClient.CreateInviteAsync(System.Nullable{System.Int32},System.Nullable{System.Int32})">
CreateInviteAsync(int?, int?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;InviteDto?&gt; CreateInviteAsync(int? maxUses = null, int? expiresInHours = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>maxUses</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>expiresInHours</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/InviteDtos.cs">InviteDto</a>&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_Services_ApiClient_DeleteChannelAsync_" data-uid="EchoHub.Client.Services.ApiClient.DeleteChannelAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_DeleteChannelAsync_System_String_" data-uid="EchoHub.Client.Services.ApiClient.DeleteChannelAsync(System.String)">
@@ -481,6 +519,43 @@ Class ApiClient <a class="header-action link-secondary" title="View source" hre
<a id="EchoHub_Client_Services_ApiClient_DeleteMyAccountAsync_" data-uid="EchoHub.Client.Services.ApiClient.DeleteMyAccountAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_DeleteMyAccountAsync_System_String_" data-uid="EchoHub.Client.Services.ApiClient.DeleteMyAccountAsync(System.String)">
DeleteMyAccountAsync(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Deletes the caller's account. The password re-confirms intent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task DeleteMyAccountAsync(string password)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>password</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_Services_ApiClient_Dispose_" data-uid="EchoHub.Client.Services.ApiClient.Dispose*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_Dispose" data-uid="EchoHub.Client.Services.ApiClient.Dispose">
@@ -545,6 +620,38 @@ Class ApiClient <a class="header-action link-secondary" title="View source" hre
<a id="EchoHub_Client_Services_ApiClient_ExportMyDataAsync_" data-uid="EchoHub.Client.Services.ApiClient.ExportMyDataAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_ExportMyDataAsync" data-uid="EchoHub.Client.Services.ApiClient.ExportMyDataAsync">
ExportMyDataAsync()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Downloads the caller's full data export as raw JSON text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;string&gt; ExportMyDataAsync()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_Services_ApiClient_GetChannelCryptoAsync_" data-uid="EchoHub.Client.Services.ApiClient.GetChannelCryptoAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_GetChannelCryptoAsync_System_String_" data-uid="EchoHub.Client.Services.ApiClient.GetChannelCryptoAsync(System.String)">
@@ -683,6 +790,37 @@ size, created date, room id) for the <code>/meta</code> command. Returns null if
<a id="EchoHub_Client_Services_ApiClient_GetInvitesAsync_" data-uid="EchoHub.Client.Services.ApiClient.GetInvitesAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_GetInvitesAsync" data-uid="EchoHub.Client.Services.ApiClient.GetInvitesAsync">
GetInvitesAsync()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;InviteDto&gt;&gt; GetInvitesAsync()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span>&lt;<span class="xref">List</span>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/InviteDtos.cs">InviteDto</a>&gt;&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_Services_ApiClient_GetServerInfoAsync_" data-uid="EchoHub.Client.Services.ApiClient.GetServerInfoAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_GetServerInfoAsync" data-uid="EchoHub.Client.Services.ApiClient.GetServerInfoAsync">
@@ -1035,8 +1173,8 @@ Used by EchoHubConnection for SignalR token provider.</p>
<a id="EchoHub_Client_Services_ApiClient_RegisterAsync_" data-uid="EchoHub.Client.Services.ApiClient.RegisterAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_RegisterAsync_System_String_System_String_System_String_" data-uid="EchoHub.Client.Services.ApiClient.RegisterAsync(System.String,System.String,System.String)">
RegisterAsync(string, string, string?)
<h3 id="EchoHub_Client_Services_ApiClient_RegisterAsync_System_String_System_String_System_String_System_String_" data-uid="EchoHub.Client.Services.ApiClient.RegisterAsync(System.String,System.String,System.String,System.String)">
RegisterAsync(string, string, string?, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -1044,7 +1182,7 @@ Used by EchoHubConnection for SignalR token provider.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;LoginResponse&gt; RegisterAsync(string username, string password, string? displayName = null)</code></pre>
<pre><code class="lang-csharp hljs">public Task&lt;LoginResponse&gt; RegisterAsync(string username, string password, string? displayName = null, string? inviteCode = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -1055,6 +1193,8 @@ Used by EchoHubConnection for SignalR token provider.</p>
<dd></dd>
<dt><code>displayName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>inviteCode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
@@ -1111,6 +1251,42 @@ Used by EchoHubConnection for SignalR token provider.</p>
<a id="EchoHub_Client_Services_ApiClient_RevokeInviteAsync_" data-uid="EchoHub.Client.Services.ApiClient.RevokeInviteAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_RevokeInviteAsync_System_String_" data-uid="EchoHub.Client.Services.ApiClient.RevokeInviteAsync(System.String)">
RevokeInviteAsync(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/ApiClient.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task RevokeInviteAsync(string code)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>code</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Task</span></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_Services_ApiClient_SendMessageWithAttachmentsAsync_" data-uid="EchoHub.Client.Services.ApiClient.SendMessageWithAttachmentsAsync*"></a>
<h3 id="EchoHub_Client_Services_ApiClient_SendMessageWithAttachmentsAsync_System_String_System_String_System_Collections_Generic_IReadOnlyList_EchoHub_Client_Services_OutgoingAttachment__System_String_" data-uid="EchoHub.Client.Services.ApiClient.SendMessageWithAttachmentsAsync(System.String,System.String,System.Collections.Generic.IReadOnlyList{EchoHub.Client.Services.OutgoingAttachment},System.String)">
@@ -510,8 +510,8 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<a id="EchoHub_Client_Services_EchoHubConnection_SendMessageAsync_" data-uid="EchoHub.Client.Services.EchoHubConnection.SendMessageAsync*"></a>
<h3 id="EchoHub_Client_Services_EchoHubConnection_SendMessageAsync_System_String_System_String_" data-uid="EchoHub.Client.Services.EchoHubConnection.SendMessageAsync(System.String,System.String)">
SendMessageAsync(string, string)
<h3 id="EchoHub_Client_Services_EchoHubConnection_SendMessageAsync_System_String_System_String_System_Nullable_System_Guid__" data-uid="EchoHub.Client.Services.EchoHubConnection.SendMessageAsync(System.String,System.String,System.Nullable{System.Guid})">
SendMessageAsync(string, string, Guid?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/EchoHubConnection.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -519,7 +519,7 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task SendMessageAsync(string channelName, string content)</code></pre>
<pre><code class="lang-csharp hljs">public Task SendMessageAsync(string channelName, string content, Guid? replyToMessageId = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -528,6 +528,8 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<dd></dd>
<dt><code>content</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>replyToMessageId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>?</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
@@ -589,6 +591,36 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<h3 id="EchoHub_Client_Services_EchoHubConnection_OnChannelDeleted" data-uid="EchoHub.Client.Services.EchoHubConnection.OnChannelDeleted">
OnChannelDeleted
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/EchoHubConnection.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;string&gt;? OnChannelDeleted</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_Services_EchoHubConnection_OnChannelNuked" data-uid="EchoHub.Client.Services.EchoHubConnection.OnChannelNuked">
OnChannelNuked
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/EchoHubConnection.cs"><i class="bi bi-code-slash"></i></a>
@@ -0,0 +1,154 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Enum AttachmentAction | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Enum AttachmentAction | EchoHub Documentation ">
<meta name="description" content="An action a click on an attachment line can trigger.">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_Chat_AttachmentAction.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.Chat.AttachmentAction%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.Chat.AttachmentAction">
<h1 id="EchoHub_Client_UI_Chat_AttachmentAction" data-uid="EchoHub.Client.UI.Chat.AttachmentAction" class="text-break">
Enum AttachmentAction <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.Chat.html">Chat</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"><p>An action a click on an attachment line can trigger.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public enum AttachmentAction</code></pre>
</div>
<h2 id="fields">Fields
</h2>
<dl class="parameters">
<dt id="EchoHub_Client_UI_Chat_AttachmentAction_OpenImage"><code>OpenImage = 0</code></dt>
<dd></dd>
<dt id="EchoHub_Client_UI_Chat_AttachmentAction_SaveImage"><code>SaveImage = 1</code></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
@@ -0,0 +1,554 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Struct AttachmentActionSpan | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Struct AttachmentActionSpan | EchoHub Documentation ">
<meta name="description" content="Inclusive column range on a chat line that triggers an attachment action when clicked.">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_Chat_AttachmentActionSpan.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.Chat.AttachmentActionSpan%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan">
<h1 id="EchoHub_Client_UI_Chat_AttachmentActionSpan" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan" class="text-break">
Struct AttachmentActionSpan <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.Chat.html">Chat</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"><p>Inclusive column range on a chat line that triggers an attachment action when clicked.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly struct AttachmentActionSpan : IEquatable&lt;AttachmentActionSpan&gt;</code></pre>
</div>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a>&gt;</div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan__ctor_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.#ctor*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan__ctor_System_Int32_System_Int32_EchoHub_Client_UI_Chat_AttachmentAction_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.#ctor(System.Int32,System.Int32,EchoHub.Client.UI.Chat.AttachmentAction)">
AttachmentActionSpan(int, int, AttachmentAction)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Inclusive column range on a chat line that triggers an attachment action when clicked.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AttachmentActionSpan(int StartCol, int EndCol, AttachmentAction Action)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>StartCol</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>EndCol</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>Action</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentAction.html">AttachmentAction</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Action_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Action*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Action" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Action">
Action
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AttachmentAction Action { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="EchoHub.Client.UI.Chat.AttachmentAction.html">AttachmentAction</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_EndCol_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.EndCol*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_EndCol" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.EndCol">
EndCol
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int EndCol { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_StartCol_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.StartCol*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_StartCol" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.StartCol">
StartCol
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int StartCol { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Deconstruct_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Deconstruct*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Deconstruct_System_Int32__System_Int32__EchoHub_Client_UI_Chat_AttachmentAction__" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Deconstruct(System.Int32@,System.Int32@,EchoHub.Client.UI.Chat.AttachmentAction@)">
Deconstruct(out int, out int, out AttachmentAction)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Deconstruct(out int StartCol, out int EndCol, out AttachmentAction Action)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>StartCol</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>EndCol</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>Action</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentAction.html">AttachmentAction</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Equals_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Equals*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Equals_EchoHub_Client_UI_Chat_AttachmentActionSpan_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Equals(EchoHub.Client.UI.Chat.AttachmentActionSpan)">
Equals(AttachmentActionSpan)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Equals(AttachmentActionSpan other)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>other</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Equals_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Equals*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_Equals_System_Object_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.Equals(System.Object)">
Equals(object)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>obj</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_GetHashCode_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.GetHashCode*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_GetHashCode" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.GetHashCode">
GetHashCode()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_ToString_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.ToString*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_ToString" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.ToString">
ToString()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="operators">Operators
</h2>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_op_Equality_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.op_Equality*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_op_Equality_EchoHub_Client_UI_Chat_AttachmentActionSpan_EchoHub_Client_UI_Chat_AttachmentActionSpan_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.op_Equality(EchoHub.Client.UI.Chat.AttachmentActionSpan,EchoHub.Client.UI.Chat.AttachmentActionSpan)">
operator ==(AttachmentActionSpan, AttachmentActionSpan)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool operator ==(AttachmentActionSpan left, AttachmentActionSpan right)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>left</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd></dd>
<dt><code>right</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_AttachmentActionSpan_op_Inequality_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.op_Inequality*"></a>
<h3 id="EchoHub_Client_UI_Chat_AttachmentActionSpan_op_Inequality_EchoHub_Client_UI_Chat_AttachmentActionSpan_EchoHub_Client_UI_Chat_AttachmentActionSpan_" data-uid="EchoHub.Client.UI.Chat.AttachmentActionSpan.op_Inequality(EchoHub.Client.UI.Chat.AttachmentActionSpan,EchoHub.Client.UI.Chat.AttachmentActionSpan)">
operator !=(AttachmentActionSpan, AttachmentActionSpan)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool operator !=(AttachmentActionSpan left, AttachmentActionSpan right)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>left</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd></dd>
<dt><code>right</code> <a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
@@ -216,6 +216,40 @@ Class ChatLine <a class="header-action link-secondary" title="View source" href
</h2>
<a id="EchoHub_Client_UI_Chat_ChatLine_ActionSpans_" data-uid="EchoHub.Client.UI.Chat.ChatLine.ActionSpans*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatLine_ActionSpans" data-uid="EchoHub.Client.UI.Chat.ChatLine.ActionSpans">
ActionSpans
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Clickable sub-line targets (e.g. the &quot;[open]&quot; and &quot;[save original]&quot; brackets under an
image). Columns are relative to the unwrapped line, so only the first wrapped line
keeps them. Null means the whole line uses the kind's default action.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;AttachmentActionSpan&gt;? ActionSpans { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><span class="xref">List</span>&lt;<a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a>&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_ChatLine_AttachmentFileName_" data-uid="EchoHub.Client.UI.Chat.ChatLine.AttachmentFileName*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatLine_AttachmentFileName" data-uid="EchoHub.Client.UI.Chat.ChatLine.AttachmentFileName">
@@ -438,6 +472,39 @@ precedence over <a class="xref" href="EchoHub.Client.UI.Chat.ChatLine.html#EchoH
<a id="EchoHub_Client_UI_Chat_ChatLine_JumpToMessageId_" data-uid="EchoHub.Client.UI.Chat.ChatLine.JumpToMessageId*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatLine_JumpToMessageId" data-uid="EchoHub.Client.UI.Chat.ChatLine.JumpToMessageId">
JumpToMessageId
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatLine.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Set on a reply's quote line: activating the line jumps to this message
if it is in the loaded history.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Guid? JumpToMessageId { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>?</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_ChatLine_MessageId_" data-uid="EchoHub.Client.UI.Chat.ChatLine.MessageId*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatLine_MessageId" data-uid="EchoHub.Client.UI.Chat.ChatLine.MessageId">
+16
View File
@@ -121,6 +121,22 @@ so the UI layer can refresh.</p>
<dd><p>A colored text segment within a chat line.</p>
</dd>
</dl>
<h3 id="structs">
Structs
</h3>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Chat.AttachmentActionSpan.html">AttachmentActionSpan</a></dt>
<dd><p>Inclusive column range on a chat line that triggers an attachment action when clicked.</p>
</dd>
</dl>
<h3 id="enums">
Enums
</h3>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Chat.AttachmentAction.html">AttachmentAction</a></dt>
<dd><p>An action a click on an attachment line can trigger.</p>
</dd>
</dl>
</article>
@@ -183,8 +183,8 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult__ctor_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.#ctor*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult__ctor_System_String_System_String_System_String_System_Boolean_System_Boolean_System_String_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.String)">
ConnectDialogResult(string, string, string, bool, bool, string?)
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult__ctor_System_String_System_String_System_String_System_Boolean_System_Boolean_System_String_System_String_System_String_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,System.String,System.String)">
ConnectDialogResult(string, string, string, bool, bool, string?, string?, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/ConnectDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -193,7 +193,7 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ConnectDialogResult(string ServerUrl, string Username, string Password, bool IsRegister, bool RememberMe, string? SavedRefreshToken)</code></pre>
<pre><code class="lang-csharp hljs">public ConnectDialogResult(string ServerUrl, string Username, string Password, bool IsRegister, bool RememberMe, string? SavedRefreshToken, string? DisplayName = null, string? InviteCode = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -210,6 +210,10 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<dd></dd>
<dt><code>SavedRefreshToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>DisplayName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>InviteCode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
@@ -227,6 +231,37 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
</h2>
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_DisplayName_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.DisplayName*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_DisplayName" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.DisplayName">
DisplayName
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/ConnectDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string? DisplayName { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_EqualityContract_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.EqualityContract*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_EqualityContract" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.EqualityContract">
@@ -258,6 +293,37 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_InviteCode_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.InviteCode*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_InviteCode" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.InviteCode">
InviteCode
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/ConnectDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string? InviteCode { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_IsRegister_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.IsRegister*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_IsRegister" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.IsRegister">
@@ -450,8 +516,8 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<a id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_Deconstruct_" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.Deconstruct*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_Deconstruct_System_String__System_String__System_String__System_Boolean__System_Boolean__System_String__" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.Deconstruct(System.String@,System.String@,System.String@,System.Boolean@,System.Boolean@,System.String@)">
Deconstruct(out string, out string, out string, out bool, out bool, out string?)
<h3 id="EchoHub_Client_UI_Dialogs_ConnectDialogResult_Deconstruct_System_String__System_String__System_String__System_Boolean__System_Boolean__System_String__System_String__System_String__" data-uid="EchoHub.Client.UI.Dialogs.ConnectDialogResult.Deconstruct(System.String@,System.String@,System.String@,System.Boolean@,System.Boolean@,System.String@,System.String@,System.String@)">
Deconstruct(out string, out string, out string, out bool, out bool, out string?, out string?, out string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/ConnectDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -459,7 +525,7 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Deconstruct(out string ServerUrl, out string Username, out string Password, out bool IsRegister, out bool RememberMe, out string? SavedRefreshToken)</code></pre>
<pre><code class="lang-csharp hljs">public void Deconstruct(out string ServerUrl, out string Username, out string Password, out bool IsRegister, out bool RememberMe, out string? SavedRefreshToken, out string? DisplayName, out string? InviteCode)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -476,6 +542,10 @@ Class ConnectDialogResult <a class="header-action link-secondary" title="View s
<dd></dd>
<dt><code>SavedRefreshToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>DisplayName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>InviteCode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
@@ -459,8 +459,8 @@ Active channel gets a &gt; indicator, unread channels are bright with a count ba
<a id="EchoHub_Client_UI_ListSources_ChannelListSource_Update_" data-uid="EchoHub.Client.UI.ListSources.ChannelListSource.Update*"></a>
<h3 id="EchoHub_Client_UI_ListSources_ChannelListSource_Update_System_Collections_Generic_List_System_String__System_Collections_Generic_Dictionary_System_String_System_Int32__System_String_System_Collections_Generic_IReadOnlySet_System_String__System_Collections_Generic_IReadOnlySet_System_String__System_Collections_Generic_IReadOnlySet_System_String__" data-uid="EchoHub.Client.UI.ListSources.ChannelListSource.Update(System.Collections.Generic.List{System.String},System.Collections.Generic.Dictionary{System.String,System.Int32},System.String,System.Collections.Generic.IReadOnlySet{System.String},System.Collections.Generic.IReadOnlySet{System.String},System.Collections.Generic.IReadOnlySet{System.String})">
Update(List&lt;string&gt;, Dictionary&lt;string, int&gt;, string, IReadOnlySet&lt;string&gt;?, IReadOnlySet&lt;string&gt;?, IReadOnlySet&lt;string&gt;?)
<h3 id="EchoHub_Client_UI_ListSources_ChannelListSource_Update_System_Collections_Generic_List_System_String__System_Collections_Generic_Dictionary_System_String_System_Int32__System_String_System_Collections_Generic_IReadOnlySet_System_String__System_Collections_Generic_IReadOnlySet_System_String__System_Collections_Generic_IReadOnlySet_System_String__System_Collections_Generic_IReadOnlySet_System_String__" data-uid="EchoHub.Client.UI.ListSources.ChannelListSource.Update(System.Collections.Generic.List{System.String},System.Collections.Generic.Dictionary{System.String,System.Int32},System.String,System.Collections.Generic.IReadOnlySet{System.String},System.Collections.Generic.IReadOnlySet{System.String},System.Collections.Generic.IReadOnlySet{System.String},System.Collections.Generic.IReadOnlySet{System.String})">
Update(List&lt;string&gt;, Dictionary&lt;string, int&gt;, string, IReadOnlySet&lt;string&gt;?, IReadOnlySet&lt;string&gt;?, IReadOnlySet&lt;string&gt;?, IReadOnlySet&lt;string&gt;?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/ChannelListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -468,7 +468,7 @@ Active channel gets a &gt; indicator, unread channels are bright with a count ba
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Update(List&lt;string&gt; channels, Dictionary&lt;string, int&gt; unread, string activeChannel, IReadOnlySet&lt;string&gt;? protectedChannels = null, IReadOnlySet&lt;string&gt;? mentionChannels = null, IReadOnlySet&lt;string&gt;? privateChannels = null)</code></pre>
<pre><code class="lang-csharp hljs">public void Update(List&lt;string&gt; channels, Dictionary&lt;string, int&gt; unread, string activeChannel, IReadOnlySet&lt;string&gt;? protectedChannels = null, IReadOnlySet&lt;string&gt;? mentionChannels = null, IReadOnlySet&lt;string&gt;? privateChannels = null, IReadOnlySet&lt;string&gt;? systemChannels = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -485,6 +485,8 @@ Active channel gets a &gt; indicator, unread channels are bright with a count ba
<dd></dd>
<dt><code>privateChannels</code> <span class="xref">IReadOnlySet</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
<dt><code>systemChannels</code> <span class="xref">IReadOnlySet</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
+163 -3
View File
@@ -882,6 +882,37 @@ Class MainWindow <a class="header-action link-secondary" title="View source" hr
<a id="EchoHub_Client_UI_MainWindow_HasPendingReplyIndicator_" data-uid="EchoHub.Client.UI.MainWindow.HasPendingReplyIndicator*"></a>
<h3 id="EchoHub_Client_UI_MainWindow_HasPendingReplyIndicator" data-uid="EchoHub.Client.UI.MainWindow.HasPendingReplyIndicator">
HasPendingReplyIndicator
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool HasPendingReplyIndicator { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
@@ -943,8 +974,8 @@ Call after theme changes to refresh colors.</p>
<a id="EchoHub_Client_UI_MainWindow_EnsureChannelInList_" data-uid="EchoHub.Client.UI.MainWindow.EnsureChannelInList*"></a>
<h3 id="EchoHub_Client_UI_MainWindow_EnsureChannelInList_System_String_System_Nullable_System_Boolean__System_Nullable_System_Boolean__" data-uid="EchoHub.Client.UI.MainWindow.EnsureChannelInList(System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
EnsureChannelInList(string, bool?, bool?)
<h3 id="EchoHub_Client_UI_MainWindow_EnsureChannelInList_System_String_System_Nullable_System_Boolean__System_Nullable_System_Boolean__System_Nullable_System_Boolean__" data-uid="EchoHub.Client.UI.MainWindow.EnsureChannelInList(System.String,System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
EnsureChannelInList(string, bool?, bool?, bool?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -953,7 +984,7 @@ Call after theme changes to refresh colors.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void EnsureChannelInList(string channelName, bool? isPublic = null, bool? isProtected = null)</code></pre>
<pre><code class="lang-csharp hljs">public void EnsureChannelInList(string channelName, bool? isPublic = null, bool? isProtected = null, bool? isSystem = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -964,6 +995,8 @@ Call after theme changes to refresh colors.</p>
<dd></dd>
<dt><code>isProtected</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>?</dt>
<dd></dd>
<dt><code>isSystem</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>?</dt>
<dd></dd>
</dl>
@@ -1193,6 +1226,38 @@ Call after theme changes to refresh colors.</p>
<a id="EchoHub_Client_UI_MainWindow_SetReplyingTo_" data-uid="EchoHub.Client.UI.MainWindow.SetReplyingTo*"></a>
<h3 id="EchoHub_Client_UI_MainWindow_SetReplyingTo_System_String_" data-uid="EchoHub.Client.UI.MainWindow.SetReplyingTo(System.String)">
SetReplyingTo(string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Shows/clears the &quot;replying to&quot; strip on the input frame's title. Pass null to clear.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetReplyingTo(string? label)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>label</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_MainWindow_SetStagedAttachments_" data-uid="EchoHub.Client.UI.MainWindow.SetStagedAttachments*"></a>
<h3 id="EchoHub_Client_UI_MainWindow_SetStagedAttachments_System_Collections_Generic_IReadOnlyList_System_String__System_String_" data-uid="EchoHub.Client.UI.MainWindow.SetStagedAttachments(System.Collections.Generic.IReadOnlyList{System.String},System.String)">
@@ -1730,6 +1795,38 @@ Parameters: channel name, absolute paths of existing files.</p>
<h3 id="EchoHub_Client_UI_MainWindow_OnImageOpenRequested" data-uid="EchoHub.Client.UI.MainWindow.OnImageOpenRequested">
OnImageOpenRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the user activates an image's &quot;[open]&quot; action to view it without saving.
Parameters: attachmentUrl, fileName.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;string, string&gt;? OnImageOpenRequested</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-2">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_MainWindow_OnImagePasted" data-uid="EchoHub.Client.UI.MainWindow.OnImagePasted">
OnImagePasted
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
@@ -1917,6 +2014,69 @@ screenshot tool). Parameters: channel name, PNG-encoded image bytes.</p>
<h3 id="EchoHub_Client_UI_MainWindow_OnReplyCancelRequested" data-uid="EchoHub.Client.UI.MainWindow.OnReplyCancelRequested">
OnReplyCancelRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the user cancels a pending reply (Esc in the input field).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action? OnReplyCancelRequested</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_MainWindow_OnReplyRequested" data-uid="EchoHub.Client.UI.MainWindow.OnReplyRequested">
OnReplyRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the user picks &quot;Reply&quot; on a message. Parameters: message id, sender username,
a short plain-text snippet for the reply strip.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;Guid, string, string&gt;? OnReplyRequested</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-3">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_MainWindow_OnRollbackRequested" data-uid="EchoHub.Client.UI.MainWindow.OnRollbackRequested">
OnRollbackRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>