Layer 220
BotsAllowSendMessage
Allow the specified bot to send us messages
method
Users
bots.allowSendMessage#f132e3ef bot:InputUser = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | The bot |
Returns
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Gogram Example
// BotsAllowSendMessage - positional arguments result, err := client.BotsAllowSendMessage(&tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.Updates