Spatio.Model.ChatActionDefinition (spatio_sdk v0.0.2)

One entry in GET /actions. Action ids are dotted (e.g. direct-messages.send, channels.list); the executeAction endpoint accepts the id with a free-form params object.

Summary

Types

t()

@type t() :: %Spatio.Model.ChatActionDefinition{
  category: String.t() | nil,
  description: String.t() | nil,
  id: String.t(),
  inputType: String.t() | nil,
  metadata: %{optional(String.t()) => any()} | nil,
  name: String.t(),
  outputType: String.t() | nil,
  platform: String.t(),
  scopes: [String.t()] | nil
}

Functions

decode(value)