mobilizon.chapril.org-mobil.../lib/mobilizon/events/activity.ex
2019-09-17 02:22:54 +02:00

22 lines
370 B
Elixir

defmodule Mobilizon.Events.Activity do
@moduledoc """
Represents an activity.
"""
@type t :: %__MODULE__{
data: String.t(),
local: boolean,
actor: Actor.t(),
recipients: [String.t()]
# notifications: [???]
}
defstruct [
:data,
:local,
:actor,
:recipients
# :notifications
]
end