mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-13 14:59:23 +00:00
62 lines
1.5 KiB
Objective-C
62 lines
1.5 KiB
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import <LegacyComponents/PSCoding.h>
|
|
|
|
@interface TGBotReplyMarkupButtonActionUrl : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *url;
|
|
|
|
- (instancetype)initWithUrl:(NSString *)url;
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionCallback : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSData *data;
|
|
|
|
- (instancetype)initWithData:(NSData *)data;
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionRequestPhone : NSObject <PSCoding, NSCoding>
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionRequestLocation : NSObject <PSCoding, NSCoding>
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionSwitchInline : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *query;
|
|
@property (nonatomic, readonly) bool samePeer;
|
|
|
|
- (instancetype)initWithQuery:(NSString *)query samePeer:(bool)samePeer;
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionGame : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *text;
|
|
|
|
- (instancetype)initWithText:(NSString *)text;
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButtonActionPurchase : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *text;
|
|
|
|
- (instancetype)initWithText:(NSString *)text;
|
|
|
|
@end
|
|
|
|
@interface TGBotReplyMarkupButton : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *text;
|
|
@property (nonatomic, strong, readonly) id<PSCoding, NSCoding> action;
|
|
|
|
- (instancetype)initWithText:(NSString *)text action:(id<PSCoding, NSCoding>)action;
|
|
|
|
@end
|