/sendMessage' \
-d '{"chat_id": 42, "text": "hello from bot"}'
```
Targeting: use `chat_id` (canonical) or `user_id` for DMs. Deprecated aliases `peer_thread_id` and `peer_user_id` are still accepted for compatibility.
### Quick check
```bash
curl -sS 'https://api.inline.chat/bot/getMe'
```"
/>
/sendMessage' \
-d '{"chat_id": 42, "text": "hello from bot"}'
```
Targeting: use `chat_id` (canonical) or `user_id` for DMs. Deprecated aliases `peer_thread_id` and `peer_user_id` are still accepted for compatibility.
### Quick check
```bash
curl -sS 'https://api.inline.chat/bot/getMe'
```"
/>