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 &
|
||||
")",
|
||||
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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue