Check whether the specified bot can send us messages
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.canSendMessage#1359f4e6 bot:InputUser = Bool;
Name | Type | Description |
---|---|---|
bot | InputUser | The bot |
Code | Type | Description |
---|---|---|
400 | BOT_INVALID | This is not a valid bot. |