Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active July 2, 2020 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardoso/bdb9ecc570e966c700b3943e210b3273 to your computer and use it in GitHub Desktop.
Save cardoso/bdb9ecc570e966c700b3943e210b3273 to your computer and use it in GitHub Desktop.
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