Class: InterfaceController

InterfaceController()

Interface Controller

Constructor

new InterfaceController()

Source:

Methods

(async) checkFeatureStatus(feature)

Check if Feature is enabled

Parameters:
Name Type Description
feature string

status to check

Source:

(async) closeRightDrawer()

Closes the Right Drawer

Source:

(async) disableFeatures(features)

Disable Features

Parameters:
Name Type Description
features Array.<string>

to be disabled

Source:

(async) enableFeatures(features)

Enable Features

Parameters:
Name Type Description
features Array.<string>

to be enabled

Source:

(async) getFeatures()

Get all Features

Source:

(async) openChatDrawer(chatId)

Opens the Chat Drawer

Parameters:
Name Type Description
chatId string

ID of the chat drawer that will be opened

Source:

(async) openChatSearch(chatId)

Opens the Chat Search

Parameters:
Name Type Description
chatId string

ID of the chat search that will be opened

Source:

(async) openChatWindow(chatId)

Opens the Chat Window

Parameters:
Name Type Description
chatId string

ID of the chat window that will be opened

Source:

(async) openChatWindowAt(msgId)

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

Parameters:
Name Type Description
msgId string

ID of the message that will be scrolled to

Source:

(async) openMessageDrawer(msgId)

Opens the Message Drawer

Parameters:
Name Type Description
msgId string

ID of the message drawer that will be opened

Source: