Files
go-receipt-tracker/bus/messages.go
2025-02-03 17:49:29 -05:00

32 lines
680 B
Go

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
}