onChatRemoved property

Future<void> Function(ChatId id)? onChatRemoved
getter/setter pair

Callback, called when a Chat with provided ChatId should be removed.

Implementation

Future<void> Function(ChatId id)? onChatRemoved;