Skip to content

WeChatGetChatHistory

Function Description

TIP

Specify WeChat name or WeChat ID to send WeChat messages or emoticons

WeChatGetChatHistory

Configuration Item Description

General

Command Input

  • TargetTTarget: Indicate the operational elements of WeChat, please use UIA mode to capture the outermost window of WeChat, UIA mode cannot capture, this parameter can be empty

  • KeepSystemMessagesBoolean: Keep system message(such as nudge)

  • KeepYourMessagesBoolean: Keep Your message

  • KeepOtherMessagesBoolean: Keep the other party's message

  • SendWindowMessagesBoolean: Whether to send WeChat messages through the background

  • MsgCountInteger: Number of intercepted messages

  • WaitBeforeMs(milliseconds)Integer: Wait for loading time before execution(in milliseconds)

Command Output

  • TextsTList<String>: Message text list

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None