mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +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
|