Versions in this module Expand all Collapse all v0 v0.0.2 Mar 4, 2021 Changes in this version + func New(db *gorm.DB) provider.Provider + type Chat struct + ID int + Messages []Message + Name string + Type string + func (Chat) TableName() string + type Member struct + Message Message + MessageID int + Name string + func (Member) TableName() string + func (m *Member) UnmarshalJSON(b []byte) error + type Message struct + Action string + Actor string + ActorID int + Address string + Author string + Chat Chat + ChatID int + ContactInformationFirstName string + ContactInformationLastName string + ContactInformationPhoneNumber string + ContactVcard string + Date types.DateTime + DiscardReason string + Duration int + DurationSeconds int + Edited string + File string + ForwardedFrom string + From string + FromID int + GameDescription string + GameLink string + GameMessageID int + GameTitle string + Height int + ID int + Inviter string + LiveLocationPeriodSeconds int + LocationInformationLatitude float64 + LocationInformationLongitude float64 + MediaType string + Members []Member + MessageID int + MimeType string + Performer string + Photo string + PlaceName string + PollAnswers []PollAnswer + PollClosed bool + PollQuestion string + PollTotalVoters int + ReplyToMessageID int + SavedFrom string + Score int + SelfDestructPeriodSeconds int + StickerEmoji string + Text string + TextAttachments []TextAttachment + Thumbnail string + Title string + Type string + ViaBot string + Width int + func (Message) TableName() string + func (m *Message) UnmarshalJSON(b []byte) error + type PollAnswer struct + Chosen bool + Message Message + MessageID int + Text string + Voters int + func (PollAnswer) TableName() string + func (a *PollAnswer) UnmarshalJSON(b []byte) error + type TextAttachment struct + Href string + Message Message + MessageID int + Text string + Type string + func (TextAttachment) TableName() string + type TextPartOrTextAttachment struct + Attachment TextAttachment + Part string + func (t *TextPartOrTextAttachment) UnmarshalJSON(b []byte) error + type TextWithAttachments struct + Attachments []TextAttachment + Text string + func (t *TextWithAttachments) UnmarshalJSON(b []byte) error v0.0.1 Feb 21, 2021