Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Login → Login with Phone Number Using ChatTrigger

AI-generated

Summary

Initiates Telegram phone-number login by processing user commands from a connected ChatTrigger node. Users send /start to begin the flow, then provide phone number, auth code, and MFA password if configured. Outputs auth state updates and status messages to returnData.

Inputs

  • resource (required) — Resource type filter for the node's operation set.
  • operation (required) — Login operation selector. Fixed to 'login' for 'Login with Phone Number Using ChatTrigger'.

Output shape

array

Array of messages and auth state transitions generated during the login flow. Includes user prompts (e.g., 'Please provide AuthCode:') and completion notices such as 'You have successfully logged in.' Output depends on user interaction via the connected ChatTrigger node.

Examples

Example 1: First-time login flow

User connects a Telegram CoPilot credential (apiId, apiHash, phoneNumber) and a ChatTrigger node. In Telegram, the user sends /start to the ChatTrigger bot. The node prompts for auth code, then MFA password if set, and finally outputs 'You have successfully logged in.'

Links

Discussion