Gamend.Chat.Mute (gamend_sdk v1.0.1124)

Copy Markdown View Source

Chat mute struct from Gamend.

This is a stub module for SDK type definitions. The actual struct is provided by Gamend at runtime.

Fields

  • id - Mute ID (string, UUID)
  • user_id - The muted player (string)
  • scope - "global", "lobby", "group" or "party" (string)
  • scope_ref_id - The room id, nil for a global mute (string)
  • expires_at - When it lifts, nil for a permanent mute
  • reason - Why the player was muted (string)
  • muted_by - Who applied it, nil when a plugin did (string)
  • inserted_at - Creation timestamp
  • updated_at - Last update timestamp

Summary

Types

t()

@type t() :: %Gamend.Chat.Mute{
  expires_at: DateTime.t() | nil,
  id: String.t(),
  inserted_at: DateTime.t(),
  muted_by: String.t() | nil,
  reason: String.t() | nil,
  scope: String.t(),
  scope_ref_id: String.t() | nil,
  updated_at: DateTime.t(),
  user_id: String.t()
}