Layer 220
method Users
bots.canSendMessage#1359f4e6 bot:InputUser = Bool;

Parameters

Name Type Description
Bot InputUser The bot

Returns

Bool

Possible Errors

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

Gogram Example

// BotsCanSendMessage - positional arguments
result, err := client.BotsCanSendMessage(&tg.InputUserSelf{})
if err != nil {
    // handle error
}
// result is *tg.Bool