- 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
67 lines
1.7 KiB
Python
67 lines
1.7 KiB
Python
from .type import *
|
|
from .attr import SelfMessage
|
|
import sys
|
|
|
|
class SelfTextMessage(SelfMessage, TextMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfQuoteMessage(SelfMessage, QuoteMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox",
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfImageMessage(SelfMessage, ImageMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfFileMessage(SelfMessage, FileMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfLinkMessage(SelfMessage, LinkMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfVideoMessage(SelfMessage, VideoMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfVoiceMessage(SelfMessage, VoiceMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent)
|
|
|
|
class SelfOtherMessage(SelfMessage, OtherMessage):
|
|
def __init__(
|
|
self,
|
|
control: uia.Control,
|
|
parent: "ChatBox"
|
|
):
|
|
super().__init__(control, parent) |