WebhookType class
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 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
- incoming → const WebhookType
- Incoming Webhooks can post messages to channels with a generated token