Payload constructor

const Payload({
  1. required String conversationId,
  2. required PayloadDirection direction,
  3. String? platform,
  4. String? text,
  5. List<Mention>? mentions,
  6. List<AttachmentRef>? attachments,
  7. String? replyToId,
  8. bool? isGroup,
  9. bool? isMention,
  10. ChainLink? prev,
  11. required String sentAt,
  12. Ext? ext,
})

Implementation

const Payload({
  required this.conversationId,
  required this.direction,
  this.platform,
  this.text,
  this.mentions,
  this.attachments,
  this.replyToId,
  this.isGroup,
  this.isMention,
  this.prev,
  required this.sentAt,
  this.ext,
});