Swiftgram/submodules/TelegramCore/TelegramCore/SecureIdPhoneValue.swift
Peter 5c1613d104 Add 'submodules/TelegramCore/' from commit '9561227540acef69894e6546395ab223a6233600'
git-subtree-dir: submodules/TelegramCore
git-subtree-mainline: 971273e8f8f49a47f14b251d2f35e3445a61fc3f
git-subtree-split: 9561227540acef69894e6546395ab223a6233600
2019-06-11 18:59:08 +01:00

17 lines
355 B
Swift

import Foundation
public struct SecureIdPhoneValue: Equatable {
public let phone: String
public init(phone: String) {
self.phone = phone
}
public static func ==(lhs: SecureIdPhoneValue, rhs: SecureIdPhoneValue) -> Bool {
if lhs.phone != rhs.phone {
return false
}
return true
}
}