mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
19 lines
500 B
Mathematica
19 lines
500 B
Mathematica
|
#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
|