OutgoingWebhook class abstract
OutgoingWebhook
Properties:
- id - The unique identifier for this outgoing webhook
- createAt - The time in milliseconds a outgoing webhook was created
- updateAt - The time in milliseconds a outgoing webhook was last updated
- deleteAt - The time in milliseconds a outgoing webhook was deleted
- creatorId - The Id of the user who created the webhook
- teamId - The ID of the team that the webhook watchs
- channelId - The ID of a public channel that the webhook watchs
- description - The description for this outgoing webhook
- displayName - The display name for this outgoing webhook
- triggerWords - List of words for the webhook to trigger on
- triggerWhen - When to trigger the webhook,
0
when a trigger word is present at all and1
if the message starts with a trigger word - callbackUrls - The URLs to POST the payloads to when the webhook is triggered
- contentType - The format to POST the data in, either
application/json
orapplication/x-www-form-urlencoded
Constructors
- OutgoingWebhook([void updates(OutgoingWebhookBuilder b)])
-
factory
Properties
-
callbackUrls
→ BuiltList<
String> ? -
The URLs to POST the payloads to when the webhook is triggered
no setter
- channelId → String?
-
The ID of a public channel that the webhook watchs
no setter
- contentType → String?
-
The format to POST the data in, either
application/json
orapplication/x-www-form-urlencoded
no setter - createAt → int?
-
The time in milliseconds a outgoing webhook was created
no setter
- creatorId → String?
-
The Id of the user who created the webhook
no setter
- deleteAt → int?
-
The time in milliseconds a outgoing webhook was deleted
no setter
- description → String?
-
The description for this outgoing webhook
no setter
- displayName → String?
-
The display name for this outgoing webhook
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The unique identifier for this outgoing webhook
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- teamId → String?
-
The ID of the team that the webhook watchs
no setter
- triggerWhen → int?
-
When to trigger the webhook,
0
when a trigger word is present at all and1
if the message starts with a trigger wordno setter -
triggerWords
→ BuiltList<
String> ? -
List of words for the webhook to trigger on
no setter
- updateAt → int?
-
The time in milliseconds a outgoing webhook was last updated
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(OutgoingWebhookBuilder)) → OutgoingWebhook -
Rebuilds the instance.
inherited
-
toBuilder(
) → OutgoingWebhookBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
OutgoingWebhook> -
no setter