1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TLChat$channel.h
2016-02-25 01:03:51 +01:00

20 lines
693 B
Objective-C

#import "TLChat.h"
//channel flags:# id:int access_hash:long title:string username:flags.2?string photo:ChatPhoto date:int version:int = Chat;
//channel flags:# id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int = Chat
@class TLChatPhoto;
@interface TLChat$channel : TLChat
@property (nonatomic) int32_t flags;
@property (nonatomic) int64_t access_hash;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *username;
@property (nonatomic, strong) TLChatPhoto *photo;
@property (nonatomic) int32_t date;
@property (nonatomic) int32_t version;
@property (nonatomic, strong) NSString *restriction_reason;
@end