Wardrik.Channel.Installation (wardrik_protocol v0.1.0-rc.6)

Copy Markdown

A channel added to one workspace, such as a Slack app added to one Slack workspace.

%Wardrik.Channel.Installation{
  channel: "slack",
  workspace: "T0123",
  name: "Acme",
  owner: "acme",
  token: "xoxb-..."
}

Fields

  • :channel - the channel's name, as "slack".
  • :workspace - the workspace's ID in the chat app.
  • :owner - who added it, as your app names them.
  • :token - the chat app's token for the workspace. Hidden from inspect/2.
  • :name - the workspace's name in the chat app, if it gave one.

Summary

Types

t()

@type t() :: %Wardrik.Channel.Installation{
  channel: String.t(),
  name: String.t() | nil,
  owner: String.t(),
  token: String.t(),
  workspace: String.t()
}