mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/TelegramCore git-subtree-mainline: 971273e8f8f49a47f14b251d2f35e3445a61fc3f git-subtree-split: 9561227540acef69894e6546395ab223a6233600
26 lines
828 B
Objective-C
Executable File
26 lines
828 B
Objective-C
Executable File
//
|
|
// NBPhoneNumber.h
|
|
// libPhoneNumber
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "NBPhoneNumberDefines.h"
|
|
|
|
|
|
@interface NBPhoneNumber : NSObject <NSCopying, NSCoding>
|
|
|
|
// from phonemetadata.pb.js
|
|
/* 1 */ @property (nonatomic, strong, readwrite) NSNumber *countryCode;
|
|
/* 2 */ @property (nonatomic, strong, readwrite) NSNumber *nationalNumber;
|
|
/* 3 */ @property (nonatomic, strong, readwrite) NSString *extension;
|
|
/* 4 */ @property (nonatomic, assign, readwrite) BOOL italianLeadingZero;
|
|
/* 5 */ @property (nonatomic, strong, readwrite) NSString *rawInput;
|
|
/* 6 */ @property (nonatomic, strong, readwrite) NSNumber *countryCodeSource;
|
|
/* 7 */ @property (nonatomic, strong, readwrite) NSString *preferredDomesticCarrierCode;
|
|
|
|
- (void)clearCountryCodeSource;
|
|
- (NBECountryCodeSource)getCountryCodeSourceOrDefault;
|
|
|
|
@end
|