MCPcopy Create free account

hub / github.com/tulir/whatsmeow / functions

Functions12,025 in github.com/tulir/whatsmeow

MethodResolveContactQRLink
ResolveContactQRLink resolves a link from a contact share QR code and returns the target JID and push name. The links look like https://wa.me/qr/<cod
user.go:101
MethodResolveTCTokenStorageLID
(ctx context.Context, jid types.JID)
internals.go:754
MethodRetryFrame
(ctx context.Context, reqType, id string, data []byte, origResp *waBinary.Node, timeout time.Duration)
internals.go:638
MethodRevokeMessage
RevokeMessage deletes the given message from everyone in the chat. This method will wait for the server to acknowledge the revocation message before
send.go:482
MethodSaveIdentity
(ctx context.Context, address *protocol.SignalAddress, identityKey *identity.Key)
store/signal.go:37
MethodSendAck
(ctx context.Context, node *waBinary.Node, error int)
internals.go:590
MethodSendAppState
(ctx context.Context, patch appstate.PatchInfo, allowRetry bool)
internals.go:86
MethodSendAppState
SendAppState sends the given app state patch, then triggers a background resync of that app state type to update local caches and send events for the
appstate.go:509
MethodSendChatPresence
SendChatPresence updates the user's typing status in a specific chat. The media parameter can be set to indicate the user is recording media (like a
presence.go:130
MethodSendDM
(ctx context.Context, ownID, to types.JID, id types.MessageID, message *waE2E.Message, timings *MessageDebugTi
internals.go:698
MethodSendDMV3
(ctx context.Context, to, ownID types.JID, id types.MessageID, messageApp []byte, msgAttrs messageAttrs, frank
internals.go:734
MethodSendFBMessage
SendFBMessage sends the given v3 message to the given JID.
sendfb.go:44
MethodSendFrame
(data []byte)
socket/framesocket.go:121
MethodSendGroup
(ctx context.Context, ownID, to types.JID, participants []types.JID, id types.MessageID, message *waE2E.Messag
internals.go:690
MethodSendGroupIQ
(ctx context.Context, iqType infoQueryType, jid types.JID, content waBinary.Node)
internals.go:250
MethodSendGroupV3
(ctx context.Context, to, ownID types.JID, id types.MessageID, messageApp []byte, msgAttrs messageAttrs, frank
internals.go:730
MethodSendHistorySyncServerErrorReceipt
SendHistorySyncServerErrorReceipt sends a history sync server-error receipt, which asks the phone to re-upload the referenced history sync payload.
message.go:713
MethodSendIQ
(ctx context.Context, query infoQuery)
internals.go:634
MethodSendIQAsync
(ctx context.Context, query infoQuery)
internals.go:630
MethodSendIQAsyncAndGetData
(ctx context.Context, query *infoQuery)
internals.go:626
MethodSendKeepAlive
(ctx context.Context)
internals.go:294
MethodSendMediaRetryReceipt
SendMediaRetryReceipt sends a request to the phone to re-upload the media in a message. This is mostly relevant when handling history syncs and getti
mediaretry.go:77
MethodSendMessageReceipt
(ctx context.Context, info *types.MessageInfo, node *waBinary.Node)
internals.go:594
MethodSendMexIQ
(ctx context.Context, queryID string, variables any)
internals.go:418
MethodSendNewsletter
(ctx context.Context, to types.JID, id types.MessageID, message *waE2E.Message, mediaID string, timings *Messa
internals.go:686
MethodSendNode
(ctx context.Context, node waBinary.Node)
internals.go:170
MethodSendNodeAndGetData
(ctx context.Context, node waBinary.Node)
internals.go:166
MethodSendPairError
(ctx context.Context, id string, code int, text string)
internals.go:514
MethodSendPasskeyResponse
SendPasskeyResponse sends a WebAuthn response from the authenticator to the server. This should be called after receiving an [*events.PairPasskeyReque
pair-passkey.go:79
MethodSendPeerMessage
(ctx context.Context, to types.JID, id types.MessageID, message *waE2E.Message, timings *MessageDebugTimings)
internals.go:694
MethodSendPresence
SendPresence updates the user's presence status on WhatsApp. You should call this at least once after connecting so that the server has your pushname
presence.go:64
MethodSendRetryReceipt
(ctx context.Context, node *waBinary.Node, info *types.MessageInfo, forceIncludeIdentity bool)
internals.go:682
MethodSendUnifiedSession
()
internals.go:182
MethodSet
(payloads []*waMediaTransport.ImageTransport)
proto/waArmadilloApplication/extra.go:56
MethodSet
(payload *waMediaTransport.StickerTransport)
proto/waConsumerApplication/extra.go:34
MethodSet
(payload *waMediaTransport.VideoTransport)
proto/waConsumerApplication/extra.go:52
MethodSet
(payload *waMediaTransport.AudioTransport)
proto/waConsumerApplication/extra.go:61
MethodSet
(payload *waMediaTransport.DocumentTransport)
proto/waConsumerApplication/extra.go:70
MethodSet
(payload *waMediaTransport.ContactTransport)
proto/waConsumerApplication/extra.go:79
MethodSet
(payload *waConsumerApplication.ConsumerApplication)
proto/waMsgApplication/extra.go:20
MethodSet
(payload *waArmadilloApplication.Armadillo)
proto/waMsgApplication/extra.go:29
MethodSet
(payload *waMultiDevice.MultiDevice)
proto/waMsgApplication/extra.go:38
MethodSetDefaultDisappearingTimer
SetDefaultDisappearingTimer will set the default disappearing message timer.
privacysettings.go:108
MethodSetDisappearingTimer
SetDisappearingTimer sets the disappearing timer in a chat. Both private chats and groups are supported, but they're set with different methods. Note
send.go:643
MethodSetForceActiveDeliveryReceipts
SetForceActiveDeliveryReceipts will force the client to send normal delivery receipts (which will show up as the two gray ticks on WhatsApp), even if
receipt.go:247
MethodSetGroupAnnounce
SetGroupAnnounce changes whether the group is in announce mode (i.e. whether only admins can send messages).
group.go:392
MethodSetGroupDescription
SetGroupDescription updates the group description.
group.go:1067
MethodSetGroupJoinApprovalMode
SetGroupJoinApprovalMode sets the group join approval mode to 'on' or 'off'.
group.go:1031
MethodSetGroupLocked
SetGroupLocked changes whether the group is locked (i.e. whether only admins can modify group info).
group.go:382
MethodSetGroupMemberAddMode
SetGroupMemberAddMode sets the group member add mode to 'admin_add' or 'all_member_add'.
group.go:1052
MethodSetGroupName
SetGroupName updates the name (subject) of the given group on WhatsApp.
group.go:335
MethodSetGroupPhoto
SetGroupPhoto updates the group picture/icon of the given group on WhatsApp. The avatar should be a JPEG photo, other formats may be rejected with Err
group.go:303
MethodSetGroupTopic
SetGroupTopic updates the topic (description) of the given group on WhatsApp. The previousID and newID fields are optional. If the previous ID is not
group.go:348
MethodSetImageMessage
(payload *waMediaTransport.ImageTransport)
proto/waArmadilloApplication/extra.go:21
MethodSetMaxParallelRetryReceiptHandling
SetMaxParallelRetryReceiptHandling sets how many retry receipts can be handled in parallel. Defaults to unlimited. This should only be set before conn
client.go:424
MethodSetMediaHTTPClient
SetMediaHTTPClient sets the HTTP client used to download media. This will overwrite any set proxy calls.
client.go:406
FunctionSetOSInfo
(name string, version [3]uint32)
store/clientpayload.go:159
MethodSetPreLoginHTTPClient
SetPreLoginHTTPClient sets the HTTP client used to establish the websocket connection before login. This will overwrite any set proxy calls.
client.go:418
MethodSetPrivacySetting
SetPrivacySetting will set the given privacy setting to the given value. The privacy settings will be fetched from the server after the change and the
privacysettings.go:63
MethodSetProxyAddress
SetProxyAddress is a helper method that parses a URL string and calls SetProxy or SetSOCKSProxy based on the URL scheme. Returns an error if url.Pars
client.go:311
MethodSetStatusMessage
SetStatusMessage updates the current user's status text, which is shown in the "About" section in the user profile. This is different from the epheme
user.go:164
MethodSetTCTokenSenderTS
(jid types.JID, ts time.Time)
internals.go:766
MethodSetThumbnail
(payload *waMediaTransport.ImageTransport)
proto/waConsumerApplication/extra.go:43
MethodSetTransport
(transport *http.Transport, opt SetProxyOptions)
internals.go:106
MethodSetVideoMessage
(payload *waMediaTransport.VideoTransport)
proto/waArmadilloApplication/extra.go:35
FunctionSetWAVersion
SetWAVersion sets the current WhatsApp web client version. In general, you should keep the library up-to-date instead of using this, as there may be
store/clientpayload.go:93
MethodSetWebsocketHTTPClient
SetWebsocketHTTPClient sets the HTTP client used to establish the websocket connection for logged-in sessions. This will overwrite any set proxy calls
client.go:412
MethodShouldIncludeReportingToken
(message *waE2E.Message)
internals.go:598
MethodShouldRecreateSession
(ctx context.Context, retryCount int, jid types.JID)
internals.go:654
MethodStat
()
download-to-file.go:35
FunctionStdout
Stdout is a simple Logger implementation that outputs to stdout. The module name given is included in log lines. minLevel specifies the minimum log l
util/log/log.go:81
MethodStoreGlobalSettings
(ctx context.Context, settings *waHistorySync.GlobalSettings)
internals.go:394
MethodStoreHistoricalMessageSecrets
(ctx context.Context, conversations []*waHistorySync.Conversation)
internals.go:386
MethodStoreHistoricalPNLIDMappings
(ctx context.Context, mappings []*waHistorySync.PhoneNumberToLIDMapping)
internals.go:398
MethodStoreLIDSyncMessage
(ctx context.Context, msg []byte)
internals.go:390
MethodStoreMessageSecret
(ctx context.Context, info *types.MessageInfo, msg *waE2E.Message)
internals.go:382
MethodStoreNCTSalt
(ctx context.Context, salt []byte)
internals.go:206
MethodStorePreKey
(ctx context.Context, preKeyID uint32, preKeyRecord *record.PreKey)
store/signal.go:77
MethodStoreSenderKey
(ctx context.Context, senderKeyName *protocol.SenderKeyName, keyRecord *groupRecord.SenderKey)
store/signal.go:165
MethodStoreSession
(ctx context.Context, address *protocol.SignalAddress, record *record.Session)
store/signal.go:109
MethodStoreSignedPreKey
(ctx context.Context, signedPreKeyID uint32, record *record.SignedPreKey)
store/signal.go:153
MethodString
String returns the reason code and a human-readable description of the ban reason.
types/events/events.go:164
MethodString
String returns the reason code and a short human-readable description of the error.
types/events/events.go:231
MethodString
()
proto/waChatLockSettings/WAWebProtobufsChatLockSettings.pb.go:42
MethodString
()
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:41
MethodString
()
proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go:100
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:55
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:123
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:179
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:225
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:282
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:390
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:434
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:477
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:517
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:601
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:921
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:979
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:1024
MethodString
()
proto/waConsumerApplicationParameterised/WAConsumerApplicationParameterised.pb.go:1076
← previousnext →9,801–9,900 of 12,025, ranked by callers