View Source ExTDLib.Method.CanBotSendMessages (ExTDLib v0.0.4)

Checks whether the specified bot can send messages to the user. Returns a 404 error if can't and the access can be granted by call to allowBotToSendMessages. Returns object_ptr<Ok>.

NameTypeDescription
bot_user_idstringIdentifier of the target bot.

More details on telegram's documentation.