MCPcopy Create free account

hub / github.com/tulir/whatsmeow / functions

Functions12,025 in github.com/tulir/whatsmeow

↓ 1 callersMethodwriteAttributes
(attributes Attrs)
binary/encoder.go:190
↓ 1 callersMethodwriteBytes
(value []byte)
binary/encoder.go:151
↓ 1 callersMethodwriteJID
(jid types.JID)
binary/encoder.go:161
↓ 1 callersMethodwriteStringRaw
(value string)
binary/encoder.go:156
MethodAcceptTOSNotice
AcceptTOSNotice accepts a ToS notice. To accept the terms for creating newsletters, use cli.AcceptTOSNotice("20601218", "5")
newsletter.go:333
MethodAddOutgoingEvent
(ctx context.Context, chatJID types.JID, id types.MessageID, format string, plaintext []byte)
store/noop.go:304
MethodAddOutgoingEvent
(ctx context.Context, chatJID types.JID, id types.MessageID, format string, plaintext []byte)
store/sqlstore/store.go:1102
MethodAddRecentMessage
(ctx context.Context, to types.JID, id types.MessageID, wa *waE2E.Message, fb *waMsgApplication.MessageApplica
internals.go:642
MethodApplyAppStatePatches
(ctx context.Context, name appstate.WAPatchName, state appstate.HashState, patches *appstate.PatchList, fullSy
internals.go:54
MethodAutoReconnect
(ctx context.Context)
internals.go:150
MethodBackgroundIfAsyncAck
(fn func())
internals.go:582
MethodBufferedDecrypt
(ctx context.Context, ciphertext []byte, serverTimestamp time.Time, decrypt func(context.Context) ([]byte, err
internals.go:346
FunctionBuildAppStateRecoveryRequest
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
FunctionBuildArchive
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
FunctionBuildDeleteChat
BuildDeleteChat builds an app state patch for deleting a chat.
appstate/encode.go:340
MethodBuildEdit
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
FunctionBuildFatalAppStateExceptionNotification
BuildFatalAppStateExceptionNotification builds a message to request the user's primary device to reset specific app state collections. This will cause
appstate.go:626
MethodBuildHistorySyncRequest
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
FunctionBuildLabelChat
BuildLabelChat builds an app state patch for labeling or un(labeling) a chat.
appstate/encode.go:156
FunctionBuildLabelEdit
BuildLabelEdit builds an app state patch for editing a label.
appstate/encode.go:202
FunctionBuildLabelMessage
BuildLabelMessage builds an app state patch for labeling or un(labeling) a message.
appstate/encode.go:178
FunctionBuildMarkChatAsRead
BuildMarkChatAsRead builds an app state patch for marking a chat as read or unread.
appstate/encode.go:125
FunctionBuildMute
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
FunctionBuildPin
BuildPin builds an app state patch for pinning or unpinning a chat.
appstate/encode.go:84
MethodBuildPollCreation
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
MethodBuildPollVote
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
MethodBuildReaction
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
FunctionBuildSettingPushName
BuildSettingPushName builds an app state patch for setting the push name.
appstate/encode.go:224
FunctionBuildStar
BuildStar builds an app state patch for starring or unstarring a message.
appstate/encode.go:246
MethodCacheGroupInfo
(groupInfo *types.GroupInfo, lock bool)
internals.go:254
MethodCancelDelayedRequestFromPhone
(msgID types.MessageID)
internals.go:666
MethodCancelResponse
(reqID string, ch chan *waBinary.Node)
internals.go:618
MethodClearBufferedEventPlaintext
(ctx context.Context, ciphertextHash [32]byte)
store/noop.go:268
MethodClearBufferedEventPlaintext
(ctx context.Context, ciphertextHash [32]byte)
store/sqlstore/store.go:1070
MethodClearDelayedMessageRequests
()
internals.go:678
MethodClearNCTSalt
(ctx context.Context)
internals.go:210
MethodClearResponseWaiters
(node *waBinary.Node)
internals.go:610
MethodClearUntrustedIdentity
(ctx context.Context, target types.JID)
internals.go:342
MethodCloseSocketWaitChan
()
internals.go:114
MethodCollectEventsToDispatch
(ctx context.Context, name appstate.WAPatchName, mutations []appstate.Mutation, fullSync bool, eventsToDispatc
internals.go:58
MethodConnect
(ctx context.Context)
internals.go:126
MethodContainsPreKey
(ctx context.Context, preKeyID uint32)
store/signal.go:81
MethodContainsSignedPreKey
(ctx context.Context, signedPreKeyID uint32)
store/signal.go:157
MethodCreateGroup
CreateGroup creates a group on WhatsApp with the given name and participants. See ReqCreateGroup for parameters.
group.go:56
MethodCreateNewsletter
CreateNewsletter creates a new WhatsApp channel.
newsletter.go:313
MethodDangerousInternals
DangerousInternals allows access to all unexported methods in Client. Deprecated: dangerous
internals.go:39
MethodDebugf
(msg string, args ...any)
util/log/zerolog.go:30
MethodDebugf
(_ string, _ ...any)
util/log/log.go:30
MethodDebugf
(msg string, args ...any)
util/log/log.go:71
MethodDecode
()
proto/waArmadilloApplication/extra.go:44
MethodDecode
()
proto/waConsumerApplication/extra.go:30
MethodDecode
()
proto/waConsumerApplication/extra.go:48
MethodDecode
()
proto/waConsumerApplication/extra.go:57
MethodDecode
()
proto/waConsumerApplication/extra.go:66
MethodDecode
()
proto/waConsumerApplication/extra.go:75
MethodDecode
()
proto/waMsgApplication/extra.go:16
MethodDecode
()
proto/waMsgApplication/extra.go:25
MethodDecode
()
proto/waMsgApplication/extra.go:34
MethodDecodeImageMessage
()
proto/waArmadilloApplication/extra.go:16
MethodDecodeThumbnail
()
proto/waConsumerApplication/extra.go:39
MethodDecodeVideoMessage
()
proto/waArmadilloApplication/extra.go:30
MethodDecryptBotMessage
(ctx context.Context, messageSecret []byte, msMsg messageEncryptedSecret, messageID types.MessageID, targetSen
internals.go:414
MethodDecryptComment
DecryptComment decrypts a reply/comment message in a community announcement group. if evt.Message.GetEncCommentMessage() != nil { comment, err :=
msgsecret.go:199
MethodDecryptDM
(ctx context.Context, child *waBinary.Node, from types.JID, isPreKey bool, serverTS time.Time)
internals.go:350
MethodDecryptGroupMsg
(ctx context.Context, child *waBinary.Node, from types.JID, chat types.JID, serverTS time.Time)
internals.go:354
FunctionDecryptMediaRetryNotification
DecryptMediaRetryNotification decrypts a media retry notification using the media key. See Client.SendMediaRetryReceipt for more info on how to use th
mediaretry.go:123
MethodDecryptMessages
(ctx context.Context, info *types.MessageInfo, node *waBinary.Node)
internals.go:338
MethodDecryptMsgSecret
(ctx context.Context, msg *events.Message, useCase MsgSecretType, encrypted messageEncryptedSecret, origMsgKey
internals.go:406
MethodDecryptPollVote
DecryptPollVote decrypts a poll update message. The vote itself includes SHA-256 hashes of the selected options. if evt.Message.GetPollUpdateMessage
msgsecret.go:229
MethodDecryptReaction
DecryptReaction decrypts a reaction message in a community announcement group. if evt.Message.GetEncReactionMessage() != nil { reaction, err := cl
msgsecret.go:172
MethodDecryptSecretEncryptedMessage
(ctx context.Context, evt *events.Message)
msgsecret.go:246
MethodDelayedRequestMessageFromPhone
(info *types.MessageInfo)
internals.go:670
MethodDeleteAllIdentities
(ctx context.Context, phone string)
store/noop.go:52
MethodDeleteAllIdentities
(ctx context.Context, phone string)
store/sqlstore/store.go:87
MethodDeleteAllSessions
(ctx context.Context)
store/signal.go:135
MethodDeleteAllSessions
(ctx context.Context, phone string)
store/noop.go:84
MethodDeleteAllSessions
(ctx context.Context, phone string)
store/sqlstore/store.go:224
MethodDeleteAppStateMutationMACs
(ctx context.Context, name string, indexMACs [][]byte)
store/noop.go:160
MethodDeleteAppStateMutationMACs
(ctx context.Context, name string, indexMACs [][]byte)
store/sqlstore/store.go:555
MethodDeleteAppStateVersion
(ctx context.Context, name string)
store/noop.go:152
MethodDeleteAppStateVersion
(ctx context.Context, name string)
store/sqlstore/store.go:513
MethodDeleteDevice
(ctx context.Context, store *Device)
store/noop.go:252
MethodDeleteDevice
DeleteDevice deletes the given device from this database. This should be called through Device.Delete()
store/sqlstore/container.go:265
MethodDeleteExpiredPrivacyTokens
()
internals.go:778
MethodDeleteExpiredPrivacyTokens
(ctx context.Context, cutoff time.Time)
store/noop.go:244
MethodDeleteExpiredPrivacyTokens
(ctx context.Context, cutoff time.Time)
store/sqlstore/store.go:1018
MethodDeleteIdentity
(ctx context.Context, address string)
store/noop.go:56
MethodDeleteIdentity
(ctx context.Context, address string)
store/sqlstore/store.go:92
MethodDeleteNCTSalt
(ctx context.Context)
store/noop.go:240
MethodDeleteNCTSalt
(ctx context.Context)
store/sqlstore/store.go:1013
MethodDeleteOldBufferedHashes
(ctx context.Context)
store/noop.go:272
MethodDeleteOldBufferedHashes
(ctx context.Context)
store/sqlstore/store.go:1075
MethodDeleteOldOutgoingEvents
(ctx context.Context)
store/noop.go:296
MethodDeleteOldOutgoingEvents
(ctx context.Context)
store/sqlstore/store.go:1107
MethodDeleteSession
(ctx context.Context, remoteAddress *protocol.SignalAddress)
store/signal.go:131
MethodDeleteSession
(ctx context.Context, address string)
store/noop.go:88
MethodDeleteSession
(ctx context.Context, address string)
store/sqlstore/store.go:243
MethodDescriptor
Deprecated: Use ChatLockSettings.ProtoReflect.Descriptor instead.
proto/waChatLockSettings/WAWebProtobufsChatLockSettings.pb.go:61
MethodDescriptor
Deprecated: Use LIDMigrationMapping.ProtoReflect.Descriptor instead.
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:60
MethodDescriptor
Deprecated: Use LIDMigrationMappingSyncPayload.ProtoReflect.Descriptor instead.
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:119
← previousnext →1,201–1,300 of 12,025, ranked by callers