WebhookType enum
The type of a Webhook.
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
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.