alpha version

This commit is contained in:
2025-02-03 17:49:29 -05:00
commit dac9e95d12
144 changed files with 5694 additions and 0 deletions

31
bus/messages.go Normal file
View File

@ -0,0 +1,31 @@
package bus
import (
"github.com/alex-savin/go-receipt-tracker/models"
tele "gopkg.in/telebot.v4"
)
type Message struct {
TBCmd *models.TelegramBotCommand
TBParseMode string
TbContext tele.Context //
Text string //
Image *Image //
InlineKeyboard *tele.ReplyMarkup //
ReplyType string //
}
type Image struct {
ID string //
Filename string //
Type string //
Base64 string //
Caption byte //
Parsed map[string]string //
}
type ConnectionStatus struct {
WorkerID string
WorkerType string
IsConnected bool
}