feat(onebot): support private window shake messages
Encode poke message segments as private window shake messages while keeping the dedicated send_poke action unchanged. Restrict window shakes to a single ordinary private-chat segment. Reject group, temporary-session, mixed-message, and forwarded usage before identity lookup, media upload, or packet transmission. Add full outbound request coverage, OneBot action regressions, and live private-chat verification for issue #259. Closes #259
This commit is contained in:
15 files changed
+529
-44
No files matched your search
@@ -149,7 +149,7 @@ export interface FileElement {
|
||||
sha1Hex?: string;
|
||||
}
|
||||
|
||||
/** Receive-side representation only; sending uses the dedicated poke Action. */
|
||||
/** Window-shake element; outbound use is limited to ordinary friend C2C. */
|
||||
export interface PokeElement {
|
||||
type: 'poke';
|
||||
subType: number;
|
||||
|
||||
Reference in new issue
Block a user