This commit is contained in:
Your Name
2026-03-11 09:49:47 +08:00
parent 02ae537b4c
commit 38ad60f4bb
290 changed files with 36917 additions and 123 deletions
@@ -0,0 +1,18 @@
// 商业化能力位文档:https://iwiki.woa.com/pages/viewpage.action?pageId=717923757
interface ICommercialAbility {
enabledMessageReadReceipt: number;
enabledEmojiPlugin: number;
enabledOnlineStatus: number;
enabledCustomerServicePlugin: number;
enabledTranslationPlugin: number;
enabledVoiceToText: number;
[key: string]: number;
}
export const commercialAbility: ICommercialAbility = {
enabledMessageReadReceipt: Math.pow(2, 5),
enabledEmojiPlugin: Math.pow(2, 48),
enabledOnlineStatus: Math.pow(2, 7),
enabledCustomerServicePlugin: Math.pow(2, 40),
enabledTranslationPlugin: Math.pow(2, 38),
enabledVoiceToText: Math.pow(2, 39),
};