-
Notifications
You must be signed in to change notification settings - Fork 112
04c_Telegram
Setup at Telegram
Setup Little-Backup-Box
Troubleshooting
Formatting
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.




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

Later you will need the token for the setup of the 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.
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.




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.
Little-Backup-Box interprets the file extension when sending text to Telegram:
-
.txtfiles → send as plain text -
.htmlfiles → send using HTML parse mode -
.mdfiles → send using MarkdownV2 parse mode
Supports basic inline formatting:
-
*bold*→ bold -
_italic_→ italic -
`code`(inline) [link text](https://example.com)
- No underline or strikethrough support.
- Nested formatting is unreliable → better avoid it.
- Literal
*,_,`,[should be escaped with\if not intended as formatting.
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:
-
\nis ignored - use
<br>for line breaks