update packages
Some checks failed
Build container images / build-image (push) Has been cancelled
Lint / Lint (push) Has been cancelled

updates data and links
This commit is contained in:
Артём Грачёв
2026-03-29 02:56:35 +03:00
parent 20ba251028
commit 1b833124c6
20 changed files with 121 additions and 198 deletions

View File

@@ -6,8 +6,8 @@ import (
"time"
"github.com/NicoNex/echotron/v3"
"github.com/gra4art/wireguard-ui/store"
"github.com/labstack/gommon/log"
"github.com/ngoduykhanh/wireguard-ui/store"
"github.com/skip2/go-qrcode"
)
@@ -90,7 +90,9 @@ func Start(initDeps TgBotInitDependencies) (err error) {
fmt.Sprintf("Подождите %d секунд, защита от флуда", FloodWait),
userid,
&echotron.MessageOptions{
ReplyToMessageID: update.Message.ID,
ReplyParameters: echotron.ReplyParameters{
MessageID: update.Message.ID,
},
})
if err != nil {
log.Errorf("Failed to send telegram message. Error %v", err)
@@ -109,7 +111,9 @@ func Start(initDeps TgBotInitDependencies) (err error) {
messageText,
userid,
&echotron.MessageOptions{
ReplyToMessageID: update.Message.ID,
ReplyParameters: echotron.ReplyParameters{
MessageID: update.Message.ID,
},
})
if err != nil {
log.Errorf("Failed to send telegram message. Error %v", err)