MessageEvent constructor

MessageEvent({
  1. required String event,
  2. required String origin,
  3. required String timestamp,
  4. required String chatId,
  5. required String from,
  6. required List<String> to,
  7. required MessageContent message,
  8. required MessageMeta meta,
  9. required String reference,
  10. MessageRawData? raw,
})

Implementation

MessageEvent({
  required this.event,
  required this.origin,
  required this.timestamp,
  required this.chatId,
  required this.from,
  required this.to,
  required this.message,
  required this.meta,
  required this.reference,
  this.raw,
});