new InterfaceController()

Methods

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