Lingo.Event.ApplicationAuthorized (Lingo v0.4.2)

Copy Markdown View Source

The payload of the :application_authorized webhook event: a user added the application to a guild (integration_type: :guild, with guild) or to their account (:user).

Summary

Types

t()

@type t() :: %Lingo.Event.ApplicationAuthorized{
  guild: Lingo.Type.Guild.t() | nil,
  integration_type: :guild | :user | integer() | nil,
  scopes: [String.t()],
  user: Lingo.Type.User.t()
}