Docs

Reference

Block / unblock this person

Block (or unblock) the person of a private chat for this Telegram account: a blocked person can no longer message it.

View MarkdownThis page is generated from the source code on every release.

Block (or unblock) the person of a private chat for this Telegram account: a blocked person can no longer message it.

Overview

Name Value
Code people.block
Scope needed contacts.write
Risk Write
May need confirmation No
Runs as Queues work for a node
Needs Idempotency-Key Yes
Member roles allowed owner, manager, agent
Needs a worker from version 1.0.16
In the app Inbox → customer info → Block

Input fields

Field Type Required Description
conversationId uuid Yes
blocked true/false Yes

Example request

curl -X POST https://tlg.builera.app/api/public/v2/ops/people.block \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <unique key per operation>" \
  -d '{"conversationId":"00000000-0000-0000-0000-000000000000","blocked":true}'

Output fields (data)

Field Type Required
ok true Yes
jobId text Yes

Example answer

{
  "data": {
    "ok": true,
    "jobId": "00000000-0000-4000-8000-000000000000"
  }
}

Using it over MCP

Not listed on any profile: call tools_describe then tools_run with code: "people.block". Tool name when listed: people_block.

Was this page helpful?

Last checked: 10/24/2026 · build 2.0