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

32 lines
677 B
Go

package bus
import (
"git.savin.nyc/alex/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
}