Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-06-04 15:13:25 +05:30
parent ad0eaf0612
commit 11742447a4
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -280,6 +280,7 @@ proc updateHandler(b: Telebot, u: Update): Future[bool] {.async, gcsafe.} =
filehash &
")",
replyMarkup = replymark,
disableWebPagePreview=true,
parseMode="Markdown")
else:
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,
"*NSFW " &
capitalizeAscii(ftype) &
"*\n\n[Tap to View](tg://resolve?domain=" &
"*\n\n[Tap to View](https://t.me/" &
b.username &
"&start=" &
"?start=" &
filehash &
")",
replyMarkup = replymark,
disableWebPagePreview=true,
parseMode="Markdown")
OldDataCleanup()