Telegram CoPilot icon

Telegram CoPilot

袙邪褕 锌械褉褋芯薪邪谢褜薪褘泄 Telegram CoPilot

Actions56

袠褋褌芯褉懈懈 → 袩芯谢褍褔懈褌褜 懈褋褌芯褉懈褞

AI-generated

Overview

This node operation fetches a specific story from a Telegram chat using the Telegram CoPilot API. It requires the ID of the chat where the story was posted and the story's unique ID. An optional boolean parameter allows fetching only local stories. This operation is useful for retrieving detailed information about a particular story in a chat, such as for monitoring or archiving purposes.

Use Case Examples

  1. Retrieve a story posted in a specific Telegram chat by providing the chat ID and story ID.
  2. Fetch only local stories from a chat to reduce data usage or focus on locally stored content.

Properties

Name Meaning
ID 褔邪褌邪 邪胁褌芯褉邪 The chat ID where the story was posted, used to identify the source chat of the story.
ID 懈褋褌芯褉懈懈 The unique identifier of the story to be fetched.
孝芯谢褜泻芯 谢芯泻邪谢褜薪褘械 写邪薪薪褘械 Boolean flag to fetch only local stories, which limits the retrieval to stories stored locally on the client.

Output

JSON

  • story_sender_chat_id - The ID of the chat that posted the story.
  • story_id - The unique identifier of the fetched story.
  • only_local - Indicates if only local stories were fetched.
  • result - The detailed data of the fetched story returned from the Telegram API.

Dependencies

  • Requires Telegram CoPilot API credentials including apiId, apiHash, and phoneNumber for authentication.

Troubleshooting

  • Ensure the Telegram client is logged in before attempting to fetch a story; otherwise, an error prompting login will occur.
  • If the story ID or chat ID is incorrect or the story does not exist, the node will throw an error indicating failure to fetch the story.
  • Network or API errors during the fetch operation will result in an error message; verify network connectivity and API credentials.

Links

Discussion