WebhookType class

Type of webhook. Either incoming if it its normal webhook executable with token, or channelFollower if its discord internal webhook

Inheritance

Constructors

WebhookType.from(int? value)
Creates instance of WebhookType from value. Default value is 0

Properties

hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value int
Returns value of enum
read-onlyinherited

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

channelFollower → const WebhookType
Channel Follower Webhooks are internal webhooks used with Channel Following to post new messages into channels
WebhookType._create(2)
incoming → const WebhookType
Incoming Webhooks can post messages to channels with a generated token
WebhookType._create(1)