/sendMessage' \
-d '{"chat_id": 42, "text": "hello from bot"}'
```
Targeting: use `chat_id` for chats/threads or `user_id` for DMs.
Errors return `{ "ok": false, "error_code": , "description": "..." }`; `error` may be present as a machine-readable code.
### Quick check
```bash
curl -sS 'https://api.inline.chat/bot/getMe'
```"
/>
/sendMessage' \
-d '{"chat_id": 42, "text": "hello from bot"}'
```
Targeting: use `chat_id` for chats/threads or `user_id` for DMs.
Errors return `{ "ok": false, "error_code": , "description": "..." }`; `error` may be present as a machine-readable code.
### Quick check
```bash
curl -sS 'https://api.inline.chat/bot/getMe'
```"
/>