Class ReplyRefDto
Reference to the message a reply targets. Content is treated exactly like message content on the wire: transport-encrypted, and for end-to-end encrypted rooms it is room ciphertext the client must decrypt (the server truncates only plaintext snippets). Null on a MessageDto when the original message no longer exists.
public record ReplyRefDto : IEquatable<ReplyRefDto>
- Inheritance
-
ReplyRefDto
- Implements
- Inherited Members
Constructors
ReplyRefDto(ReplyRefDto)
protected ReplyRefDto(ReplyRefDto original)
Parameters
originalReplyRefDto
ReplyRefDto(Guid, string, string)
Reference to the message a reply targets. Content is treated exactly like message content on the wire: transport-encrypted, and for end-to-end encrypted rooms it is room ciphertext the client must decrypt (the server truncates only plaintext snippets). Null on a MessageDto when the original message no longer exists.
public ReplyRefDto(Guid MessageId, string SenderUsername, string Content)
Parameters
Properties
Content
public string Content { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
MessageId
public Guid MessageId { get; init; }
Property Value
SenderUsername
public string SenderUsername { get; init; }
Property Value
Methods
Deconstruct(out Guid, out string, out string)
public void Deconstruct(out Guid MessageId, out string SenderUsername, out string Content)
Parameters
Equals(ReplyRefDto?)
public virtual bool Equals(ReplyRefDto? other)
Parameters
otherReplyRefDto
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ReplyRefDto?, ReplyRefDto?)
public static bool operator ==(ReplyRefDto? left, ReplyRefDto? right)
Parameters
leftReplyRefDtorightReplyRefDto
Returns
operator !=(ReplyRefDto?, ReplyRefDto?)
public static bool operator !=(ReplyRefDto? left, ReplyRefDto? right)
Parameters
leftReplyRefDtorightReplyRefDto