- Add wxauto package with WeChat UI automation and message handling capabilities - Implement job_extractor.py for automated job posting extraction from WeChat groups - Add job_extractor_gui.py providing graphical interface for job extraction tool - Create comprehensive documentation in Chinese covering GUI usage, multi-group support, and quick start guides - Add build configuration files (build_exe.py, build_exe.spec) for packaging as standalone executable - Include utility scripts for WeChat interaction (auto_send_msg.py, get_history.py, receive_file_transfer.py) - Add project configuration files (pyproject.toml, setup.cfg, requirements.txt) - Include test files (test_api.py, test_com_fix.py) for API and compatibility validation - Add Apache 2.0 LICENSE and comprehensive README documentation - Configure .gitignore to exclude build artifacts, logs, and temporary files
73 lines
1.7 KiB
Python
73 lines
1.7 KiB
Python
from .type import *
|
|
from .attr import FriendMessage
|
|
import sys
|
|
|
|
class FriendTextMessage(FriendMessage, TextMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendQuoteMessage(FriendMessage, QuoteMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendImageMessage(FriendMessage, ImageMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendFileMessage(FriendMessage, FileMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendLinkMessage(FriendMessage, LinkMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendVideoMessage(FriendMessage, VideoMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendVoiceMessage(FriendMessage, VoiceMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class FriendOtherMessage(FriendMessage, OtherMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
|
|
):
|
|
super().__init__(control, parent) |