View Source Teiserver.Communication.DirectMessage (Teiserver v0.0.4)
DirectMessage
A (text) message from one user to another.
Attributes
:content- The text content of the message:inserted_at- The datetime the message was sent:delivered?- Tracks if the message has been delivered to the user or not:read?- Tracks if the message has been read by the user or not:sender_id- TheTeiserver.Account.Userwho sent the message:to_id- TheTeiserver.Account.Userthe message was sent to
Summary
Types
@type id() :: non_neg_integer()
@type t() :: %Teiserver.Communication.DirectMessage{ __meta__: term(), content: String.t(), delivered?: boolean(), id: id(), inserted_at: DateTime.t(), read?: boolean(), sender: term(), sender_id: Teiserver.user_id(), to: term(), to_id: Teiserver.user_id() }