new InterfaceController()

Methods

async

checkFeatureStatus(feature)

Check if Feature is enabled

Parameter

Name Type Optional Description

feature

string

 

status to check

async

closeRightDrawer()

Closes the Right Drawer

async

disableFeatures(features)

Disable Features

Parameter

Name Type Optional Description

features

Array of string

 

to be disabled

async

enableFeatures(features)

Enable Features

Parameter

Name Type Optional Description

features

Array of string

 

to be enabled

async

getFeatures()

Get all Features

async

openChatDrawer(chatId)

Opens the Chat Drawer

Parameter

Name Type Optional Description

chatId

string

 

ID of the chat drawer that will be opened

async

openChatSearch(chatId)

Opens the Chat Search

Parameter

Name Type Optional Description

chatId

string

 

ID of the chat search that will be opened

async

openChatWindow(chatId)

Opens the Chat Window

Parameter

Name Type Optional Description

chatId

string

 

ID of the chat window that will be opened

async

openChatWindowAt(msgId)

Opens or Scrolls the Chat Window to the position of the message

Parameter

Name Type Optional Description

msgId

string

 

ID of the message that will be scrolled to

async

openMessageDrawer(msgId)

Opens the Message Drawer

Parameter

Name Type Optional Description

msgId

string

 

ID of the message drawer that will be opened