Fix deeplinks on ios
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
13e1931345
commit
b7fb137def
1 changed files with 4 additions and 4 deletions
|
@ -209,8 +209,8 @@ proc inlineHandler(b: Telebot, u: InlineQuery): Future[bool]{.gcsafe, async.} =
|
||||||
res.inputMessageContent = InputMessageContent(kind: TextMessage,
|
res.inputMessageContent = InputMessageContent(kind: TextMessage,
|
||||||
messageText:"*NSFW " &
|
messageText:"*NSFW " &
|
||||||
capitalizeAscii(ftype) &
|
capitalizeAscii(ftype) &
|
||||||
"*\n\n[Tap to View](tg://resolve?domain=" &
|
"*\n\n[Tap to View](https://t.me/" &
|
||||||
b.username & "&start=" &
|
b.username & "?start=" &
|
||||||
u.query &
|
u.query &
|
||||||
")",
|
")",
|
||||||
parseMode: some("Markdown")).some
|
parseMode: some("Markdown")).some
|
||||||
|
@ -274,9 +274,9 @@ proc updateHandler(b: Telebot, u: Update): Future[bool] {.async, gcsafe.} =
|
||||||
discard await b.sendMessage(response.chat.id,
|
discard await b.sendMessage(response.chat.id,
|
||||||
"*NSFW " &
|
"*NSFW " &
|
||||||
"Album" &
|
"Album" &
|
||||||
"*\n\n[Tap to View](tg://resolve?domain=" &
|
"*\n\n[Tap to View](https://t.me/" &
|
||||||
b.username &
|
b.username &
|
||||||
"&start=" &
|
"?start=" &
|
||||||
filehash &
|
filehash &
|
||||||
")",
|
")",
|
||||||
replyMarkup = replymark,
|
replyMarkup = replymark,
|
||||||
|
|
Loading…
Reference in a new issue