mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
17 lines
373 B
Objective-C
17 lines
373 B
Objective-C
#import "TGGroupChatModel.h"
|
|
|
|
@implementation TGGroupChatModel
|
|
|
|
- (instancetype)initWithGroupId:(int32_t)groupId title:(NSString *)title avatarLocation:(TGFileLocation *)avatarLocation
|
|
{
|
|
self = [super initWithPeerId:TGPeerIdGroupMake(groupId)];
|
|
if (self != nil)
|
|
{
|
|
_title = title;
|
|
_avatarLocation = avatarLocation;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|