WebhookType class Null safety
Type of webhook. Either incoming if it its normal webhook executable with token, or channelFollower if its discord internal webhook
Constructors
- WebhookType.from(int? value)
-
Creates instance of WebhookType from
value
. Default value is 0
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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)