Dialog constructor

const Dialog({
  1. required bool pinned,
  2. required bool unreadMark,
  3. required bool viewForumAsMessages,
  4. required PeerBase peer,
  5. required int topMessage,
  6. required int readInboxMaxId,
  7. required int readOutboxMaxId,
  8. required int unreadCount,
  9. required int unreadMentionsCount,
  10. required int unreadReactionsCount,
  11. required PeerNotifySettingsBase notifySettings,
  12. int? pts,
  13. DraftMessageBase? draft,
  14. int? folderId,
  15. int? ttlPeriod,
})

Dialog constructor.

Implementation

const Dialog({
  required this.pinned,
  required this.unreadMark,
  required this.viewForumAsMessages,
  required this.peer,
  required this.topMessage,
  required this.readInboxMaxId,
  required this.readOutboxMaxId,
  required this.unreadCount,
  required this.unreadMentionsCount,
  required this.unreadReactionsCount,
  required this.notifySettings,
  this.pts,
  this.draft,
  this.folderId,
  this.ttlPeriod,
}) : super._();