The function to process all WeChat messages, please override this function. msg: msg_id -> id of the received WeChat message msg_type_id -> the type of the message user -> the account that the message if sent from content -> co
(self, msg)
| 220 | return False |
| 221 | |
| 222 | def handle_msg_all(self, msg): |
| 223 | """ |
| 224 | The function to process all WeChat messages, please override this function. |
| 225 | msg: |
| 226 | msg_id -> id of the received WeChat message |
| 227 | msg_type_id -> the type of the message |
| 228 | user -> the account that the message if sent from |
| 229 | content -> content of the message |
| 230 | :param msg: The received message. |
| 231 | :return: None |
| 232 | """ |
| 233 | pass |
| 234 | |
| 235 | def extract_msg_content(self, msg_type_id, msg): |
| 236 | """ |