copyWith method

ToggleSessionCanAcceptSecretChats copyWith({
  1. int? sessionId,
  2. bool? canAcceptSecretChats,
})

Implementation

ToggleSessionCanAcceptSecretChats copyWith({
  int? sessionId,
  bool? canAcceptSecretChats,
}) =>
    ToggleSessionCanAcceptSecretChats(
      sessionId: sessionId ?? this.sessionId,
      canAcceptSecretChats: canAcceptSecretChats ?? this.canAcceptSecretChats,
    );