Docs / Modules / Social & messengers

Telegram (channels & bots)

Post and schedule in channels and groups, send photos and files, edit and pin messages, run a bot and reply to messages.

What you need

A bot token from @BotFather; for a channel, make the bot an admin.

Connect

  1. In Harnes Code open Settings → Manage modules.
  2. Press “Connect” on this module and fill in the fields below.
  3. Press “Test and save”.

Fields

  • Bot token — message @BotFather → /newbot (or /mybots) → copy the token.
  • Default channel or group (optional)

Example requests

Post these three product photos to my channel with a catchy caption

Every day at 9 am post the dollar and gold prices to the channel

Read the latest messages sent to the bot and summarise them