mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
29 lines
881 B
Objective-C
29 lines
881 B
Objective-C
//
|
|
// GroupModel.h
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "TSYapDatabaseObject.h"
|
|
|
|
#import "TSPhotoAdapter.h"
|
|
|
|
|
|
@interface TSGroupModel : TSYapDatabaseObject
|
|
|
|
@property (nonatomic, strong) NSMutableArray *groupMemberIds;
|
|
@property (nonatomic, strong) UIImage *groupImage;
|
|
@property (nonatomic, strong) NSString *associatedAttachmentId;
|
|
@property (nonatomic, strong) NSString *groupName;
|
|
@property (nonatomic, strong) NSData* groupId;
|
|
|
|
-(instancetype)initWithTitle:(NSString*)title memberIds:(NSMutableArray*)memberIds image:(UIImage*)image groupId:(NSData *)groupId associatedAttachmentId:(NSString*)attachmentId;
|
|
- (BOOL)isEqual:(id)other;
|
|
- (BOOL)isEqualToGroupModel:(TSGroupModel *)model;
|
|
- (NSString*) getInfoStringAboutUpdateTo:(TSGroupModel*)model;
|
|
|
|
@end
|