Disable web page previews for inline

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-11-12 11:25:34 +05:30
parent 55849a5847
commit 6f29a8c077
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -213,7 +213,8 @@ proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.gcsafe, async.} =
b.username & "?start=" &
u.query &
")",
parseMode: some("Markdown")).some
parseMode: some("Markdown"),
disableWebPagePreview: some(true)).some
else:
res.title = "Waiting for File Hash"
res.inputMessageContent = InputTextMessageContent(