Class SupportChannelPostResult
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
What became of posting one message into a channel.
public sealed record SupportChannelPostResult : IEquatable<SupportChannelPostResult>
- Inheritance
-
SupportChannelPostResult
- Implements
- Inherited Members
Constructors
SupportChannelPostResult(bool, string)
What became of posting one message into a channel.
public SupportChannelPostResult(bool Delivered, string Error = null)
Parameters
DeliveredboolTrue when the channel accepted it.
ErrorstringWhy it did not, as the channel put it, or null when it did or cannot say.
Properties
Delivered
True when the channel accepted it.
public bool Delivered { get; init; }
Property Value
Error
Why it did not, as the channel put it, or null when it did or cannot say.
public string Error { get; init; }
Property Value
Methods
Failed(string)
It did not, for the stated reason.
public static SupportChannelPostResult Failed(string error)
Parameters
errorstring
Returns
Ok()
The channel accepted the message.
public static SupportChannelPostResult Ok()