Chat Commands
Run a Telegram chat creation or management command
Runs an allowlisted Telegram chat command through the selected connected account. Use chat.direct.resolve with a broadcast channel chatId to resolve its private direct-message inbox without sending or joining. Send messages to result.chat_id using the normal message endpoint; sending to the parent channel still posts publicly. Supports chat creation, member invitation/removal, management fetch, join requests, invite links, info/privacy updates, and default permissions updates.
post/v1/live/chats/commands
Request
- Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
- URL: https://api.entergram.com/v1/live/chats/commands
- Auth: API key in header X-API-Key
Request body
Example request
{
"accountId": "acct_demo_123",
"chatId": "-1000001234567",
"commandType": "chat.management.fetch",
"idempotencyKey": "chat-command-001"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.