1
0
mirror of https://github.com/danog/Telegram.git synced 2025-01-22 05:52:06 +01:00
Telegram/Telegraph/TGBotSignals.h
2015-10-01 19:19:52 +03:00

18 lines
714 B
Objective-C

#import <Foundation/Foundation.h>
#import <SSignalKit/SSignalKit.h>
#import "TGBotInfo.h"
#import "TGBotReplyMarkup.h"
#import "TL/TLMetaScheme.h"
@interface TGBotSignals : NSObject
+ (TGBotInfo *)botInfoForInfo:(TLBotInfo *)info;
+ (TGBotReplyMarkup *)botReplyMarkupForMarkup:(TLReplyMarkup *)markup userId:(int32_t)userId messageId:(int32_t)messageId hidePreviousMarkup:(bool *)hidePreviousMarkup forceReply:(bool *)forceReply onlyIfRelevantToUser:(bool *)onlyIfRelevantToUser;
+ (SSignal *)botInfoForUserId:(int32_t)userId;
+ (SSignal *)botStartForUserId:(int32_t)userId payload:(NSString *)payload;
+ (SSignal *)botInviteUserId:(int32_t)userId toGroupId:(int32_t)groupId payload:(NSString *)payload;
@end