onSendMessageForUserDisableChanged property
4.7 User Text Message Sending Ability Changed Event
roomId
Room ID
userId
User ID
isDisable
Whether the user is prohibited from sending text messages. true
means the user is prohibited from sending messages, false
means the user is allowed to send messages.
Implementation
OnSendMessageForUserDisableChanged onSendMessageForUserDisableChanged =
(String roomId, String userId, bool isDisable) {};