浏览代码

Add identityType field to ContactReceiver type

Danilo Bargen 8 年之前
父节点
当前提交
9eaddd25c3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/threema.d.ts

+ 5 - 0
src/threema.d.ts

@@ -210,6 +210,11 @@ declare namespace threema {
         // Whether this is a contact from the same Threema Work package.
         // Whether this is a contact from the same Threema Work package.
         // Only relevant for Threema Work users.
         // Only relevant for Threema Work users.
         isWork?: boolean;
         isWork?: boolean;
+
+        // The identity type.
+        // 0 - Regular Threema user.
+        // 1 - Threema Work user.
+        identityType?: number;
     }
     }
 
 
     /**
     /**