ChatConfig constructor
ChatConfig({
- ChatChannelAccessVerificationCallback? channelAccessVerification,
- bool allowUnauthenticatedUsers = false,
- bool postMessagesGlobally = false,
Create a new ChatConfig.
Implementation
ChatConfig({
ChatChannelAccessVerificationCallback? channelAccessVerification,
this.allowUnauthenticatedUsers = false,
this.postMessagesGlobally = false,
}) {
this.channelAccessVerification =
channelAccessVerification ?? (session, userId, channel) async => true;
}