can_bot_send_messages


Description:

public async Ok can_bot_send_messages (int64 bot_user_id) throws TDLibError

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 Client.allow_bot_to_send_messages

Parameters:

bot_user_id

Identifier of the target bot