Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tulir/whatsmeow
/ functions
Functions
12,025 in github.com/tulir/whatsmeow
⨍
Functions
12,025
◇
Types & classes
1,836
↓ 4 callers
Function
isDisconnectNode
(node *waBinary.Node)
request.go:25
↓ 4 callers
Function
marshalMessage
(to types.JID, message *waE2E.Message)
send.go:1223
↓ 4 callers
Method
outputf
(level, msg string, args ...any)
util/log/log.go:56
↓ 4 callers
Function
padMessage
(plaintext []byte)
message.go:650
↓ 4 callers
Method
parseMessageSource
(node *waBinary.Node, requireParticipant bool)
message.go:70
↓ 4 callers
Method
parseNewsletterMessages
(node *waBinary.Node)
notification.go:338
↓ 4 callers
Function
preKeyToNode
(key *keys.PreKey)
prekeys.go:160
↓ 4 callers
Method
pushInt16
(value int)
binary/encoder.go:52
↓ 4 callers
Method
readInt16
(littleEndian bool)
binary/decoder.go:65
↓ 4 callers
Method
readInt8
(littleEndian bool)
binary/decoder.go:61
↓ 4 callers
Method
retryFrame
( ctx context.Context, reqType, id string, data []byte, origResp *waBinary.Node, timeout time.Duration,
request.go:185
↓ 4 callers
Method
shouldIncludeReportingToken
(message *waE2E.Message)
reportingtoken.go:39
↓ 3 callers
Method
BuildMessageKey
BuildMessageKey builds a MessageKey object, which is used to refer to previous messages for things such as replies, revocations and reactions.
send.go:488
↓ 3 callers
Method
ContainsSession
(ctx context.Context, remoteAddress *protocol.SignalAddress)
store/signal.go:122
↓ 3 callers
Method
Descriptor
Deprecated: Use ConsumerApplication.ProtoReflect.Descriptor instead.
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:244
↓ 3 callers
Method
Descriptor
Deprecated: Use Command.ProtoReflect.Descriptor instead.
proto/waCommonParameterised/WACommonParameterised.pb.go:303
↓ 3 callers
Method
Descriptor
Deprecated: Use Gif.ProtoReflect.Descriptor instead.
proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go:622
↓ 3 callers
Method
Descriptor
Deprecated: Use ConsumerApplication.ProtoReflect.Descriptor instead.
proto/waConsumerApplication/WAConsumerApplication.pb.go:244
↓ 3 callers
Method
Descriptor
Deprecated: Use CertChain.ProtoReflect.Descriptor instead.
proto/waCert/WACert.pb.go:111
↓ 3 callers
Method
Descriptor
Deprecated: Use DeviceCapabilities.ProtoReflect.Descriptor instead.
proto/waDeviceCapabilities/WAWebProtobufsDeviceCapabilities.pb.go:240
↓ 3 callers
Method
Descriptor
Deprecated: Use TransportEvent.ProtoReflect.Descriptor instead.
proto/waArmadilloTransportEvent/WAArmadilloTransportEvent.pb.go:239
↓ 3 callers
Method
Descriptor
Deprecated: Use QP.ProtoReflect.Descriptor instead.
proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go:231
↓ 3 callers
Method
DownloadMediaWithPathToFile
( ctx context.Context, directPath string, encFileHash, fileHash, mediaKey []byte, mediaType MediaType, mm
download-to-file.go:74
↓ 3 callers
Function
Encrypt
(secretKey, iv, plaintext, additionalData []byte)
util/gcmutil/gcm.go:35
↓ 3 callers
Method
GetAppStateVersion
(ctx context.Context, name string)
store/store.go:75
↓ 3 callers
Method
GetApplicationPayload
()
proto/waMsgTransport/WAMsgTransport.pb.go:247
↓ 3 callers
Method
GetBool
(key string, require bool)
binary/attrs.go:105
↓ 3 callers
Method
GetClientPayload
()
store/clientpayload.go:203
↓ 3 callers
Method
GetCollectionLthash
()
proto/waSyncdSnapshotRecovery/WAWebProtobufsSyncdSnapshotRecovery.pb.go:88
↓ 3 callers
Method
GetEncIV
()
msgsecret.go:93
↓ 3 callers
Method
GetEncPayload
()
msgsecret.go:94
↓ 3 callers
Method
GetJID
()
store/store.go:256
↓ 3 callers
Method
GetJID
(key string, require bool)
binary/attrs.go:32
↓ 3 callers
Method
GetLidJID
()
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:7689
↓ 3 callers
Method
GetPnJID
()
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:7703
↓ 3 callers
Method
GetPrivacyToken
(ctx context.Context, user types.JID)
store/store.go:148
↓ 3 callers
Method
GetPushname
()
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go:1656
↓ 3 callers
Method
GetRemoteJID
()
proto/waCommon/WACommon.pb.go:301
↓ 3 callers
Method
GetServerHello
()
proto/waWa6/WAWebProtobufsWa6.pb.go:1045
↓ 3 callers
Method
GetSubProtocol
()
proto/waMsgApplication/WAMsgApplication.pb.go:487
↓ 3 callers
Method
GetTargetMessageKey
()
proto/waE2E/WAWebProtobufsE2E.pb.go:11782
↓ 3 callers
Method
GetTimestamp
()
proto/waAdv/WAAdv.pb.go:129
↓ 3 callers
Method
GetUserDevices
GetUserDevices gets the list of devices that the given user has. The input should be a list of regular JIDs, and the output will be a list of AD JIDs.
user.go:461
↓ 3 callers
Method
GetVerifiedName
()
proto/waVnameCert/WAWebProtobufsVnameCert.pb.go:534
↓ 3 callers
Method
IsConnected
IsConnected checks if the client is connected to the WhatsApp web websocket. Note that this doesn't check if the client is authenticated. See the IsLo
client.go:648
↓ 3 callers
Method
IsEmpty
()
retry.go:47
↓ 3 callers
Method
MixSharedSecretIntoKey
(priv, pub [32]byte)
socket/noisehandshake.go:97
↓ 3 callers
Method
OptionalBool
(key string)
binary/attrs.go:169
↓ 3 callers
Method
ProtoReflect
()
proto/waCert/WACert.pb.go:98
↓ 3 callers
Method
PutManyRedactedPhones
(ctx context.Context, entries []RedactedPhoneEntry)
store/store.go:107
↓ 3 callers
Method
PutPrivacyTokens
(ctx context.Context, tokens ...PrivacyToken)
store/store.go:147
↓ 3 callers
Method
PutPushName
(ctx context.Context, user types.JID, pushName string)
store/store.go:103
↓ 3 callers
Method
SendMessage
SendMessage sends the given message. This method will wait for the server to acknowledge the message before returning. The return value is the timest
send.go:185
↓ 3 callers
Method
SignalAddressUser
()
types/jid.go:111
↓ 3 callers
Method
String
()
types/events/events.go:178
↓ 3 callers
Method
TryFetchPrivacySettings
TryFetchPrivacySettings will fetch the user's privacy settings, either from the in-memory cache or from the server.
privacysettings.go:20
↓ 3 callers
Method
UnwrapRaw
UnwrapRaw fills the Message, IsEphemeral and IsViewOnce fields based on the raw message in the RawMessage field.
types/events/events.go:367
↓ 3 callers
Method
addRecentMessage
(ctx context.Context, to types.JID, id types.MessageID, wa *waE2E.Message, fb *waMsgApplication.MessageApplica
retry.go:51
↓ 3 callers
Method
applyAppStatePatches
( ctx context.Context, name appstate.WAPatchName, state appstate.HashState, patches *appstate.PatchList,
appstate.go:151
↓ 3 callers
Method
collectEventsToDispatch
( ctx context.Context, name appstate.WAPatchName, mutations []appstate.Mutation, fullSync bool, eventsToD
appstate.go:171
↓ 3 callers
Method
connect
(ctx context.Context)
client.go:524
↓ 3 callers
Method
deleteExpiredPrivacyTokens
()
tctoken.go:140
↓ 3 callers
Method
downloadMedia
(ctx context.Context, url string)
download.go:373
↓ 3 callers
Method
downloadMediaToFile
(ctx context.Context, url string, file io.Writer)
download-to-file.go:186
↓ 3 callers
Method
encryptMessageForDeviceV3
( ctx context.Context, payload *waMsgTransport.MessageTransport_Payload, skdm *waMsgTransport.MessageTransp
sendfb.go:598
↓ 3 callers
Method
encryptMessageForDevices
( ctx context.Context, allDevices []types.JID, id string, msgPlaintext, dsmPlaintext []byte, encAttrs waB
send.go:1261
↓ 3 callers
Method
fetchAppState
(ctx context.Context, name appstate.WAPatchName, fullSync, onlyIfNotSynced bool)
appstate.go:42
↓ 3 callers
Method
fetchPreKeys
(ctx context.Context, users []types.JID)
prekeys.go:124
↓ 3 callers
Method
fetchPreKeysNoError
(ctx context.Context, retryDevices []types.JID)
prekeys.go:98
↓ 3 callers
Function
file_instamadilloCoreTypeAdminMessage_InstamadilloCoreTypeAdminMessage_proto_rawDescGZIP
()
proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go:229
↓ 3 callers
Function
file_instamadilloCoreTypeLink_InstamadilloCoreTypeLink_proto_rawDescGZIP
()
proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go:266
↓ 3 callers
Function
file_instamadilloTransportPayload_InstamadilloTransportPayload_proto_rawDescGZIP
()
proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go:307
↓ 3 callers
Function
file_waArmadilloBackupCommon_WAArmadilloBackupCommon_proto_rawDescGZIP
()
proto/waArmadilloBackupCommon/WAArmadilloBackupCommon.pb.go:255
↓ 3 callers
Function
file_waFingerprint_WAFingerprint_proto_rawDescGZIP
()
proto/waFingerprint/WAFingerprint.pb.go:251
↓ 3 callers
Function
file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP
()
proto/waMediaEntryData/WAMediaEntryData.pb.go:382
↓ 3 callers
Function
file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP
()
proto/waMmsRetry/WAMmsRetry.pb.go:226
↓ 3 callers
Function
file_waReporting_WAWebProtobufsReporting_proto_rawDescGZIP
()
proto/waReporting/WAWebProtobufsReporting.pb.go:262
↓ 3 callers
Function
file_waSyncdSnapshotRecovery_WAWebProtobufsSyncdSnapshotRecovery_proto_rawDescGZIP
()
proto/waSyncdSnapshotRecovery/WAWebProtobufsSyncdSnapshotRecovery.pb.go:221
↓ 3 callers
Method
getCachedGroupData
(ctx context.Context, jid types.JID)
group.go:672
↓ 3 callers
Method
getGroupInfo
(ctx context.Context, jid types.JID, lockParticipantCache bool)
group.go:639
↓ 3 callers
Method
getMessageContent
( baseNode waBinary.Node, message *waE2E.Message, msgAttrs waBinary.Attrs, includeIdentity bool, extraPar
send.go:1110
↓ 3 callers
Method
getMessageReportingToken
( msgProtobuf []byte, msg *waE2E.Message, senderJID, remoteJID types.JID, messageID types.MessageID, )
reportingtoken.go:49
↓ 3 callers
Method
getNewsletterInfo
(ctx context.Context, input map[string]any, fetchViewerMeta bool)
newsletter.go:248
↓ 3 callers
Method
getRecentMessage
(to types.JID, id types.MessageID)
retry.go:94
↓ 3 callers
Function
getSessionCache
(ctx context.Context)
store/sessioncache.go:33
↓ 3 callers
Method
getTCTokenSenderTS
getTCTokenSenderTS reads the in-memory sender timestamp for a JID.
tctoken.go:74
↓ 3 callers
Function
getTypeFromMessage
(msg *waE2E.Message)
send.go:901
↓ 3 callers
Method
handleSenderKeyDistributionMessage
(ctx context.Context, chat, from types.JID, axolotlSKDM []byte)
message.go:660
↓ 3 callers
Method
isExpectedDisconnect
()
client.go:607
↓ 3 callers
Method
issuePrivacyTokenAndSave
Only called when a bucket boundary has been crossed since the last issuance.
tctoken.go:161
↓ 3 callers
Method
makeDeviceIdentityNode
()
send.go:1250
↓ 3 callers
Function
newMessageRange
(lastMessageTimestamp time.Time, lastMessageKey *waCommon.MessageKey)
appstate/encode.go:361
↓ 3 callers
Method
parseBlocklist
(node *waBinary.Node)
user.go:933
↓ 3 callers
Function
parseGroupLinkTargetNode
(groupNode *waBinary.Node)
group.go:784
↓ 3 callers
Function
parseParticipant
(childAG *waBinary.AttrUtility, child *waBinary.Node)
group.go:685
↓ 3 callers
Method
parsePrivacySettings
(privacyNode *waBinary.Node, settings *types.PrivacySettings)
privacysettings.go:123
↓ 3 callers
Method
prepareMessageNode
( ctx context.Context, to types.JID, id types.MessageID, message *waE2E.Message, participants []types.JID
send.go:1156
↓ 3 callers
Method
prepareMessageNodeV3
( ctx context.Context, to, ownID types.JID, id types.MessageID, payload *waMsgTransport.MessageTransport_
sendfb.go:432
↓ 3 callers
Method
pushBytes
(bytes []byte)
binary/encoder.go:28
↓ 3 callers
Method
pushIntN
(value, n int, littleEndian bool)
binary/encoder.go:32
← previous
next →
201–300 of 12,025, ranked by callers