Commit Graph
6 Commits
Author SHA1 Message Date
手瓜一十雪 4d200de6b7 Refactor packet client and update message history actions
Replaced LRUCache with Map for callback and event management in packet clients, and standardized callback hash usage. Updated GetFriendMsgHistory and GetGroupMsgHistory actions to use snake_case for payload keys. Modified OneBotMsgApi to support disabling URL retrieval for ptt elements via a new parameter.
2025-09-02 22:24:53 +08:00
手瓜一十雪 f3c07ed8fc Add timeout parameter to file and packet API methods
Introduces an optional timeout parameter (defaulting to 20000ms) to various file and packet API methods for improved control over request duration. Updates all relevant method calls and internal usages to support the new timeout argument, including OneBot message API calls with a shorter timeout for file, video, and ptt URL retrieval.
2025-09-02 09:54:42 +08:00
手瓜一十雪 ac193cc94a style: lint 2025-02-02 20:17:28 +08:00
pk5ls20 5778daeb60 refactor: packet 2025-01-11 16:23:02 +08:00
pk5ls20 75866b435e feat: errorStack 2024-11-13 16:52:03 +08:00
pk5ls20 98c65c4923 refactor: packet x1 2024-11-12 04:02:19 +08:00