Telegram CoPilot icon

Telegram CoPilot

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

Actions56

袟胁械蟹写褘 → 袩芯谢褍褔懈褌褜 褌褉邪薪蟹邪泻褑懈懈 蟹胁械蟹写

AI-generated

Overview

This node operation retrieves star transactions related to a specific chat in Telegram. It allows filtering transactions by subscription ID, direction (incoming, outgoing, or all), offset, and limit. This is useful for monitoring financial transactions or interactions involving stars in a Telegram chat, such as for analytics or reporting purposes.

Use Case Examples

  1. Retrieve the latest star transactions for a Telegram chat to analyze incoming and outgoing star payments.
  2. Filter star transactions by subscription ID to track specific subscription-related transactions.
  3. Use offset and limit parameters to paginate through star transactions for a chat.

Properties

Name Meaning
offset Offset for pagination in star transactions retrieval, used to skip a number of transactions.
subscription_id ID of the star subscription to filter transactions by a specific subscription.
chat_id ID of the chat for which to retrieve star transactions. This is required.
direction Direction of star transactions to retrieve: all, incoming, or outgoing.
limit Maximum number of star transactions to return, with a minimum value of 1.

Output

JSON

  • transactions - List of star transactions retrieved for the specified chat and filters.
  • new_transaction - Details of a new star transaction detected in trigger mode.
  • timestamp - Timestamp when the transaction data was retrieved or detected.
  • transaction_details
    • id - ID of the star transaction.
    • date - Date of the star transaction.
    • amount - Amount involved in the star transaction.
    • type - Type of the star transaction.
    • status - Status of the star transaction.

Dependencies

  • Telegram API credentials (API ID, API Hash, Phone Number)

Troubleshooting

  • Ensure the Telegram account is logged in and the session is active; otherwise, the node will throw a login error.
  • If the chat ID is invalid or the chat is not found, the node will throw an error indicating the chat was not found.
  • If the user does not have permission to access the chat or transactions, errors related to permissions may occur.
  • The node may throw errors if the Telegram API limits are exceeded or if the API credentials are incorrect.

Links

  • TelePilot Login Guide - Instructions on how to log in and authenticate the Telegram account for using the TelePilot node.

Discussion