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

24 lines
878 B
Objective-C

#import <Foundation/Foundation.h>
#import "PSCoding.h"
#import "TGBotReplyMarkupRow.h"
@interface TGBotReplyMarkup : NSObject <PSCoding>
@property (nonatomic, readonly) int32_t userId;
@property (nonatomic, readonly) int32_t messageId;
@property (nonatomic, strong, readonly) NSArray *rows;
@property (nonatomic) bool matchDefaultHeight;
@property (nonatomic) bool hideKeyboardOnActivation;
@property (nonatomic) bool alreadyActivated;
@property (nonatomic) bool manuallyHidden;
- (instancetype)initWithUserId:(int32_t)userId messageId:(int32_t)messageId rows:(NSArray *)rows matchDefaultHeight:(bool)matchDefaultHeight hideKeyboardOnActivation:(bool)hideKeyboardOnActivation alreadyActivated:(bool)alreadyActivated manuallyHidden:(bool)manuallyHidden;
- (TGBotReplyMarkup *)activatedMarkup;
- (TGBotReplyMarkup *)manuallyHide;
- (TGBotReplyMarkup *)manuallyUnhide;
@end