Bot: chat info
bot_get_chatRetrieve a Bale chat's type, title, username, and description by chat ID or @username to support context-aware bot responses.
Instructions
Get a chat's type, title or name, username and description.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>"
},
"name": "bot_get_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat id (number) or public '@channel' username. |