MmOutgoingWebhook class
Constructors
-
MmOutgoingWebhook({String? id, int? createAt, int? updateAt, int? deleteAt, String? creatorId, String? teamId, String? channelId, String? description, String? displayName, List<String> triggerWords = const [], int? triggerWhen, List<String> callbackUrls = const [], String contentType = 'application/x-www-form-urlencoded'})
-
Returns a new MmOutgoingWebhook instance.
Properties
-
callbackUrls
↔ List<String>
-
The URLs to POST the payloads to when the webhook is triggered
getter/setter pair
-
channelId
↔ String?
-
The ID of a public channel that the webhook watchs
getter/setter pair
-
contentType
↔ String
-
The format to POST the data in, either
application/json
or application/x-www-form-urlencoded
getter/setter pair
-
createAt
↔ int?
-
The time in milliseconds a outgoing webhook was created
getter/setter pair
-
creatorId
↔ String?
-
The Id of the user who created the webhook
getter/setter pair
-
deleteAt
↔ int?
-
The time in milliseconds a outgoing webhook was deleted
getter/setter pair
-
description
↔ String?
-
The description for this outgoing webhook
getter/setter pair
-
displayName
↔ String?
-
The display name for this outgoing webhook
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
id
↔ String?
-
The unique identifier for this outgoing webhook
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
teamId
↔ String?
-
The ID of the team that the webhook watchs
getter/setter pair
-
triggerWhen
↔ int?
-
When to trigger the webhook,
0
when a trigger word is present at all and 1
if the message starts with a trigger word
getter/setter pair
-
triggerWords
↔ List<String>
-
List of words for the webhook to trigger on
getter/setter pair
-
updateAt
↔ int?
-
The time in milliseconds a outgoing webhook was last updated
getter/setter pair