Files
GLEGram-iOS/submodules/MtProtoKit/Sources/MTTransportTransaction.m
T
Leeksov 4647310322 GLEGram 12.5 — Initial public release
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.
2026-04-06 09:48:12 +03:00

24 lines
760 B
Objective-C

#import <MtProtoKit/MTTransportTransaction.h>
@implementation MTTransportTransaction
- (instancetype)initWithPayload:(NSData *)payload completion:(void (^)(bool success, id transactionId))completion
{
return [self initWithPayload:payload completion:completion needsQuickAck:false expectsDataInResponse:false];
}
- (instancetype)initWithPayload:(NSData *)payload completion:(void (^)(bool success, id transactionId))completion needsQuickAck:(bool)needsQuickAck expectsDataInResponse:(bool)expectsDataInResponse
{
self = [super init];
if (self != nil)
{
_payload = payload;
_completion = completion;
_needsQuickAck = needsQuickAck;
_expectsDataInResponse = expectsDataInResponse;
}
return self;
}
@end