Skip to content
All tools

telegram_read_messages

Telegram · macOS · Windows

Effect: read (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Reads recent messages of one Telegram chat, newest first. chat_id MUST come from telegram_list_chats. For older messages pass the returned `next_before` as `before`. Requires Telegram connected (telegram_connect).

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "before": {
      "description": "Only messages older than this message id (the `next_before` of a previous read).",
      "type": "integer"
    },
    "chat_id": {
      "description": "Chat id from telegram_list_chats.",
      "type": "string"
    },
    "limit": {
      "description": "Max messages (default 30, max 100).",
      "type": "integer"
    }
  },
  "required": [
    "chat_id"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "chat_id": "5550100123",
  "limit": 5
}

Windows

Purpose

Reads recent messages of one Telegram chat, newest first. chat_id MUST come from telegram_list_chats. For older messages pass the returned `next_before` as `before`. Requires Telegram connected (telegram_connect).

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — Windows
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "before": {
      "description": "Only messages older than this message id (the `next_before` of a previous read).",
      "type": "integer"
    },
    "chat_id": {
      "description": "Chat id from telegram_list_chats.",
      "type": "string"
    },
    "limit": {
      "description": "Max messages (default 30, max 100).",
      "type": "integer"
    }
  },
  "required": [
    "chat_id"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "chat_id": "5550100123",
  "limit": 5
}