parent
ad0eaf0612
commit
11742447a4
1 changed files with 4 additions and 2 deletions
|
@ -280,6 +280,7 @@ proc updateHandler(b: Telebot, u: Update): Future[bool] {.async, gcsafe.} =
|
||||||
filehash &
|
filehash &
|
||||||
")",
|
")",
|
||||||
replyMarkup = replymark,
|
replyMarkup = replymark,
|
||||||
|
disableWebPagePreview=true,
|
||||||
parseMode="Markdown")
|
parseMode="Markdown")
|
||||||
else:
|
else:
|
||||||
let filehash = GroupMedia[parseInt(response.mediaGroupId.get)]
|
let filehash = GroupMedia[parseInt(response.mediaGroupId.get)]
|
||||||
|
@ -297,12 +298,13 @@ 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 " &
|
||||||
capitalizeAscii(ftype) &
|
capitalizeAscii(ftype) &
|
||||||
"*\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,
|
||||||
|
disableWebPagePreview=true,
|
||||||
parseMode="Markdown")
|
parseMode="Markdown")
|
||||||
OldDataCleanup()
|
OldDataCleanup()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue