ModeratorCapsuleItem constructor

ModeratorCapsuleItem(
  1. Uint8List flags,
  2. int authorHint,
  3. int bl,
  4. int pp,
  5. int garyTimestamp,
  6. int payloadLenght,
  7. Uint8List payload,
  8. int keyLen,
  9. Uint8List key,
  10. int hint,
  11. String authorAvatar,
  12. String authorNick,
  13. Uint8List attachmentLink,
  14. int lenghtInBytes,
  15. int preceivedTimestamp,
  16. int likes,
  17. int shares,
  18. int views,
  19. int replies,
)

Implementation

ModeratorCapsuleItem(
    this.flags,
    this.authorHint,
    this.bl,
    this.pp,
    this.garyTimestamp, //word, bigger is newer
    this.payloadLenght, //word
    this.payload, //under 1kb
    this.keyLen,
    this.key,
    this.hint,
    this.authorAvatar,
    this.authorNick,
    this.attachmentLink,
    this.lenghtInBytes,
    this.preceivedTimestamp,
    this.likes,
    this.shares,
    this.views,
    this.replies);