mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-25 09:22:22 +00:00
75e254d8b4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
19 lines
327 B
Elixir
19 lines
327 B
Elixir
defmodule Mobilizon.Federation.ActivityPub.Activity do
|
|
@moduledoc """
|
|
Represents an activity.
|
|
"""
|
|
|
|
@type t :: %__MODULE__{
|
|
data: map(),
|
|
local: boolean,
|
|
actor: Actor.t(),
|
|
recipients: [String.t()]
|
|
}
|
|
|
|
defstruct [
|
|
:data,
|
|
:local,
|
|
:actor,
|
|
:recipients
|
|
]
|
|
end
|