init abstract method

Future<void> init({
  1. required Future<void> onMemberRemoved(
    1. ChatId,
    2. UserId
    ),
})

Initializes this repository.

Callback onMemberRemoved should be called once an User is removed from a Chat.

Implementation

Future<void> init({
  required Future<void> Function(ChatId, UserId) onMemberRemoved,
});