Altar.ADM.FunctionCall (Altar v0.1.2)
View SourceFunctionCall represents a request to invoke a function by name with arguments.
Use new/1
to construct validated instances.
Summary
Functions
Construct a new validated FunctionCall
.
Types
Functions
Construct a new validated FunctionCall
.
Accepts a map or keyword list with:
:call_id
(required): non-empty string:name
(required): non-empty string:args
(optional): map(), defaults to%{}
Returns {:ok, %FunctionCall{}}
on success or {:error, reason}
.