yao/messenger
Max 03ecf96b51 Enhance messenger service with optional message type support for template sending
- Updated SendT, SendTWithProvider, SendTBatch, and SendTBatchMixed methods to accept an optional message type parameter, allowing for more flexible template usage.
- Refactored provider implementations for Mailgun, Twilio, and Mailer to accommodate the new message type parameter in their SendT and SendTBatch methods.
- Improved error handling for template retrieval and provider configuration, ensuring clearer feedback in case of issues.
- Added tests to validate the new functionality and ensure compatibility across different message types.
2025-10-09 12:11:54 +08:00
..
providers Enhance messenger service with optional message type support for template sending 2025-10-09 12:11:54 +08:00
template Enhance messenger service with optional message type support for template sending 2025-10-09 12:11:54 +08:00
types Enhance messenger service with optional message type support for template sending 2025-10-09 12:11:54 +08:00
messenger.go Enhance messenger service with optional message type support for template sending 2025-10-09 12:11:54 +08:00
messenger_onreceive_test.go Refactor messenger service to enhance webhook processing and remove deprecated methods 2025-09-28 15:27:20 +08:00
messenger_receiver_test.go Update dependencies and enhance mailer functionality 2025-09-28 09:33:36 +08:00
messenger_sendt_test.go Enhance messenger service with optional message type support for template sending 2025-10-09 12:11:54 +08:00
messenger_test.go Add GetAllProviders method and related tests for provider information retrieval 2025-09-28 16:00:35 +08:00