Disable web page previews for inline
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
55849a5847
commit
6f29a8c077
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue