1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGBotInfo.h

16 lines
554 B
C
Raw Normal View History

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