Skip to content

Instantly share code, notes, and snippets.

@cardoso cardoso/ConsultViewController.swift Secret

Last active Jul 2, 2020
Embed
What would you like to do?
import StreamChat
import StreamChatClient
class ConsultViewController: ChatViewController {
let patient = User(id: "Patient")
let doctor = User(id: "Doctor")
lazy var channel = Client.shared.channel(members: [patient, doctor])
override func viewDidLoad() {
super.viewDidLoad()
setupViews()
setupHandlers()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.