stores the type of the current chat
const state = $$("ch").getState(); if(state.chatType === "user") { // do smth }
The property is read-only and can be accessed via the state object of the app.