/Telegraph/API/SecretLayer23.h

https://gitlab.com/iranjith4/Telegram · C Header · 491 lines · 308 code · 174 blank · 9 comment · 0 complexity · 8473a66f742993ddb108408ba482b28d MD5 · raw file

  1. #import <Foundation/Foundation.h>
  2. /*
  3. * Layer 23
  4. */
  5. @class Secret23_DecryptedMessageAction;
  6. @class Secret23_DecryptedMessageAction_decryptedMessageActionSetMessageTTL;
  7. @class Secret23_DecryptedMessageAction_decryptedMessageActionReadMessages;
  8. @class Secret23_DecryptedMessageAction_decryptedMessageActionDeleteMessages;
  9. @class Secret23_DecryptedMessageAction_decryptedMessageActionScreenshotMessages;
  10. @class Secret23_DecryptedMessageAction_decryptedMessageActionFlushHistory;
  11. @class Secret23_DecryptedMessageAction_decryptedMessageActionNotifyLayer;
  12. @class Secret23_DecryptedMessageAction_decryptedMessageActionTyping;
  13. @class Secret23_DecryptedMessageAction_decryptedMessageActionResend;
  14. @class Secret23_DecryptedMessageAction_decryptedMessageActionRequestKey;
  15. @class Secret23_DecryptedMessageAction_decryptedMessageActionAcceptKey;
  16. @class Secret23_DecryptedMessageAction_decryptedMessageActionCommitKey;
  17. @class Secret23_DecryptedMessageAction_decryptedMessageActionAbortKey;
  18. @class Secret23_DecryptedMessageAction_decryptedMessageActionNoop;
  19. @class Secret23_SendMessageAction;
  20. @class Secret23_SendMessageAction_sendMessageTypingAction;
  21. @class Secret23_SendMessageAction_sendMessageCancelAction;
  22. @class Secret23_SendMessageAction_sendMessageRecordVideoAction;
  23. @class Secret23_SendMessageAction_sendMessageUploadVideoAction;
  24. @class Secret23_SendMessageAction_sendMessageRecordAudioAction;
  25. @class Secret23_SendMessageAction_sendMessageUploadAudioAction;
  26. @class Secret23_SendMessageAction_sendMessageUploadPhotoAction;
  27. @class Secret23_SendMessageAction_sendMessageUploadDocumentAction;
  28. @class Secret23_SendMessageAction_sendMessageGeoLocationAction;
  29. @class Secret23_SendMessageAction_sendMessageChooseContactAction;
  30. @class Secret23_PhotoSize;
  31. @class Secret23_PhotoSize_photoSizeEmpty;
  32. @class Secret23_PhotoSize_photoSize;
  33. @class Secret23_PhotoSize_photoCachedSize;
  34. @class Secret23_FileLocation;
  35. @class Secret23_FileLocation_fileLocationUnavailable;
  36. @class Secret23_FileLocation_fileLocation;
  37. @class Secret23_DecryptedMessageLayer;
  38. @class Secret23_DecryptedMessageLayer_decryptedMessageLayer;
  39. @class Secret23_DecryptedMessage;
  40. @class Secret23_DecryptedMessage_decryptedMessage;
  41. @class Secret23_DecryptedMessage_decryptedMessageService;
  42. @class Secret23_DocumentAttribute;
  43. @class Secret23_DocumentAttribute_documentAttributeImageSize;
  44. @class Secret23_DocumentAttribute_documentAttributeAnimated;
  45. @class Secret23_DocumentAttribute_documentAttributeSticker;
  46. @class Secret23_DocumentAttribute_documentAttributeVideo;
  47. @class Secret23_DocumentAttribute_documentAttributeAudio;
  48. @class Secret23_DocumentAttribute_documentAttributeFilename;
  49. @class Secret23_DecryptedMessageMedia;
  50. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaEmpty;
  51. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaPhoto;
  52. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaGeoPoint;
  53. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaContact;
  54. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaDocument;
  55. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaVideo;
  56. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaAudio;
  57. @class Secret23_DecryptedMessageMedia_decryptedMessageMediaExternalDocument;
  58. @interface Secret23__Environment : NSObject
  59. + (NSData *)serializeObject:(id)object;
  60. + (id)parseObject:(NSData *)data;
  61. @end
  62. @interface Secret23_FunctionContext : NSObject
  63. @property (nonatomic, strong, readonly) NSData *payload;
  64. @property (nonatomic, copy, readonly) id (^responseParser)(NSData *);
  65. @property (nonatomic, strong, readonly) id metadata;
  66. - (instancetype)initWithPayload:(NSData *)payload responseParser:(id (^)(NSData *))responseParser metadata:(id)metadata;
  67. @end
  68. /*
  69. * Types 23
  70. */
  71. @interface Secret23_DecryptedMessageAction : NSObject
  72. + (Secret23_DecryptedMessageAction_decryptedMessageActionSetMessageTTL *)decryptedMessageActionSetMessageTTLWithTtlSeconds:(NSNumber *)ttlSeconds;
  73. + (Secret23_DecryptedMessageAction_decryptedMessageActionReadMessages *)decryptedMessageActionReadMessagesWithRandomIds:(NSArray *)randomIds;
  74. + (Secret23_DecryptedMessageAction_decryptedMessageActionDeleteMessages *)decryptedMessageActionDeleteMessagesWithRandomIds:(NSArray *)randomIds;
  75. + (Secret23_DecryptedMessageAction_decryptedMessageActionScreenshotMessages *)decryptedMessageActionScreenshotMessagesWithRandomIds:(NSArray *)randomIds;
  76. + (Secret23_DecryptedMessageAction_decryptedMessageActionFlushHistory *)decryptedMessageActionFlushHistory;
  77. + (Secret23_DecryptedMessageAction_decryptedMessageActionNotifyLayer *)decryptedMessageActionNotifyLayerWithLayer:(NSNumber *)layer;
  78. + (Secret23_DecryptedMessageAction_decryptedMessageActionTyping *)decryptedMessageActionTypingWithAction:(Secret23_SendMessageAction *)action;
  79. + (Secret23_DecryptedMessageAction_decryptedMessageActionResend *)decryptedMessageActionResendWithStartSeqNo:(NSNumber *)startSeqNo endSeqNo:(NSNumber *)endSeqNo;
  80. + (Secret23_DecryptedMessageAction_decryptedMessageActionRequestKey *)decryptedMessageActionRequestKeyWithExchangeId:(NSNumber *)exchangeId gA:(NSData *)gA;
  81. + (Secret23_DecryptedMessageAction_decryptedMessageActionAcceptKey *)decryptedMessageActionAcceptKeyWithExchangeId:(NSNumber *)exchangeId gB:(NSData *)gB keyFingerprint:(NSNumber *)keyFingerprint;
  82. + (Secret23_DecryptedMessageAction_decryptedMessageActionCommitKey *)decryptedMessageActionCommitKeyWithExchangeId:(NSNumber *)exchangeId keyFingerprint:(NSNumber *)keyFingerprint;
  83. + (Secret23_DecryptedMessageAction_decryptedMessageActionAbortKey *)decryptedMessageActionAbortKeyWithExchangeId:(NSNumber *)exchangeId;
  84. + (Secret23_DecryptedMessageAction_decryptedMessageActionNoop *)decryptedMessageActionNoop;
  85. @end
  86. @interface Secret23_DecryptedMessageAction_decryptedMessageActionSetMessageTTL : Secret23_DecryptedMessageAction
  87. @property (nonatomic, strong, readonly) NSNumber * ttlSeconds;
  88. @end
  89. @interface Secret23_DecryptedMessageAction_decryptedMessageActionReadMessages : Secret23_DecryptedMessageAction
  90. @property (nonatomic, strong, readonly) NSArray * randomIds;
  91. @end
  92. @interface Secret23_DecryptedMessageAction_decryptedMessageActionDeleteMessages : Secret23_DecryptedMessageAction
  93. @property (nonatomic, strong, readonly) NSArray * randomIds;
  94. @end
  95. @interface Secret23_DecryptedMessageAction_decryptedMessageActionScreenshotMessages : Secret23_DecryptedMessageAction
  96. @property (nonatomic, strong, readonly) NSArray * randomIds;
  97. @end
  98. @interface Secret23_DecryptedMessageAction_decryptedMessageActionFlushHistory : Secret23_DecryptedMessageAction
  99. @end
  100. @interface Secret23_DecryptedMessageAction_decryptedMessageActionNotifyLayer : Secret23_DecryptedMessageAction
  101. @property (nonatomic, strong, readonly) NSNumber * layer;
  102. @end
  103. @interface Secret23_DecryptedMessageAction_decryptedMessageActionTyping : Secret23_DecryptedMessageAction
  104. @property (nonatomic, strong, readonly) Secret23_SendMessageAction * action;
  105. @end
  106. @interface Secret23_DecryptedMessageAction_decryptedMessageActionResend : Secret23_DecryptedMessageAction
  107. @property (nonatomic, strong, readonly) NSNumber * startSeqNo;
  108. @property (nonatomic, strong, readonly) NSNumber * endSeqNo;
  109. @end
  110. @interface Secret23_DecryptedMessageAction_decryptedMessageActionRequestKey : Secret23_DecryptedMessageAction
  111. @property (nonatomic, strong, readonly) NSNumber * exchangeId;
  112. @property (nonatomic, strong, readonly) NSData * gA;
  113. @end
  114. @interface Secret23_DecryptedMessageAction_decryptedMessageActionAcceptKey : Secret23_DecryptedMessageAction
  115. @property (nonatomic, strong, readonly) NSNumber * exchangeId;
  116. @property (nonatomic, strong, readonly) NSData * gB;
  117. @property (nonatomic, strong, readonly) NSNumber * keyFingerprint;
  118. @end
  119. @interface Secret23_DecryptedMessageAction_decryptedMessageActionCommitKey : Secret23_DecryptedMessageAction
  120. @property (nonatomic, strong, readonly) NSNumber * exchangeId;
  121. @property (nonatomic, strong, readonly) NSNumber * keyFingerprint;
  122. @end
  123. @interface Secret23_DecryptedMessageAction_decryptedMessageActionAbortKey : Secret23_DecryptedMessageAction
  124. @property (nonatomic, strong, readonly) NSNumber * exchangeId;
  125. @end
  126. @interface Secret23_DecryptedMessageAction_decryptedMessageActionNoop : Secret23_DecryptedMessageAction
  127. @end
  128. @interface Secret23_SendMessageAction : NSObject
  129. + (Secret23_SendMessageAction_sendMessageTypingAction *)sendMessageTypingAction;
  130. + (Secret23_SendMessageAction_sendMessageCancelAction *)sendMessageCancelAction;
  131. + (Secret23_SendMessageAction_sendMessageRecordVideoAction *)sendMessageRecordVideoAction;
  132. + (Secret23_SendMessageAction_sendMessageUploadVideoAction *)sendMessageUploadVideoAction;
  133. + (Secret23_SendMessageAction_sendMessageRecordAudioAction *)sendMessageRecordAudioAction;
  134. + (Secret23_SendMessageAction_sendMessageUploadAudioAction *)sendMessageUploadAudioAction;
  135. + (Secret23_SendMessageAction_sendMessageUploadPhotoAction *)sendMessageUploadPhotoAction;
  136. + (Secret23_SendMessageAction_sendMessageUploadDocumentAction *)sendMessageUploadDocumentAction;
  137. + (Secret23_SendMessageAction_sendMessageGeoLocationAction *)sendMessageGeoLocationAction;
  138. + (Secret23_SendMessageAction_sendMessageChooseContactAction *)sendMessageChooseContactAction;
  139. @end
  140. @interface Secret23_SendMessageAction_sendMessageTypingAction : Secret23_SendMessageAction
  141. @end
  142. @interface Secret23_SendMessageAction_sendMessageCancelAction : Secret23_SendMessageAction
  143. @end
  144. @interface Secret23_SendMessageAction_sendMessageRecordVideoAction : Secret23_SendMessageAction
  145. @end
  146. @interface Secret23_SendMessageAction_sendMessageUploadVideoAction : Secret23_SendMessageAction
  147. @end
  148. @interface Secret23_SendMessageAction_sendMessageRecordAudioAction : Secret23_SendMessageAction
  149. @end
  150. @interface Secret23_SendMessageAction_sendMessageUploadAudioAction : Secret23_SendMessageAction
  151. @end
  152. @interface Secret23_SendMessageAction_sendMessageUploadPhotoAction : Secret23_SendMessageAction
  153. @end
  154. @interface Secret23_SendMessageAction_sendMessageUploadDocumentAction : Secret23_SendMessageAction
  155. @end
  156. @interface Secret23_SendMessageAction_sendMessageGeoLocationAction : Secret23_SendMessageAction
  157. @end
  158. @interface Secret23_SendMessageAction_sendMessageChooseContactAction : Secret23_SendMessageAction
  159. @end
  160. @interface Secret23_PhotoSize : NSObject
  161. @property (nonatomic, strong, readonly) NSString * type;
  162. + (Secret23_PhotoSize_photoSizeEmpty *)photoSizeEmptyWithType:(NSString *)type;
  163. + (Secret23_PhotoSize_photoSize *)photoSizeWithType:(NSString *)type location:(Secret23_FileLocation *)location w:(NSNumber *)w h:(NSNumber *)h size:(NSNumber *)size;
  164. + (Secret23_PhotoSize_photoCachedSize *)photoCachedSizeWithType:(NSString *)type location:(Secret23_FileLocation *)location w:(NSNumber *)w h:(NSNumber *)h bytes:(NSData *)bytes;
  165. @end
  166. @interface Secret23_PhotoSize_photoSizeEmpty : Secret23_PhotoSize
  167. @end
  168. @interface Secret23_PhotoSize_photoSize : Secret23_PhotoSize
  169. @property (nonatomic, strong, readonly) Secret23_FileLocation * location;
  170. @property (nonatomic, strong, readonly) NSNumber * w;
  171. @property (nonatomic, strong, readonly) NSNumber * h;
  172. @property (nonatomic, strong, readonly) NSNumber * size;
  173. @end
  174. @interface Secret23_PhotoSize_photoCachedSize : Secret23_PhotoSize
  175. @property (nonatomic, strong, readonly) Secret23_FileLocation * location;
  176. @property (nonatomic, strong, readonly) NSNumber * w;
  177. @property (nonatomic, strong, readonly) NSNumber * h;
  178. @property (nonatomic, strong, readonly) NSData * bytes;
  179. @end
  180. @interface Secret23_FileLocation : NSObject
  181. @property (nonatomic, strong, readonly) NSNumber * volumeId;
  182. @property (nonatomic, strong, readonly) NSNumber * localId;
  183. @property (nonatomic, strong, readonly) NSNumber * secret;
  184. + (Secret23_FileLocation_fileLocationUnavailable *)fileLocationUnavailableWithVolumeId:(NSNumber *)volumeId localId:(NSNumber *)localId secret:(NSNumber *)secret;
  185. + (Secret23_FileLocation_fileLocation *)fileLocationWithDcId:(NSNumber *)dcId volumeId:(NSNumber *)volumeId localId:(NSNumber *)localId secret:(NSNumber *)secret;
  186. @end
  187. @interface Secret23_FileLocation_fileLocationUnavailable : Secret23_FileLocation
  188. @end
  189. @interface Secret23_FileLocation_fileLocation : Secret23_FileLocation
  190. @property (nonatomic, strong, readonly) NSNumber * dcId;
  191. @end
  192. @interface Secret23_DecryptedMessageLayer : NSObject
  193. @property (nonatomic, strong, readonly) NSData * randomBytes;
  194. @property (nonatomic, strong, readonly) NSNumber * layer;
  195. @property (nonatomic, strong, readonly) NSNumber * inSeqNo;
  196. @property (nonatomic, strong, readonly) NSNumber * outSeqNo;
  197. @property (nonatomic, strong, readonly) Secret23_DecryptedMessage * message;
  198. + (Secret23_DecryptedMessageLayer_decryptedMessageLayer *)decryptedMessageLayerWithRandomBytes:(NSData *)randomBytes layer:(NSNumber *)layer inSeqNo:(NSNumber *)inSeqNo outSeqNo:(NSNumber *)outSeqNo message:(Secret23_DecryptedMessage *)message;
  199. @end
  200. @interface Secret23_DecryptedMessageLayer_decryptedMessageLayer : Secret23_DecryptedMessageLayer
  201. @end
  202. @interface Secret23_DecryptedMessage : NSObject
  203. @property (nonatomic, strong, readonly) NSNumber * randomId;
  204. + (Secret23_DecryptedMessage_decryptedMessage *)decryptedMessageWithRandomId:(NSNumber *)randomId ttl:(NSNumber *)ttl message:(NSString *)message media:(Secret23_DecryptedMessageMedia *)media;
  205. + (Secret23_DecryptedMessage_decryptedMessageService *)decryptedMessageServiceWithRandomId:(NSNumber *)randomId action:(Secret23_DecryptedMessageAction *)action;
  206. @end
  207. @interface Secret23_DecryptedMessage_decryptedMessage : Secret23_DecryptedMessage
  208. @property (nonatomic, strong, readonly) NSNumber * ttl;
  209. @property (nonatomic, strong, readonly) NSString * message;
  210. @property (nonatomic, strong, readonly) Secret23_DecryptedMessageMedia * media;
  211. @end
  212. @interface Secret23_DecryptedMessage_decryptedMessageService : Secret23_DecryptedMessage
  213. @property (nonatomic, strong, readonly) Secret23_DecryptedMessageAction * action;
  214. @end
  215. @interface Secret23_DocumentAttribute : NSObject
  216. + (Secret23_DocumentAttribute_documentAttributeImageSize *)documentAttributeImageSizeWithW:(NSNumber *)w h:(NSNumber *)h;
  217. + (Secret23_DocumentAttribute_documentAttributeAnimated *)documentAttributeAnimated;
  218. + (Secret23_DocumentAttribute_documentAttributeSticker *)documentAttributeSticker;
  219. + (Secret23_DocumentAttribute_documentAttributeVideo *)documentAttributeVideoWithDuration:(NSNumber *)duration w:(NSNumber *)w h:(NSNumber *)h;
  220. + (Secret23_DocumentAttribute_documentAttributeAudio *)documentAttributeAudioWithDuration:(NSNumber *)duration;
  221. + (Secret23_DocumentAttribute_documentAttributeFilename *)documentAttributeFilenameWithFileName:(NSString *)fileName;
  222. @end
  223. @interface Secret23_DocumentAttribute_documentAttributeImageSize : Secret23_DocumentAttribute
  224. @property (nonatomic, strong, readonly) NSNumber * w;
  225. @property (nonatomic, strong, readonly) NSNumber * h;
  226. @end
  227. @interface Secret23_DocumentAttribute_documentAttributeAnimated : Secret23_DocumentAttribute
  228. @end
  229. @interface Secret23_DocumentAttribute_documentAttributeSticker : Secret23_DocumentAttribute
  230. @end
  231. @interface Secret23_DocumentAttribute_documentAttributeVideo : Secret23_DocumentAttribute
  232. @property (nonatomic, strong, readonly) NSNumber * duration;
  233. @property (nonatomic, strong, readonly) NSNumber * w;
  234. @property (nonatomic, strong, readonly) NSNumber * h;
  235. @end
  236. @interface Secret23_DocumentAttribute_documentAttributeAudio : Secret23_DocumentAttribute
  237. @property (nonatomic, strong, readonly) NSNumber * duration;
  238. @end
  239. @interface Secret23_DocumentAttribute_documentAttributeFilename : Secret23_DocumentAttribute
  240. @property (nonatomic, strong, readonly) NSString * fileName;
  241. @end
  242. @interface Secret23_DecryptedMessageMedia : NSObject
  243. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaEmpty *)decryptedMessageMediaEmpty;
  244. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaPhoto *)decryptedMessageMediaPhotoWithThumb:(NSData *)thumb thumbW:(NSNumber *)thumbW thumbH:(NSNumber *)thumbH w:(NSNumber *)w h:(NSNumber *)h size:(NSNumber *)size key:(NSData *)key iv:(NSData *)iv;
  245. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaGeoPoint *)decryptedMessageMediaGeoPointWithLat:(NSNumber *)lat plong:(NSNumber *)plong;
  246. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaContact *)decryptedMessageMediaContactWithPhoneNumber:(NSString *)phoneNumber firstName:(NSString *)firstName lastName:(NSString *)lastName userId:(NSNumber *)userId;
  247. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaDocument *)decryptedMessageMediaDocumentWithThumb:(NSData *)thumb thumbW:(NSNumber *)thumbW thumbH:(NSNumber *)thumbH fileName:(NSString *)fileName mimeType:(NSString *)mimeType size:(NSNumber *)size key:(NSData *)key iv:(NSData *)iv;
  248. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaVideo *)decryptedMessageMediaVideoWithThumb:(NSData *)thumb thumbW:(NSNumber *)thumbW thumbH:(NSNumber *)thumbH duration:(NSNumber *)duration mimeType:(NSString *)mimeType w:(NSNumber *)w h:(NSNumber *)h size:(NSNumber *)size key:(NSData *)key iv:(NSData *)iv;
  249. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaAudio *)decryptedMessageMediaAudioWithDuration:(NSNumber *)duration mimeType:(NSString *)mimeType size:(NSNumber *)size key:(NSData *)key iv:(NSData *)iv;
  250. + (Secret23_DecryptedMessageMedia_decryptedMessageMediaExternalDocument *)decryptedMessageMediaExternalDocumentWithPid:(NSNumber *)pid accessHash:(NSNumber *)accessHash date:(NSNumber *)date mimeType:(NSString *)mimeType size:(NSNumber *)size thumb:(Secret23_PhotoSize *)thumb dcId:(NSNumber *)dcId attributes:(NSArray *)attributes;
  251. @end
  252. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaEmpty : Secret23_DecryptedMessageMedia
  253. @end
  254. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaPhoto : Secret23_DecryptedMessageMedia
  255. @property (nonatomic, strong, readonly) NSData * thumb;
  256. @property (nonatomic, strong, readonly) NSNumber * thumbW;
  257. @property (nonatomic, strong, readonly) NSNumber * thumbH;
  258. @property (nonatomic, strong, readonly) NSNumber * w;
  259. @property (nonatomic, strong, readonly) NSNumber * h;
  260. @property (nonatomic, strong, readonly) NSNumber * size;
  261. @property (nonatomic, strong, readonly) NSData * key;
  262. @property (nonatomic, strong, readonly) NSData * iv;
  263. @end
  264. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaGeoPoint : Secret23_DecryptedMessageMedia
  265. @property (nonatomic, strong, readonly) NSNumber * lat;
  266. @property (nonatomic, strong, readonly) NSNumber * plong;
  267. @end
  268. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaContact : Secret23_DecryptedMessageMedia
  269. @property (nonatomic, strong, readonly) NSString * phoneNumber;
  270. @property (nonatomic, strong, readonly) NSString * firstName;
  271. @property (nonatomic, strong, readonly) NSString * lastName;
  272. @property (nonatomic, strong, readonly) NSNumber * userId;
  273. @end
  274. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaDocument : Secret23_DecryptedMessageMedia
  275. @property (nonatomic, strong, readonly) NSData * thumb;
  276. @property (nonatomic, strong, readonly) NSNumber * thumbW;
  277. @property (nonatomic, strong, readonly) NSNumber * thumbH;
  278. @property (nonatomic, strong, readonly) NSString * fileName;
  279. @property (nonatomic, strong, readonly) NSString * mimeType;
  280. @property (nonatomic, strong, readonly) NSNumber * size;
  281. @property (nonatomic, strong, readonly) NSData * key;
  282. @property (nonatomic, strong, readonly) NSData * iv;
  283. @end
  284. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaVideo : Secret23_DecryptedMessageMedia
  285. @property (nonatomic, strong, readonly) NSData * thumb;
  286. @property (nonatomic, strong, readonly) NSNumber * thumbW;
  287. @property (nonatomic, strong, readonly) NSNumber * thumbH;
  288. @property (nonatomic, strong, readonly) NSNumber * duration;
  289. @property (nonatomic, strong, readonly) NSString * mimeType;
  290. @property (nonatomic, strong, readonly) NSNumber * w;
  291. @property (nonatomic, strong, readonly) NSNumber * h;
  292. @property (nonatomic, strong, readonly) NSNumber * size;
  293. @property (nonatomic, strong, readonly) NSData * key;
  294. @property (nonatomic, strong, readonly) NSData * iv;
  295. @end
  296. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaAudio : Secret23_DecryptedMessageMedia
  297. @property (nonatomic, strong, readonly) NSNumber * duration;
  298. @property (nonatomic, strong, readonly) NSString * mimeType;
  299. @property (nonatomic, strong, readonly) NSNumber * size;
  300. @property (nonatomic, strong, readonly) NSData * key;
  301. @property (nonatomic, strong, readonly) NSData * iv;
  302. @end
  303. @interface Secret23_DecryptedMessageMedia_decryptedMessageMediaExternalDocument : Secret23_DecryptedMessageMedia
  304. @property (nonatomic, strong, readonly) NSNumber * pid;
  305. @property (nonatomic, strong, readonly) NSNumber * accessHash;
  306. @property (nonatomic, strong, readonly) NSNumber * date;
  307. @property (nonatomic, strong, readonly) NSString * mimeType;
  308. @property (nonatomic, strong, readonly) NSNumber * size;
  309. @property (nonatomic, strong, readonly) Secret23_PhotoSize * thumb;
  310. @property (nonatomic, strong, readonly) NSNumber * dcId;
  311. @property (nonatomic, strong, readonly) NSArray * attributes;
  312. @end
  313. /*
  314. * Functions 23
  315. */
  316. @interface Secret23: NSObject
  317. @end