CanSendMessageToUser constructor

const CanSendMessageToUser({
  1. required int userId,
  2. required bool onlyLocal,
})

Checks whether the current user can message another user or try to create a chat with them

Implementation

const CanSendMessageToUser({required this.userId, required this.onlyLocal});