Spatio.Model.Channel (spatio_sdk v0.0.2)

A chat conversation. The same struct backs both group channels (type: channel | private) and direct-message threads (type: im | mpim); the Channels and DirectMessages HTTP surfaces filter on type to give each its dedicated URL space.

Summary

Types

t()

@type t() :: %Spatio.Model.Channel{
  accountId: String.t() | nil,
  createdAt: DateTime.t() | nil,
  description: String.t() | nil,
  id: String.t(),
  isArchived: boolean(),
  isMember: boolean(),
  memberCount: integer() | nil,
  name: String.t(),
  provider: String.t() | nil,
  topic: String.t() | nil,
  type: String.t()
}

Functions

decode(value)