1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Share/TGChannelChatModel.m

19 lines
500 B
Mathematica
Raw Normal View History

2016-02-25 01:03:51 +01:00
#import "TGChannelChatModel.h"
@implementation TGChannelChatModel
- (instancetype)initWithChannelId:(int32_t)channelId title:(NSString *)title avatarLocation:(TGFileLocation *)avatarLocation isGroup:(bool)isGroup accessHash:(int64_t)accessHash
{
self = [super initWithPeerId:TGPeerIdChannelMake(channelId)];
if (self != nil)
{
_title = title;
_avatarLocation = avatarLocation;
_isGroup = isGroup;
_accessHash = accessHash;
}
return self;
}
@end