View Source Teiserver.Communication.RoomMessage (Teiserver v0.0.4)
RoomMessage
A message sent sender a user into a chat room.
Attributes
:content
- The (textual) contents of the message:inserted_at
- The time the message was inserted:sender_id
- TheTeiserver.Account.User
who sent the message:room_id
- The id of theTeiserver.Communication.Room
the message was sent in
Summary
Types
@type id() :: non_neg_integer()
@type t() :: %Teiserver.Communication.RoomMessage{ __meta__: term(), content: String.t(), id: id(), inserted_at: DateTime.t(), room: term(), room_id: Teiserver.Communication.Room.id(), sender: term(), sender_id: Teiserver.user_id() }