Versions in this module Expand all Collapse all v0 v0.0.3 Nov 6, 2022 v0.0.2 Nov 4, 2022 Changes in this version + const BroadcastServer + const DefaultUserServer + const GroupServer + const LegacyUserServer + var BroadcastServerJID = NewJID("", BroadcastServer) + var EmptyJID = JID + var GroupServerJID = NewJID("", GroupServer) + var OfficialBusinessJID = NewJID("16505361212", LegacyUserServer) + var PSAJID = NewJID("0", LegacyUserServer) + var ServerJID = NewJID("", DefaultUserServer) + var StatusBroadcastJID = NewJID("status", BroadcastServer) + type BasicCallMeta struct + CallCreator JID + CallID string + From JID + Timestamp time.Time + type BusinessMessageLinkTarget struct + IsSigned bool + JID JID + Message string + PushName string + VerifiedLevel string + VerifiedName string + type CallRemoteMeta struct + RemotePlatform string + RemoteVersion string + type ChatPresence string + const ChatPresenceComposing + const ChatPresencePaused + type ChatPresenceMedia string + const ChatPresenceMediaAudio + const ChatPresenceMediaText + type ContactInfo struct + BusinessName string + FirstName string + Found bool + FullName string + PushName string + type ContactQRLinkTarget struct + JID JID + PushName string + Type string + type DeviceSentMeta struct + DestinationJID string + Phash string + type GroupAnnounce struct + AnnounceVersionID string + IsAnnounce bool + type GroupEphemeral struct + DisappearingTimer uint32 + IsEphemeral bool + type GroupInfo struct + GroupCreated time.Time + JID JID + MemberAddMode GroupMemberAddMode + OwnerJID JID + ParticipantVersionID string + Participants []GroupParticipant + type GroupLocked struct + IsLocked bool + type GroupMemberAddMode string + const GroupMemberAddModeAdmin + type GroupName struct + Name string + NameSetAt time.Time + NameSetBy JID + type GroupParticipant struct + IsAdmin bool + IsSuperAdmin bool + JID JID + type GroupTopic struct + Topic string + TopicID string + TopicSetAt time.Time + TopicSetBy JID + type IsOnWhatsAppResponse struct + IsIn bool + JID JID + Query string + VerifiedName *VerifiedName + type JID struct + AD bool + Agent uint8 + Device uint8 + Server string + User string + func NewADJID(user string, agent, device uint8) JID + func NewJID(user, server string) JID + func ParseJID(jid string) (JID, error) + func (jid *JID) Scan(src interface{}) error + func (jid *JID) UnmarshalText(val []byte) error + func (jid JID) IsBroadcastList() bool + func (jid JID) IsEmpty() bool + func (jid JID) MarshalText() ([]byte, error) + func (jid JID) SignalAddress() *signalProtocol.SignalAddress + func (jid JID) String() string + func (jid JID) ToNonAD() JID + func (jid JID) UserInt() uint64 + func (jid JID) Value() (driver.Value, error) + type LocalChatSettings struct + Archived bool + Found bool + MutedUntil time.Time + Pinned bool + type MessageID = string + type MessageInfo struct + Category string + DeviceSentMeta *DeviceSentMeta + ID string + MediaType string + Multicast bool + PushName string + Timestamp time.Time + Type string + VerifiedName *VerifiedName + type MessageSource struct + BroadcastListOwner JID + Chat JID + IsFromMe bool + IsGroup bool + Sender JID + func (ms *MessageSource) IsIncomingBroadcast() bool + func (ms *MessageSource) SourceString() string + type Presence string + const PresenceAvailable + const PresenceUnavailable + type PrivacySetting string + const PrivacySettingAll + const PrivacySettingContacts + const PrivacySettingNone + const PrivacySettingUndefined + type PrivacySettings struct + GroupAdd PrivacySetting + LastSeen PrivacySetting + Profile PrivacySetting + ReadReceipts PrivacySetting + Status PrivacySetting + type ProfilePictureInfo struct + DirectPath string + ID string + Type string + URL string + type StatusPrivacy struct + IsDefault bool + List []JID + Type StatusPrivacyType + type StatusPrivacyType string + const StatusPrivacyTypeBlacklist + const StatusPrivacyTypeContacts + const StatusPrivacyTypeWhitelist + type UserInfo struct + Devices []JID + PictureID string + Status string + VerifiedName *VerifiedName + type VerifiedName struct + Certificate *waProto.VerifiedNameCertificate + Details *waProto.VerifiedNameCertificate_Details