SecretChat constructor

const SecretChat({
  1. required int id,
  2. required int userId,
  3. required SecretChatState state,
  4. required bool isOutbound,
  5. required String keyHash,
  6. required int layer,
  7. dynamic extra,
  8. int? clientId,
})

Represents a secret chat

Implementation

const SecretChat({
  required this.id,
  required this.userId,
  required this.state,
  required this.isOutbound,
  required this.keyHash,
  required this.layer,
  this.extra,
  this.clientId,
});