WebhookNewAttachmentPayload constructor

WebhookNewAttachmentPayload({
  1. required String messageId,
  2. required String webhookId,
  3. String? webhookName,
  4. required WebhookNewAttachmentPayloadEventNameEnum eventName,
  5. required String attachmentId,
  6. required String name,
  7. required String contentType,
  8. required int contentLength,
})

Returns a new WebhookNewAttachmentPayload instance.

Implementation

WebhookNewAttachmentPayload({
  required this.messageId,
  required this.webhookId,
  this.webhookName,
  required this.eventName,
  required this.attachmentId,
  required this.name,
  required this.contentType,
  required this.contentLength,
});