View Source Teiserver.Communication.RoomMessage (Teiserver v0.0.4)

RoomMessage

A message sent sender a user into a chat room.

Attributes

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()
}