Lingo.Event.ThreadDelete (Lingo v0.4.2)

Copy Markdown View Source

The payload of :thread_delete. Discord sends only the thread's ids and type; old is the thread as cached, or nil.

Summary

Types

t()

@type t() :: %Lingo.Event.ThreadDelete{
  guild_id: String.t(),
  id: String.t(),
  old: Lingo.Type.Channel.t() | nil,
  parent_id: String.t() | nil,
  type: Lingo.Type.Channel.channel_type() | integer()
}