feat(onebot): support choosing animated system faces
Send available face animations by default and accept large=false for the small representation. Preserve the sticker business type when encoding animated faces. Fixes #483
This commit is contained in:
8 files changed
+64
-22
No files matched your search
@@ -59,7 +59,7 @@ describe('element-manifest 对账(protocol 侧:D 收·解 / W 发·打包)
|
||||
if (field === 'mediaNode') return {};
|
||||
if (field === 'emojiId' || field === 'md5Hex') return 'ab'.repeat(16);
|
||||
if (field === 'sha1Hex') return 'cd'.repeat(20);
|
||||
if (field === 'flash' || field === 'noByteFallback') return true;
|
||||
if (field === 'flash' || field === 'noByteFallback' || field === 'large') return true;
|
||||
if (field === 'botAppid') return '1';
|
||||
if (field === 'targetUin' || field === 'faceId' || field === 'fileSize'
|
||||
|| field.startsWith('reply') || field === 'subType' || field === 'duration'
|
||||
|
||||
Reference in new issue
Block a user