Skip to content

04c_Telegram

outdoorbits edited this page Nov 5, 2025 · 16 revisions

How to configure Telegram

Setup at Telegram
Setup Little-Backup-Box
Troubleshooting
Formatting

Setup at Telegram

To publish media from Little-Backup-Box to Telegram, you first need to set up a bot and a group or channel. This is an example setup.

Open a new chat with "BotFather"

Start

Select "/newbot"

Choose a nickname for the bot

Choose a username for the bot

The username must not contain spaces and must end with "_bot".

Copy the token and keep it secret

Later you will need the token for the setup of the Little-Backup-Box

Create a new group and add the bot

The bot is now a member of the group

Post a message to the group. This will create a chat ID.

Finished!

Setup Little-Backup-Box

Now all you have to do is enter your token in the Little-Backup-Box setup and retrieve the chat ID. In View, you can now mark media for upload and publish it to your group from the backup page.

Troubleshooting

Chat does not appear

If the desired chat does not appear (or no longer appears) in the Telegram chat selection list in Little-Backup-Box, simply post "/start" in that chat.

Also check whether your bot's "Group Privacy" is set to off. This is required so that the bot can read messages from the group. This is necessary to obtain the corresponding chat IDs for the groups.

How to allow your bot to read messages (Group Privacy=off)

Go to your chat with “BotFather” and select your bot

Select "Bot settings" and "Group privacy"

Turn "Group privacy" off

Check success

Problems sending individual files

Telegram allows you to send files up to 50 MB. Larger files will be rejected and result in an error message.
The email report provides detailed information about any sending issues.

Formatting

Little-Backup-Box interprets the file extension when sending text to Telegram:

  • .txt files → send as plain text
  • .html files → send using HTML parse mode
  • .md files → send using MarkdownV2 parse mode

Markdown

Supports basic inline formatting:

  • *bold*bold
  • _italic_italic
  • `code` (inline)
  • [link text](https://example.com)

⚠️ Notes:

  • No underline or strikethrough support.
  • Nested formatting is unreliable → better avoid it.
  • Literal *, _, `, [ should be escaped with \ if not intended as formatting.

HTML

Also supported by Telegram, with a minimal tag set:

  • <b>bold</b>bold
  • <i>italic</i>italic
  • <u>underline</u> → underline
  • <s>strikethrough</s>strikethrough
  • <code>inline code</code> or <pre>code block</pre>
  • <a href="https://example.com">link text</a>

Line breaks:

  • \n is ignored
  • use <br> for line breaks

Clone this wiki locally