Explorar el Código

Add identityType field to ContactReceiver type

Danilo Bargen hace 8 años
padre
commit
9eaddd25c3
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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.
         // Only relevant for Threema Work users.
         isWork?: boolean;
+
+        // The identity type.
+        // 0 - Regular Threema user.
+        // 1 - Threema Work user.
+        identityType?: number;
     }
 
     /**