Table of Contents

Class BatchedMessage

Namespace
idunno.Bluesky.Chat
Assembly
idunno.Bluesky.dll

Encapsulates a batched idunno.Bluesky.Chat.BatchedMessage.Message.

public record BatchedMessage : IEquatable<BatchedMessage>

Inheritance

Implements

Inherited Members

Constructors

BatchedMessage(string, MessageInput)

Creates a new instance of idunno.Bluesky.Chat.BatchedMessage

public BatchedMessage(string conversationId, MessageInput message)

Parameters

conversationId string

The conversation identifier to post the message in.

message MessageInput

The idunno.Bluesky.Chat.BatchedMessage.Message to post.

Exceptions

ArgumentException

Thrown when conversationId is null or white space.

ArgumentNullException

Thrown when message is null.

BatchedMessage(BatchedMessage)

protected BatchedMessage(BatchedMessage original)

Parameters

original BatchedMessage

BatchedMessage(string, MessageInput)

Creates a new instance of idunno.Bluesky.Chat.BatchedMessage

public BatchedMessage(string conversationId, MessageInput message)

Parameters

conversationId string

The conversation identifier to post the message in.

message MessageInput

The idunno.Bluesky.Chat.BatchedMessage.Message to post.

Exceptions

ArgumentException

Thrown when conversationId is null or white space.

ArgumentNullException

Thrown when message is null.

BatchedMessage(BatchedMessage)

protected BatchedMessage(BatchedMessage original)

Parameters

original BatchedMessage

BatchedMessage(string, MessageInput)

Creates a new instance of idunno.Bluesky.Chat.BatchedMessage

public BatchedMessage(string conversationId, MessageInput message)

Parameters

conversationId string

The conversation identifier to post the message in.

message MessageInput

The idunno.Bluesky.Chat.BatchedMessage.Message to post.

Exceptions

ArgumentException

Thrown when conversationId is null or white space.

ArgumentNullException

Thrown when message is null.

BatchedMessage(BatchedMessage)

protected BatchedMessage(BatchedMessage original)

Parameters

original BatchedMessage

Properties

ConversationId

Gets the conversation identifier to post the idunno.Bluesky.Chat.BatchedMessage.Message in.

[JsonInclude]
[JsonRequired]
[JsonPropertyName("convoId")]
public string ConversationId { get; init; }

Property Value

string

ConversationId

Gets the conversation identifier to post the idunno.Bluesky.Chat.BatchedMessage.Message in.

[JsonInclude]
[JsonRequired]
[JsonPropertyName("convoId")]
public string ConversationId { get; init; }

Property Value

string

ConversationId

Gets the conversation identifier to post the idunno.Bluesky.Chat.BatchedMessage.Message in.

[JsonInclude]
[JsonRequired]
[JsonPropertyName("convoId")]
public string ConversationId { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Message

Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.

[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }

Property Value

MessageInput

Message

Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.

[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }

Property Value

MessageInput

Message

Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.

[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }

Property Value

MessageInput

Methods

<Clone>$()

public virtual BatchedMessage <Clone>$()

Returns

BatchedMessage

<Clone>$()

public virtual BatchedMessage <Clone>$()

Returns

BatchedMessage

<Clone>$()

public virtual BatchedMessage <Clone>$()

Returns

BatchedMessage

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BatchedMessage?)

public virtual bool Equals(BatchedMessage? other)

Parameters

other BatchedMessage?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BatchedMessage?)

public virtual bool Equals(BatchedMessage? other)

Parameters

other BatchedMessage?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BatchedMessage?)

public virtual bool Equals(BatchedMessage? other)

Parameters

other BatchedMessage?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BatchedMessage?, BatchedMessage?)

public static bool operator ==(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool

operator ==(BatchedMessage?, BatchedMessage?)

public static bool operator ==(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool

operator ==(BatchedMessage?, BatchedMessage?)

public static bool operator ==(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool

operator !=(BatchedMessage?, BatchedMessage?)

public static bool operator !=(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool

operator !=(BatchedMessage?, BatchedMessage?)

public static bool operator !=(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool

operator !=(BatchedMessage?, BatchedMessage?)

public static bool operator !=(BatchedMessage? left, BatchedMessage? right)

Parameters

left BatchedMessage?
right BatchedMessage?

Returns

bool