mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 18:31:07 +00:00
19 lines
332 B
Elixir
19 lines
332 B
Elixir
defmodule Mobilizon.Federation.ActivityPub.Activity do
|
|
@moduledoc """
|
|
Represents an activity.
|
|
"""
|
|
|
|
@type t :: %__MODULE__{
|
|
data: String.t(),
|
|
local: boolean,
|
|
actor: Actor.t(),
|
|
recipients: [String.t()]
|
|
}
|
|
|
|
defstruct [
|
|
:data,
|
|
:local,
|
|
:actor,
|
|
:recipients
|
|
]
|
|
end
|