To create a link with a prefilled message, add ?text= and the URL-encoded message to t.me/username. Telegram fills in the compose field, and the sender can edit the message before sending it.
Frequently asked questions
How do I generate a link?
- Enter the recipient’s Telegram username, with or without @.
- Enter the text you want to prefill in the Message text field.
- Select Generate link with message, then Copy.
What does a link with a text parameter look like?
This example uses @username and the message “Hello!”.
https://t.me/username?text=Hello%21
The generator encodes spaces, line breaks, non-Latin characters and emoji for you.
Where can I use a link with a prefilled message?
Use it on a website, in a profile or in an ad. For example, a booking button can prefill “Hello! I’d like to book a consultation.”
Why doesn’t the prefilled message appear?
Check the personal account’s username and make sure you can send messages in the chat. Telegram documentation
Will the prefilled message be sent automatically?
Telegram puts the text in the compose field. The message is sent when the user presses Send.
Can I generate a prefilled message link without a username?
This generator needs the recipient’s public username. They can set one in their Telegram profile settings.
Is the message visible in the URL?
Yes. The text is in the URL-encoded text parameter and can be read after decoding. For a public link, use a message you are comfortable sharing.
How do I change the message in a link I already published?
Generate a new link with the same username and the updated message. Replace the published URL and any QR code made from the old link.