Home telegram-mt transport transaction
Post
Cancel

telegram-mt transport transaction

MTTransportTransaction

class MTTransportTransaction

@property (nonatomic, copy, readonly) void (^completion)(bool success, id transactionId);
@property (nonatomic, strong, readonly) NSData *payload;
@property (nonatomic, readonly) bool expectsDataInResponse;
@property (nonatomic, readonly) bool needsQuickAck; 

- (instancetype)initWithPayload:(NSData *)payload completion:(void (^)(bool success, id transactionId))completion;
- (instancetype)initWithPayload:(NSData *)payload completion:(void (^)(bool success, id transactionId))completion needsQuickAck:(bool)needsQuickAck expectsDataInResponse:(bool)expectsDataInResponse;
This post is licensed under CC BY 4.0 by the author.