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

MatchMessage

A message sent either in a lobby or in a game and mirrored in the lobby

Attributes

  • :content - The (textual) contents of the message
  • :inserted_at - The time the message was inserted
  • :sender_id - The Teiserver.Account.User who sent the message
  • :match_id - The id of the Teiserver.Game.Match the message was sent in

Summary

Types

@type id() :: non_neg_integer()
@type t() :: %Teiserver.Communication.MatchMessage{
  __meta__: term(),
  content: String.t(),
  id: id(),
  inserted_at: DateTime.t(),
  match: term(),
  match_id: Teiserver.Game.Match.id(),
  sender: term(),
  sender_id: Teiserver.user_id()
}