1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Share/TGGroupChatModel.m

17 lines
373 B
Mathematica
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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