You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d7f0a7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The server currently includes 80+ MCP tools grouped into these areas:
45
45
46
46
-**Accounts:** list configured accounts and route tool calls by account label.
47
47
-**Chats and groups:** list chats, inspect metadata, create groups/channels, join or leave chats, invite or remove users, manage admins, bans, default permissions, slow mode, topics, invite links, common chats, read receipts, and message links.
48
-
-**Messages:** send, schedule, edit, delete, forward, pin, unpin, mark read, reply, search, inspect context, create polls, manage reactions, inspect inline buttons, and press inline callbacks. `send_message`, `reply_to_message`, and `edit_message` support classic formatting (`parse_mode='md'`/`'html'`) and server-side rich formatting (`parse_mode='rich'`/`'rich_markdown'`/`'rich_html'` — full Markdown/HTML with tables, headings, formulas, and collapsible sections). Rich modes require Telegram Premium on the account; Premium is re-checked on every call, and without it nothing is sent — the tool returns a structured `telegram_premium_required` result so the agent can reformat with classic modes and retry.
48
+
-**Messages:** send, schedule, edit, delete, forward, pin, unpin, mark read, reply, search, inspect context, create polls, manage reactions, inspect inline buttons, and press inline callbacks. `send_message`, `reply_to_message`, and `edit_message` support classic formatting (`parse_mode='md'`/`'html'`) and server-side rich formatting (`parse_mode='rich'`/`'rich_markdown'`/`'rich_html'` — full Markdown/HTML with tables, headings, formulas, and collapsible sections). Rich modes require Telegram Premium on the account; Premium is re-checked on every call, and without it nothing is sent — the tool returns a structured `telegram_premium_required` result so the agent can reformat with classic modes and retry.`send_message`, `reply_to_message`, and `edit_message` also accept `format_date` to render a date as a tappable chip.
49
49
-**Contacts:** list, search, add, delete, block, unblock, import, export, inspect direct chats, find recent contact interactions, and remember contacts by the names you actually use (see below).
50
50
51
51
### Remembered contacts
@@ -107,6 +107,16 @@ or `edit_message`, and insert `<tg-emoji emoji-id="ID">EMOJI</tg-emoji>` using i
107
107
the entry above becomes `<tg-emoji emoji-id="5368324170671202286">🍷</tg-emoji>`.
108
108
Telegram's account restrictions still apply to sending custom emoji.
109
109
110
+
### Tappable dates and times
111
+
112
+
Passing `format_date` to `send_message`, `reply_to_message`, or `edit_message`
113
+
renders a tappable date/time chip — the same entity Telegram's apps attach when
114
+
you type a recognizable date. Give the date text exactly as it appears in the
115
+
message: `'13/09'`, `'13/09/2026'`, or `'13/09 17:00'`. The chip opens
116
+
copy-date / add-to-calendar / reminder actions. Plain-text messages only —
117
+
omit `parse_mode`. For example, `send_message(chat_id, "Lunch 13/09 13:00",
118
+
format_date="13/09 13:00")` sends a message whose date opens that menu.
119
+
110
120
### Incoming Event Feed (callback mode, Claude Code only)
111
121
112
122
By default, an agent waits for replies by calling `wait_for_settled_message`, which blocks up to the MCP tool timeout and must be re-called — that works everywhere (Codex, Cursor, etc.) and is unchanged.
0 commit comments