1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Share/TGContactModel.h
2016-02-25 01:03:51 +01:00

25 lines
711 B
Objective-C

#import <Foundation/Foundation.h>
@interface TGPhoneNumberModel : NSObject
@property (nonatomic, strong, readonly) NSString *phoneNumber;
@property (nonatomic, strong, readonly) NSString *displayPhoneNumber;
@property (nonatomic, strong, readonly) NSString *label;
- (instancetype)initWithPhoneNumber:(NSString *)string label:(NSString *)label;
@end
@interface TGContactModel : NSObject
@property (nonatomic, strong, readonly) NSString *firstName;
@property (nonatomic, strong, readonly) NSString *lastName;
@property (nonatomic, strong, readonly) NSArray *phoneNumbers;
- (instancetype)initWithFirstName:(NSString *)firstName lastName:(NSString *)lastName phoneNumbers:(NSArray *)phoneNumbers;
@end