MCPcopy Create free account

hub / github.com/tulir/whatsmeow / functions

Functions12,025 in github.com/tulir/whatsmeow

↓ 8 callersMethodensureTCToken
ensureTCToken returns a stored non-expired tctoken for the given JID, if available.
tctoken.go:120
↓ 8 callersMethodexpectDisconnect
()
client.go:597
↓ 8 callersFunctionfile_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP
()
proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go:654
↓ 8 callersFunctionfile_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP
()
proto/waArmadilloTransportEvent/WAArmadilloTransportEvent.pb.go:564
↓ 8 callersFunctionfile_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP
()
proto/waCommonParameterised/WACommonParameterised.pb.go:572
↓ 8 callersFunctionfile_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP
()
proto/waDeviceCapabilities/WAWebProtobufsDeviceCapabilities.pb.go:536
↓ 8 callersMethodwrite
(data any)
binary/encoder.go:101
↓ 7 callersMethodDownload
Download downloads the attachment from the given protobuf message. The attachment is a specific part of a Message protobuf struct, not the message it
download.go:208
↓ 7 callersMethodGetBlob
()
proto/waServerSync/WAServerSync.pb.go:266
↓ 7 callersMethodGetDirectPath
()
download.go:59
↓ 7 callersMethodGetInt64
(key string, require bool)
binary/attrs.go:83
↓ 7 callersMethodGetMessageContextInfo
()
proto/waE2E/WAWebProtobufsE2E.pb.go:15339
↓ 7 callersMethodGetOperation
()
proto/waServerSync/WAServerSync.pb.go:119
↓ 7 callersMethodGetString
(key string, require bool)
binary/attrs.go:71
↓ 7 callersMethodPutManyLIDMappings
(ctx context.Context, mappings []LIDMapping)
store/store.go:186
↓ 7 callersMethodSub
(module string)
util/log/log.go:22
↓ 7 callersFunctionfile_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP
()
proto/waArmadilloXMA/WAArmadilloXMA.pb.go:1106
↓ 7 callersFunctionfile_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP
()
proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go:457
↓ 7 callersMethodparseGroupNode
(groupNode *waBinary.Node)
group.go:714
↓ 7 callersMethodsendMexIQ
(ctx context.Context, queryID string, variables any)
newsletter.go:171
↓ 6 callersMethodDecode
()
proto/waConsumerApplication/extra.go:21
↓ 6 callersMethodDescriptor
Deprecated: Use MiTransportAdminMessage.ProtoReflect.Descriptor instead.
proto/waArmadilloMiTransportAdminMessage/WAArmadilloMiTransportAdminMessage.pb.go:458
↓ 6 callersMethodDescriptor
Deprecated: Use AIRichResponseImageURL.ProtoReflect.Descriptor instead.
proto/waAICommonDeprecated/WAAICommonDeprecated.pb.go:678
↓ 6 callersMethodEncrypt
(plaintext []byte)
socket/noisehandshake.go:64
↓ 6 callersMethodGenerateMessageID
GenerateMessageID generates a random string that can be used as a message ID on WhatsApp. msgID := cli.GenerateMessageID() cli.SendMessage(context.
send.go:46
↓ 6 callersMethodGetDeviceSentMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:10683
↓ 6 callersMethodGetEditedMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:10837
↓ 6 callersMethodGetFromMe
()
proto/waCommon/WACommon.pb.go:308
↓ 6 callersMethodGetIndex
()
proto/waServerSync/WAServerSync.pb.go:400
↓ 6 callersFunctionNewKeyPair
()
util/keys/keypair.go:32
↓ 6 callersFunctionPrepare
(secretKey []byte)
util/gcmutil/gcm.go:15
↓ 6 callersMethodStop
(disconnect, allowOnDisconnect bool)
socket/noisesocket.go:79
↓ 6 callersFunctionconcatAndHMAC
(alg func() hash.Hash, key []byte, data ...[]byte)
appstate/hash.go:73
↓ 6 callersFunctionfile_instamadilloCoreTypeText_InstamadilloCoreTypeText_proto_rawDescGZIP
()
proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go:460
↓ 6 callersFunctionfile_waAdv_WAAdv_proto_rawDescGZIP
()
proto/waAdv/WAAdv.pb.go:463
↓ 6 callersMethodwaitResponse
(reqID string)
request.go:56
↓ 5 callersMethodAuthenticate
(data []byte)
socket/noisehandshake.go:55
↓ 5 callersMethodDelete
(ctx context.Context)
store/store.go:283
↓ 5 callersMethodDescriptor
Deprecated: Use StatusAttribution.ProtoReflect.Descriptor instead.
proto/waStatusAttributions/WAStatusAttributions.pb.go:420
↓ 5 callersMethodDescriptor
Deprecated: Use ExtendedContentMessage.ProtoReflect.Descriptor instead.
proto/waArmadilloXMA/WAArmadilloXMA.pb.go:647
↓ 5 callersMethodDescriptor
Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead.
proto/waVnameCert/WAWebProtobufsVnameCert.pb.go:516
↓ 5 callersMethodGetFileEncSHA256
()
download.go:62
↓ 5 callersMethodGetKeyData
()
proto/waE2E/WAWebProtobufsE2E.pb.go:14600
↓ 5 callersMethodGetMediaKey
()
download.go:60
↓ 5 callersMethodGetType
()
proto/waWeb/WAWebProtobufsWeb.pb.go:2617
↓ 5 callersFunctionNewKeyPairFromPrivateKey
(priv [32]byte)
util/keys/keypair.go:23
↓ 5 callersMethodSave
(ctx context.Context)
store/store.go:276
↓ 5 callersMethodStoreLIDPNMapping
(ctx context.Context, first, second types.JID)
client.go:1005
↓ 5 callersMethodUint64
(key string)
binary/attrs.go:164
↓ 5 callersMethodclearResponseWaiters
(node *waBinary.Node)
request.go:43
↓ 5 callersMethoddecryptMsgSecret
(ctx context.Context, msg *events.Message, useCase MsgSecretType, encrypted messageEncryptedSecret, origMsgKey
msgsecret.go:97
↓ 5 callersFunctionfile_waCert_WACert_proto_rawDescGZIP
()
proto/waCert/WACert.pb.go:365
↓ 5 callersFunctionfile_waGroupHistory_WAWebProtobufsGroupHistory_proto_rawDescGZIP
()
proto/waGroupHistory/WAWebProtobufsGroupHistory.pb.go:360
↓ 5 callersFunctionfile_waUserPassword_WAWebProtobufsUserPassword_proto_rawDescGZIP
()
proto/waUserPassword/WAWebProtobufsUserPassword.pb.go:373
↓ 5 callersFunctiongenerateMsgSecretKey
( modificationType MsgSecretType, modificationSender types.JID, origMsgID types.MessageID, origMsgSender typ
msgsecret.go:46
↓ 5 callersFunctiongetMediaTypeFromMessage
(msg *waE2E.Message)
send.go:928
↓ 5 callersMethodmaybeDeferredAck
(ctx context.Context, node *waBinary.Node)
receipt.go:107
↓ 5 callersMethodmigrateSessionStore
(ctx context.Context, pn, lid types.JID)
message.go:292
↓ 5 callersFunctionparseParticipantList
(node *waBinary.Node)
group.go:802
↓ 5 callersMethodrawUpload
(ctx context.Context, dataToUpload io.Reader, uploadSize uint64, fileHash []byte, appInfo MediaType, newslette
upload.go:192
↓ 5 callersMethodreadByte
()
binary/decoder.go:29
↓ 5 callersMethodrefreshMediaConn
(ctx context.Context, force bool)
mediaconn.go:44
↓ 5 callersMethodresolveTCTokenStorageLID
(ctx context.Context, jid types.JID)
tctoken.go:57
↓ 5 callersFunctionstripURLPrefix
(link string, prefixes ...string)
user.go:42
↓ 5 callersMethodusync
(ctx context.Context, jids []types.JID, mode, context string, query []waBinary.Node, extra ...UsyncQueryExtras
user.go:850
↓ 4 callersFunctionDecrypt
(secretKey, iv, ciphertext, additionalData []byte)
util/gcmutil/gcm.go:25
↓ 4 callersMethodDecrypt
(ciphertext []byte)
socket/noisehandshake.go:70
↓ 4 callersMethodDescriptor
Deprecated: Use Command.ProtoReflect.Descriptor instead.
proto/waCommon/WACommon.pb.go:365
↓ 4 callersMethodDescriptor
Deprecated: Use ImageTransport.ProtoReflect.Descriptor instead.
proto/waMediaTransport/WAMediaTransport.pb.go:352
↓ 4 callersMethodDescriptor
()
proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go:63
↓ 4 callersMethodDownloadMediaWithPath
DownloadMediaWithPath downloads an attachment by manually specifying the path and encryption details.
download.go:241
↓ 4 callersMethodGetFileSHA256
()
download.go:61
↓ 4 callersMethodGetIssuerSerial
()
proto/waCert/WACert.pb.go:305
↓ 4 callersMethodGetKey
()
proto/waCert/WACert.pb.go:312
↓ 4 callersMethodGetMutations
()
proto/waServerSync/WAServerSync.pb.go:669
↓ 4 callersMethodGetPNForLID
(ctx context.Context, lid types.JID)
store/store.go:188
↓ 4 callersMethodGetRecords
()
proto/waServerSync/WAServerSync.pb.go:552
↓ 4 callersMethodOptionalUnixTime
(key string)
binary/attrs.go:179
↓ 4 callersMethodRemoveEventHandler
RemoveEventHandler removes a previously registered event handler function. If the function with the given ID is found, this returns true. N.B. Do not
client.go:795
↓ 4 callersMethodSendFrame
(ctx context.Context, plaintext []byte)
socket/noisesocket.go:91
↓ 4 callersMethodautoReconnect
(ctx context.Context)
client.go:611
↓ 4 callersMethodbackgroundIfAsyncAck
(fn func())
receipt.go:99
↓ 4 callersMethodbufferedDecrypt
( ctx context.Context, ciphertext []byte, serverTimestamp time.Time, decrypt func(context.Context) ([]byte
message.go:494
↓ 4 callersMethodcacheGroupInfo
(groupInfo *types.GroupInfo, lock bool)
group.go:608
↓ 4 callersMethodcheckEOS
(length int)
binary/decoder.go:21
↓ 4 callersMethodclearUntrustedIdentity
(ctx context.Context, target types.JID)
message.go:479
↓ 4 callersMethodclose
()
qrchan.go:68
↓ 4 callersFunctionconcatBytes
(data ...[]byte)
pair.go:253
↓ 4 callersFunctioncurrentTCTokenCutoffTimestamp
()
tctoken.go:28
↓ 4 callersMethoddoMediaDownloadRequest
(ctx context.Context, url string)
download.go:351
↓ 4 callersMethodencryptMessageForDevice
( ctx context.Context, plaintext []byte, to types.JID, bundle *prekey.Bundle, extraAttrs waBinary.Attrs,
send.go:1377
↓ 4 callersMethodencryptMsgSecret
(ctx context.Context, ownID, chat, origSender types.JID, origMsgID types.MessageID, useCase MsgSecretType, pla
msgsecret.go:128
↓ 4 callersFunctionfile_waE2EGuest_WAWebProtobufsE2EGuest_proto_rawDescGZIP
()
proto/waE2EGuest/WAWebProtobufsE2EGuest.pb.go:265
↓ 4 callersFunctiongenerateIV
(count uint32)
socket/noisesocket.go:73
↓ 4 callersMethodgenerateRequestID
()
request.go:19
↓ 4 callersMethodgetAppStateKey
(ctx context.Context, keyID []byte)
appstate/keys.go:171
↓ 4 callersMethodgetContact
(ctx context.Context, user types.JID)
store/sqlstore/store.go:747
↓ 4 callersFunctiongetMediaKeys
(mediaKey []byte, appInfo MediaType)
download.go:310
↓ 4 callersMethodgetServerPreKeyCount
(ctx context.Context)
prekeys.go:32
↓ 4 callersMethodimmediateRequestMessageFromPhone
(ctx context.Context, info *types.MessageInfo)
retry.go:446
← previousnext →101–200 of 12,025, ranked by callers