update packages
updates data and links
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user