ChatChannelAccessVerificationCallback typedef
ChatChannelAccessVerificationCallback =
Future<bool> Function(Session session, int userId, String channel)
Callback for verifying if a user is allowed to join a channel. Return true if the user is allowed to join the channel.
Implementation
typedef ChatChannelAccessVerificationCallback = Future<bool> Function(
Session session, int userId, String channel);