Chat constructor

Chat({
  1. required int id,
  2. required String type,
  3. String? title,
  4. String? username,
  5. String? firstName,
  6. String? lastName,
  7. ChatPhoto? photo,
  8. String? bio,
  9. String? description,
  10. String? inviteLink,
  11. Message? pinnedMessage,
  12. ChatPermissions? permissions,
  13. int? slowModeDelay,
  14. String? stickerSetName,
  15. bool? canSetStickerSet,
  16. int? linkedChatId,
  17. int? messageAutoDeleteTime,
  18. ChatLocation? location,
})

Implementation

Chat({
  required this.id,
  required this.type,
  this.title,
  this.username,
  this.firstName,
  this.lastName,
  this.photo,
  this.bio,
  this.description,
  this.inviteLink,
  this.pinnedMessage,
  this.permissions,
  this.slowModeDelay,
  this.stickerSetName,
  this.canSetStickerSet,
  this.linkedChatId,
  this.messageAutoDeleteTime,
  this.location,
});