General Setup Chat System Estimated reading: 1 minute 273 views In your application, you have two types of connections by socket.io or by rest API If you want to use Socket with API then set true here, or you just need API, then false here. static let socketChat = trueif you are using a connection type socket system you should add a port socket for your serverstatic let socketPort = "449"You can enable to show alert toast when the user is online nowcell?.switchStutes.isHidden = trueSet the variable below to True or False to give the user some features such as chat archive, chat mute mode…etclet notify = chatUser?.mute?.notify let pin = chatUser?.mute?.pin let archive = chatUser?.mute?.archiveOptions chat heads (Bubbles)Chat heads are circle profile icons that poverty another context on the screen when you receive a new message on your app. tap on one, and you can read the full conversation in a pop-up, as well as respond, without leaving any app you’re currently in.