Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openclaw/wacli
/ functions
Functions
1,829 in github.com/openclaw/wacli
⨍
Functions
1,829
◇
Types & classes
226
↓ 2 callers
Function
sendTextMessage
(ctx context.Context, a sendTextApp, to types.JID, text, replyTo, replyToSender string, preview *linkpreview.P
cmd/wacli/send.go:220
↓ 2 callers
Method
setErr
(err error)
internal/app/sync_limits.go:45
↓ 2 callers
Function
signalContextForChannel
(events *out.EventWriter, sigCh <-chan os.Signal, stopNotify func(), forceExit func(int))
cmd/wacli/signal.go:19
↓ 2 callers
Function
skipPresenceDelegateSocketTestOnUnsupportedOS
(t *testing.T)
cmd/wacli/presence_test.go:372
↓ 2 callers
Function
startPresenceDelegateTestSocket
(t *testing.T, storeDir string, respond func(sendDelegateRequest) sendDelegateResponse)
cmd/wacli/presence_test.go:284
↓ 2 callers
Method
storeParsedMessageForSync
(ctx context.Context, pm wa.ParsedMessage, limits ...*syncStorageLimits)
internal/app/sync_events.go:558
↓ 2 callers
Function
storeUpsertMessage
(chatJID, id string, ts time.Time, text string)
internal/app/backfill_test.go:193
↓ 2 callers
Function
stripControlChars
stripControlChars removes null bytes and non-printable control characters from s, providing defense-in-depth against path injection attacks.
internal/pathutil/sanitize.go:24
↓ 2 callers
Function
syncStorageLimitError
(kind string, got, limit int64)
internal/app/sync.go:340
↓ 2 callers
Function
tocFromHtml
(html)
scripts/docs-site-render.mjs:125
↓ 2 callers
Function
unlockFile
(f *os.File)
internal/lock/lock_unix.go:15
↓ 2 callers
Method
upsertPollFromParsed
(ctx context.Context, pm wa.ParsedMessage)
internal/app/sync_polls.go:216
↓ 2 callers
Function
validateAccountsConfig
(cfg *AccountsConfig)
internal/config/config.go:111
↓ 2 callers
Function
validateAuthOptions
(flags *rootFlags, opts authOptions)
cmd/wacli/auth.go:120
↓ 2 callers
Function
waveformFromPCM16LE
(data []byte)
cmd/wacli/send_file.go:423
↓ 2 callers
Function
wrapEphemeralPollMessage
(msg *waE2E.Message)
internal/wa/client.go:386
↓ 2 callers
Function
writeCallsList
(dst io.Writer, calls []store.CallEvent, fullOutput bool)
cmd/wacli/calls.go:91
↓ 2 callers
Function
writeDoctorReport
(w io.Writer, rep doctorReport)
cmd/wacli/doctor.go:106
↓ 2 callers
Function
writeHistoryCoverageTable
(dst io.Writer, coverage []store.HistoryCoverage, fullOutput, includeSelected bool)
cmd/wacli/history.go:199
↓ 2 callers
Function
writeRootError
(flags rootFlags, err error)
cmd/wacli/root.go:84
↓ 2 callers
Function
writeSessionLIDMap
(t *testing.T, path, lid, pn string)
internal/app/app_test.go:292
↓ 2 callers
Function
writeTestFileMode
(path string, data []byte, perm os.FileMode)
internal/sqliteutil/files_test.go:54
↓ 1 callers
Method
ArchiveChat
(context.Context, types.JID, bool)
cmd/wacli/chats_state.go:111
↓ 1 callers
Method
Clear
()
internal/app/sync_status.go:133
↓ 1 callers
Method
Connect
(ctx context.Context, opts wa.ConnectOptions)
internal/app/fake_wa_test.go:163
↓ 1 callers
Method
Connect
(ctx context.Context, allowQR bool, qrWriter func(string))
internal/app/app.go:242
↓ 1 callers
Method
Connect
(ctx context.Context, opts ConnectOptions)
internal/wa/client.go:122
↓ 1 callers
Method
Connected
()
internal/app/sync_status.go:62
↓ 1 callers
Method
CountGroups
()
internal/store/groups.go:71
↓ 1 callers
Method
CountLeftGroups
()
internal/store/groups.go:75
↓ 1 callers
Method
DB
()
cmd/wacli/recipient.go:23
↓ 1 callers
Function
DefaultAccountStore
(name string)
internal/config/config.go:231
↓ 1 callers
Method
DeleteGroupParticipants
(ctx context.Context, groupJid string)
internal/store/storedb/queries.sql.go:130
↓ 1 callers
Method
DeleteHistorySyncMedia
(ctx context.Context, notif *waE2E.HistorySyncNotification)
internal/app/app.go:89
↓ 1 callers
Method
DeleteLeftGroups
()
internal/store/groups.go:263
↓ 1 callers
Method
DeleteLeftGroupsOlderThan
(days int)
internal/store/groups.go:267
↓ 1 callers
Method
DeleteMessageForMe
(ctx context.Context, info types.MessageInfo, deleteMedia bool)
internal/app/app.go:73
↓ 1 callers
Method
DeletePoll
DeletePoll removes a poll and all its votes (votes are cascaded by foreign key, but we issue an explicit delete since the FK isn't declared at the tab
internal/store/polls.go:316
↓ 1 callers
Method
DeletePollVotesForPoll
(ctx context.Context, arg DeletePollVotesForPollParams)
internal/store/storedb/queries.sql.go:213
↓ 1 callers
Method
EditMessage
(ctx context.Context, chat types.JID, targetID types.MessageID, text string)
internal/app/app.go:74
↓ 1 callers
Method
GetContact
(ctx context.Context, jid types.JID)
internal/app/fake_wa_test.go:279
↓ 1 callers
Method
GetContact
(ctx context.Context, jid types.JID)
internal/wa/client.go:725
↓ 1 callers
Method
GetGroupInfo
(ctx context.Context, jid types.JID)
internal/app/fake_wa_test.go:314
↓ 1 callers
Method
GetGroupInfo
(ctx context.Context, jid types.JID)
internal/wa/client.go:826
↓ 1 callers
Method
GetGroupInfo
(ctx context.Context, jid types.JID)
cmd/wacli/send_poll_cmd.go:29
↓ 1 callers
Method
GetNewsletterInfo
(ctx context.Context, jid types.JID)
internal/app/fake_wa_test.go:471
↓ 1 callers
Method
GetNewsletterInfo
(ctx context.Context, jid types.JID)
internal/wa/newsletters.go:52
↓ 1 callers
Method
GetUserInfo
(ctx context.Context, jids []types.JID)
cmd/wacli/profile.go:356
↓ 1 callers
Method
GetUserInfo
(ctx context.Context, jids []types.JID)
cmd/wacli/send_helpers.go:144
↓ 1 callers
Method
HistorySync
(conversations int)
internal/app/sync_status.go:66
↓ 1 callers
Method
InsertGroupParticipant
(ctx context.Context, arg InsertGroupParticipantParams)
internal/store/storedb/queries.sql.go:596
↓ 1 callers
Method
IsAuthed
()
internal/app/fake_wa_test.go:145
↓ 1 callers
Method
IsOnWhatsApp
(ctx context.Context, phones []string)
internal/app/app.go:40
↓ 1 callers
Method
IsOnWhatsApp
(ctx context.Context, phones []string)
cmd/wacli/send_helpers.go:148
↓ 1 callers
Method
LinkedJID
()
internal/app/fake_wa_test.go:763
↓ 1 callers
Method
LinkedLID
()
internal/app/app.go:95
↓ 1 callers
Method
ListContacts
(limit int)
internal/store/contacts.go:56
↓ 1 callers
Method
ListJoinedGroupJIDs
(ctx context.Context)
internal/store/storedb/queries.sql.go:662
↓ 1 callers
Method
ListTags
(jid string)
internal/store/contacts.go:114
↓ 1 callers
Method
LookupIPAddr
(ctx context.Context, host string)
internal/linkpreview/linkpreview.go:103
↓ 1 callers
Method
MarkChatAsRead
(ctx context.Context, target types.JID, read bool, lastMsgTS time.Time, lastMsgKey *waCommon.MessageKey)
internal/app/app.go:78
↓ 1 callers
Method
MarkChatRead
(context.Context, types.JID, bool)
cmd/wacli/chats_state.go:114
↓ 1 callers
Method
MessageContextAfter
(ctx context.Context, arg MessageContextAfterParams)
internal/store/storedb/queries.sql.go:1054
↓ 1 callers
Method
MessageContextBefore
(ctx context.Context, arg MessageContextBeforeParams)
internal/store/storedb/queries.sql.go:1163
↓ 1 callers
Method
MuteChat
(ctx context.Context, target types.JID, mute bool, duration time.Duration)
internal/app/app.go:77
↓ 1 callers
Function
New
(db DBTX)
internal/store/storedb/db.go:19
↓ 1 callers
Function
ParseCallLogDeleteEvent
(evt interface{})
internal/wa/calls.go:87
↓ 1 callers
Function
ParseLiveCallEvent
(evt interface{}, self types.JID, alternateSelf ...types.JID)
internal/wa/calls.go:62
↓ 1 callers
Method
PinChat
(ctx context.Context, target types.JID, pin bool)
internal/app/app.go:76
↓ 1 callers
Method
PinChat
(context.Context, types.JID, bool)
cmd/wacli/chats_state.go:112
↓ 1 callers
Method
PollOptions
(ctx context.Context, arg PollOptionsParams)
internal/store/storedb/queries.sql.go:1231
↓ 1 callers
Method
PrintLine
(message string)
internal/app/sync_status.go:102
↓ 1 callers
Method
Progress
(messages int64)
internal/app/sync_status.go:74
↓ 1 callers
Method
ReadFrom
(r io.Reader)
internal/wa/media.go:339
↓ 1 callers
Function
ReadSystem
(ctx context.Context)
internal/syscontacts/darwin.go:20
↓ 1 callers
Method
ReconnectWithBackoff
(ctx context.Context, minDelay, maxDelay time.Duration)
internal/app/app.go:34
↓ 1 callers
Method
RequestAppStateRecovery
(ctx context.Context, name string)
internal/app/app.go:92
↓ 1 callers
Method
RequestHistorySyncOnDemand
(ctx context.Context, lastKnown types.MessageInfo, count int)
internal/app/app.go:90
↓ 1 callers
Method
ResolvePNToLID
(ctx context.Context, jid types.JID)
internal/wa/client.go:762
↓ 1 callers
Method
ResolvePNToLID
(ctx context.Context, jid types.JID)
cmd/wacli/send_poll_cmd.go:28
↓ 1 callers
Method
SendPoll
(ctx context.Context, to types.JID, name string, options []string, selectable int, ephemeral bool)
cmd/wacli/send_poll_cmd.go:23
↓ 1 callers
Method
SendProtoMessage
(ctx context.Context, to types.JID, msg *waProto.Message)
cmd/wacli/send_status_cmd.go:25
↓ 1 callers
Method
SendProtoMessage
(ctx context.Context, to types.JID, msg *waProto.Message)
cmd/wacli/send_select_cmd.go:31
↓ 1 callers
Method
SendProtoMessageWithExtra
(ctx context.Context, to types.JID, msg *waProto.Message, mediaHandle string)
internal/app/fake_wa_test.go:485
↓ 1 callers
Method
SendProtoMessageWithExtra
(ctx context.Context, to types.JID, msg *waProto.Message, mediaHandle string)
internal/app/app.go:66
↓ 1 callers
Method
SendProtoMessageWithExtra
(ctx context.Context, to types.JID, msg *waProto.Message, mediaHandle string)
internal/wa/client.go:292
↓ 1 callers
Method
SendText
(ctx context.Context, to types.JID, text string)
cmd/wacli/send.go:201
↓ 1 callers
Method
SetChatArchivedAndUnpin
(ctx context.Context, arg SetChatArchivedAndUnpinParams)
internal/store/storedb/queries.sql.go:1305
↓ 1 callers
Method
SetProfileName
(ctx context.Context, name string)
internal/app/app.go:100
↓ 1 callers
Method
SetStarredDelete
(ctx context.Context, arg SetStarredDeleteParams)
internal/store/storedb/queries.sql.go:1351
↓ 1 callers
Method
SetStarredUpsert
(ctx context.Context, arg SetStarredUpsertParams)
internal/store/storedb/queries.sql.go:1373
↓ 1 callers
Method
StoreParsedMessage
(ctx context.Context, pm wa.ParsedMessage)
internal/app/sync_limits.go:19
↓ 1 callers
Method
Version
()
internal/app/app.go:238
↓ 1 callers
Method
WarnLine
(message string)
internal/app/sync_status.go:116
↓ 1 callers
Method
Warnf
(msg string, args ...interface{})
internal/wa/logger.go:47
↓ 1 callers
Function
accountPayloads
(accounts []config.Account)
cmd/wacli/accounts.go:296
↓ 1 callers
Function
allHtml
(dir)
scripts/docs-site-render.mjs:250
↓ 1 callers
Function
allMarkdown
(dir)
scripts/build-docs-site.mjs:185
↓ 1 callers
Function
ambiguousRecipientError
(input string, candidates []resolve.Candidate)
cmd/wacli/recipient.go:96
↓ 1 callers
Function
appendUnique
(values []string, value string)
internal/wa/messages_contacts.go:110
← previous
next →
601–700 of 1,829, ranked by callers