Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tulir/whatsmeow
/ functions
Functions
12,025 in github.com/tulir/whatsmeow
⨍
Functions
12,025
◇
Types & classes
1,836
↓ 513 callers
Method
Errorf
(msg string, args ...any)
util/log/log.go:19
↓ 428 callers
Function
NewJID
NewJID creates a new regular JID.
types/jid.go:203
↓ 158 callers
Method
String
String converts the JID to a string representation. The output string can be parsed with ParseJID.
types/jid.go:216
↓ 133 callers
Method
Warnf
(msg string, args ...any)
util/log/log.go:18
↓ 120 callers
Function
file_waSyncAction_WAWebProtobufSyncAction_proto_rawDescGZIP
()
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:9016
↓ 112 callers
Method
AttrGetter
AttrGetter returns the AttrUtility for this Node.
binary/attrs.go:28
↓ 110 callers
Method
Debugf
(msg string, args ...any)
util/log/log.go:21
↓ 109 callers
Function
file_waAICommon_WAWebProtobufsAICommon_proto_rawDescGZIP
()
proto/waAICommon/WAWebProtobufsAICommon.pb.go:7934
↓ 79 callers
Method
Descriptor
Deprecated: Use Chat.ProtoReflect.Descriptor instead.
proto/waE2E/WAWebProtobufsE2E.pb.go:15211
↓ 69 callers
Function
file_waBotMetadata_WABotMetadata_proto_rawDescGZIP
()
proto/waBotMetadata/WABotMetadata.pb.go:5067
↓ 68 callers
Method
dispatchEvent
(evt any)
client.go:923
↓ 64 callers
Method
GetChildByTag
GetChildByTag does the same thing as GetOptionalChildByTag, but returns the Node directly without the ok boolean.
binary/node.go:117
↓ 64 callers
Method
GetOptionalChildByTag
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 callers
Method
GetChildren
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 callers
Method
Is
(other error)
errors.go:227
↓ 58 callers
Method
IsEmpty
IsEmpty returns true if the JID has no server (which is required for all JIDs).
types/jid.go:244
↓ 51 callers
Method
ToNonAD
ToNonAD returns a version of the JID struct that doesn't have the agent and device set.
types/jid.go:98
↓ 50 callers
Function
file_waArmadilloMiTransportAdminMessage_WAArmadilloMiTransportAdminMessage_proto_rawDescGZIP
()
proto/waArmadilloMiTransportAdminMessage/WAArmadilloMiTransportAdminMessage.pb.go:3851
↓ 47 callers
Method
OptionalString
OptionalString returns the string under the given key.
binary/attrs.go:137
↓ 42 callers
Method
sendIQ
(ctx context.Context, query infoQuery)
request.go:152
↓ 41 callers
Function
file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP
()
proto/waArmadilloApplication/WAArmadilloApplication.pb.go:3085
↓ 40 callers
Function
file_waWeb_WAWebProtobufsWeb_proto_rawDescGZIP
()
proto/waWeb/WAWebProtobufsWeb.pb.go:4803
↓ 36 callers
Function
file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:2640
↓ 36 callers
Function
file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP
()
proto/waConsumerApplication/WAConsumerApplication.pb.go:2640
↓ 34 callers
Method
JID
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 callers
Method
Descriptor
Deprecated: Use AIHomeState.ProtoReflect.Descriptor instead.
proto/waAICommon/WAWebProtobufsAICommon.pb.go:3532
↓ 32 callers
Method
OptionalJIDOrEmpty
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 callers
Method
Int
(key string)
binary/attrs.go:154
↓ 29 callers
Method
Bool
(key string)
binary/attrs.go:174
↓ 29 callers
Function
file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP
()
proto/waMediaTransport/WAMediaTransport.pb.go:2043
↓ 28 callers
Method
Error
()
errors.go:214
↓ 27 callers
Method
GetMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:6739
↓ 26 callers
Method
Descriptor
Deprecated: Use UGCBot.ProtoReflect.Descriptor instead.
proto/waSyncAction/WAWebProtobufSyncAction.pb.go:5878
↓ 26 callers
Method
sendGroupIQ
(ctx context.Context, iqType infoQueryType, jid types.JID, content waBinary.Node)
group.go:23
↓ 25 callers
Method
Enum
()
proto/waAdv/WAAdv.pb.go:44
↓ 25 callers
Function
file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP
()
proto/waWa6/WAWebProtobufsWa6.pb.go:2609
↓ 24 callers
Method
Scan
Scan scans the given SQL value into this JID.
types/jid.go:251
↓ 24 callers
Method
UnixTime
(key string)
binary/attrs.go:184
↓ 24 callers
Function
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP
()
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go:2563
↓ 24 callers
Method
pushByte
(b byte)
binary/encoder.go:24
↓ 23 callers
Method
Descriptor
Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead.
proto/waBotMetadata/WABotMetadata.pb.go:3542
↓ 23 callers
Function
ParseJID
ParseJID parses a JID out of the given string. It supports both regular and AD JIDs.
types/jid.go:158
↓ 23 callers
Method
getOwnID
()
client.go:446
↓ 22 callers
Method
String
String returns the version number as a dot-separated string.
store/clientpayload.go:57
↓ 22 callers
Function
file_waAICommonDeprecated_WAAICommonDeprecated_proto_rawDescGZIP
()
proto/waAICommonDeprecated/WAAICommonDeprecated.pb.go:1609
↓ 21 callers
Method
OK
OK returns true if there are no errors.
binary/attrs.go:200
↓ 21 callers
Method
Set
(payload *waMediaTransport.ImageTransport)
proto/waConsumerApplication/extra.go:25
↓ 21 callers
Method
SignalAddress
SignalAddress returns the Signal protocol address for the user.
types/jid.go:107
↓ 20 callers
Method
GetID
()
proto/waE2E/WAWebProtobufsE2E.pb.go:15222
↓ 20 callers
Method
GetKeyID
()
proto/waServerSync/WAServerSync.pb.go:697
↓ 19 callers
Method
sendNode
(ctx context.Context, node waBinary.Node)
client.go:918
↓ 18 callers
Method
GetVersion
()
proto/waCommon/WACommon.pb.go:578
↓ 18 callers
Method
Infof
(msg string, args ...any)
util/log/log.go:20
↓ 18 callers
Method
UnixMilli
(key string)
binary/attrs.go:194
↓ 16 callers
Function
file_instamadilloXmaContentRef_InstamadilloXmaContentRef_proto_rawDescGZIP
()
proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go:1152
↓ 15 callers
Function
Unmarshal
(into T, msg *waCommon.SubProtocol, expectedVersion int32)
proto/armadilloutil/decode.go:14
↓ 15 callers
Method
getOwnLID
()
client.go:453
↓ 15 callers
Function
wrapIQError
(human, iq error)
errors.go:172
↓ 14 callers
Method
Close
(code websocket.StatusCode)
socket/framesocket.go:63
↓ 14 callers
Method
Int64
(key string)
binary/attrs.go:159
↓ 14 callers
Function
file_instamadilloCoreTypeMedia_InstamadilloCoreTypeMedia_proto_rawDescGZIP
()
proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go:1211
↓ 13 callers
Method
Descriptor
Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead.
proto/waWa6/WAWebProtobufsWa6.pb.go:1127
↓ 13 callers
Method
GetKey
()
proto/waWeb/WAWebProtobufsWeb.pb.go:3317
↓ 13 callers
Function
Marshal
(msg T, version int32)
proto/armadilloutil/decode.go:23
↓ 13 callers
Function
file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP
()
proto/waStatusAttributions/WAStatusAttributions.pb.go:1039
↓ 12 callers
Method
IsZero
IsZero returns true if the version is zero.
store/clientpayload.go:52
↓ 12 callers
Function
file_instamadilloAddMessage_InstamadilloAddMessage_proto_rawDescGZIP
()
proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go:892
↓ 12 callers
Function
file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP
()
proto/waMsgApplication/WAMsgApplication.pb.go:1060
↓ 12 callers
Function
file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP
()
proto/waMsgTransport/WAMsgTransport.pb.go:789
↓ 12 callers
Function
file_waServerSync_WAServerSync_proto_rawDescGZIP
()
proto/waServerSync/WAServerSync.pb.go:789
↓ 12 callers
Function
participantListHashV2
(participants []types.JID)
send.go:676
↓ 11 callers
Method
GetMessageSecret
(ctx context.Context, chat, sender types.JID, id types.MessageID)
store/store.go:136
↓ 11 callers
Method
GetParticipant
()
proto/waCommon/WACommon.pb.go:322
↓ 11 callers
Method
SourceString
SourceString returns a log-friendly representation of who sent the message and where.
types/message.go:116
↓ 11 callers
Function
file_waCompanionReg_WACompanionReg_proto_rawDescGZIP
()
proto/waCompanionReg/WACompanionReg.pb.go:1038
↓ 11 callers
Function
file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP
()
proto/waMultiDevice/WAMultiDevice.pb.go:662
↓ 11 callers
Function
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP
()
proto/waVnameCert/WAWebProtobufsVnameCert.pb.go:791
↓ 11 callers
Function
file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP
()
proto/waWebLabyrinthWaWasm/WAWebLabyrinthWaWasm.pb.go:1081
↓ 11 callers
Method
read
(string bool)
binary/decoder.go:168
↓ 11 callers
Method
sendAck
(ctx context.Context, node *waBinary.Node, error int)
receipt.go:143
↓ 11 callers
Method
writeString
(data string)
binary/encoder.go:135
↓ 10 callers
Method
Descriptor
Deprecated: Use Reaction.ProtoReflect.Descriptor instead.
proto/waWeb/WAWebProtobufsWeb.pb.go:3313
↓ 10 callers
Method
GetChildrenByTag
GetChildrenByTag returns the same list as GetChildren, but filters it by tag first.
binary/node.go:87
↓ 10 callers
Method
GetProtocolMessage
()
proto/waE2E/WAWebProtobufsE2E.pb.go:10585
↓ 10 callers
Method
GetValue
()
proto/waE2E/WAWebProtobufsE2E.pb.go:17032
↓ 10 callers
Method
OptionalInt
(key string)
binary/attrs.go:149
↓ 10 callers
Function
SHA256
(key, salt, info []byte, length uint8)
util/hkdfutil/hkdf.go:17
↓ 10 callers
Method
cancelResponse
(reqID string, ch chan *waBinary.Node)
request.go:64
↓ 10 callers
Function
file_waCommon_WACommon_proto_rawDescGZIP
()
proto/waCommon/WACommon.pb.go:712
↓ 10 callers
Function
file_waWinUIApi_WAWinUIApi_proto_rawDescGZIP
()
proto/waWinUIApi/WAWinUIApi.pb.go:800
↓ 10 callers
Method
sendPairError
(ctx context.Context, id string, code int, text string)
pair.go:290
↓ 9 callers
Method
GetRecord
()
proto/waServerSync/WAServerSync.pb.go:126
↓ 9 callers
Method
IsBot
()
types/jid.go:127
↓ 9 callers
Method
sendNodeAndGetData
(ctx context.Context, node waBinary.Node)
client.go:898
↓ 8 callers
Method
Descriptor
Deprecated: Use Armadillo.ProtoReflect.Descriptor instead.
proto/waArmadilloApplication/WAArmadilloApplication.pb.go:579
↓ 8 callers
Method
Descriptor
Deprecated: Use Account.ProtoReflect.Descriptor instead.
proto/waHistorySync/WAWebProtobufsHistorySync.pb.go:1527
↓ 8 callers
Method
Disconnect
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 callers
Method
GetLIDForPN
(ctx context.Context, pn types.JID)
store/store.go:189
↓ 8 callers
Method
GetPayload
()
proto/waCommon/WACommon.pb.go:571
↓ 8 callers
Method
OptionalJID
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