pub async fn can_bot_send_messages(
bot_user_id: i64,
client_id: i32,
) -> Result<(), Error>Expand description
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
§Arguments
bot_user_id- Identifier of the target botclient_id- The client id to send the request to