ToggleSessionCanAcceptSecretChats constructor

const ToggleSessionCanAcceptSecretChats({
  1. required int sessionId,
  2. required bool canAcceptSecretChats,
})

Toggles whether a session can accept incoming secret chats

Implementation

const ToggleSessionCanAcceptSecretChats({
  required this.sessionId,
  required this.canAcceptSecretChats,
});