bots.canSendMessage

Check whether the specified bot can send us messages

 Method schema is available as of layer 162. Switch ยป

Parameters

Name Type Description
bot InputUser The bot

Result

Bool

Possible errors

Code Type Description
400 BOT_INVALID This is not a valid bot.