X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/add3cf6416e33c24331fd1e90e99284f44d2aae2..195c3fbb075383ac47bba310eb701b02774e8d10:/whatsapp_state.go diff --git a/whatsapp_state.go b/whatsapp_state.go index b1b5935..3d21b16 100644 --- a/whatsapp_state.go +++ b/whatsapp_state.go @@ -298,12 +298,14 @@ type WhatsAppStateFile struct { } // WhatsAppSend is the record of one send: the ID that the agent gave, the chat, -// the SHA-256 of the text, the WhatsApp message ID, the state, which is -// sending, sent, or failed, the answer of the tool, and the time of its start. +// the SHA-256 of the text, an optional stored image name, the WhatsApp message +// ID, the state, which is sending, sent, or failed, the answer of the tool, and +// the time of its start. type WhatsAppSend struct { ID string `json:"id"` Chat string `json:"chat"` Digest string `json:"digest"` + Image string `json:"image,omitempty"` MessageID string `json:"message_id"` State string `json:"state"` Answer string `json:"answer,omitempty"`