class

PrivateParlorXT::CachedHistory::MessageGroup

Inherits Reference < Object

Represents single message sent and all of its receivers

Constructors

new(sender : UserID, origin : MessageID)

Creates an instance of MessageGroup

Source

Instance methods

origin

The original message ID of this message

Source
ratings

Set of users who upvoted or downvoted this message

Source
ratings=(ratings : Set(UserID))

Set of users who upvoted or downvoted this message

Source
receivers

Users who received this message and their corresponding MessageID

Source
receivers=(receivers : Hash(UserID, MessageID))

Users who received this message and their corresponding MessageID

Source
sender

User who sent this message

Source
sent

The time at which this message was sent

Source
warned

Whether or not this message has been warned

If true, a warning has been given to the user who sent this message, false otherwise

Source
warned=(warned : Bool | Nil)

Whether or not this message has been warned

If true, a warning has been given to the user who sent this message, false otherwise

Source