Skip to content
Snippets Groups Projects

Messenger example - send auth request

Merged Dariusz Rybicki requested to merge feature/messenger-example-contact-request into development
2 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline
Files
2
 
import XXClient
 
 
extension Contact {
 
public var username: String? {
 
try? getFacts().first(where: { $0.type == 0 })?.fact
 
}
 
 
public var email: String? {
 
try? getFacts().first(where: { $0.type == 1 })?.fact
 
}
 
 
public var phone: String? {
 
try? getFacts().first(where: { $0.type == 2 })?.fact
 
}
 
}
Loading