MCPcopy Index your code

hub / github.com/tulir/whatsmeow / functions

Functions12,025 in github.com/tulir/whatsmeow

↓ 513 callersMethodErrorf
(msg string, args ...any)
util/log/log.go:19
↓ 428 callersFunctionNewJID
NewJID creates a new regular JID.
types/jid.go:203
↓ 158 callersMethodString
String converts the JID to a string representation. The output string can be parsed with ParseJID.
types/jid.go:216
↓ 133 callersMethodWarnf
(msg string, args ...any)
util/log/log.go:18
↓ 120 callersFunctionfile_waSyncAction_WAWebProtobufSyncAction_proto_rawDescGZIP
()
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:9016
↓ 112 callersMethodAttrGetter
AttrGetter returns the AttrUtility for this Node.
binary/attrs.go:28
↓ 110 callersMethodDebugf
(msg string, args ...any)
util/log/log.go:21
↓ 109 callersFunctionfile_waAICommon_WAWebProtobufsAICommon_proto_rawDescGZIP
()
proto/waAICommon/WAWebProtobufsAICommon.pb.go:7934
↓ 79 callersMethodDescriptor
Deprecated: Use Chat.ProtoReflect.Descriptor instead.
proto/waE2E/WAWebProtobufsE2E.pb.go:15211
↓ 69 callersFunctionfile_waBotMetadata_WABotMetadata_proto_rawDescGZIP
()
proto/waBotMetadata/WABotMetadata.pb.go:5067
↓ 68 callersMethoddispatchEvent
(evt any)
client.go:923
↓ 64 callersMethodGetChildByTag
GetChildByTag does the same thing as GetOptionalChildByTag, but returns the Node directly without the ok boolean.
binary/node.go:117
↓ 64 callersMethodGetOptionalChildByTag
GetOptionalChildByTag finds the first child with the given tag and returns it. Each provided tag will recurse in, so this is useful for getting a spec
binary/node.go:98
↓ 63 callersMethodGetChildren
GetChildren returns the Content of the node as a list of nodes. If the content is not a list of nodes, this returns nil.
binary/node.go:75
↓ 60 callersMethodIs
(other error)
errors.go:227
↓ 58 callersMethodIsEmpty
IsEmpty returns true if the JID has no server (which is required for all JIDs).
types/jid.go:244
↓ 51 callersMethodToNonAD
ToNonAD returns a version of the JID struct that doesn't have the agent and device set.
types/jid.go:98
↓ 50 callersFunctionfile_waArmadilloMiTransportAdminMessage_WAArmadilloMiTransportAdminMessage_proto_rawDescGZIP
()
proto/waArmadilloMiTransportAdminMessage/WAArmadilloMiTransportAdminMessage.pb.go:3851
↓ 47 callersMethodOptionalString
OptionalString returns the string under the given key.
binary/attrs.go:137
↓ 42 callersMethodsendIQ
(ctx context.Context, query infoQuery)
request.go:152
↓ 41 callersFunctionfile_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP
()
proto/waArmadilloApplication/WAArmadilloApplication.pb.go:3085
↓ 40 callersFunctionfile_waWeb_WAWebProtobufsWeb_proto_rawDescGZIP
()
proto/waWeb/WAWebProtobufsWeb.pb.go:4803
↓ 36 callersFunctionfile_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:2640
↓ 36 callersFunctionfile_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP
()
proto/waConsumerApplication/WAConsumerApplication.pb.go:2640
↓ 34 callersMethodJID
JID returns the JID under the given key. If there's no valid JID under the given key, an error will be stored and a blank JID struct will be returned.
binary/attrs.go:66
↓ 33 callersMethodDescriptor
Deprecated: Use AIHomeState.ProtoReflect.Descriptor instead.
proto/waAICommon/WAWebProtobufsAICommon.pb.go:3532
↓ 32 callersMethodOptionalJIDOrEmpty
OptionalJIDOrEmpty returns the JID under the given key. If there's no valid JID under the given key, this will return an empty JID. However, if the at
binary/attrs.go:56
↓ 31 callersMethodInt
(key string)
binary/attrs.go:154
↓ 29 callersMethodBool
(key string)
binary/attrs.go:174
↓ 29 callersFunctionfile_waMediaTransport_WAMediaTransport_proto_rawDescGZIP
()
proto/waMediaTransport/WAMediaTransport.pb.go:2043
↓ 28 callersMethodError
()
errors.go:214
↓ 27 callersMethodGetMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:6739
↓ 26 callersMethodDescriptor
Deprecated: Use UGCBot.ProtoReflect.Descriptor instead.
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:5878
↓ 26 callersMethodsendGroupIQ
(ctx context.Context, iqType infoQueryType, jid types.JID, content waBinary.Node)
group.go:23
↓ 25 callersMethodEnum
()
proto/waAdv/WAAdv.pb.go:44
↓ 25 callersFunctionfile_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP
()
proto/waWa6/WAWebProtobufsWa6.pb.go:2609
↓ 24 callersMethodScan
Scan scans the given SQL value into this JID.
types/jid.go:251
↓ 24 callersMethodUnixTime
(key string)
binary/attrs.go:184
↓ 24 callersFunctionfile_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP
()
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go:2563
↓ 24 callersMethodpushByte
(b byte)
binary/encoder.go:24
↓ 23 callersMethodDescriptor
Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead.
proto/waBotMetadata/WABotMetadata.pb.go:3542
↓ 23 callersFunctionParseJID
ParseJID parses a JID out of the given string. It supports both regular and AD JIDs.
types/jid.go:158
↓ 23 callersMethodgetOwnID
()
client.go:446
↓ 22 callersMethodString
String returns the version number as a dot-separated string.
store/clientpayload.go:57
↓ 22 callersFunctionfile_waAICommonDeprecated_WAAICommonDeprecated_proto_rawDescGZIP
()
proto/waAICommonDeprecated/WAAICommonDeprecated.pb.go:1609
↓ 21 callersMethodOK
OK returns true if there are no errors.
binary/attrs.go:200
↓ 21 callersMethodSet
(payload *waMediaTransport.ImageTransport)
proto/waConsumerApplication/extra.go:25
↓ 21 callersMethodSignalAddress
SignalAddress returns the Signal protocol address for the user.
types/jid.go:107
↓ 20 callersMethodGetID
()
proto/waE2E/WAWebProtobufsE2E.pb.go:15222
↓ 20 callersMethodGetKeyID
()
proto/waServerSync/WAServerSync.pb.go:697
↓ 19 callersMethodsendNode
(ctx context.Context, node waBinary.Node)
client.go:918
↓ 18 callersMethodGetVersion
()
proto/waCommon/WACommon.pb.go:578
↓ 18 callersMethodInfof
(msg string, args ...any)
util/log/log.go:20
↓ 18 callersMethodUnixMilli
(key string)
binary/attrs.go:194
↓ 16 callersFunctionfile_instamadilloXmaContentRef_InstamadilloXmaContentRef_proto_rawDescGZIP
()
proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go:1152
↓ 15 callersFunctionUnmarshal
(into T, msg *waCommon.SubProtocol, expectedVersion int32)
proto/armadilloutil/decode.go:14
↓ 15 callersMethodgetOwnLID
()
client.go:453
↓ 15 callersFunctionwrapIQError
(human, iq error)
errors.go:172
↓ 14 callersMethodClose
(code websocket.StatusCode)
socket/framesocket.go:63
↓ 14 callersMethodInt64
(key string)
binary/attrs.go:159
↓ 14 callersFunctionfile_instamadilloCoreTypeMedia_InstamadilloCoreTypeMedia_proto_rawDescGZIP
()
proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go:1211
↓ 13 callersMethodDescriptor
Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead.
proto/waWa6/WAWebProtobufsWa6.pb.go:1127
↓ 13 callersMethodGetKey
()
proto/waWeb/WAWebProtobufsWeb.pb.go:3317
↓ 13 callersFunctionMarshal
(msg T, version int32)
proto/armadilloutil/decode.go:23
↓ 13 callersFunctionfile_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP
()
proto/waStatusAttributions/WAStatusAttributions.pb.go:1039
↓ 12 callersMethodIsZero
IsZero returns true if the version is zero.
store/clientpayload.go:52
↓ 12 callersFunctionfile_instamadilloAddMessage_InstamadilloAddMessage_proto_rawDescGZIP
()
proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go:892
↓ 12 callersFunctionfile_waMsgApplication_WAMsgApplication_proto_rawDescGZIP
()
proto/waMsgApplication/WAMsgApplication.pb.go:1060
↓ 12 callersFunctionfile_waMsgTransport_WAMsgTransport_proto_rawDescGZIP
()
proto/waMsgTransport/WAMsgTransport.pb.go:789
↓ 12 callersFunctionfile_waServerSync_WAServerSync_proto_rawDescGZIP
()
proto/waServerSync/WAServerSync.pb.go:789
↓ 12 callersFunctionparticipantListHashV2
(participants []types.JID)
send.go:676
↓ 11 callersMethodGetMessageSecret
(ctx context.Context, chat, sender types.JID, id types.MessageID)
store/store.go:136
↓ 11 callersMethodGetParticipant
()
proto/waCommon/WACommon.pb.go:322
↓ 11 callersMethodSourceString
SourceString returns a log-friendly representation of who sent the message and where.
types/message.go:116
↓ 11 callersFunctionfile_waCompanionReg_WACompanionReg_proto_rawDescGZIP
()
proto/waCompanionReg/WACompanionReg.pb.go:1038
↓ 11 callersFunctionfile_waMultiDevice_WAMultiDevice_proto_rawDescGZIP
()
proto/waMultiDevice/WAMultiDevice.pb.go:662
↓ 11 callersFunctionfile_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP
()
proto/waVnameCert/WAWebProtobufsVnameCert.pb.go:791
↓ 11 callersFunctionfile_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP
()
proto/waWebLabyrinthWaWasm/WAWebLabyrinthWaWasm.pb.go:1081
↓ 11 callersMethodread
(string bool)
binary/decoder.go:168
↓ 11 callersMethodsendAck
(ctx context.Context, node *waBinary.Node, error int)
receipt.go:143
↓ 11 callersMethodwriteString
(data string)
binary/encoder.go:135
↓ 10 callersMethodDescriptor
Deprecated: Use Reaction.ProtoReflect.Descriptor instead.
proto/waWeb/WAWebProtobufsWeb.pb.go:3313
↓ 10 callersMethodGetChildrenByTag
GetChildrenByTag returns the same list as GetChildren, but filters it by tag first.
binary/node.go:87
↓ 10 callersMethodGetProtocolMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:10585
↓ 10 callersMethodGetValue
()
proto/waE2E/WAWebProtobufsE2E.pb.go:17032
↓ 10 callersMethodOptionalInt
(key string)
binary/attrs.go:149
↓ 10 callersFunctionSHA256
(key, salt, info []byte, length uint8)
util/hkdfutil/hkdf.go:17
↓ 10 callersMethodcancelResponse
(reqID string, ch chan *waBinary.Node)
request.go:64
↓ 10 callersFunctionfile_waCommon_WACommon_proto_rawDescGZIP
()
proto/waCommon/WACommon.pb.go:712
↓ 10 callersFunctionfile_waWinUIApi_WAWinUIApi_proto_rawDescGZIP
()
proto/waWinUIApi/WAWinUIApi.pb.go:800
↓ 10 callersMethodsendPairError
(ctx context.Context, id string, code int, text string)
pair.go:290
↓ 9 callersMethodGetRecord
()
proto/waServerSync/WAServerSync.pb.go:126
↓ 9 callersMethodIsBot
()
types/jid.go:127
↓ 9 callersMethodsendNodeAndGetData
(ctx context.Context, node waBinary.Node)
client.go:898
↓ 8 callersMethodDescriptor
Deprecated: Use Armadillo.ProtoReflect.Descriptor instead.
proto/waArmadilloApplication/WAArmadilloApplication.pb.go:579
↓ 8 callersMethodDescriptor
Deprecated: Use Account.ProtoReflect.Descriptor instead.
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go:1527
↓ 8 callersMethodDisconnect
Disconnect disconnects from the WhatsApp web websocket. This will not emit any events, the Disconnected event is only used when the connection is clo
client.go:662
↓ 8 callersMethodGetLIDForPN
(ctx context.Context, pn types.JID)
store/store.go:189
↓ 8 callersMethodGetPayload
()
proto/waCommon/WACommon.pb.go:571
↓ 8 callersMethodOptionalJID
OptionalJID returns the JID under the given key. If there's no valid JID under the given key, this will return nil. However, if the attribute is compl
binary/attrs.go:46
next →1–100 of 12,025, ranked by callers