forked from peter-iakovlev/Telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApiLayer48.h
5250 lines (3255 loc) · 193 KB
/
ApiLayer48.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#import <Foundation/Foundation.h>
/*
* Layer 48
*/
@class Api48_messages_StickerSet;
@class Api48_messages_StickerSet_messages_stickerSet;
@class Api48_InputGeoPlaceName;
@class Api48_InputGeoPlaceName_inputGeoPlaceName;
@class Api48_InputGeoPoint;
@class Api48_InputGeoPoint_inputGeoPointEmpty;
@class Api48_InputGeoPoint_inputGeoPoint;
@class Api48_messages_Chat;
@class Api48_messages_Chat_messages_chat;
@class Api48_ChatFull;
@class Api48_ChatFull_chatFull;
@class Api48_ChatFull_channelFull;
@class Api48_ChatParticipant;
@class Api48_ChatParticipant_chatParticipant;
@class Api48_ChatParticipant_chatParticipantCreator;
@class Api48_ChatParticipant_chatParticipantAdmin;
@class Api48_updates_Difference;
@class Api48_updates_Difference_updates_differenceEmpty;
@class Api48_updates_Difference_updates_difference;
@class Api48_updates_Difference_updates_differenceSlice;
@class Api48_SchemeMethod;
@class Api48_SchemeMethod_schemeMethod;
@class Api48_InputPhotoCrop;
@class Api48_InputPhotoCrop_inputPhotoCropAuto;
@class Api48_InputPhotoCrop_inputPhotoCrop;
@class Api48_Photo;
@class Api48_Photo_photoEmpty;
@class Api48_Photo_wallPhoto;
@class Api48_Photo_photo;
@class Api48_Chat;
@class Api48_Chat_chatEmpty;
@class Api48_Chat_channelForbidden;
@class Api48_Chat_chatForbidden;
@class Api48_Chat_chat;
@class Api48_Chat_channel;
@class Api48_ChatInvite;
@class Api48_ChatInvite_chatInviteAlready;
@class Api48_ChatInvite_chatInvite;
@class Api48_contacts_Requests;
@class Api48_contacts_Requests_contacts_requests;
@class Api48_contacts_Requests_contacts_requestsSlice;
@class Api48_channels_ChannelParticipants;
@class Api48_channels_ChannelParticipants_channels_channelParticipants;
@class Api48_GeoPlaceName;
@class Api48_GeoPlaceName_geoPlaceName;
@class Api48_UserFull;
@class Api48_UserFull_userFull;
@class Api48_InputPeerNotifyEvents;
@class Api48_InputPeerNotifyEvents_inputPeerNotifyEventsEmpty;
@class Api48_InputPeerNotifyEvents_inputPeerNotifyEventsAll;
@class Api48_InputChannel;
@class Api48_InputChannel_inputChannelEmpty;
@class Api48_InputChannel_inputChannel;
@class Api48_DcOption;
@class Api48_DcOption_dcOption;
@class Api48_MessageGroup;
@class Api48_MessageGroup_messageGroup;
@class Api48_account_PasswordSettings;
@class Api48_account_PasswordSettings_account_passwordSettings;
@class Api48_help_AppUpdate;
@class Api48_help_AppUpdate_help_appUpdate;
@class Api48_help_AppUpdate_help_noAppUpdate;
@class Api48_channels_ChannelParticipant;
@class Api48_channels_ChannelParticipant_channels_channelParticipant;
@class Api48_contacts_SentLink;
@class Api48_contacts_SentLink_contacts_sentLink;
@class Api48_ChannelParticipantRole;
@class Api48_ChannelParticipantRole_channelRoleEmpty;
@class Api48_ChannelParticipantRole_channelRoleModerator;
@class Api48_ChannelParticipantRole_channelRoleEditor;
@class Api48_storage_FileType;
@class Api48_storage_FileType_storage_fileUnknown;
@class Api48_storage_FileType_storage_fileJpeg;
@class Api48_storage_FileType_storage_fileGif;
@class Api48_storage_FileType_storage_filePng;
@class Api48_storage_FileType_storage_filePdf;
@class Api48_storage_FileType_storage_fileMp3;
@class Api48_storage_FileType_storage_fileMov;
@class Api48_storage_FileType_storage_filePartial;
@class Api48_storage_FileType_storage_fileMp4;
@class Api48_storage_FileType_storage_fileWebp;
@class Api48_InputEncryptedFile;
@class Api48_InputEncryptedFile_inputEncryptedFileEmpty;
@class Api48_InputEncryptedFile_inputEncryptedFileUploaded;
@class Api48_InputEncryptedFile_inputEncryptedFile;
@class Api48_InputEncryptedFile_inputEncryptedFileBigUploaded;
@class Api48_messages_SentEncryptedMessage;
@class Api48_messages_SentEncryptedMessage_messages_sentEncryptedMessage;
@class Api48_messages_SentEncryptedMessage_messages_sentEncryptedFile;
@class Api48_ExportedMessageLink;
@class Api48_ExportedMessageLink_exportedMessageLink;
@class Api48_auth_Authorization;
@class Api48_auth_Authorization_auth_authorization;
@class Api48_InputFile;
@class Api48_InputFile_inputFile;
@class Api48_InputFile_inputFileBig;
@class Api48_Peer;
@class Api48_Peer_peerUser;
@class Api48_Peer_peerChat;
@class Api48_Peer_peerChannel;
@class Api48_UserStatus;
@class Api48_UserStatus_userStatusEmpty;
@class Api48_UserStatus_userStatusOnline;
@class Api48_UserStatus_userStatusOffline;
@class Api48_UserStatus_userStatusRecently;
@class Api48_UserStatus_userStatusLastWeek;
@class Api48_UserStatus_userStatusLastMonth;
@class Api48_Dialog;
@class Api48_Dialog_dialog;
@class Api48_Dialog_dialogChannel;
@class Api48_help_AppChangelog;
@class Api48_help_AppChangelog_help_appChangelogEmpty;
@class Api48_help_AppChangelog_help_appChangelog;
@class Api48_SendMessageAction;
@class Api48_SendMessageAction_sendMessageTypingAction;
@class Api48_SendMessageAction_sendMessageCancelAction;
@class Api48_SendMessageAction_sendMessageRecordVideoAction;
@class Api48_SendMessageAction_sendMessageRecordAudioAction;
@class Api48_SendMessageAction_sendMessageGeoLocationAction;
@class Api48_SendMessageAction_sendMessageChooseContactAction;
@class Api48_SendMessageAction_sendMessageUploadVideoAction;
@class Api48_SendMessageAction_sendMessageUploadAudioAction;
@class Api48_SendMessageAction_sendMessageUploadDocumentAction;
@class Api48_SendMessageAction_sendMessageUploadPhotoAction;
@class Api48_PrivacyKey;
@class Api48_PrivacyKey_privacyKeyStatusTimestamp;
@class Api48_PrivacyKey_privacyKeyChatInvite;
@class Api48_Update;
@class Api48_Update_updateMessageID;
@class Api48_Update_updateRestoreMessages;
@class Api48_Update_updateChatParticipants;
@class Api48_Update_updateUserStatus;
@class Api48_Update_updateContactRegistered;
@class Api48_Update_updateContactLocated;
@class Api48_Update_updateActivation;
@class Api48_Update_updateNewAuthorization;
@class Api48_Update_updatePhoneCallRequested;
@class Api48_Update_updatePhoneCallConfirmed;
@class Api48_Update_updatePhoneCallDeclined;
@class Api48_Update_updateUserPhoto;
@class Api48_Update_updateNewEncryptedMessage;
@class Api48_Update_updateEncryptedChatTyping;
@class Api48_Update_updateEncryption;
@class Api48_Update_updateEncryptedMessagesRead;
@class Api48_Update_updateChatParticipantDelete;
@class Api48_Update_updateDcOptions;
@class Api48_Update_updateUserBlocked;
@class Api48_Update_updateNotifySettings;
@class Api48_Update_updateUserTyping;
@class Api48_Update_updateChatUserTyping;
@class Api48_Update_updateUserName;
@class Api48_Update_updateServiceNotification;
@class Api48_Update_updatePrivacy;
@class Api48_Update_updateUserPhone;
@class Api48_Update_updateNewMessage;
@class Api48_Update_updateReadMessages;
@class Api48_Update_updateDeleteMessages;
@class Api48_Update_updateReadHistoryInbox;
@class Api48_Update_updateReadHistoryOutbox;
@class Api48_Update_updateContactLink;
@class Api48_Update_updateReadMessagesContents;
@class Api48_Update_updateChatParticipantAdd;
@class Api48_Update_updateWebPage;
@class Api48_Update_updateChannelTooLong;
@class Api48_Update_updateChannel;
@class Api48_Update_updateChannelGroup;
@class Api48_Update_updateNewChannelMessage;
@class Api48_Update_updateReadChannelInbox;
@class Api48_Update_updateDeleteChannelMessages;
@class Api48_Update_updateChannelMessageViews;
@class Api48_Update_updateChatAdmins;
@class Api48_Update_updateChatParticipantAdmin;
@class Api48_Update_updateNewStickerSet;
@class Api48_Update_updateStickerSetsOrder;
@class Api48_Update_updateStickerSets;
@class Api48_Update_updateSavedGifs;
@class Api48_Update_updateBotInlineQuery;
@class Api48_Update_updateEditChannelMessage;
@class Api48_ChannelParticipant;
@class Api48_ChannelParticipant_channelParticipant;
@class Api48_ChannelParticipant_channelParticipantSelf;
@class Api48_ChannelParticipant_channelParticipantModerator;
@class Api48_ChannelParticipant_channelParticipantEditor;
@class Api48_ChannelParticipant_channelParticipantKicked;
@class Api48_ChannelParticipant_channelParticipantCreator;
@class Api48_contacts_Blocked;
@class Api48_contacts_Blocked_contacts_blocked;
@class Api48_contacts_Blocked_contacts_blockedSlice;
@class Api48_Error;
@class Api48_Error_error;
@class Api48_Error_richError;
@class Api48_ContactLocated;
@class Api48_ContactLocated_contactLocated;
@class Api48_ContactLocated_contactLocatedPreview;
@class Api48_KeyboardButton;
@class Api48_KeyboardButton_keyboardButton;
@class Api48_ContactStatus;
@class Api48_ContactStatus_contactStatus;
@class Api48_PhotoSize;
@class Api48_PhotoSize_photoSizeEmpty;
@class Api48_PhotoSize_photoSize;
@class Api48_PhotoSize_photoCachedSize;
@class Api48_messages_Stickers;
@class Api48_messages_Stickers_messages_stickersNotModified;
@class Api48_messages_Stickers_messages_stickers;
@class Api48_GlobalPrivacySettings;
@class Api48_GlobalPrivacySettings_globalPrivacySettings;
@class Api48_messages_FoundGifs;
@class Api48_messages_FoundGifs_messages_foundGifs;
@class Api48_FileLocation;
@class Api48_FileLocation_fileLocationUnavailable;
@class Api48_FileLocation_fileLocation;
@class Api48_InputNotifyPeer;
@class Api48_InputNotifyPeer_inputNotifyPeer;
@class Api48_InputNotifyPeer_inputNotifyUsers;
@class Api48_InputNotifyPeer_inputNotifyChats;
@class Api48_InputNotifyPeer_inputNotifyAll;
@class Api48_EncryptedMessage;
@class Api48_EncryptedMessage_encryptedMessage;
@class Api48_EncryptedMessage_encryptedMessageService;
@class Api48_ChannelParticipantsFilter;
@class Api48_ChannelParticipantsFilter_channelParticipantsRecent;
@class Api48_ChannelParticipantsFilter_channelParticipantsAdmins;
@class Api48_ChannelParticipantsFilter_channelParticipantsKicked;
@class Api48_ChannelParticipantsFilter_channelParticipantsBots;
@class Api48_WebPage;
@class Api48_WebPage_webPageEmpty;
@class Api48_WebPage_webPagePending;
@class Api48_WebPage_webPage;
@class Api48_InputBotInlineMessage;
@class Api48_InputBotInlineMessage_inputBotInlineMessageMediaAuto;
@class Api48_InputBotInlineMessage_inputBotInlineMessageText;
@class Api48_KeyboardButtonRow;
@class Api48_KeyboardButtonRow_keyboardButtonRow;
@class Api48_StickerSet;
@class Api48_StickerSet_stickerSet;
@class Api48_photos_Photo;
@class Api48_photos_Photo_photos_photo;
@class Api48_InputContact;
@class Api48_InputContact_inputPhoneContact;
@class Api48_contacts_Contacts;
@class Api48_contacts_Contacts_contacts_contacts;
@class Api48_contacts_Contacts_contacts_contactsNotModified;
@class Api48_ChannelMessagesFilter;
@class Api48_ChannelMessagesFilter_channelMessagesFilterEmpty;
@class Api48_ChannelMessagesFilter_channelMessagesFilter;
@class Api48_ChannelMessagesFilter_channelMessagesFilterCollapsed;
@class Api48_auth_PasswordRecovery;
@class Api48_auth_PasswordRecovery_auth_passwordRecovery;
@class Api48_messages_BotResults;
@class Api48_messages_BotResults_messages_botResults;
@class Api48_InputDocument;
@class Api48_InputDocument_inputDocumentEmpty;
@class Api48_InputDocument_inputDocument;
@class Api48_contacts_ResolvedPeer;
@class Api48_contacts_ResolvedPeer_contacts_resolvedPeer;
@class Api48_InputMedia;
@class Api48_InputMedia_inputMediaEmpty;
@class Api48_InputMedia_inputMediaGeoPoint;
@class Api48_InputMedia_inputMediaContact;
@class Api48_InputMedia_inputMediaUploadedPhoto;
@class Api48_InputMedia_inputMediaPhoto;
@class Api48_InputMedia_inputMediaVenue;
@class Api48_InputMedia_inputMediaGifExternal;
@class Api48_InputMedia_inputMediaUploadedDocument;
@class Api48_InputMedia_inputMediaUploadedThumbDocument;
@class Api48_InputMedia_inputMediaDocument;
@class Api48_InputPeer;
@class Api48_InputPeer_inputPeerEmpty;
@class Api48_InputPeer_inputPeerSelf;
@class Api48_InputPeer_inputPeerChat;
@class Api48_InputPeer_inputPeerUser;
@class Api48_InputPeer_inputPeerChannel;
@class Api48_Contact;
@class Api48_Contact_contact;
@class Api48_BotInlineResult;
@class Api48_BotInlineResult_botInlineMediaResultDocument;
@class Api48_BotInlineResult_botInlineMediaResultPhoto;
@class Api48_BotInlineResult_botInlineResult;
@class Api48_messages_Chats;
@class Api48_messages_Chats_messages_chats;
@class Api48_contacts_MyLink;
@class Api48_contacts_MyLink_contacts_myLinkEmpty;
@class Api48_contacts_MyLink_contacts_myLinkRequested;
@class Api48_contacts_MyLink_contacts_myLinkContact;
@class Api48_InputPrivacyRule;
@class Api48_InputPrivacyRule_inputPrivacyValueAllowContacts;
@class Api48_InputPrivacyRule_inputPrivacyValueAllowAll;
@class Api48_InputPrivacyRule_inputPrivacyValueAllowUsers;
@class Api48_InputPrivacyRule_inputPrivacyValueDisallowContacts;
@class Api48_InputPrivacyRule_inputPrivacyValueDisallowAll;
@class Api48_InputPrivacyRule_inputPrivacyValueDisallowUsers;
@class Api48_messages_DhConfig;
@class Api48_messages_DhConfig_messages_dhConfigNotModified;
@class Api48_messages_DhConfig_messages_dhConfig;
@class Api48_auth_ExportedAuthorization;
@class Api48_auth_ExportedAuthorization_auth_exportedAuthorization;
@class Api48_ContactRequest;
@class Api48_ContactRequest_contactRequest;
@class Api48_messages_AffectedHistory;
@class Api48_messages_AffectedHistory_messages_affectedHistory;
@class Api48_account_PasswordInputSettings;
@class Api48_account_PasswordInputSettings_account_passwordInputSettings;
@class Api48_channels_MessageEditData;
@class Api48_channels_MessageEditData_channels_messageEditData;
@class Api48_messages_ChatFull;
@class Api48_messages_ChatFull_messages_chatFull;
@class Api48_contacts_ForeignLink;
@class Api48_contacts_ForeignLink_contacts_foreignLinkUnknown;
@class Api48_contacts_ForeignLink_contacts_foreignLinkRequested;
@class Api48_contacts_ForeignLink_contacts_foreignLinkMutual;
@class Api48_InputEncryptedChat;
@class Api48_InputEncryptedChat_inputEncryptedChat;
@class Api48_DisabledFeature;
@class Api48_DisabledFeature_disabledFeature;
@class Api48_EncryptedFile;
@class Api48_EncryptedFile_encryptedFileEmpty;
@class Api48_EncryptedFile_encryptedFile;
@class Api48_NotifyPeer;
@class Api48_NotifyPeer_notifyPeer;
@class Api48_NotifyPeer_notifyUsers;
@class Api48_NotifyPeer_notifyChats;
@class Api48_NotifyPeer_notifyAll;
@class Api48_InputPrivacyKey;
@class Api48_InputPrivacyKey_inputPrivacyKeyStatusTimestamp;
@class Api48_InputPrivacyKey_inputPrivacyKeyChatInvite;
@class Api48_ReplyMarkup;
@class Api48_ReplyMarkup_replyKeyboardHide;
@class Api48_ReplyMarkup_replyKeyboardForceReply;
@class Api48_ReplyMarkup_replyKeyboardMarkup;
@class Api48_contacts_Link;
@class Api48_contacts_Link_contacts_link;
@class Api48_ContactBlocked;
@class Api48_ContactBlocked_contactBlocked;
@class Api48_auth_CheckedPhone;
@class Api48_auth_CheckedPhone_auth_checkedPhone;
@class Api48_InputUser;
@class Api48_InputUser_inputUserEmpty;
@class Api48_InputUser_inputUserSelf;
@class Api48_InputUser_inputUser;
@class Api48_SchemeType;
@class Api48_SchemeType_schemeType;
@class Api48_upload_File;
@class Api48_upload_File_upload_file;
@class Api48_MessageRange;
@class Api48_MessageRange_messageRange;
@class Api48_Config;
@class Api48_Config_config;
@class Api48_BotCommand;
@class Api48_BotCommand_botCommand;
@class Api48_contacts_Located;
@class Api48_contacts_Located_contacts_located;
@class Api48_messages_AffectedMessages;
@class Api48_messages_AffectedMessages_messages_affectedMessages;
@class Api48_messages_SavedGifs;
@class Api48_messages_SavedGifs_messages_savedGifsNotModified;
@class Api48_messages_SavedGifs_messages_savedGifs;
@class Api48_ResponseIndirect;
@class Api48_ResponseIndirect_responseIndirect;
@class Api48_WallPaper;
@class Api48_WallPaper_wallPaper;
@class Api48_WallPaper_wallPaperSolid;
@class Api48_messages_Messages;
@class Api48_messages_Messages_messages_messages;
@class Api48_messages_Messages_messages_messagesSlice;
@class Api48_messages_Messages_messages_channelMessages;
@class Api48_auth_SentCode;
@class Api48_auth_SentCode_auth_sentCodePreview;
@class Api48_auth_SentCode_auth_sentPassPhrase;
@class Api48_auth_SentCode_auth_sentCode;
@class Api48_auth_SentCode_auth_sentAppCode;
@class Api48_phone_DhConfig;
@class Api48_phone_DhConfig_phone_dhConfig;
@class Api48_InputChatPhoto;
@class Api48_InputChatPhoto_inputChatPhotoEmpty;
@class Api48_InputChatPhoto_inputChatUploadedPhoto;
@class Api48_InputChatPhoto_inputChatPhoto;
@class Api48_Updates;
@class Api48_Updates_updatesTooLong;
@class Api48_Updates_updateShort;
@class Api48_Updates_updatesCombined;
@class Api48_Updates_updates;
@class Api48_Updates_updateShortSentMessage;
@class Api48_Updates_updateShortMessage;
@class Api48_Updates_updateShortChatMessage;
@class Api48_InitConnection;
@class Api48_InitConnection_pinitConnection;
@class Api48_MessageMedia;
@class Api48_MessageMedia_messageMediaEmpty;
@class Api48_MessageMedia_messageMediaGeo;
@class Api48_MessageMedia_messageMediaContact;
@class Api48_MessageMedia_messageMediaUnsupported;
@class Api48_MessageMedia_messageMediaWebPage;
@class Api48_MessageMedia_messageMediaPhoto;
@class Api48_MessageMedia_messageMediaVenue;
@class Api48_MessageMedia_messageMediaDocument;
@class Api48_Null;
@class Api48_Null_null;
@class Api48_DocumentAttribute;
@class Api48_DocumentAttribute_documentAttributeImageSize;
@class Api48_DocumentAttribute_documentAttributeAnimated;
@class Api48_DocumentAttribute_documentAttributeVideo;
@class Api48_DocumentAttribute_documentAttributeFilename;
@class Api48_DocumentAttribute_documentAttributeSticker;
@class Api48_DocumentAttribute_documentAttributeAudio;
@class Api48_account_Authorizations;
@class Api48_account_Authorizations_account_authorizations;
@class Api48_ChatPhoto;
@class Api48_ChatPhoto_chatPhotoEmpty;
@class Api48_ChatPhoto_chatPhoto;
@class Api48_InputStickerSet;
@class Api48_InputStickerSet_inputStickerSetEmpty;
@class Api48_InputStickerSet_inputStickerSetID;
@class Api48_InputStickerSet_inputStickerSetShortName;
@class Api48_BotInfo;
@class Api48_BotInfo_botInfoEmpty;
@class Api48_BotInfo_botInfo;
@class Api48_contacts_Suggested;
@class Api48_contacts_Suggested_contacts_suggested;
@class Api48_updates_State;
@class Api48_updates_State_updates_state;
@class Api48_FoundGif;
@class Api48_FoundGif_foundGif;
@class Api48_FoundGif_foundGifCached;
@class Api48_User;
@class Api48_User_userEmpty;
@class Api48_User_user;
@class Api48_Message;
@class Api48_Message_messageEmpty;
@class Api48_Message_message;
@class Api48_Message_messageService;
@class Api48_InputFileLocation;
@class Api48_InputFileLocation_inputFileLocation;
@class Api48_InputFileLocation_inputEncryptedFileLocation;
@class Api48_InputFileLocation_inputDocumentFileLocation;
@class Api48_GeoPoint;
@class Api48_GeoPoint_geoPointEmpty;
@class Api48_GeoPoint_geoPoint;
@class Api48_GeoPoint_geoPlace;
@class Api48_InputPhoneCall;
@class Api48_InputPhoneCall_inputPhoneCall;
@class Api48_ReceivedNotifyMessage;
@class Api48_ReceivedNotifyMessage_receivedNotifyMessage;
@class Api48_ChatParticipants;
@class Api48_ChatParticipants_chatParticipantsForbidden;
@class Api48_ChatParticipants_chatParticipants;
@class Api48_NearestDc;
@class Api48_NearestDc_nearestDc;
@class Api48_photos_Photos;
@class Api48_photos_Photos_photos_photos;
@class Api48_photos_Photos_photos_photosSlice;
@class Api48_contacts_ImportedContacts;
@class Api48_contacts_ImportedContacts_contacts_importedContacts;
@class Api48_Bool;
@class Api48_Bool_boolFalse;
@class Api48_Bool_boolTrue;
@class Api48_MessageFwdHeader;
@class Api48_MessageFwdHeader_messageFwdHeader;
@class Api48_help_Support;
@class Api48_help_Support_help_support;
@class Api48_ChatLocated;
@class Api48_ChatLocated_chatLocated;
@class Api48_MessagesFilter;
@class Api48_MessagesFilter_inputMessagesFilterEmpty;
@class Api48_MessagesFilter_inputMessagesFilterPhotos;
@class Api48_MessagesFilter_inputMessagesFilterVideo;
@class Api48_MessagesFilter_inputMessagesFilterPhotoVideo;
@class Api48_MessagesFilter_inputMessagesFilterDocument;
@class Api48_MessagesFilter_inputMessagesFilterPhotoVideoDocuments;
@class Api48_MessagesFilter_inputMessagesFilterVoice;
@class Api48_MessagesFilter_inputMessagesFilterMusic;
@class Api48_messages_Dialogs;
@class Api48_messages_Dialogs_messages_dialogs;
@class Api48_messages_Dialogs_messages_dialogsSlice;
@class Api48_help_InviteText;
@class Api48_help_InviteText_help_inviteText;
@class Api48_ContactSuggested;
@class Api48_ContactSuggested_contactSuggested;
@class Api48_BotInlineMessage;
@class Api48_BotInlineMessage_botInlineMessageMediaAuto;
@class Api48_BotInlineMessage_botInlineMessageText;
@class Api48_InputPeerNotifySettings;
@class Api48_InputPeerNotifySettings_inputPeerNotifySettings;
@class Api48_ExportedChatInvite;
@class Api48_ExportedChatInvite_chatInviteEmpty;
@class Api48_ExportedChatInvite_chatInviteExported;
@class Api48_DcNetworkStats;
@class Api48_DcNetworkStats_dcPingStats;
@class Api48_Authorization;
@class Api48_Authorization_authorization;
@class Api48_messages_AllStickers;
@class Api48_messages_AllStickers_messages_allStickersNotModified;
@class Api48_messages_AllStickers_messages_allStickers;
@class Api48_PhoneConnection;
@class Api48_PhoneConnection_phoneConnectionNotReady;
@class Api48_PhoneConnection_phoneConnection;
@class Api48_AccountDaysTTL;
@class Api48_AccountDaysTTL_accountDaysTTL;
@class Api48_Scheme;
@class Api48_Scheme_scheme;
@class Api48_Scheme_schemeNotModified;
@class Api48_account_Password;
@class Api48_account_Password_account_noPassword;
@class Api48_account_Password_account_password;
@class Api48_InputBotInlineResult;
@class Api48_InputBotInlineResult_inputBotInlineResult;
@class Api48_account_PrivacyRules;
@class Api48_account_PrivacyRules_account_privacyRules;
@class Api48_messages_Message;
@class Api48_messages_Message_messages_messageEmpty;
@class Api48_messages_Message_messages_message;
@class Api48_PrivacyRule;
@class Api48_PrivacyRule_privacyValueAllowContacts;
@class Api48_PrivacyRule_privacyValueAllowAll;
@class Api48_PrivacyRule_privacyValueAllowUsers;
@class Api48_PrivacyRule_privacyValueDisallowContacts;
@class Api48_PrivacyRule_privacyValueDisallowAll;
@class Api48_PrivacyRule_privacyValueDisallowUsers;
@class Api48_account_SentChangePhoneCode;
@class Api48_account_SentChangePhoneCode_account_sentChangePhoneCode;
@class Api48_MessageAction;
@class Api48_MessageAction_messageActionEmpty;
@class Api48_MessageAction_messageActionChatCreate;
@class Api48_MessageAction_messageActionChatEditTitle;
@class Api48_MessageAction_messageActionChatEditPhoto;
@class Api48_MessageAction_messageActionChatDeletePhoto;
@class Api48_MessageAction_messageActionChatDeleteUser;
@class Api48_MessageAction_messageActionSentRequest;
@class Api48_MessageAction_messageActionAcceptRequest;
@class Api48_MessageAction_messageActionChatJoinedByLink;
@class Api48_MessageAction_messageActionChannelCreate;
@class Api48_MessageAction_messageActionChatMigrateTo;
@class Api48_MessageAction_messageActionChannelMigrateFrom;
@class Api48_MessageAction_messageActionChatAddUser;
@class Api48_PhoneCall;
@class Api48_PhoneCall_phoneCallEmpty;
@class Api48_PhoneCall_phoneCall;
@class Api48_PeerNotifyEvents;
@class Api48_PeerNotifyEvents_peerNotifyEventsEmpty;
@class Api48_PeerNotifyEvents_peerNotifyEventsAll;
@class Api48_ContactLink;
@class Api48_ContactLink_contactLinkUnknown;
@class Api48_ContactLink_contactLinkNone;
@class Api48_ContactLink_contactLinkHasPhone;
@class Api48_ContactLink_contactLinkContact;
@class Api48_help_AppPrefs;
@class Api48_help_AppPrefs_help_appPrefs;
@class Api48_contacts_Found;
@class Api48_contacts_Found_contacts_found;
@class Api48_PeerNotifySettings;
@class Api48_PeerNotifySettings_peerNotifySettingsEmpty;
@class Api48_PeerNotifySettings_peerNotifySettings;
@class Api48_SchemeParam;
@class Api48_SchemeParam_schemeParam;
@class Api48_StickerPack;
@class Api48_StickerPack_stickerPack;
@class Api48_UserProfilePhoto;
@class Api48_UserProfilePhoto_userProfilePhotoEmpty;
@class Api48_UserProfilePhoto_userProfilePhoto;
@class Api48_updates_ChannelDifference;
@class Api48_updates_ChannelDifference_updates_channelDifferenceEmpty;
@class Api48_updates_ChannelDifference_updates_channelDifferenceTooLong;
@class Api48_updates_ChannelDifference_updates_channelDifference;
@class Api48_MessageEntity;
@class Api48_MessageEntity_messageEntityUnknown;
@class Api48_MessageEntity_messageEntityMention;
@class Api48_MessageEntity_messageEntityHashtag;
@class Api48_MessageEntity_messageEntityBotCommand;
@class Api48_MessageEntity_messageEntityUrl;
@class Api48_MessageEntity_messageEntityEmail;
@class Api48_MessageEntity_messageEntityBold;
@class Api48_MessageEntity_messageEntityItalic;
@class Api48_MessageEntity_messageEntityCode;
@class Api48_MessageEntity_messageEntityPre;
@class Api48_MessageEntity_messageEntityTextUrl;
@class Api48_InputPhoto;
@class Api48_InputPhoto_inputPhotoEmpty;
@class Api48_InputPhoto_inputPhoto;
@class Api48_EncryptedChat;
@class Api48_EncryptedChat_encryptedChatEmpty;
@class Api48_EncryptedChat_encryptedChatWaiting;
@class Api48_EncryptedChat_encryptedChatDiscarded;
@class Api48_EncryptedChat_encryptedChatRequested;
@class Api48_EncryptedChat_encryptedChat;
@class Api48_Document;
@class Api48_Document_documentEmpty;
@class Api48_Document_document;
@class Api48_ImportedContact;
@class Api48_ImportedContact_importedContact;
@interface Api48__Environment : NSObject
+ (NSData *)serializeObject:(id)object;
+ (id)parseObject:(NSData *)data;
@end
@interface Api48_FunctionContext : NSObject
@property (nonatomic, strong, readonly) NSData *payload;
@property (nonatomic, copy, readonly) id (^responseParser)(NSData *);
@property (nonatomic, strong, readonly) id metadata;
- (instancetype)initWithPayload:(NSData *)payload responseParser:(id (^)(NSData *))responseParser metadata:(id)metadata;
@end
/*
* Types 48
*/
@interface Api48_messages_StickerSet : NSObject
@property (nonatomic, strong, readonly) Api48_StickerSet * set;
@property (nonatomic, strong, readonly) NSArray * packs;
@property (nonatomic, strong, readonly) NSArray * documents;
+ (Api48_messages_StickerSet_messages_stickerSet *)messages_stickerSetWithSet:(Api48_StickerSet *)set packs:(NSArray *)packs documents:(NSArray *)documents;
@end
@interface Api48_messages_StickerSet_messages_stickerSet : Api48_messages_StickerSet
@end
@interface Api48_InputGeoPlaceName : NSObject
@property (nonatomic, strong, readonly) NSString * country;
@property (nonatomic, strong, readonly) NSString * state;
@property (nonatomic, strong, readonly) NSString * city;
@property (nonatomic, strong, readonly) NSString * district;
@property (nonatomic, strong, readonly) NSString * street;
+ (Api48_InputGeoPlaceName_inputGeoPlaceName *)inputGeoPlaceNameWithCountry:(NSString *)country state:(NSString *)state city:(NSString *)city district:(NSString *)district street:(NSString *)street;
@end
@interface Api48_InputGeoPlaceName_inputGeoPlaceName : Api48_InputGeoPlaceName
@end
@interface Api48_InputGeoPoint : NSObject
+ (Api48_InputGeoPoint_inputGeoPointEmpty *)inputGeoPointEmpty;
+ (Api48_InputGeoPoint_inputGeoPoint *)inputGeoPointWithLat:(NSNumber *)lat plong:(NSNumber *)plong;
@end
@interface Api48_InputGeoPoint_inputGeoPointEmpty : Api48_InputGeoPoint
@end
@interface Api48_InputGeoPoint_inputGeoPoint : Api48_InputGeoPoint
@property (nonatomic, strong, readonly) NSNumber * lat;
@property (nonatomic, strong, readonly) NSNumber * plong;
@end
@interface Api48_messages_Chat : NSObject
@property (nonatomic, strong, readonly) Api48_Chat * chat;
@property (nonatomic, strong, readonly) NSArray * users;
+ (Api48_messages_Chat_messages_chat *)messages_chatWithChat:(Api48_Chat *)chat users:(NSArray *)users;
@end
@interface Api48_messages_Chat_messages_chat : Api48_messages_Chat
@end
@interface Api48_ChatFull : NSObject
@property (nonatomic, strong, readonly) NSNumber * pid;
@property (nonatomic, strong, readonly) Api48_Photo * chatPhoto;
@property (nonatomic, strong, readonly) Api48_PeerNotifySettings * notifySettings;
@property (nonatomic, strong, readonly) Api48_ExportedChatInvite * exportedInvite;
@property (nonatomic, strong, readonly) NSArray * botInfo;
+ (Api48_ChatFull_chatFull *)chatFullWithPid:(NSNumber *)pid participants:(Api48_ChatParticipants *)participants chatPhoto:(Api48_Photo *)chatPhoto notifySettings:(Api48_PeerNotifySettings *)notifySettings exportedInvite:(Api48_ExportedChatInvite *)exportedInvite botInfo:(NSArray *)botInfo;
+ (Api48_ChatFull_channelFull *)channelFullWithFlags:(NSNumber *)flags pid:(NSNumber *)pid about:(NSString *)about participantsCount:(NSNumber *)participantsCount adminsCount:(NSNumber *)adminsCount kickedCount:(NSNumber *)kickedCount readInboxMaxId:(NSNumber *)readInboxMaxId unreadCount:(NSNumber *)unreadCount unreadImportantCount:(NSNumber *)unreadImportantCount chatPhoto:(Api48_Photo *)chatPhoto notifySettings:(Api48_PeerNotifySettings *)notifySettings exportedInvite:(Api48_ExportedChatInvite *)exportedInvite botInfo:(NSArray *)botInfo migratedFromChatId:(NSNumber *)migratedFromChatId migratedFromMaxId:(NSNumber *)migratedFromMaxId;
@end
@interface Api48_ChatFull_chatFull : Api48_ChatFull
@property (nonatomic, strong, readonly) Api48_ChatParticipants * participants;
@end
@interface Api48_ChatFull_channelFull : Api48_ChatFull
@property (nonatomic, strong, readonly) NSNumber * flags;
@property (nonatomic, strong, readonly) NSString * about;
@property (nonatomic, strong, readonly) NSNumber * participantsCount;
@property (nonatomic, strong, readonly) NSNumber * adminsCount;
@property (nonatomic, strong, readonly) NSNumber * kickedCount;
@property (nonatomic, strong, readonly) NSNumber * readInboxMaxId;
@property (nonatomic, strong, readonly) NSNumber * unreadCount;
@property (nonatomic, strong, readonly) NSNumber * unreadImportantCount;
@property (nonatomic, strong, readonly) NSNumber * migratedFromChatId;
@property (nonatomic, strong, readonly) NSNumber * migratedFromMaxId;
@end
@interface Api48_ChatParticipant : NSObject
@property (nonatomic, strong, readonly) NSNumber * userId;
+ (Api48_ChatParticipant_chatParticipant *)chatParticipantWithUserId:(NSNumber *)userId inviterId:(NSNumber *)inviterId date:(NSNumber *)date;
+ (Api48_ChatParticipant_chatParticipantCreator *)chatParticipantCreatorWithUserId:(NSNumber *)userId;
+ (Api48_ChatParticipant_chatParticipantAdmin *)chatParticipantAdminWithUserId:(NSNumber *)userId inviterId:(NSNumber *)inviterId date:(NSNumber *)date;
@end
@interface Api48_ChatParticipant_chatParticipant : Api48_ChatParticipant
@property (nonatomic, strong, readonly) NSNumber * inviterId;
@property (nonatomic, strong, readonly) NSNumber * date;
@end
@interface Api48_ChatParticipant_chatParticipantCreator : Api48_ChatParticipant
@end
@interface Api48_ChatParticipant_chatParticipantAdmin : Api48_ChatParticipant
@property (nonatomic, strong, readonly) NSNumber * inviterId;
@property (nonatomic, strong, readonly) NSNumber * date;
@end
@interface Api48_updates_Difference : NSObject
+ (Api48_updates_Difference_updates_differenceEmpty *)updates_differenceEmptyWithDate:(NSNumber *)date seq:(NSNumber *)seq;
+ (Api48_updates_Difference_updates_difference *)updates_differenceWithPnewMessages:(NSArray *)pnewMessages pnewEncryptedMessages:(NSArray *)pnewEncryptedMessages otherUpdates:(NSArray *)otherUpdates chats:(NSArray *)chats users:(NSArray *)users state:(Api48_updates_State *)state;
+ (Api48_updates_Difference_updates_differenceSlice *)updates_differenceSliceWithPnewMessages:(NSArray *)pnewMessages pnewEncryptedMessages:(NSArray *)pnewEncryptedMessages otherUpdates:(NSArray *)otherUpdates chats:(NSArray *)chats users:(NSArray *)users intermediateState:(Api48_updates_State *)intermediateState;
@end
@interface Api48_updates_Difference_updates_differenceEmpty : Api48_updates_Difference
@property (nonatomic, strong, readonly) NSNumber * date;
@property (nonatomic, strong, readonly) NSNumber * seq;
@end
@interface Api48_updates_Difference_updates_difference : Api48_updates_Difference
@property (nonatomic, strong, readonly) NSArray * pnewMessages;
@property (nonatomic, strong, readonly) NSArray * pnewEncryptedMessages;
@property (nonatomic, strong, readonly) NSArray * otherUpdates;
@property (nonatomic, strong, readonly) NSArray * chats;
@property (nonatomic, strong, readonly) NSArray * users;
@property (nonatomic, strong, readonly) Api48_updates_State * state;
@end
@interface Api48_updates_Difference_updates_differenceSlice : Api48_updates_Difference
@property (nonatomic, strong, readonly) NSArray * pnewMessages;
@property (nonatomic, strong, readonly) NSArray * pnewEncryptedMessages;
@property (nonatomic, strong, readonly) NSArray * otherUpdates;
@property (nonatomic, strong, readonly) NSArray * chats;
@property (nonatomic, strong, readonly) NSArray * users;
@property (nonatomic, strong, readonly) Api48_updates_State * intermediateState;
@end
@interface Api48_SchemeMethod : NSObject
@property (nonatomic, strong, readonly) NSNumber * pid;
@property (nonatomic, strong, readonly) NSString * method;
@property (nonatomic, strong, readonly) NSArray * params;
@property (nonatomic, strong, readonly) NSString * type;
+ (Api48_SchemeMethod_schemeMethod *)schemeMethodWithPid:(NSNumber *)pid method:(NSString *)method params:(NSArray *)params type:(NSString *)type;
@end
@interface Api48_SchemeMethod_schemeMethod : Api48_SchemeMethod
@end
@interface Api48_InputPhotoCrop : NSObject
+ (Api48_InputPhotoCrop_inputPhotoCropAuto *)inputPhotoCropAuto;
+ (Api48_InputPhotoCrop_inputPhotoCrop *)inputPhotoCropWithCropLeft:(NSNumber *)cropLeft cropTop:(NSNumber *)cropTop cropWidth:(NSNumber *)cropWidth;
@end
@interface Api48_InputPhotoCrop_inputPhotoCropAuto : Api48_InputPhotoCrop
@end
@interface Api48_InputPhotoCrop_inputPhotoCrop : Api48_InputPhotoCrop
@property (nonatomic, strong, readonly) NSNumber * cropLeft;
@property (nonatomic, strong, readonly) NSNumber * cropTop;
@property (nonatomic, strong, readonly) NSNumber * cropWidth;
@end
@interface Api48_Photo : NSObject
@property (nonatomic, strong, readonly) NSNumber * pid;
+ (Api48_Photo_photoEmpty *)photoEmptyWithPid:(NSNumber *)pid;
+ (Api48_Photo_wallPhoto *)wallPhotoWithPid:(NSNumber *)pid accessHash:(NSNumber *)accessHash userId:(NSNumber *)userId date:(NSNumber *)date caption:(NSString *)caption geo:(Api48_GeoPoint *)geo unread:(Api48_Bool *)unread sizes:(NSArray *)sizes;
+ (Api48_Photo_photo *)photoWithPid:(NSNumber *)pid accessHash:(NSNumber *)accessHash date:(NSNumber *)date sizes:(NSArray *)sizes;
@end
@interface Api48_Photo_photoEmpty : Api48_Photo
@end
@interface Api48_Photo_wallPhoto : Api48_Photo