1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Watch/Bridge/TGBridgeSendMessageSignals.h

17 lines
630 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <SSignalKit/SSignalKit.h>
#import "TGBridgeDocumentMediaAttachment.h"
#import "TGBridgeLocationMediaAttachment.h"
@interface TGBridgeSendMessageSignals : NSObject
+ (SSignal *)sendMessageWithPeerId:(int64_t)peerId text:(NSString *)text replyToMid:(int32_t)replyToMid;
+ (SSignal *)sendMessageWithPeerId:(int64_t)peerId location:(TGBridgeLocationMediaAttachment *)location replyToMid:(int32_t)replyToMid;
+ (SSignal *)sendMessageWithPeerId:(int64_t)peerId sticker:(TGBridgeDocumentMediaAttachment *)sticker replyToMid:(int32_t)replyToMid;
+ (SSignal *)forwardMessageWithPeerId:(int64_t)peerId mid:(int32_t)mid;
@end