mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
17 lines
373 B
Mathematica
17 lines
373 B
Mathematica
|
#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
|