Table of Contents

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

Delivered bool

True when the channel accepted it.

Error string

Why 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

bool

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

string

Methods

Failed(string)

It did not, for the stated reason.

public static SupportChannelPostResult Failed(string error)

Parameters

error string

Returns

SupportChannelPostResult

Ok()

The channel accepted the message.

public static SupportChannelPostResult Ok()

Returns

SupportChannelPostResult