Generate Telegram code
Changed onGenerate an access code (valid 15 minutes) for connecting a Telegram channel or group. Add the bot as admin, then send the code + @yourchannel to the bot. Poll PATCH /v1/connect/telegram to check status.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/connect/telegram
- Auth: HTTP bearer
Query parameters
The profile ID to connect the Telegram account to
Response
Access code generated
Example response
{
"code": "ZRN-ABC123",
"expiresIn": 900,
"botUsername": "LateScheduleBot"
}Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info