can_bot_send_message()¶
- async Client.can_bot_send_message()¶
Check if a bot can send messages to the user.
Usable by Users Bots- Parameters:
bot (Union[int, str], *optional*) – Bot username or ID
- Returns:
bool– True on success.
Example
await app.can_bot_send_message(...)