CanBotSendMessages constructor

const CanBotSendMessages({
  1. required int botUserId,
})

Checks whether the specified bot can send messages to the user. Returns a 404 error if can't and the access can be granted by call to allowBotToSendMessages

Implementation

const CanBotSendMessages({
  required this.botUserId,
});