WebhookType enum

The type of a Webhook.

Inheritance

Constructors

WebhookType.parse(int value)
Parse a WebhookType from a value.
factory

Values

incoming → const WebhookType

A webhook which sends messages to a channel using a Webhook.token.

const WebhookType._(1)
channelFollower → const WebhookType

An internal webhook used to manage Channel Followers.

const WebhookType._(2)
application → const WebhookType

A webhook for use with interactions.

const WebhookType._(3)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The value of this webhook type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WebhookType>
A constant List of the values in this enum, in order of their declaration.