Skip to content

Official Telegram Bot

The Official PasterLink Telegram Bot

Create, edit and delete PasterLink pastes without leaving Telegram. Send the bot your text and get a shareable PasterLink URL back. No account is needed to start, and Creators can connect their PasterLink account.

No PasterLink account needed for guest mode.

How the Telegram Paste Bot Works

  1. Step 1

    Open the PasterLink bot

    Start the official bot in a private chat and tap Create Paste.

  2. Step 2

    Send your content

    Send the text as a normal message. Add a title, a password or button links if you want to, then tap Create.

  3. Step 3

    Share your PasterLink URL

    The bot replies with the paste URL, ready to post in a channel, group or chat.

Afterwards, open My Pastes in the bot to edit or delete the pastes you created with it.

No Account Required

Every Telegram user starts in guest mode. You do not need to register on PasterLink to create a paste from Telegram.

  • Create a paste through the official bot and receive its PasterLink URL.
  • See the pastes you created with the bot under My Pastes.
  • Edit or delete those pastes later, from the same Telegram account.
  • Guest creation has per-user rate limits to keep the service fair for everyone.

Good to know: a guest paste can be managed only in the bot. Guest pastes created on the website cannot be edited or deleted later.

Connect Your PasterLink Account

Creator Mode accounts can connect to the bot with a PasterLink API key. The bot never asks for your email address or password.

  1. Create an API key on PasterLink under Dashboard → API keys.
  2. In the bot, tap Connect PasterLink and send the key. The bot checks it with PasterLink and deletes your message.
  3. New pastes now belong to your PasterLink account, and My Pastes lists your account's pastes.
  4. Create, edit and delete them from Telegram, or on the website as usual.
  5. Disconnect at any time from the Account screen. Disconnecting removes the key from the bot but does not revoke it on PasterLink.

Connecting requires Creator Mode, which unlocks when the pastes on your account reach 1,000 total views. Other accounts can keep using guest mode.

What the Bot Can Do

  • Guest paste creation

    Create a paste without a PasterLink account.

  • Creator account connection

    Connect a Creator Mode account with an API key so new pastes belong to it.

  • Create

    Turn a Telegram message into a PasterLink paste.

  • My Pastes

    Browse your pastes page by page and open any of them.

  • Edit

    Replace the content, change or remove the title, and set or remove the password.

  • Delete

    Delete a paste after a confirmation step.

  • Optional title

    Give the paste a title, or leave it untitled.

  • Optional password

    Require a password to open the paste page.

  • Links as buttons

    Show the links in your paste as buttons, the same option as on the website.

  • Direct PasterLink URLs

    Every paste gets a standard pasterlink.com/paste/ link you can share anywhere.

Share Long Text on Telegram with One Link

A paste turns long content into a single URL. It works well as a lightweight Pastebin alternative for Telegram, when a message is too long or awkward to read in the chat.

  • Text that is too long for a message

    Keep the Telegram post short and put the full text on one page that readers open when they need it.

  • Channels and announcements

    Post a short announcement and link to the detailed notes, rules or changelog.

  • Communities and support

    Share guides, FAQs and troubleshooting steps as one link that admins can point to again and again.

  • Creators

    Connect your Creator account so pastes you make in Telegram appear on your PasterLink dashboard, with the analytics that Creator Mode includes.

Telegram is a third-party service and is not affiliated with PasterLink.

Bot and Website Compared

You can create a paste for Telegram in the bot or on the website. This table shows what each way includes.

Telegram bot and website paste capabilities on PasterLink
CapabilityBot as a guestBot with a Creator accountWebsite as a guestWebsite with an account
Create a pasteYesYesYes. A short bot check runs first.Yes
PasterLink account neededNoYes. A Creator Mode account and an API key.NoYes
Title and passwordYesYesYesYes
Custom paste URLNo. The address is generated.No. The address is generated.No. Guest pastes get a generated address.Yes
Edit and delete laterYes, in the bot, for pastes you created with it.Yes, in the bot or on the website.NoYes
Where your pastes are listedMy Pastes in the botMy Pastes in the bot and your dashboardNot listed. Keep the link.Your dashboard
Paste analyticsNoYes, on the website with Creator Mode.NoYes, with Creator Mode.

Security

  • Connecting an account uses a PasterLink API key. The bot never asks for your PasterLink email address or password.
  • The bot deletes the message that contains your API key as soon as it receives it, when Telegram allows the deletion. If it cannot, it tells you so you can delete the message yourself.
  • The bot stores connected API keys in encrypted form. Disconnecting removes the key from the bot.
  • Guest pastes are managed through credentials the bot handles internally. You never have to copy or keep a code, and only the Telegram account that created a guest paste can manage it in the bot.
  • If you think an API key has been exposed, revoke it on PasterLink under Dashboard → API keys. Disconnecting the bot does not revoke the key.
  • The bot works in private chats only, so your API key and paste content are never sent in a group.
  • Anyone with a paste link can open the paste unless you add a password. Do not put passwords, private keys or other credentials in a paste. The password prompt is an access gate for the paste page, not end-to-end encryption.

Building Your Own Telegram Bot?

If you run your own bot or script, it can create pastes through the PasterLink Creator Mode API and post the link itself. This needs a Creator Mode account and an API key. Your code creates the paste with POST /api/v1/pastes, reads the returned URL and sends it with the Telegram Bot API. PasterLink never needs your bot token.

import os

import requests

PASTERLINK_API_KEY = os.environ["PASTERLINK_API_KEY"]
TELEGRAM_BOT_TOKEN = os.environ["TELEGRAM_BOT_TOKEN"]
TELEGRAM_CHAT_ID = os.environ["TELEGRAM_CHAT_ID"]


def create_paste(title, long_content):
    response = requests.post(
        "https://pasterlink.com/api/v1/pastes",
        headers={
            "Authorization": f"Bearer {PASTERLINK_API_KEY}",
            "Accept": "application/json",
        },
        json={"title": title, "body": long_content},
        timeout=30,
    )
    response.raise_for_status()
    return response.json()["url"]


def send_to_telegram(text):
    response = requests.post(
        f"https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/sendMessage",
        json={"chat_id": TELEGRAM_CHAT_ID, "text": text},
        timeout=30,
    )
    response.raise_for_status()


with open("release-notes.txt", encoding="utf-8") as notes:
    long_content = notes.read()

paste_url = create_paste("Release notes", long_content)
send_to_telegram(f"Full release notes: {paste_url}")
  • Keep both tokens server-side. Read them from environment variables, and never put them in browser JavaScript, a mobile app or a public repository.
  • Only body is required. The title can be up to 255 characters, and body can be up to 500,000 characters.
  • Plain text is saved one paragraph per line and URLs become links. If the text contains HTML-style tags, the API treats it as HTML and sanitizes it.
  • The Telegram Bot API documents sendMessage text as 1–4,096 characters after entity parsing, so a paste link is a simple way to share longer results. See the official Bot API documentation for current limits.

Frequently asked questions

Is the PasterLink Telegram bot official?

Yes. The bot is run by PasterLink and creates pastes through the PasterLink API. Use the bot linked from this page so you know you are talking to the official one. Telegram is a third-party service and is not affiliated with PasterLink.

Do I need a PasterLink account?

No. The bot starts in guest mode, so you can create and manage pastes without an account. An account is only needed if you want to connect it to the bot.

Can I create a paste without registering?

Yes. Send your content to the bot as a guest and it replies with the paste URL. You can also create a guest paste on the website after a short bot check.

Can I edit a paste created through Telegram?

Yes. In the bot you can replace the content, change or remove the title, set or remove the password and switch links as buttons on or off. A guest paste can be edited only in the bot, from the Telegram account that created it. Guest pastes created on the website cannot be edited later.

Can I delete it?

Yes. Open the paste in My Pastes, tap Delete and confirm. The bot always asks before deleting, and a deleted paste cannot be restored.

How do I connect my PasterLink account?

Create an API key on PasterLink under Dashboard → API keys, tap Connect PasterLink in the bot and send the key. The bot checks the key with PasterLink, then deletes your message. You can disconnect at any time from the Account screen.

Does the bot need my PasterLink password?

No. The bot never asks for your email address or password. It uses an API key that you create, and you can revoke that key on PasterLink at any time.

Who can connect a PasterLink account?

Accounts in Creator Mode, because the connection uses the Creator API. Creator Mode unlocks when the pastes on your account reach 1,000 total views. Everyone else can use the bot in guest mode.

Can I still use PasterLink normally in my browser?

Yes. The bot is an extra way in, not a replacement. Pastes you create while your Creator account is connected belong to that account, so they appear on your dashboard and can be edited there too.

Are password-protected pastes supported?

Yes. Set a password when you create a paste, or add or remove one later. Readers need the password to open the paste, so share it separately from the link. The bot deletes the message that contains the password when Telegram allows it.

How much text can I send?

Send your paste as text messages. Telegram splits very long text into several messages, and the bot adds each extra message to your draft before you tap Create, so nothing is dropped. Files and images are not supported yet.

Can my own Telegram bot create pastes?

Yes, through the PasterLink Creator Mode API. Your code creates the paste, reads the returned URL and posts it with the Telegram Bot API. See the Paste API overview.

Paste It Once, Share the Link

Open the bot in Telegram, or create a paste in your browser. Want the full dashboard? Create a free account and see the PasterLink features.

Loading PasterLink…