Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@dev0052
Copy link

@dev0052 dev0052 commented Jan 24, 2025

Added Support for WhatsApp and WeChat Notifications

Changes Made:

  • WhatsApp Integration:

    • Added whatsapp_method.py to support sending notifications via WhatsApp using the Twilio API.
    • Created a WhatsAppMethod class for handling WhatsApp notifications.
    • Updated documentation with usage examples and instructions.
  • WeChat Integration:

    • Added wechat_method.py to enable sending notifications via WeChat using the wechatpy library.
    • Implemented a WeChatMethod class for WeChat message delivery.
    • Updated documentation with configuration details and usage guidelines.
  • Main Notification Functionality:

    • Enhanced the notify method in the main script to route messages to WhatsApp or WeChat based on the chosen method.
    • Included error handling and logging for both WhatsApp and WeChat methods.

Checklist:

  • All code changes are tested and verified.
  • Dependencies for twilio and wechatpy added to requirements.txt.
  • Documentation updated for both WhatsApp and WeChat setup.
  • Code adheres to project standards and passes linting/tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant