Tip
This page contains the details about telegram settings. More general information about telegram support in matterbridge can be found in README.md.
Convert Tgs (Telegram animated sticker) images to some other file format before upload. See FAQ for setup instructions.
- Setting: OPTIONAL, RELOADABLE
- Format: string
- Possible values:
"png"(still-image)"webp"(animated webp)
- Example:
MediaConvertTgs="png"
Convert WebP images to PNG before upload to the media server or other bridges (for compatibility).
- Setting: OPTIONAL, RELOADABLE
- Format: boolean
- Example:
MediaConvertWebPToPNG=true
TODO: is this only for outgoing messages?
- Setting: OPTIONAL, RELOADABLE
- Format: string
- Possible values:
"HTML""Markdown". Deprecated, does not display links with underscores_correctly."MarkdownV2""HTMLNick". This only allows HTML for the nick, the message itself will be html-escaped.
- Default:
"" - Example:
MessageFormat="MarkdownV2"
Disable quotes in reply messages. Disable if your destination bridges understand native replies.
- Setting: OPTIONAL, RELOADABLE
- Format: boolean
- Example:
QuoteDisable=true
Format quoted/reply messages
- Setting: OPTIONAL, RELOADABLE
- Format: string
- Default:
"{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})" - Example:
QuoteFormat="{@{QUOTENICK}, {MESSAGE}}"
Limits {QUOTEMESSAGE} into integer characters specified in this.
TODO: does this cut graphemes or bytes?
- Setting: OPTIONAL
- Format: int
- Example:
QuoteLengthLimit=46
Disables link previews for links in messages
- Setting: OPTIONAL, RELOADABLE
- Format: boolean
- Example:
DisableWebPagePreview=true
Token to connect with telegram API.
- Setting: REQUIRED
- Format: string
- Example:
Token="Yourtokenhere"
If enabled use the "First Name" as username. If this is empty use the Username If disabled use the "Username" as username. If this is empty use the First Name If all names are empty, username will be "unknown"
- Setting: OPTIONAL, RELOADABLE
- Format: boolean
- Example:
UseFirstName=true
Warning
If enabled this will relay GIF/stickers/documents and other attachments as URLs Those URLs will contain your bot-token. This may not be what you want. For now there is no secure way to relay GIF/stickers/documents without seeing your token.
- Setting: OPTIONAL, RELOADABLE
- Format: boolean
- Example:
UseInsecureURL=true