Telegram bot that publishes messages in a chat using a custom alias for each user

Your Telegram bot, now with custom names for every user—no more boring usernames or confusion. Give everyone their identity (or keep them anonymous) in every group or channel update.

  • Instantly when the trigger is activated
  • Instantly when receiving a text message (telegrambot → webhook)
  • Check if meets specific conditions (btzfilters → process)
  • Send a message (telegrambot → send_message_photo)

Are you manually filtering, copying, and reposting user messages in your Telegram groups or channels while struggling to keep community members anonymous or properly represented? Each interaction demands extra effort to attribute messages correctly, avoid confusion, and protect privacy—burning through hours each week and risking leaks, misattribution, or diminished engagement when anonymity matters. Without automation, your team’s time, consistency, and community trust can slip away unnoticed.

This Botize formula takes over the busywork by instantly capturing incoming messages to your Telegram bot, checking who sent them, and posting them into your chosen group or channel—always using a personalized alias you’ve defined in a simple lookup table. If there’s no match, it defaults to 'Anonymous,' keeping privacy intact and every message neatly attributed regardless. Filters and frequency options ensure you retain full control of when and how each message lands, while staying effortless and mistake-proof.

Ready to streamline your Telegram interactions, secure privacy, and reclaim your time? Follow the step-by-step guide to set up this formula, or jump straight in using the ready-to-go template in Botize—you’ll have professional, alias-powered message posting live in minutes.

Automate this task with 4 simple prompts

Copy and paste the following prompts into Botize's AI task editor

  1. 2

    Select the AI editing tool.

    AI Prompt Tool
  2. 3

    Begin by setting up a trigger so the task runs instantly whenever the bot receives any message.

    Copy and paste this prompt into the AI editing tool.

    Start the automation so that it triggers immediately each time someone sends a message to the Telegram bot.

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  3. 4

    Let's process and capture the text message sent to the bot.

    Copy and paste this prompt into the AI editing tool.

    Add a step to receive the text message content each time a user messages the Telegram bot.

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  4. 5

    Now, determine which alias to use for the sender of the message based on a custom list. If no alias is defined for the sender, use 'anonymous' by default.

    Copy and paste this prompt into the AI editing tool.

    Create a step that checks the sender’s username and assigns a corresponding custom alias if available; otherwise, assign the alias 'anonymous'.

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  5. 6

    Finally, send the message to a specific Telegram chat, showing the alias of the sender along with the original message content.

    Copy and paste this prompt into the AI editing tool.

    Add a step to publish the message in the chosen Telegram group or channel using the format: 'Message from: [alias]' followed by the user's text.

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  6. 7

    Your automation is ready to use. Click the 'Save changes' button.

    Save changes

Telegram Chat Alias Magic: Make Every Message Uniquely Personal

Here's how it works, plain and simple: someone sends a message to your bot. Instantly, the bot republishes it to your chosen Telegram group or channel. But here’s the twist: instead of showing their Telegram username, your bot will display a nickname you define for them. If you haven’t set one, you get a neat 'anonymous.' That’s it—personalization, clarity, and a touch of magic, without the manual hassle.

Manual Botize
Check who sent each message 1 minute/message 0 Minutes
Look up or pick the right alias 2 minutes/message 0 Minutes
Copy-paste into group with new name 1 minute/message 0 Minutes
Total 4 minutes per message—now saved automatically 0 Minutes

Have you been searching for a way to post messages in your Telegram group with user-friendly, custom aliases? You just found it. No more username clutter, no more mystery senders—just clear, personal communication.


Team Brainstorming Made Fun

Your remote team shares ideas in a private group, but everyone loves their own quirky nickname. Tommy logs in as 'Idea Sprinter', while Jen is 'Coffee Muse.' Everyone sees who said what—instantly more fun and personal.

Human Touch

Your group feels friendlier with custom aliases people relate to.

Effortless Clarity

No more guessing who sent what—everyone’s clearly labeled!

Protect Privacy

When needed, keep things anonymous and safe without extra steps.


Safe Community Spaces

You run a support group where anonymity is key. Users send messages to the bot, and, unless listed, all entries appear under 'anonymous.' Trust and safety with a single automation.

👥

⌾︎ Your group or channel has nicknames or inside jokes everyone loves.

⌾︎ You want a safer space by hiding real usernames without losing track of who’s who.

🚫

✕ You only message yourself (hey, that’s valid, but not needed here).

✕ You must display official Telegram usernames for compliance reasons.


✓ Define as many unique aliases as you want, and update them anytime.

✓ Choose a custom default alias for undefined users—doesn’t have to be 'anonymous.'

✓ Set up to target any Telegram group or channel you manage—mix aliases per project.




This task runs every time someone sends a message to the bot. Its function is to copy that message and publish it in a specific Telegram chat (group or channel), indicating who sent it. Instead of using each user’s Telegram username, the task uses a custom alias. You will need to define and personalize a mapping of users to aliases within the task, assigning a specific alias to each person. If the bot receives a message from a user who is not defined in the alias mapping, it will use the default alias "anonymous".

Related automations