mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-04 11:50:38 +00:00

git-subtree-dir: submodules/TelegramCore git-subtree-mainline: 971273e8f8f49a47f14b251d2f35e3445a61fc3f git-subtree-split: 9561227540acef69894e6546395ab223a6233600
15 lines
393 B
Swift
15 lines
393 B
Swift
|
|
public struct PhoneNumberWithLabel: Equatable {
|
|
public let label: String
|
|
public let number: String
|
|
|
|
public init(label: String, number: String) {
|
|
self.label = label
|
|
self.number = number
|
|
}
|
|
|
|
public static func ==(lhs: PhoneNumberWithLabel, rhs: PhoneNumberWithLabel) -> Bool {
|
|
return lhs.label == rhs.label && lhs.number == rhs.number
|
|
}
|
|
}
|