Telegram CoPilot icon

Telegram CoPilot

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

Actions56

袩芯谢褜蟹芯胁邪褌械谢褜 → 袩芯谢褍褔懈褌褜 邪泻褌懈胁薪褘械 锌芯写锌懈褋泻懈 蟹邪 蟹胁械蟹写褘

AI-generated

Overview

This node operation retrieves star subscriptions for a Telegram user. It can filter subscriptions to only those that are expiring and supports pagination through an offset parameter. This is useful for managing and monitoring Telegram star subscriptions, such as in scenarios where you want to track active or expiring subscriptions for a user.

Use Case Examples

  1. Retrieve all star subscriptions for a user to display in a dashboard.
  2. Fetch only expiring star subscriptions to notify the user about upcoming expirations.

Properties

Name Meaning
only_expiring Filter to retrieve only star subscriptions that are expiring.
offset Pagination offset to fetch star subscriptions starting from a specific point.

Output

JSON

  • transactions - List of star subscription transactions retrieved from Telegram.

Dependencies

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

Troubleshooting

  • Ensure the Telegram account is logged in before attempting to fetch star subscriptions; otherwise, the node will throw a login error.
  • If the node throws errors related to chat not found or user not found, verify the user ID and permissions.
  • Pagination offset should be correctly formatted as a string; invalid offsets may cause errors.

Links

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

Discussion