MCPcopy Create free account

hub / github.com/openclaw/wacli / functions

Functions1,829 in github.com/openclaw/wacli

↓ 3 callersFunctionProbe
(storeDir string)
internal/lock/lock.go:93
↓ 3 callersMethodReplaceGroupParticipants
(groupJID string, participants []GroupParticipant)
internal/store/groups.go:79
↓ 3 callersMethodResolveLIDToPN
(context.Context, types.JID)
cmd/wacli/chats.go:153
↓ 3 callersMethodResolvePNToLID
(ctx context.Context, jid types.JID)
internal/app/app.go:38
↓ 3 callersMethodResolvePNToLID
(context.Context, types.JID)
cmd/wacli/chats.go:154
↓ 3 callersMethodSendChatPresence
(ctx context.Context, jid types.JID, state types.ChatPresence, media types.ChatPresenceMedia)
internal/app/app.go:83
↓ 3 callersMethodSendPresence
(ctx context.Context, presence types.Presence)
internal/app/app.go:84
↓ 3 callersMethodSetChatArchived
(jid string, archived bool)
internal/store/chats.go:110
↓ 3 callersMethodSetChatPinned
(jid string, pinned bool)
internal/store/chats.go:117
↓ 3 callersMethodStats
()
internal/store/stats.go:11
↓ 3 callersMethodUpload
(ctx context.Context, data []byte, mediaType whatsmeow.MediaType)
internal/app/app.go:79
↓ 3 callersMethodWA
()
internal/app/app.go:200
↓ 3 callersFunctionWriteError
(w io.Writer, asJSON bool, err error)
internal/out/out.go:24
↓ 3 callersFunctionWritePrivateFileAtomic
(path string, data []byte)
internal/fsutil/write.go:43
↓ 3 callersFunctionappendDirectMediaQuery
(mediaURL, key, value string)
internal/wa/media.go:202
↓ 3 callersFunctionapplyChatUnread
(c *Chat, unread, unreadCount int)
internal/store/chats.go:327
↓ 3 callersFunctionassertPresenceCalls
(t *testing.T, f *fakeWA, want ...types.Presence)
internal/app/sync_presence_test.go:139
↓ 3 callersFunctionauthPairCodeWriter
(phone string, stderr io.Writer, events *out.EventWriter)
cmd/wacli/auth.go:183
↓ 3 callersFunctionbuildPollVoteInfo
buildPollVoteInfo resolves the MessageInfo whatsmeow needs to encrypt the vote. Looks up the poll in the local store first; falls back to manually sup
cmd/wacli/poll_cmd.go:198
↓ 3 callersFunctionbytesOfSize
(n int)
cmd/wacli/send_sticker_test.go:159
↓ 3 callersFunctioncallLogRecordTimestamp
(raw int64, fallback time.Time)
internal/wa/calls.go:170
↓ 3 callersFunctioncapN
(xs []T, n int)
internal/resolve/resolve_test.go:53
↓ 3 callersFunctionchatKind
(chat types.JID)
internal/app/sync.go:344
↓ 3 callersFunctionchatNameFallback
(chat types.JID, pushName string)
internal/app/session_resolver.go:172
↓ 3 callersFunctionchatNameRank
(name, jid string)
cmd/wacli/chats.go:240
↓ 3 callersMethodcheckSyncStorageLimits
(opts SyncOptions)
internal/app/sync.go:297
↓ 3 callersMethodclearLocked
()
internal/app/sync_status.go:153
↓ 3 callersFunctioncontactDisplayText
(contact *waProto.ContactMessage)
internal/wa/messages_contacts.go:20
↓ 3 callersFunctiondecodeMessageEscapes
(s string)
cmd/wacli/send.go:352
↓ 3 callersFunctionexecuteDelegatedSend
(parent context.Context, a *app.App, req sendDelegateRequest)
cmd/wacli/send_ipc.go:194
↓ 3 callersFunctionfetchProfileAbout
(ctx context.Context, client profileUserInfoGetter, target types.JID)
cmd/wacli/profile.go:359
↓ 3 callersFunctionfirstAttr
(n *html.Node, name string)
internal/linkpreview/linkpreview.go:326
↓ 3 callersFunctionflushBlockquote
()
scripts/docs-site-render.mjs:25
↓ 3 callersFunctiongetMessageByChatFilter
(db *store.DB, chatJIDs []string, id string)
cmd/wacli/messages_helpers.go:142
↓ 3 callersFunctiongroupJIDs
(groups []Group)
internal/store/cleanup_test.go:532
↓ 3 callersMethodhandleHistoryPollSideEffects
handleHistoryPollSideEffects mirrors handlePollSideEffects for messages arriving via HistorySync, where we have a *waProto.WebMessageInfo rather than
internal/app/sync_polls.go:37
↓ 3 callersMethodhandleStarEvent
(ctx context.Context, evt *events.Star)
internal/app/sync_events.go:294
↓ 3 callersFunctionhistorySyncNotificationFromMessage
(v *events.Message)
internal/app/sync_events.go:406
↓ 3 callersFunctioninteractiveText
(im *waProto.InteractiveMessage)
internal/wa/messages_business.go:212
↓ 3 callersFunctionisNoRows
(err error)
cmd/wacli/messages_helpers.go:178
↓ 3 callersFunctionmessageFromScalars
(rowID int64, chatJID, chatName, msgID, senderJID, senderName string, ts, fromMe int64, text, displayText, quo
internal/store/messages.go:460
↓ 3 callersFunctionnewHistoryFillCmd
(flags *rootFlags)
cmd/wacli/history.go:74
↓ 3 callersFunctionnewImageMessage
(up whatsmeow.UploadResponse, mimeType, caption string, data []byte)
cmd/wacli/send_file.go:212
↓ 3 callersFunctionnewMessagesDeleteCmd
(flags *rootFlags)
cmd/wacli/messages.go:473
↓ 3 callersFunctionnewMessagesEditCmd
(flags *rootFlags)
cmd/wacli/messages.go:668
↓ 3 callersFunctionnewMessagesExportCmd
(flags *rootFlags)
cmd/wacli/messages.go:394
↓ 3 callersFunctionnewSendCmd
(flags *rootFlags)
cmd/wacli/send.go:24
↓ 3 callersMethodnewSyncWebhookEnqueuer
(ctx context.Context, jobs chan<- wa.ParsedMessage)
internal/app/webhook.go:47
↓ 3 callersMethodnoteWritten
(end int64)
internal/wa/media.go:385
↓ 3 callersFunctionopenPruneStore
(t *testing.T, storeDir string)
cmd/wacli/groups_prune_test.go:110
↓ 3 callersFunctionoutboundPollSenderJID
(ctx context.Context, wa outboundPollIdentityResolver, chat types.JID)
cmd/wacli/send_poll_cmd.go:193
↓ 3 callersFunctionparseByteSize
(raw string)
cmd/wacli/storage_limits.go:45
↓ 3 callersFunctionparseCandidateJID
(c resolve.Candidate)
cmd/wacli/recipient.go:88
↓ 3 callersFunctionparseGroupUserJIDs
(users []string)
cmd/wacli/groups_admin.go:390
↓ 3 callersFunctionparsePlatformType
(raw string)
cmd/wacli/main.go:40
↓ 3 callersFunctionparseProfileTarget
(raw string)
cmd/wacli/profile.go:317
↓ 3 callersFunctionphoneFromLinkedJID
(linkedJID string)
cmd/wacli/auth.go:270
↓ 3 callersFunctionpick
(current, next string)
internal/linkpreview/linkpreview.go:354
↓ 3 callersFunctionpickPollCreation
pickPollCreation returns the inner PollCreationMessage from any of the known V1/V2/V3/V4/V5/V6 fields, including FutureProofMessage wrappers.
internal/wa/messages.go:280
↓ 3 callersFunctionpollFromScalars
(chatJID, msgID, senderJID, question, optsRaw string, selectable, createdTS int64)
internal/store/polls.go:369
↓ 3 callersMethodpostSyncWebhook
(ctx context.Context, opts SyncOptions, pm wa.ParsedMessage)
internal/app/webhook.go:110
↓ 3 callersFunctionpresenceMediaFromString
(media string)
cmd/wacli/presence.go:132
↓ 3 callersFunctionprimaryPollChatJID
(ctx context.Context, a *app.App, jid types.JID)
cmd/wacli/poll_cmd.go:308
↓ 3 callersFunctionrank
(query string, haystacks ...string)
internal/resolve/resolve.go:192
↓ 3 callersFunctionreadSendFileData
(filePath string)
cmd/wacli/send_file.go:313
↓ 3 callersMethodreconnect
reconnect wraps ReconnectWithBackoff with an optional deadline. If maxDuration is positive, reconnection gives up after that long; otherwise it retrie
internal/app/sync_idle.go:76
↓ 3 callersMethodrefreshGroups
(ctx context.Context)
internal/app/bootstrap.go:31
↓ 3 callersFunctionresolveStoredChatsWith
(ctx context.Context, resolver chatDisplayResolver, chats []store.Chat)
cmd/wacli/chats.go:180
↓ 3 callersFunctionrewritePollVoteInfoForLID
(ctx context.Context, cli *whatsmeow.Client, info types.MessageInfo, resolve pollVoteLIDResolver)
internal/wa/client.go:431
↓ 3 callersFunctionrunPresenceDelegateHelper
(t *testing.T, args []string)
cmd/wacli/presence_test.go:338
↓ 3 callersFunctionrunSendAttempt
(ctx context.Context, timeout time.Duration, op func(context.Context) (T, error))
cmd/wacli/send_helpers.go:44
↓ 3 callersMethodrunSyncFollow
(ctx context.Context, maxReconnect time.Duration, messagesStored, connectionEpoch *atomic.Int64, disconnected
internal/app/sync_idle.go:10
↓ 3 callersMethodrunSyncWebhookWorker
(ctx context.Context, opts SyncOptions, jobs <-chan wa.ParsedMessage)
internal/app/webhook.go:65
↓ 3 callersFunctionsameStrings
(a, b []string)
internal/store/cleanup_test.go:540
↓ 3 callersFunctionsanitizeBody
(s string)
cmd/wacli/helpers.go:39
↓ 3 callersMethodsendPresenceBounded
sendPresenceBounded sends a presence update with a 5-second timeout so a stalled WhatsApp write cannot hold the event handler dispatch lock or block s
internal/app/sync_events.go:604
↓ 3 callersFunctionsendPresenceWithRetry
(ctx context.Context, reconnect func(context.Context) error, send func(context.Context) error)
cmd/wacli/presence.go:154
↓ 3 callersFunctionsendSticker
(ctx context.Context, a interface { WA() app.WAClient DB() *store.DB }, to types.JID, filePath string, opts
cmd/wacli/send_sticker.go:39
↓ 3 callersFunctionshortPresenceDelegateStoreDir
(t *testing.T)
cmd/wacli/presence_test.go:356
↓ 3 callersFunctionsignalContextWithEvents
(events *out.EventWriter)
cmd/wacli/signal.go:13
↓ 3 callersFunctionsplitRow
(line)
scripts/docs-site-render.mjs:202
↓ 3 callersFunctionsqliteURI
(path string, readOnly bool)
internal/store/db.go:77
↓ 3 callersMethodstoreParsedCallEvent
(ctx context.Context, call wa.ParsedCallEvent, chatName, senderName string)
internal/app/sync.go:530
↓ 3 callersFunctionsyncWebhookSignature
(secret string, payload []byte)
internal/app/webhook.go:188
↓ 3 callersFunctiontokenize
(source, rules)
scripts/docs-site-highlight.mjs:13
↓ 3 callersFunctiontruncate
(s string, max int)
cmd/wacli/helpers.go:43
↓ 3 callersFunctionupsertSentReaction
(db *store.DB, chat types.JID, chatName string, sentID types.MessageID, targetID, emoji string, now time.Time)
cmd/wacli/send_react_cmd.go:130
↓ 3 callersFunctionvalidateBackfillOptions
(opts BackfillOptions)
internal/app/backfill.go:254
↓ 3 callersFunctionvalidateMessageCanDeleteForMe
(msg store.Message)
cmd/wacli/messages.go:916
↓ 3 callersFunctionwaitForPresenceCalls
(t *testing.T, f *fakeWA, want int)
internal/app/sync_presence_test.go:155
↓ 3 callersFunctionwithAccountsConfigLock
(path string, flags *rootFlags, fn func() error)
cmd/wacli/accounts.go:275
↓ 3 callersFunctionwriteAuthStatus
(w io.Writer, authed bool, linkedJID string)
cmd/wacli/auth.go:258
↓ 3 callersFunctionwriteMessagesList
(dst io.Writer, msgs []store.Message, fullOutput bool)
cmd/wacli/messages_format.go:12
↓ 2 callersMethodArchiveChat
(ctx context.Context, target types.JID, archive bool, lastMsgTS time.Time, lastMsgKey *waCommon.MessageKey)
internal/app/app.go:75
↓ 2 callersMethodClearAllSystemNames
()
internal/store/contacts.go:106
↓ 2 callersMethodCountSystemNames
()
internal/store/contacts.go:110
↓ 2 callersMethodCreateGroup
(ctx context.Context, req wa.CreateGroupRequest)
internal/app/app.go:46
↓ 2 callersMethodDecryptPollVote
(ctx context.Context, evt *events.Message)
internal/app/app.go:70
↓ 2 callersMethodDecryptReaction
(ctx context.Context, reaction *events.Message)
internal/app/app.go:86
↓ 2 callersMethodDecryptSecretEncryptedMessage
(ctx context.Context, evt *events.Message)
internal/app/app.go:71
← previousnext →301–400 of 1,829, ranked by callers