WebhookNewSmsPayload constructor

WebhookNewSmsPayload({
  1. required String messageId,
  2. required String webhookId,
  3. required WebhookNewSmsPayloadEventNameEnum eventName,
  4. String? webhookName,
  5. required String smsId,
  6. required String userId,
  7. required String phoneNumber,
  8. required String toNumber,
  9. required String fromNumber,
  10. required String body,
  11. required bool read,
})

Returns a new WebhookNewSmsPayload instance.

Implementation

WebhookNewSmsPayload({
  required this.messageId,
  required this.webhookId,
  required this.eventName,
  this.webhookName,
  required this.smsId,
  required this.userId,
  required this.phoneNumber,
  required this.toNumber,
  required this.fromNumber,
  required this.body,
  required this.read,
});