Lingo.Type.Webhook (Lingo v0.4.2)

Copy Markdown View Source

A webhook.

Summary

Types

t()

@type t() :: %Lingo.Type.Webhook{
  application_id: String.t() | nil,
  avatar: String.t() | nil,
  channel_id: String.t() | nil,
  guild_id: String.t() | nil,
  id: String.t(),
  name: String.t() | nil,
  source_channel: Lingo.Type.Channel.t() | nil,
  source_guild: Lingo.Type.Guild.t() | nil,
  token: String.t() | nil,
  type: webhook_type(),
  url: String.t() | nil,
  user: Lingo.Type.User.t() | nil
}

webhook_type()

@type webhook_type() :: :incoming | :channel_follower | :application