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
↓ 1 callers
Method
writeAttributes
(attributes Attrs)
binary/encoder.go:190
↓ 1 callers
Method
writeBytes
(value []byte)
binary/encoder.go:151
↓ 1 callers
Method
writeJID
(jid types.JID)
binary/encoder.go:161
↓ 1 callers
Method
writeStringRaw
(value string)
binary/encoder.go:156
Method
AcceptTOSNotice
AcceptTOSNotice accepts a ToS notice. To accept the terms for creating newsletters, use cli.AcceptTOSNotice("20601218", "5")
newsletter.go:333
Method
AddOutgoingEvent
(ctx context.Context, chatJID types.JID, id types.MessageID, format string, plaintext []byte)
store/noop.go:304
Method
AddOutgoingEvent
(ctx context.Context, chatJID types.JID, id types.MessageID, format string, plaintext []byte)
store/sqlstore/store.go:1102
Method
AddRecentMessage
(ctx context.Context, to types.JID, id types.MessageID, wa *waE2E.Message, fb *waMsgApplication.MessageApplica
internals.go:642
Method
ApplyAppStatePatches
(ctx context.Context, name appstate.WAPatchName, state appstate.HashState, patches *appstate.PatchList, fullSy
internals.go:54
Method
AutoReconnect
(ctx context.Context)
internals.go:150
Method
BackgroundIfAsyncAck
(fn func())
internals.go:582
Method
BufferedDecrypt
(ctx context.Context, ciphertext []byte, serverTimestamp time.Time, decrypt func(context.Context) ([]byte, err
internals.go:346
Function
BuildAppStateRecoveryRequest
BuildAppStateRecoveryRequest builds a message to request the user's primary device to send an unencrypted copy of the given app state collection. The
appstate.go:643
Function
BuildArchive
BuildArchive builds an app state patch for archiving or unarchiving a chat. The last message timestamp and last message key are optional and can be s
appstate/encode.go:98
Function
BuildDeleteChat
BuildDeleteChat builds an app state patch for deleting a chat.
appstate/encode.go:340
Method
BuildEdit
BuildEdit builds a message edit message using the given variables. The built message can be sent normally using Client.SendMessage. resp, err := cli
send.go:593
Function
BuildFatalAppStateExceptionNotification
BuildFatalAppStateExceptionNotification builds a message to request the user's primary device to reset specific app state collections. This will cause
appstate.go:626
Method
BuildHistorySyncRequest
BuildHistorySyncRequest builds a message to request additional history from the user's primary device. The built message can be sent using Client.Sen
send.go:565
Function
BuildLabelChat
BuildLabelChat builds an app state patch for labeling or un(labeling) a chat.
appstate/encode.go:156
Function
BuildLabelEdit
BuildLabelEdit builds an app state patch for editing a label.
appstate/encode.go:202
Function
BuildLabelMessage
BuildLabelMessage builds an app state patch for labeling or un(labeling) a message.
appstate/encode.go:178
Function
BuildMarkChatAsRead
BuildMarkChatAsRead builds an app state patch for marking a chat as read or unread.
appstate/encode.go:125
Function
BuildMute
BuildMute builds an app state patch for muting or unmuting a chat. If mute is true and the mute duration is zero, the chat is muted forever.
appstate/encode.go:43
Function
BuildPin
BuildPin builds an app state patch for pinning or unpinning a chat.
appstate/encode.go:84
Method
BuildPollCreation
BuildPollCreation builds a poll creation message with the given poll name, options and maximum number of selections. The built message can be sent nor
msgsecret.go:326
Method
BuildPollVote
BuildPollVote builds a poll vote message using the given poll message info and option names. The built message can be sent normally using Client.SendM
msgsecret.go:315
Method
BuildReaction
BuildReaction builds a message reaction message using the given variables. The built message can be sent normally using Client.SendMessage. resp, er
send.go:528
Function
BuildSettingPushName
BuildSettingPushName builds an app state patch for setting the push name.
appstate/encode.go:224
Function
BuildStar
BuildStar builds an app state patch for starring or unstarring a message.
appstate/encode.go:246
Method
CacheGroupInfo
(groupInfo *types.GroupInfo, lock bool)
internals.go:254
Method
CancelDelayedRequestFromPhone
(msgID types.MessageID)
internals.go:666
Method
CancelResponse
(reqID string, ch chan *waBinary.Node)
internals.go:618
Method
ClearBufferedEventPlaintext
(ctx context.Context, ciphertextHash [32]byte)
store/noop.go:268
Method
ClearBufferedEventPlaintext
(ctx context.Context, ciphertextHash [32]byte)
store/sqlstore/store.go:1070
Method
ClearDelayedMessageRequests
()
internals.go:678
Method
ClearNCTSalt
(ctx context.Context)
internals.go:210
Method
ClearResponseWaiters
(node *waBinary.Node)
internals.go:610
Method
ClearUntrustedIdentity
(ctx context.Context, target types.JID)
internals.go:342
Method
CloseSocketWaitChan
()
internals.go:114
Method
CollectEventsToDispatch
(ctx context.Context, name appstate.WAPatchName, mutations []appstate.Mutation, fullSync bool, eventsToDispatc
internals.go:58
Method
Connect
(ctx context.Context)
internals.go:126
Method
ContainsPreKey
(ctx context.Context, preKeyID uint32)
store/signal.go:81
Method
ContainsSignedPreKey
(ctx context.Context, signedPreKeyID uint32)
store/signal.go:157
Method
CreateGroup
CreateGroup creates a group on WhatsApp with the given name and participants. See ReqCreateGroup for parameters.
group.go:56
Method
CreateNewsletter
CreateNewsletter creates a new WhatsApp channel.
newsletter.go:313
Method
DangerousInternals
DangerousInternals allows access to all unexported methods in Client. Deprecated: dangerous
internals.go:39
Method
Debugf
(msg string, args ...any)
util/log/zerolog.go:30
Method
Debugf
(_ string, _ ...any)
util/log/log.go:30
Method
Debugf
(msg string, args ...any)
util/log/log.go:71
Method
Decode
()
proto/waArmadilloApplication/extra.go:44
Method
Decode
()
proto/waConsumerApplication/extra.go:30
Method
Decode
()
proto/waConsumerApplication/extra.go:48
Method
Decode
()
proto/waConsumerApplication/extra.go:57
Method
Decode
()
proto/waConsumerApplication/extra.go:66
Method
Decode
()
proto/waConsumerApplication/extra.go:75
Method
Decode
()
proto/waMsgApplication/extra.go:16
Method
Decode
()
proto/waMsgApplication/extra.go:25
Method
Decode
()
proto/waMsgApplication/extra.go:34
Method
DecodeImageMessage
()
proto/waArmadilloApplication/extra.go:16
Method
DecodeThumbnail
()
proto/waConsumerApplication/extra.go:39
Method
DecodeVideoMessage
()
proto/waArmadilloApplication/extra.go:30
Method
DecryptBotMessage
(ctx context.Context, messageSecret []byte, msMsg messageEncryptedSecret, messageID types.MessageID, targetSen
internals.go:414
Method
DecryptComment
DecryptComment decrypts a reply/comment message in a community announcement group. if evt.Message.GetEncCommentMessage() != nil { comment, err :=
msgsecret.go:199
Method
DecryptDM
(ctx context.Context, child *waBinary.Node, from types.JID, isPreKey bool, serverTS time.Time)
internals.go:350
Method
DecryptGroupMsg
(ctx context.Context, child *waBinary.Node, from types.JID, chat types.JID, serverTS time.Time)
internals.go:354
Function
DecryptMediaRetryNotification
DecryptMediaRetryNotification decrypts a media retry notification using the media key. See Client.SendMediaRetryReceipt for more info on how to use th
mediaretry.go:123
Method
DecryptMessages
(ctx context.Context, info *types.MessageInfo, node *waBinary.Node)
internals.go:338
Method
DecryptMsgSecret
(ctx context.Context, msg *events.Message, useCase MsgSecretType, encrypted messageEncryptedSecret, origMsgKey
internals.go:406
Method
DecryptPollVote
DecryptPollVote decrypts a poll update message. The vote itself includes SHA-256 hashes of the selected options. if evt.Message.GetPollUpdateMessage
msgsecret.go:229
Method
DecryptReaction
DecryptReaction decrypts a reaction message in a community announcement group. if evt.Message.GetEncReactionMessage() != nil { reaction, err := cl
msgsecret.go:172
Method
DecryptSecretEncryptedMessage
(ctx context.Context, evt *events.Message)
msgsecret.go:246
Method
DelayedRequestMessageFromPhone
(info *types.MessageInfo)
internals.go:670
Method
DeleteAllIdentities
(ctx context.Context, phone string)
store/noop.go:52
Method
DeleteAllIdentities
(ctx context.Context, phone string)
store/sqlstore/store.go:87
Method
DeleteAllSessions
(ctx context.Context)
store/signal.go:135
Method
DeleteAllSessions
(ctx context.Context, phone string)
store/noop.go:84
Method
DeleteAllSessions
(ctx context.Context, phone string)
store/sqlstore/store.go:224
Method
DeleteAppStateMutationMACs
(ctx context.Context, name string, indexMACs [][]byte)
store/noop.go:160
Method
DeleteAppStateMutationMACs
(ctx context.Context, name string, indexMACs [][]byte)
store/sqlstore/store.go:555
Method
DeleteAppStateVersion
(ctx context.Context, name string)
store/noop.go:152
Method
DeleteAppStateVersion
(ctx context.Context, name string)
store/sqlstore/store.go:513
Method
DeleteDevice
(ctx context.Context, store *Device)
store/noop.go:252
Method
DeleteDevice
DeleteDevice deletes the given device from this database. This should be called through Device.Delete()
store/sqlstore/container.go:265
Method
DeleteExpiredPrivacyTokens
()
internals.go:778
Method
DeleteExpiredPrivacyTokens
(ctx context.Context, cutoff time.Time)
store/noop.go:244
Method
DeleteExpiredPrivacyTokens
(ctx context.Context, cutoff time.Time)
store/sqlstore/store.go:1018
Method
DeleteIdentity
(ctx context.Context, address string)
store/noop.go:56
Method
DeleteIdentity
(ctx context.Context, address string)
store/sqlstore/store.go:92
Method
DeleteNCTSalt
(ctx context.Context)
store/noop.go:240
Method
DeleteNCTSalt
(ctx context.Context)
store/sqlstore/store.go:1013
Method
DeleteOldBufferedHashes
(ctx context.Context)
store/noop.go:272
Method
DeleteOldBufferedHashes
(ctx context.Context)
store/sqlstore/store.go:1075
Method
DeleteOldOutgoingEvents
(ctx context.Context)
store/noop.go:296
Method
DeleteOldOutgoingEvents
(ctx context.Context)
store/sqlstore/store.go:1107
Method
DeleteSession
(ctx context.Context, remoteAddress *protocol.SignalAddress)
store/signal.go:131
Method
DeleteSession
(ctx context.Context, address string)
store/noop.go:88
Method
DeleteSession
(ctx context.Context, address string)
store/sqlstore/store.go:243
Method
Descriptor
Deprecated: Use ChatLockSettings.ProtoReflect.Descriptor instead.
proto/waChatLockSettings/WAWebProtobufsChatLockSettings.pb.go:61
Method
Descriptor
Deprecated: Use LIDMigrationMapping.ProtoReflect.Descriptor instead.
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:60
Method
Descriptor
Deprecated: Use LIDMigrationMappingSyncPayload.ProtoReflect.Descriptor instead.
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:119
← previous
next →
1,201–1,300 of 12,025, ranked by callers