Instance Method

addChatView(to:view:)

This method addChatView is use to embed the chat view into your given view. If you prefers to have a full screen of chat view that comes with navigation, use the pushChatView method instead.

Declaration

@MainActor func addChatView(to vc: UIViewController, view: UIView)