MmCreateOutgoingWebhookRequest constructor

MmCreateOutgoingWebhookRequest({
  1. required String teamId,
  2. String? channelId,
  3. String? creatorId,
  4. String? description,
  5. required String displayName,
  6. List<String> triggerWords = const [],
  7. int? triggerWhen,
  8. List<String> callbackUrls = const [],
  9. String contentType = 'application/x-www-form-urlencoded',
})

Returns a new MmCreateOutgoingWebhookRequest instance.

Implementation

MmCreateOutgoingWebhookRequest({
  required this.teamId,
  this.channelId,
  this.creatorId,
  this.description,
  required this.displayName,
  this.triggerWords = const [],
  this.triggerWhen,
  this.callbackUrls = const [],
  this.contentType = 'application/x-www-form-urlencoded',
});