1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGBotInfo.h
2015-10-01 19:19:52 +03:00

16 lines
554 B
Objective-C

#import <Foundation/Foundation.h>
#import "PSCoding.h"
#import "TGBotComandInfo.h"
@interface TGBotInfo : NSObject <PSCoding>
@property (nonatomic, readonly) int32_t version;
@property (nonatomic, strong, readonly) NSString *shortDescription;
@property (nonatomic, strong, readonly) NSString *botDescription;
@property (nonatomic, strong, readonly) NSArray *commandList;
- (instancetype)initWithVersion:(int32_t)version shortDescription:(NSString *)shortDescription botDescription:(NSString *)botDescription commandList:(NSArray *)commandList;
@end