К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-dialogs.mdиндекс документации — /llms.txt

MCP: dialogs

Обновлено

Определения инструментов. Обновляйте tools/list после изменения прав. required_scopes: ALL.

get_conversation

Read a dialog by userSeqNum. Messages include messageSeqNum, author, source, text and createdAt.

Scopes (ALL): ["dialogs:read"]. Risk: "read".

Вход, результат и права

get_message_stats

Read message attribution totals and bySource counts for your tenant, aggregated across operators.

Scopes (ALL): ["dialogs:read"]. Risk: "read".

Вход, результат и права

list_unanswered

List waiting dialogs with userSeqNum, inquirySeqNum and the last user message. Includes intercepted chats.

Scopes (ALL): ["dialogs:read"]. Risk: "read".

Вход, результат и права

manage_message

Edit text, caption, media or buttons, or delete a sent message by userSeqNum and messageSeqNum. Updates private and Open Lines copies.

Scopes (ALL): ["dialogs:write"]. Risk: "destructive".

Вход, результат и права

release_chat

Release a dialog by userSeqNum and restore configured AI routing.

Scopes (ALL): ["dialogs:write"]. Risk: "write".

Вход, результат и права

send_card

Send cards in a batch: items carry a private target with userSeqNum, text or media, caption, entities and buttons. Media accepts file_id, an uploaded media descriptor, or download_url. Replies use replyToMessageSeqNum. Mirrored to Open Lines; sending never takes over the chat. Plan batch cap applies; results report each item.

Scopes (ALL): ["dialogs:write"]. Risk: "write".

Вход, результат и права

send_entity_card

Send an entity card to userSeqNum without recording a user click. Explicit onActive controls chain reentry. Orders and carts use payment tools.

Scopes (ALL): ["dialogs:write"]. Risk: "write".

Вход, результат и права

take_chat

Take over a dialog by userSeqNum and pause AI responses. Sending alone never takes over.

Scopes (ALL): ["dialogs:write"]. Risk: "write".

Вход, результат и права