bots.canSendMessage

Check whether the specified bot can send us messages

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.canSendMessage#1359f4e6 bot:InputUser = Bool;

Parameters

Name Type Description
bot InputUser The bot

Result

Bool

Possible errors

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