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
conversationIdstring-
The conversation identifier to post the
messagein. messageMessageInput-
The idunno.Bluesky.Chat.BatchedMessage.Message to post.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or white space. - ArgumentNullException
-
Thrown when
messageis null.
BatchedMessage(BatchedMessage)
protected BatchedMessage(BatchedMessage original)Parameters
originalBatchedMessage
BatchedMessage(string, MessageInput)
Creates a new instance of idunno.Bluesky.Chat.BatchedMessage
public BatchedMessage(string conversationId, MessageInput message)Parameters
conversationIdstring-
The conversation identifier to post the
messagein. messageMessageInput-
The idunno.Bluesky.Chat.BatchedMessage.Message to post.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or white space. - ArgumentNullException
-
Thrown when
messageis null.
BatchedMessage(BatchedMessage)
protected BatchedMessage(BatchedMessage original)Parameters
originalBatchedMessage
BatchedMessage(string, MessageInput)
Creates a new instance of idunno.Bluesky.Chat.BatchedMessage
public BatchedMessage(string conversationId, MessageInput message)Parameters
conversationIdstring-
The conversation identifier to post the
messagein. messageMessageInput-
The idunno.Bluesky.Chat.BatchedMessage.Message to post.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or white space. - ArgumentNullException
-
Thrown when
messageis null.
BatchedMessage(BatchedMessage)
protected BatchedMessage(BatchedMessage original)Parameters
originalBatchedMessage
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
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
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
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
Message
Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.
[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }Property Value
Message
Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.
[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }Property Value
Message
Gets the idunno.Bluesky.Chat.BatchedMessage.Message to post.
[JsonInclude]
[JsonRequired]
public MessageInput Message { get; init; }Property Value
Methods
<Clone>$()
public virtual BatchedMessage <Clone>$()Returns
<Clone>$()
public virtual BatchedMessage <Clone>$()Returns
<Clone>$()
public virtual BatchedMessage <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BatchedMessage?)
public virtual bool Equals(BatchedMessage? other)Parameters
otherBatchedMessage?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BatchedMessage?)
public virtual bool Equals(BatchedMessage? other)Parameters
otherBatchedMessage?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BatchedMessage?)
public virtual bool Equals(BatchedMessage? other)Parameters
otherBatchedMessage?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(BatchedMessage?, BatchedMessage?)
public static bool operator ==(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?
Returns
operator ==(BatchedMessage?, BatchedMessage?)
public static bool operator ==(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?
Returns
operator ==(BatchedMessage?, BatchedMessage?)
public static bool operator ==(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?
Returns
operator !=(BatchedMessage?, BatchedMessage?)
public static bool operator !=(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?
Returns
operator !=(BatchedMessage?, BatchedMessage?)
public static bool operator !=(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?
Returns
operator !=(BatchedMessage?, BatchedMessage?)
public static bool operator !=(BatchedMessage? left, BatchedMessage? right)Parameters
leftBatchedMessage?rightBatchedMessage?