GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
Go botgogolanggolang-whatsappgolang-whatsapp-apirestrest-apiwhatsappwhatsapp-apiwhatsapp-api-gowhatsapp-multi-devicewhatsapp-web-multi-device
package chatstorage
import "time"
// ScheduledSend is the durable worker record. PayloadJSON contains the
// normalized send request; AssetsJSON contains managed upload metadata.
type ScheduledSend struct {
ID string
DeviceID string
MessageType string
PayloadJSON string
AssetsJSON string
Phone string
Summary string
ScheduledAt time.Time
NextRunAt time.Time
Timezone string
Recurrence string
WeekdaysJSON string
DayOfMonth int
EndAt *time.Time
OccurrenceLimit int
OccurrenceCount int
Attempts int
Status string
LeaseToken string
LeaseUntil *time.Time
LastRunAt *time.Time
LastMessageID string
// PendingMessageID identifies an occurrence across attempts, avoiding a
// fresh message identity after an ambiguous send outcome.
PendingMessageID string
// PendingPollSecret is persisted with the ID before dispatching a poll.
PendingPollSecret []byte
// LegacyAttemptUnknown marks pre-ID-protocol attempts whose outcome and
// message identity are unknown. Recovery conservatively skips them.
LegacyAttemptUnknown bool
LastError string
CreatedAt time.Time
UpdatedAt time.Time
}