mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 09:15:41 +08:00
feat: mac发送能力重构为libtmwechat
- 发送改走本地host, 在微信登录时触发 - 删除旧OneBot及对应UI控制面
This commit is contained in:
1 parent
069d836dea
commit
7268188e40
50 files changed
+2442
-4141
No files matched your search
@@ -20,7 +20,6 @@ export interface PersonalWechatSenderStatus {
|
||||
wechatRunning: boolean
|
||||
wechatPid?: number
|
||||
boundWechatPid?: number
|
||||
oneBotPid?: number
|
||||
endpoint: string
|
||||
endpointReady: boolean
|
||||
wechatVersion?: string
|
||||
@@ -80,6 +79,8 @@ export interface PersonalWechatSendTextRequest extends PersonalWechatSendBaseReq
|
||||
export interface PersonalWechatSendImageRequest extends PersonalWechatSendBaseRequest {
|
||||
type: 'image'
|
||||
filePath: string
|
||||
/** 日报图片成功后再发送的文字;undefined 表示普通图片发送,不启用日报序列。 */
|
||||
postfixText?: string
|
||||
}
|
||||
|
||||
export interface PersonalWechatSendVoiceRequest extends PersonalWechatSendBaseRequest {
|
||||
@@ -112,8 +113,12 @@ export interface PersonalWechatSendResult {
|
||||
success: boolean
|
||||
status: PersonalWechatSenderStatus
|
||||
error?: string
|
||||
postfixSent?: boolean
|
||||
postfixError?: string
|
||||
}
|
||||
|
||||
export const DEFAULT_REPORT_IMAGE_POSTFIX_TEXT = '今日日报'
|
||||
|
||||
/** Safe, user-copyable metadata for the most recent voice send attempt. */
|
||||
export interface PersonalWechatVoiceDiagnostic {
|
||||
request_id: string
|
||||
|
||||
Reference in new issue
Block a user