# Task ID: 34 # Title: Push Notifications (WeChat Template Messages) # Status: pending # Dependencies: 4, 11 # Priority: low # Description: Integrate WeChat template messages to send important notifications to users, such as match invitations, game start reminders, or activity updates. # Details: Backend: Implement WeChat template message sending API calls. Obtain user's formId/subscribe message permissions during user interactions (e.g., after login, when creating a room). Define templates for 'Game Invitation', 'Match Found', 'Activity Reminder'. Trigger these messages based on backend events. Frontend: Guide users to authorize template messages. # Test Strategy: Send a game invitation to a test user and verify they receive a WeChat template message. Test other notification types (e.g., match found, activity reminder). Ensure proper authorization handling.