MCPcopy Create free account

hub / github.com/openclaw/wacli / functions

Functions1,829 in github.com/openclaw/wacli

MethodSendPoll
SendPoll builds a PollCreationMessage and sends it. selectable is the maximum number of options a voter may pick (1 = single-select). The poll can opt
internal/wa/client.go:316
MethodSendPoll
(_ context.Context, to types.JID, name string, options []string, selectable int, ephemeral bool)
cmd/wacli/send_poll_test.go:32
MethodSendPollVote
(ctx context.Context, pollInfo *types.MessageInfo, options []string)
internal/app/fake_wa_test.go:506
MethodSendPollVote
(ctx context.Context, pollInfo *types.MessageInfo, options []string)
internal/app/app.go:69
MethodSendPollVote
SendPollVote builds and sends a poll vote for the poll identified by pollInfo (Chat, Sender, ID of the original PollCreationMessage). The option names
internal/wa/client.go:404
MethodSendPresence
(ctx context.Context, presence types.Presence)
internal/app/fake_wa_test.go:562
MethodSendPresence
SendPresence updates the authenticated account's global presence status.
internal/wa/client.go:858
MethodSendProtoMessage
(ctx context.Context, to types.JID, msg *waProto.Message)
internal/app/fake_wa_test.go:481
MethodSendProtoMessage
(ctx context.Context, to types.JID, msg *waProto.Message)
internal/app/app.go:65
MethodSendProtoMessage
(ctx context.Context, to types.JID, msg *waProto.Message)
internal/wa/client.go:288
MethodSendProtoMessage
(_ context.Context, to types.JID, msg *waProto.Message)
cmd/wacli/send_test.go:56
MethodSendReaction
(ctx context.Context, chat, sender types.JID, targetID types.MessageID, reaction string)
internal/app/fake_wa_test.go:489
MethodSendReaction
(ctx context.Context, chat, sender types.JID, targetID types.MessageID, reaction string)
internal/wa/client.go:514
MethodSendText
(ctx context.Context, to types.JID, text string)
internal/app/fake_wa_test.go:477
MethodSendText
(ctx context.Context, to types.JID, text string)
internal/app/app.go:64
MethodSendText
(ctx context.Context, to types.JID, text string)
internal/wa/client.go:273
MethodSendText
(_ context.Context, to types.JID, text string)
cmd/wacli/send_test.go:46
MethodSetAlias
(ctx context.Context, arg SetAliasParams)
internal/store/storedb/queries.sql.go:1273
MethodSetAutoReconnect
(enabled bool)
internal/app/fake_wa_test.go:152
MethodSetAutoReconnect
(enabled bool)
internal/wa/client.go:94
MethodSetChatArchived
(ctx context.Context, arg SetChatArchivedParams)
internal/store/storedb/queries.sql.go:1289
MethodSetChatMutedUntil
(ctx context.Context, arg SetChatMutedUntilParams)
internal/store/storedb/queries.sql.go:1321
MethodSetChatPinned
(ctx context.Context, arg SetChatPinnedParams)
internal/store/storedb/queries.sql.go:1337
MethodSetGroupAnnounce
(ctx context.Context, jid types.JID, announce bool)
internal/app/fake_wa_test.go:366
MethodSetGroupAnnounce
(ctx context.Context, jid types.JID, announce bool)
internal/wa/groups.go:79
MethodSetGroupLocked
(ctx context.Context, jid types.JID, locked bool)
internal/app/fake_wa_test.go:378
MethodSetGroupLocked
(ctx context.Context, jid types.JID, locked bool)
internal/wa/groups.go:89
MethodSetGroupName
(ctx context.Context, jid types.JID, name string)
internal/app/fake_wa_test.go:342
MethodSetGroupName
(ctx context.Context, jid types.JID, name string)
internal/wa/groups.go:59
MethodSetGroupTopic
(ctx context.Context, jid types.JID, topic string)
internal/app/fake_wa_test.go:354
MethodSetGroupTopic
(ctx context.Context, jid types.JID, topic string)
internal/wa/groups.go:69
MethodSetManualHistorySyncDownload
(enabled bool)
internal/app/fake_wa_test.go:579
MethodSetManualHistorySyncDownload
(enabled bool)
internal/wa/client.go:624
MethodSetProfileName
(ctx context.Context, name string)
internal/app/fake_wa_test.go:755
MethodSetProfileName
(ctx context.Context, name string)
internal/wa/client.go:944
MethodSetProfilePicture
(ctx context.Context, avatar []byte)
internal/app/fake_wa_test.go:743
MethodSetProfilePicture
SetProfilePicture sets the profile picture of the authenticated account. avatar must be JPEG bytes; pass nil to remove the picture. Returns the new pi
internal/wa/client.go:885
MethodSetStatusMessage
(ctx context.Context, msg string)
internal/app/fake_wa_test.go:751
MethodSetStatusMessage
(ctx context.Context, msg string)
internal/wa/client.go:934
MethodSetSystemName
(ctx context.Context, arg SetSystemNameParams)
internal/store/storedb/queries.sql.go:1394
MethodStats
(ctx context.Context)
internal/store/storedb/queries.sql.go:1419
FunctionTestAccountsAddNoAuthCreatesConfig
(t *testing.T)
cmd/wacli/accounts_test.go:13
FunctionTestAccountsAddRejectsWhitespaceName
(t *testing.T)
cmd/wacli/accounts_test.go:66
FunctionTestAccountsAddValidatesAuthFlagsBeforeSaving
(t *testing.T)
cmd/wacli/accounts_test.go:50
FunctionTestAccountsConfigKnownFields
(t *testing.T)
internal/config/config_test.go:125
FunctionTestAccountsConfigRoundTrip
(t *testing.T)
internal/config/config_test.go:92
FunctionTestAccountsListJSON
(t *testing.T)
cmd/wacli/accounts_test.go:78
FunctionTestAcquireWithTimeout
(t *testing.T)
internal/lock/lock_test.go:68
FunctionTestAcquireWithTimeoutDoesNotRetryNonLockErrors
(t *testing.T)
internal/lock/lock_test.go:103
FunctionTestAcquireWithTimeoutHonorsCanceledContext
(t *testing.T)
internal/lock/lock_test.go:88
FunctionTestAppStateCallLogDeleteRemovesStoredCallEvent
(t *testing.T)
internal/app/sync_test.go:518
FunctionTestAppStateLTHashMismatchRequestsRecoveryOnce
(t *testing.T)
internal/app/sync_test.go:556
FunctionTestAppStateNonLTHashErrorDoesNotRequestRecovery
(t *testing.T)
internal/app/sync_test.go:584
FunctionTestArchiveChatUsesLatestMessageRange
(t *testing.T)
internal/app/sync_test.go:887
FunctionTestAttachSendFileReplyContext
(t *testing.T)
cmd/wacli/send_file_test.go:243
FunctionTestAuthCommandExposesQRFormat
(t *testing.T)
cmd/wacli/auth_test.go:261
FunctionTestAuthPairCodeWriter
(t *testing.T)
cmd/wacli/auth_test.go:245
FunctionTestAuthQRWriterText
(t *testing.T)
cmd/wacli/auth_test.go:205
FunctionTestAuthStatusPayloadIncludesLinkedJID
(t *testing.T)
cmd/wacli/auth_test.go:12
FunctionTestAuthStatusPayloadOmitsLinkedJIDWhenUnauthed
(t *testing.T)
cmd/wacli/auth_test.go:25
FunctionTestAuthStatusReadOnlyDoesNotCreateStoreFiles
(t *testing.T)
cmd/wacli/auth_test.go:57
FunctionTestBackfillHistoryAddsOlderMessages
(t *testing.T)
internal/app/backfill_test.go:20
FunctionTestBackfillHistoryDownloadsManualOnDemandNotification
(t *testing.T)
internal/app/backfill_test.go:88
FunctionTestBestContactName
(t *testing.T)
internal/wa/client_test.go:300
FunctionTestBuildDeleteForMePatch
(t *testing.T)
internal/wa/client_test.go:40
FunctionTestBuildForwardedMediaMessageMarksContext
(t *testing.T)
cmd/wacli/messages_test.go:395
FunctionTestBuildForwardedMediaMessageRequiresCompleteMetadata
(t *testing.T)
cmd/wacli/messages_test.go:431
FunctionTestBuildForwardedTextMessageMarksContext
(t *testing.T)
cmd/wacli/messages_test.go:438
FunctionTestBuildForwardedTextMessagePreservesWhitespace
(t *testing.T)
cmd/wacli/messages_test.go:453
FunctionTestBuildPollCreationMessageSelectsVersion
(t *testing.T)
internal/wa/client_test.go:89
FunctionTestBuildPollVoteInfoFindsAlternateChatKey
(t *testing.T)
cmd/wacli/send_poll_test.go:222
FunctionTestBuildPollVoteInfoMarksGroupMessages
(t *testing.T)
cmd/wacli/send_poll_test.go:198
FunctionTestBuildReplyContextInfo
(t *testing.T)
cmd/wacli/send_test.go:277
FunctionTestBuildSelectResponseMessageClassicButtonSendsQuotedText
(t *testing.T)
cmd/wacli/send_select_cmd_test.go:160
FunctionTestBuildSelectResponseMessageListRowSendsQuotedText
(t *testing.T)
cmd/wacli/send_select_cmd_test.go:137
FunctionTestBuildSelectResponseMessageRequiresSenderForUnsyncedGroup
(t *testing.T)
cmd/wacli/send_select_cmd_test.go:212
FunctionTestBuildSelectResponseMessageTemplateAndNativeFlow
(t *testing.T)
cmd/wacli/send_select_cmd_test.go:182
FunctionTestBuildStatusTextMessageUsesStatusStyling
(t *testing.T)
cmd/wacli/send_status_test.go:10
FunctionTestBuildTextMessageAttachesLinkPreview
(t *testing.T)
cmd/wacli/send_test.go:610
FunctionTestBuildTextMessageAttachesMentions
(t *testing.T)
cmd/wacli/send_test.go:392
FunctionTestBuildTextMessageCombinesReplyAndMentions
(t *testing.T)
cmd/wacli/send_test.go:587
FunctionTestBuildTextMessageUsesPlainConversationWithoutReplyOrPreview
(t *testing.T)
cmd/wacli/send_test.go:376
FunctionTestCallEventsUpsertAndList
(t *testing.T)
internal/store/messages_test.go:143
FunctionTestCallLogRecordChatIgnoresSelfGroupJIDForOneToOne
(t *testing.T)
internal/wa/calls_test.go:26
FunctionTestCallLogRecordRecognizesPNAndLIDSelfIdentities
(t *testing.T)
internal/wa/calls_test.go:49
FunctionTestCallLogRecordTimestampUnits
(t *testing.T)
internal/wa/calls_test.go:12
FunctionTestCallsListCommandHasExpectedFlags
(t *testing.T)
cmd/wacli/messages_test.go:163
FunctionTestChannelRecordFromMeta
(t *testing.T)
cmd/wacli/channels_test.go:12
FunctionTestChatFlagsString
(t *testing.T)
cmd/wacli/chats_test.go:86
FunctionTestChatKindFromJIDNewsletter
(t *testing.T)
cmd/wacli/channels_test.go:48
FunctionTestChatStateColumnsAndFilters
(t *testing.T)
internal/store/chats_test.go:45
FunctionTestChatStateEventsUpdateLocalStore
(t *testing.T)
internal/app/sync_test.go:851
FunctionTestChatStateSettersCreateMissingChat
(t *testing.T)
internal/store/chats_test.go:197
FunctionTestChatsCleanupRejectsNonPositiveDaysBeforeOpeningStore
(t *testing.T)
cmd/wacli/chats_cleanup_test.go:11
FunctionTestChmodFiles
(t *testing.T)
internal/sqliteutil/files_test.go:10
FunctionTestChmodFilesIgnoresMissingSidecars
(t *testing.T)
internal/sqliteutil/files_test.go:34
FunctionTestCleanVoteOptionsDedupAndTrim
(t *testing.T)
cmd/wacli/send_poll_test.go:185
FunctionTestContactSystemNamePrecedenceAndSearch
(t *testing.T)
internal/store/contacts_test.go:71
FunctionTestContactsAliasTagsAndSearch
(t *testing.T)
internal/store/contacts_test.go:7
FunctionTestContactsImportSystemFromInputDryRunDoesNotWrite
(t *testing.T)
cmd/wacli/contacts_import_system_test.go:13
← previousnext →1,201–1,300 of 1,829, ranked by callers