chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// TLChatUserProtocol.h
|
||||
// TLChat
|
||||
//
|
||||
// Created by 李伯坤 on 16/5/6.
|
||||
// Copyright © 2016年 李伯坤. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
typedef NS_ENUM(NSInteger, TLChatUserType) {
|
||||
TLChatUserTypeUser = 0,
|
||||
TLChatUserTypeGroup,
|
||||
};
|
||||
|
||||
|
||||
@protocol TLChatUserProtocol <NSObject>
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *chat_userID;
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *chat_username;
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *chat_avatarURL;
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *chat_avatarPath;
|
||||
|
||||
@property (nonatomic, assign, readonly) NSInteger chat_userType;
|
||||
|
||||
@optional;
|
||||
- (id)groupMemberByID:(NSString *)userID;
|
||||
|
||||
- (NSArray *)groupMembers;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user