class PrivateParlorXT::CachedHistory::MessageGroup
- PrivateParlorXT::CachedHistory::MessageGroup
- Reference
- Object
Overview
Represents single message sent and all of its receivers
Defined in:
private-parlor-xt/history/cached_history.crConstructors
-
.new(sender : UserID, origin : MessageID)
Creates an instance of
MessageGroup
Instance Method Summary
-
#origin : MessageID
The original message ID of this message
-
#ratings : Set(UserID)
Set of users who upvoted or downvoted this message
-
#ratings=(ratings : Set(UserID))
Set of users who upvoted or downvoted this message
-
#receivers : Hash(UserID, MessageID)
Users who received this message and their corresponding
MessageID
-
#receivers=(receivers : Hash(UserID, MessageID))
Users who received this message and their corresponding
MessageID
-
#sender : UserID
User who sent this message
-
#sent : Time
The time at which this message was sent
-
#warned : Bool | Nil
Whether or not this message has been warned
-
#warned=(warned : Bool | Nil)
Whether or not this message has been warned
Constructor Detail
Creates an instance of MessageGroup
Instance Method Detail
Set of users who upvoted or downvoted this message
Users who received this message and their corresponding MessageID
Users who received this message and their corresponding MessageID
Whether or not this message has been warned
If true
, a warning has been given to the user who sent this message, false
otherwise
Whether or not this message has been warned
If true
, a warning has been given to the user who sent this message, false
otherwise