ZeroByteCode Auto Share plugin is able to auto share you published posts and any other custom post types directly to your Telegram channel or group.
You can integrate the plugin with unlimited numbers of Telegram channels, groups as well as Telegram bot tokens. Follow the following step by step guide to getting started:
Step 1: Create a Telegram Bot
- Open Telegram and search for @BotFather
- Start a conversation and send
/newbot
- Follow the prompts to create your bot
- Copy the Bot Token provided by BotFather
Step 2: Get Your Channel ID
For Public Channels:
- Use the channel username (e.g.,
@yourchannel
)
For Private Channels:
- Add your bot to the channel as an administrator
- Send a test message to the channel
- Visit:
https://api.telegram.org/bot[BOT_TOKEN]/getUpdates
- Look for the
chat
object and copy theid
value
For full tutorial , read our article about how to create Telegram bot, add admin and find Telegram chat IDs.
Step 3: Configure in Plugin
- Go to Auto Share → Telegram Settings
- Click “Add New Channel”
- Fill in the details:
- Channel Name: A friendly name for identification
- Bot Token: The token from BotFather
- Channel ID: The channel ID or username
- Enable: Check to activate this channel
Step 4: Test Connection
- Click the “Test Connection” button
- Check your Telegram channel for the test message
- If successful, you’ll see a green success message