1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Share/TGUserModel.h
2015-10-01 19:19:52 +03:00

20 lines
617 B
Objective-C

#import <Foundation/Foundation.h>
#import "TGFileLocation.h"
@interface TGUserModel : NSObject
@property (nonatomic, readonly) int32_t userId;
@property (nonatomic, readonly) int64_t accessHash;
@property (nonatomic, strong, readonly) NSString *firstName;
@property (nonatomic, strong, readonly) NSString *lastName;
@property (nonatomic, strong, readonly) TGFileLocation *avatarLocation;
- (instancetype)initWithUserId:(int32_t)userId accessHash:(int64_t)accessHash firstName:(NSString *)firstName lastName:(NSString *)lastName avatarLocation:(TGFileLocation *)avatarLocation;
- (NSString *)displayName;
@end