Start TG Chat
start_tg_chat[publish] Start a conversation on a Telegram account with ONE person who has not written to it, and send them the first message. Name the person by username (with or without @) or by phone (with the country code, e.g. +905551112233) - exactly one of the two. account_id = tg_account_id (or pass account_uuid). Returns tg_chat (tg_chat_id / tg_chat_uuid: send_chat_message with platform tg answers inside it from then on) and tg_message. Delivered to a real person from a real account. One person per call - there is no list and no bulk version; sending to many people is a campaign, which only a person starts in the panel. A person who has already been written to and has not answered is refused (ERR_TG_CHAT_AWAITING_REPLY): do not write again until they do, and a chat that sent /stop refuses automated messages (ERR_TG_CHAT_OPTOUT). Nobody found = ERR_TG_CONTACT_NOT_FOUND; bots and deleted accounts = ERR_TG_CONTACT_INVALID. Cold first messages are what gets an account restricted: the account has a daily cap on new chats and on lookups (ERR_TG_RATE_LIMITED comes with retry_after - do not retry sooner), so write only people with a reason to expect it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | ||
| message | Yes | ||
| username | No | ||
| account_id | No | ||
| account_uuid | No |