mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
14 lines
478 B
Objective-C
14 lines
478 B
Objective-C
#import "TGBridgeRemoteSignals.h"
|
|
#import "TGBridgeRemoteSubscription.h"
|
|
#import "TGBridgeClient.h"
|
|
|
|
@implementation TGBridgeRemoteSignals
|
|
|
|
+ (SSignal *)openRemoteMessageWithPeerId:(int64_t)peerId messageId:(int32_t)messageId type:(int32_t)type autoPlay:(bool)autoPlay
|
|
{
|
|
autoPlay = false;
|
|
return [[TGBridgeClient instance] requestSignalWithSubscription:[[TGBridgeRemoteSubscription alloc] initWithPeerId:peerId messageId:messageId type:type autoPlay:autoPlay]];
|
|
}
|
|
|
|
@end
|