Versions in this module Expand all Collapse all v5 v5.0.0 May 6, 2026 Changes in this version + type Attachment struct + Duration float64 + FileName string + FileSize float64 + ID string + IsGif bool + IsSticker bool + IsVoiceNote bool + JSON struct{ ... } + MimeType string + PosterImg string + Size AttachmentSize + SrcURL string + Transcription AttachmentTranscription + Type AttachmentType + func (r *Attachment) UnmarshalJSON(data []byte) error + func (r Attachment) RawJSON() string + type AttachmentSize struct + Height float64 + JSON struct{ ... } + Width float64 + func (r *AttachmentSize) UnmarshalJSON(data []byte) error + func (r AttachmentSize) RawJSON() string + type AttachmentTranscription struct + Engine string + JSON struct{ ... } + Language string + Transcription string + func (r *AttachmentTranscription) UnmarshalJSON(data []byte) error + func (r AttachmentTranscription) RawJSON() string + type AttachmentType string + const AttachmentTypeAudio + const AttachmentTypeImg + const AttachmentTypeUnknown + const AttachmentTypeVideo + type Message struct + AccountID string + Attachments []Attachment + ChatID string + EditedTimestamp time.Time + ID string + IsDeleted bool + IsHidden bool + IsSender bool + IsUnread bool + JSON struct{ ... } + LinkedMessageID string + Links []MessageLink + Mentions []string + Reactions []Reaction + Seen MessageSeenUnion + SendStatus MessageSendStatus + SenderID string + SenderName string + SortKey string + Text string + Timestamp time.Time + Type MessageType + func (r *Message) UnmarshalJSON(data []byte) error + func (r Message) RawJSON() string + type MessageLink struct + Favicon string + Img string + ImgSize MessageLinkImgSize + JSON struct{ ... } + OriginalURL string + Summary string + Title string + URL string + func (r *MessageLink) UnmarshalJSON(data []byte) error + func (r MessageLink) RawJSON() string + type MessageLinkImgSize struct + Height float64 + JSON struct{ ... } + Width float64 + func (r *MessageLinkImgSize) UnmarshalJSON(data []byte) error + func (r MessageLinkImgSize) RawJSON() string + type MessageSeenByParticipantItemUnion struct + JSON struct{ ... } + OfBoolean bool + OfTimestamp time.Time + func (r *MessageSeenByParticipantItemUnion) UnmarshalJSON(data []byte) error + func (u MessageSeenByParticipantItemUnion) AsBoolean() (v bool) + func (u MessageSeenByParticipantItemUnion) AsTimestamp() (v time.Time) + func (u MessageSeenByParticipantItemUnion) RawJSON() string + type MessageSeenUnion struct + JSON struct{ ... } + OfBoolean bool + OfTimestamp time.Time + func (r *MessageSeenUnion) UnmarshalJSON(data []byte) error + func (u MessageSeenUnion) AsBoolean() (v bool) + func (u MessageSeenUnion) AsByParticipant() (v map[string]MessageSeenByParticipantItemUnion) + func (u MessageSeenUnion) AsTimestamp() (v time.Time) + func (u MessageSeenUnion) RawJSON() string + type MessageSendStatus struct + DeliveredToUsers []string + InternalError string + JSON struct{ ... } + Message string + Reason string + Status string + Timestamp time.Time + func (r *MessageSendStatus) UnmarshalJSON(data []byte) error + func (r MessageSendStatus) RawJSON() string + type MessageType string + const MessageTypeAudio + const MessageTypeFile + const MessageTypeImage + const MessageTypeLocation + const MessageTypeNotice + const MessageTypeReaction + const MessageTypeSticker + const MessageTypeText + const MessageTypeVideo + const MessageTypeVoice + type Reaction struct + Emoji bool + ID string + ImgURL string + JSON struct{ ... } + ParticipantID string + ReactionKey string + func (r *Reaction) UnmarshalJSON(data []byte) error + func (r Reaction) RawJSON() string + type User struct + CannotMessage bool + Email string + FullName string + ID string + ImgURL string + IsSelf bool + JSON struct{ ... } + PhoneNumber string + Username string + func (r *User) UnmarshalJSON(data []byte) error + func (r User) RawJSON() string Other modules containing this package github.com/beeper/desktop-api-go