mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-25 04:16:58 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
25 lines
1005 B
Objective-C
25 lines
1005 B
Objective-C
#import "TGBridgeChatMessageListSignals.h"
|
|
|
|
#import <WatchCommonWatch/WatchCommonWatch.h>
|
|
|
|
#import "TGBridgeClient.h"
|
|
|
|
@implementation TGBridgeChatMessageListSignals
|
|
|
|
+ (SSignal *)chatMessageListViewWithPeerId:(int64_t)peerId atMessageId:(int32_t)messageId rangeMessageCount:(NSUInteger)rangeMessageCount
|
|
{
|
|
return [[TGBridgeClient instance] requestSignalWithSubscription:[[TGBridgeChatMessageListSubscription alloc] initWithPeerId:peerId atMessageId:messageId rangeMessageCount:rangeMessageCount]];
|
|
}
|
|
|
|
+ (SSignal *)chatMessageWithPeerId:(int64_t)peerId messageId:(int32_t)messageId
|
|
{
|
|
return [[TGBridgeClient instance] requestSignalWithSubscription:[[TGBridgeChatMessageSubscription alloc] initWithPeerId:peerId messageId:messageId]];
|
|
}
|
|
|
|
+ (SSignal *)readChatMessageListWithPeerId:(int64_t)peerId messageId:(int32_t)messageId
|
|
{
|
|
return [[TGBridgeClient instance] requestSignalWithSubscription:[[TGBridgeReadChatMessageListSubscription alloc] initWithPeerId:peerId messageId:messageId]];
|
|
}
|
|
|
|
@end
|