diff options
Diffstat (limited to 'bridge/telegram')
-rw-r--r-- | bridge/telegram/telegram.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index c7ead21f..ac45985e 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -131,6 +131,9 @@ func (b *Btelegram) sendMessage(chatid int64, username, text string) (string, er m.Text = username + html.EscapeString(text) m.ParseMode = tgbotapi.ModeHTML } + + m.DisableWebPagePreview = b.GetBool("DisableWebPagePreview") + res, err := b.c.Send(m) if err != nil { return "", err |