td_api.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include "td/tl/TlObject.h"
8 
9 #include <string>
10 
11 #include <cstdint>
12 #include <utility>
13 #include <vector>
14 
15 namespace td {
16 class TlStorerToString;
17 
18 namespace td_api {
19 
23 using int32 = std::int32_t;
27 using int53 = std::int64_t;
31 using int64 = std::int64_t;
32 
36 using string = std::string;
37 
41 using bytes = std::string;
42 
46 template <class Type>
47 using array = std::vector<Type>;
48 
53 
57 template <class Type>
59 
75 template <class Type, class... Args>
76 object_ptr<Type> make_object(Args &&... args) {
77  return object_ptr<Type>(new Type(std::forward<Args>(args)...));
78 }
79 
124 template <class ToType, class FromType>
126  return object_ptr<ToType>(static_cast<ToType *>(from.release()));
127 }
128 
134 std::string to_string(const BaseObject &value);
135 
142 template <class T>
143 std::string to_string(const object_ptr<T> &value) {
144  if (value == nullptr) {
145  return "null";
146  }
147 
148  return to_string(*value);
149 }
150 
157 template <class T>
158 std::string to_string(const std::vector<object_ptr<T>> &values) {
159  std::string result = "{\n";
160  for (const auto &value : values) {
161  if (value == nullptr) {
162  result += "null\n";
163  } else {
164  result += to_string(*value);
165  }
166  }
167  result += "}\n";
168  return result;
169 }
170 
171 class accountTtl;
172 
173 class address;
174 
175 class animatedChatPhoto;
176 
177 class animatedEmoji;
178 
179 class animation;
180 
181 class animations;
182 
183 class audio;
184 
185 class authenticationCodeInfo;
186 
187 class AuthenticationCodeType;
188 
189 class AuthorizationState;
190 
191 class autoDownloadSettings;
192 
193 class autoDownloadSettingsPresets;
194 
195 class background;
196 
197 class BackgroundFill;
198 
199 class BackgroundType;
200 
201 class backgrounds;
202 
203 class bankCardActionOpenUrl;
204 
205 class bankCardInfo;
206 
207 class basicGroup;
208 
209 class basicGroupFullInfo;
210 
211 class botCommand;
212 
213 class BotCommandScope;
214 
215 class botCommands;
216 
217 class call;
218 
219 class CallDiscardReason;
220 
221 class callId;
222 
223 class CallProblem;
224 
225 class callProtocol;
226 
227 class callServer;
228 
229 class CallServerType;
230 
231 class CallState;
232 
233 class callbackQueryAnswer;
234 
235 class CallbackQueryPayload;
236 
237 class CanTransferOwnershipResult;
238 
239 class chat;
240 
241 class ChatAction;
242 
243 class ChatActionBar;
244 
245 class chatAdministrator;
246 
247 class chatAdministrators;
248 
249 class chatEvent;
250 
251 class ChatEventAction;
252 
253 class chatEventLogFilters;
254 
255 class chatEvents;
256 
257 class chatFilter;
258 
259 class chatFilterInfo;
260 
261 class chatInviteLink;
262 
263 class chatInviteLinkCount;
264 
265 class chatInviteLinkCounts;
266 
267 class chatInviteLinkInfo;
268 
269 class chatInviteLinkMember;
270 
271 class chatInviteLinkMembers;
272 
273 class chatInviteLinks;
274 
275 class chatJoinRequest;
276 
277 class chatJoinRequests;
278 
279 class chatJoinRequestsInfo;
280 
281 class ChatList;
282 
283 class chatLists;
284 
285 class chatLocation;
286 
287 class chatMember;
288 
289 class ChatMemberStatus;
290 
291 class chatMembers;
292 
293 class ChatMembersFilter;
294 
295 class chatNearby;
296 
297 class chatNotificationSettings;
298 
299 class chatPermissions;
300 
301 class chatPhoto;
302 
303 class chatPhotoInfo;
304 
305 class chatPhotos;
306 
307 class chatPosition;
308 
309 class ChatReportReason;
310 
311 class ChatSource;
312 
313 class ChatStatistics;
314 
315 class chatStatisticsAdministratorActionsInfo;
316 
317 class chatStatisticsInviterInfo;
318 
319 class chatStatisticsMessageInteractionInfo;
320 
321 class chatStatisticsMessageSenderInfo;
322 
323 class chatTheme;
324 
325 class ChatType;
326 
327 class chats;
328 
329 class chatsNearby;
330 
331 class CheckChatUsernameResult;
332 
333 class CheckStickerSetNameResult;
334 
335 class closedVectorPath;
336 
337 class connectedWebsite;
338 
339 class connectedWebsites;
340 
341 class ConnectionState;
342 
343 class contact;
344 
345 class count;
346 
347 class countries;
348 
349 class countryInfo;
350 
351 class customRequestResult;
352 
353 class databaseStatistics;
354 
355 class date;
356 
357 class dateRange;
358 
359 class datedFile;
360 
361 class deepLinkInfo;
362 
363 class DeviceToken;
364 
365 class DiceStickers;
366 
367 class document;
368 
369 class draftMessage;
370 
371 class emailAddressAuthenticationCodeInfo;
372 
373 class emojis;
374 
375 class encryptedCredentials;
376 
377 class encryptedPassportElement;
378 
379 class error;
380 
381 class file;
382 
383 class filePart;
384 
385 class FileType;
386 
387 class formattedText;
388 
389 class foundMessages;
390 
391 class game;
392 
393 class gameHighScore;
394 
395 class gameHighScores;
396 
397 class groupCall;
398 
399 class groupCallId;
400 
401 class groupCallParticipant;
402 
403 class groupCallParticipantVideoInfo;
404 
405 class groupCallRecentSpeaker;
406 
407 class GroupCallVideoQuality;
408 
409 class groupCallVideoSourceGroup;
410 
411 class hashtags;
412 
413 class httpUrl;
414 
415 class identityDocument;
416 
417 class importedContacts;
418 
419 class inlineKeyboardButton;
420 
421 class InlineKeyboardButtonType;
422 
423 class InlineQueryResult;
424 
425 class inlineQueryResults;
426 
427 class InputBackground;
428 
429 class InputChatPhoto;
430 
431 class InputCredentials;
432 
433 class InputFile;
434 
435 class inputIdentityDocument;
436 
437 class InputInlineQueryResult;
438 
439 class InputMessageContent;
440 
441 class InputPassportElement;
442 
443 class inputPassportElementError;
444 
445 class InputPassportElementErrorSource;
446 
447 class inputPersonalDocument;
448 
449 class InputSticker;
450 
451 class inputThumbnail;
452 
453 class InternalLinkType;
454 
455 class invoice;
456 
457 class jsonObjectMember;
458 
459 class JsonValue;
460 
461 class keyboardButton;
462 
463 class KeyboardButtonType;
464 
465 class labeledPricePart;
466 
467 class languagePackInfo;
468 
469 class languagePackString;
470 
471 class LanguagePackStringValue;
472 
473 class languagePackStrings;
474 
475 class localFile;
476 
477 class localizationTargetInfo;
478 
479 class location;
480 
481 class LogStream;
482 
483 class logTags;
484 
485 class logVerbosityLevel;
486 
487 class LoginUrlInfo;
488 
489 class MaskPoint;
490 
491 class maskPosition;
492 
493 class message;
494 
495 class messageCalendar;
496 
497 class messageCalendarDay;
498 
499 class MessageContent;
500 
501 class messageCopyOptions;
502 
503 class MessageFileType;
504 
505 class messageForwardInfo;
506 
507 class MessageForwardOrigin;
508 
509 class messageInteractionInfo;
510 
511 class messageLink;
512 
513 class messageLinkInfo;
514 
515 class messagePosition;
516 
517 class messagePositions;
518 
519 class messageReplyInfo;
520 
521 class MessageSchedulingState;
522 
523 class messageSendOptions;
524 
525 class MessageSender;
526 
527 class messageSenders;
528 
529 class MessageSendingState;
530 
531 class messageStatistics;
532 
533 class messageThreadInfo;
534 
535 class messages;
536 
537 class minithumbnail;
538 
539 class networkStatistics;
540 
541 class NetworkStatisticsEntry;
542 
543 class NetworkType;
544 
545 class notification;
546 
547 class notificationGroup;
548 
549 class NotificationGroupType;
550 
551 class NotificationSettingsScope;
552 
553 class NotificationType;
554 
555 class ok;
556 
557 class OptionValue;
558 
559 class orderInfo;
560 
561 class PageBlock;
562 
563 class pageBlockCaption;
564 
565 class PageBlockHorizontalAlignment;
566 
567 class pageBlockListItem;
568 
569 class pageBlockRelatedArticle;
570 
571 class pageBlockTableCell;
572 
573 class PageBlockVerticalAlignment;
574 
575 class passportAuthorizationForm;
576 
577 class PassportElement;
578 
579 class passportElementError;
580 
581 class PassportElementErrorSource;
582 
583 class PassportElementType;
584 
585 class passportElements;
586 
587 class passportElementsWithErrors;
588 
589 class passportRequiredElement;
590 
591 class passportSuitableElement;
592 
593 class passwordState;
594 
595 class paymentForm;
596 
597 class paymentFormTheme;
598 
599 class paymentReceipt;
600 
601 class paymentResult;
602 
603 class paymentsProviderStripe;
604 
605 class personalDetails;
606 
607 class personalDocument;
608 
609 class phoneNumberAuthenticationSettings;
610 
611 class phoneNumberInfo;
612 
613 class photo;
614 
615 class photoSize;
616 
617 class point;
618 
619 class poll;
620 
621 class pollOption;
622 
623 class PollType;
624 
625 class profilePhoto;
626 
627 class proxies;
628 
629 class proxy;
630 
631 class ProxyType;
632 
633 class PublicChatType;
634 
635 class PushMessageContent;
636 
637 class pushReceiverId;
638 
639 class recommendedChatFilter;
640 
641 class recommendedChatFilters;
642 
643 class recoveryEmailAddress;
644 
645 class remoteFile;
646 
647 class ReplyMarkup;
648 
649 class ResetPasswordResult;
650 
651 class RichText;
652 
653 class savedCredentials;
654 
655 class scopeNotificationSettings;
656 
657 class SearchMessagesFilter;
658 
659 class seconds;
660 
661 class secretChat;
662 
663 class SecretChatState;
664 
665 class session;
666 
667 class sessions;
668 
669 class shippingOption;
670 
671 class sponsoredMessage;
672 
673 class StatisticalGraph;
674 
675 class statisticalValue;
676 
677 class sticker;
678 
679 class stickerSet;
680 
681 class stickerSetInfo;
682 
683 class stickerSets;
684 
685 class stickers;
686 
687 class storageStatistics;
688 
689 class storageStatisticsByChat;
690 
691 class storageStatisticsByFileType;
692 
693 class storageStatisticsFast;
694 
695 class SuggestedAction;
696 
697 class supergroup;
698 
699 class supergroupFullInfo;
700 
701 class SupergroupMembersFilter;
702 
703 class tMeUrl;
704 
705 class TMeUrlType;
706 
707 class tMeUrls;
708 
709 class tdlibParameters;
710 
711 class temporaryPasswordState;
712 
713 class termsOfService;
714 
715 class testBytes;
716 
717 class testInt;
718 
719 class testString;
720 
721 class testVectorInt;
722 
723 class testVectorIntObject;
724 
725 class testVectorString;
726 
727 class testVectorStringObject;
728 
729 class text;
730 
731 class textEntities;
732 
733 class textEntity;
734 
735 class TextEntityType;
736 
737 class TextParseMode;
738 
739 class themeSettings;
740 
741 class thumbnail;
742 
743 class ThumbnailFormat;
744 
745 class TopChatCategory;
746 
747 class Update;
748 
749 class updates;
750 
751 class user;
752 
753 class userFullInfo;
754 
755 class UserPrivacySetting;
756 
757 class UserPrivacySettingRule;
758 
759 class userPrivacySettingRules;
760 
761 class UserStatus;
762 
763 class UserType;
764 
765 class users;
766 
767 class validatedOrderInfo;
768 
769 class VectorPathCommand;
770 
771 class venue;
772 
773 class video;
774 
775 class videoChat;
776 
777 class videoNote;
778 
779 class voiceNote;
780 
781 class webPage;
782 
783 class webPageInstantView;
784 
785 class Object;
786 
790 class Object: public TlObject {
791  public:
792 };
793 
797 class Function: public TlObject {
798  public:
799 };
800 
804 class accountTtl final : public Object {
805  public:
808 
812  accountTtl();
813 
819  explicit accountTtl(int32 days_);
820 
822  static const std::int32_t ID = 1324495492;
827  std::int32_t get_id() const final {
828  return ID;
829  }
830 
836  void store(TlStorerToString &s, const char *field_name) const final;
837 };
838 
842 class address final : public Object {
843  public:
847  string state_;
849  string city_;
855  string postal_code_;
856 
860  address();
861 
872  address(string const &country_code_, string const &state_, string const &city_, string const &street_line1_, string const &street_line2_, string const &postal_code_);
873 
875  static const std::int32_t ID = -2043654342;
880  std::int32_t get_id() const final {
881  return ID;
882  }
883 
889  void store(TlStorerToString &s, const char *field_name) const final;
890 };
891 
895 class animatedChatPhoto final : public Object {
896  public:
903 
908 
917 
919  static const std::int32_t ID = 191994926;
924  std::int32_t get_id() const final {
925  return ID;
926  }
927 
933  void store(TlStorerToString &s, const char *field_name) const final;
934 };
935 
939 class animatedEmoji final : public Object {
940  public:
947 
951  animatedEmoji();
952 
961 
963  static const std::int32_t ID = -1816658231;
968  std::int32_t get_id() const final {
969  return ID;
970  }
971 
977  void store(TlStorerToString &s, const char *field_name) const final;
978 };
979 
983 class animation final : public Object {
984  public:
992  string file_name_;
994  string mime_type_;
1003 
1007  animation();
1008 
1023 
1025  static const std::int32_t ID = -872359106;
1030  std::int32_t get_id() const final {
1031  return ID;
1032  }
1033 
1039  void store(TlStorerToString &s, const char *field_name) const final;
1040 };
1041 
1045 class animations final : public Object {
1046  public:
1049 
1053  animations();
1054 
1061 
1063  static const std::int32_t ID = 344216945;
1068  std::int32_t get_id() const final {
1069  return ID;
1070  }
1071 
1077  void store(TlStorerToString &s, const char *field_name) const final;
1078 };
1079 
1083 class audio final : public Object {
1084  public:
1088  string title_;
1090  string performer_;
1092  string file_name_;
1094  string mime_type_;
1101 
1105  audio();
1106 
1120 
1122  static const std::int32_t ID = -1179334690;
1127  std::int32_t get_id() const final {
1128  return ID;
1129  }
1130 
1136  void store(TlStorerToString &s, const char *field_name) const final;
1137 };
1138 
1142 class authenticationCodeInfo final : public Object {
1143  public:
1152 
1157 
1167 
1169  static const std::int32_t ID = -860345416;
1174  std::int32_t get_id() const final {
1175  return ID;
1176  }
1177 
1183  void store(TlStorerToString &s, const char *field_name) const final;
1184 };
1185 
1191  public:
1192 };
1193 
1198  public:
1201 
1206 
1213 
1215  static const std::int32_t ID = 2079628074;
1220  std::int32_t get_id() const final {
1221  return ID;
1222  }
1223 
1229  void store(TlStorerToString &s, const char *field_name) const final;
1230 };
1231 
1236  public:
1239 
1244 
1251 
1253  static const std::int32_t ID = 962650760;
1258  std::int32_t get_id() const final {
1259  return ID;
1260  }
1261 
1267  void store(TlStorerToString &s, const char *field_name) const final;
1268 };
1269 
1274  public:
1277 
1282 
1289 
1291  static const std::int32_t ID = 1636265063;
1296  std::int32_t get_id() const final {
1297  return ID;
1298  }
1299 
1305  void store(TlStorerToString &s, const char *field_name) const final;
1306 };
1307 
1312  public:
1314  string pattern_;
1315 
1320 
1326  explicit authenticationCodeTypeFlashCall(string const &pattern_);
1327 
1329  static const std::int32_t ID = 1395882402;
1334  std::int32_t get_id() const final {
1335  return ID;
1336  }
1337 
1343  void store(TlStorerToString &s, const char *field_name) const final;
1344 };
1345 
1350  public:
1355 
1360 
1368 
1370  static const std::int32_t ID = 700123783;
1375  std::int32_t get_id() const final {
1376  return ID;
1377  }
1378 
1384  void store(TlStorerToString &s, const char *field_name) const final;
1385 };
1386 
1392  public:
1393 };
1394 
1399  public:
1400 
1405 
1407  static const std::int32_t ID = 904720988;
1412  std::int32_t get_id() const final {
1413  return ID;
1414  }
1415 
1421  void store(TlStorerToString &s, const char *field_name) const final;
1422 };
1423 
1428  public:
1431 
1436 
1443 
1445  static const std::int32_t ID = 612103496;
1450  std::int32_t get_id() const final {
1451  return ID;
1452  }
1453 
1459  void store(TlStorerToString &s, const char *field_name) const final;
1460 };
1461 
1466  public:
1467 
1472 
1474  static const std::int32_t ID = 306402531;
1479  std::int32_t get_id() const final {
1480  return ID;
1481  }
1482 
1488  void store(TlStorerToString &s, const char *field_name) const final;
1489 };
1490 
1495  public:
1498 
1503 
1510 
1512  static const std::int32_t ID = 52643073;
1517  std::int32_t get_id() const final {
1518  return ID;
1519  }
1520 
1526  void store(TlStorerToString &s, const char *field_name) const final;
1527 };
1528 
1533  public:
1535  string link_;
1536 
1541 
1547  explicit authorizationStateWaitOtherDeviceConfirmation(string const &link_);
1548 
1550  static const std::int32_t ID = 860166378;
1555  std::int32_t get_id() const final {
1556  return ID;
1557  }
1558 
1564  void store(TlStorerToString &s, const char *field_name) const final;
1565 };
1566 
1571  public:
1574 
1579 
1586 
1588  static const std::int32_t ID = 550350511;
1593  std::int32_t get_id() const final {
1594  return ID;
1595  }
1596 
1602  void store(TlStorerToString &s, const char *field_name) const final;
1603 };
1604 
1609  public:
1616 
1621 
1630 
1632  static const std::int32_t ID = 187548796;
1637  std::int32_t get_id() const final {
1638  return ID;
1639  }
1640 
1646  void store(TlStorerToString &s, const char *field_name) const final;
1647 };
1648 
1653  public:
1654 
1659 
1661  static const std::int32_t ID = -1834871737;
1666  std::int32_t get_id() const final {
1667  return ID;
1668  }
1669 
1675  void store(TlStorerToString &s, const char *field_name) const final;
1676 };
1677 
1682  public:
1683 
1688 
1690  static const std::int32_t ID = 154449270;
1695  std::int32_t get_id() const final {
1696  return ID;
1697  }
1698 
1704  void store(TlStorerToString &s, const char *field_name) const final;
1705 };
1706 
1711  public:
1712 
1717 
1719  static const std::int32_t ID = 445855311;
1724  std::int32_t get_id() const final {
1725  return ID;
1726  }
1727 
1733  void store(TlStorerToString &s, const char *field_name) const final;
1734 };
1735 
1740  public:
1741 
1746 
1748  static const std::int32_t ID = 1526047584;
1753  std::int32_t get_id() const final {
1754  return ID;
1755  }
1756 
1762  void store(TlStorerToString &s, const char *field_name) const final;
1763 };
1764 
1768 class autoDownloadSettings final : public Object {
1769  public:
1786 
1791 
1805 
1807  static const std::int32_t ID = -2144418333;
1812  std::int32_t get_id() const final {
1813  return ID;
1814  }
1815 
1821  void store(TlStorerToString &s, const char *field_name) const final;
1822 };
1823 
1827 class autoDownloadSettingsPresets final : public Object {
1828  public:
1835 
1840 
1849 
1851  static const std::int32_t ID = -782099166;
1856  std::int32_t get_id() const final {
1857  return ID;
1858  }
1859 
1865  void store(TlStorerToString &s, const char *field_name) const final;
1866 };
1867 
1871 class background final : public Object {
1872  public:
1878  bool is_dark_;
1880  string name_;
1885 
1889  background();
1890 
1902 
1904  static const std::int32_t ID = -429971172;
1909  std::int32_t get_id() const final {
1910  return ID;
1911  }
1912 
1918  void store(TlStorerToString &s, const char *field_name) const final;
1919 };
1920 
1925 class BackgroundFill: public Object {
1926  public:
1927 };
1928 
1932 class backgroundFillSolid final : public BackgroundFill {
1933  public:
1936 
1941 
1947  explicit backgroundFillSolid(int32 color_);
1948 
1950  static const std::int32_t ID = 1010678813;
1955  std::int32_t get_id() const final {
1956  return ID;
1957  }
1958 
1964  void store(TlStorerToString &s, const char *field_name) const final;
1965 };
1966 
1971  public:
1978 
1983 
1992 
1994  static const std::int32_t ID = -1839206017;
1999  std::int32_t get_id() const final {
2000  return ID;
2001  }
2002 
2008  void store(TlStorerToString &s, const char *field_name) const final;
2009 };
2010 
2015  public:
2018 
2023 
2030 
2032  static const std::int32_t ID = -1145469255;
2037  std::int32_t get_id() const final {
2038  return ID;
2039  }
2040 
2046  void store(TlStorerToString &s, const char *field_name) const final;
2047 };
2048 
2053 class BackgroundType: public Object {
2054  public:
2055 };
2056 
2061  public:
2066 
2071 
2079 
2081  static const std::int32_t ID = 1972128891;
2086  std::int32_t get_id() const final {
2087  return ID;
2088  }
2089 
2095  void store(TlStorerToString &s, const char *field_name) const final;
2096 };
2097 
2102  public:
2111 
2116 
2126 
2128  static const std::int32_t ID = 1290213117;
2133  std::int32_t get_id() const final {
2134  return ID;
2135  }
2136 
2142  void store(TlStorerToString &s, const char *field_name) const final;
2143 };
2144 
2148 class backgroundTypeFill final : public BackgroundType {
2149  public:
2152 
2157 
2164 
2166  static const std::int32_t ID = 993008684;
2171  std::int32_t get_id() const final {
2172  return ID;
2173  }
2174 
2180  void store(TlStorerToString &s, const char *field_name) const final;
2181 };
2182 
2186 class backgrounds final : public Object {
2187  public:
2190 
2194  backgrounds();
2195 
2202 
2204  static const std::int32_t ID = 724728704;
2209  std::int32_t get_id() const final {
2210  return ID;
2211  }
2212 
2218  void store(TlStorerToString &s, const char *field_name) const final;
2219 };
2220 
2224 class bankCardActionOpenUrl final : public Object {
2225  public:
2227  string text_;
2229  string url_;
2230 
2235 
2242  bankCardActionOpenUrl(string const &text_, string const &url_);
2243 
2245  static const std::int32_t ID = -196454267;
2250  std::int32_t get_id() const final {
2251  return ID;
2252  }
2253 
2259  void store(TlStorerToString &s, const char *field_name) const final;
2260 };
2261 
2265 class bankCardInfo final : public Object {
2266  public:
2268  string title_;
2271 
2275  bankCardInfo();
2276 
2284 
2286  static const std::int32_t ID = -2116647730;
2291  std::int32_t get_id() const final {
2292  return ID;
2293  }
2294 
2300  void store(TlStorerToString &s, const char *field_name) const final;
2301 };
2302 
2306 class basicGroup final : public Object {
2307  public:
2318 
2322  basicGroup();
2323 
2334 
2336  static const std::int32_t ID = -194767217;
2341  std::int32_t get_id() const final {
2342  return ID;
2343  }
2344 
2350  void store(TlStorerToString &s, const char *field_name) const final;
2351 };
2352 
2356 class basicGroupFullInfo final : public Object {
2357  public:
2370 
2375 
2387 
2389  static const std::int32_t ID = 2022233397;
2394  std::int32_t get_id() const final {
2395  return ID;
2396  }
2397 
2403  void store(TlStorerToString &s, const char *field_name) const final;
2404 };
2405 
2409 class botCommand final : public Object {
2410  public:
2412  string command_;
2415 
2419  botCommand();
2420 
2427  botCommand(string const &command_, string const &description_);
2428 
2430  static const std::int32_t ID = -1032140601;
2435  std::int32_t get_id() const final {
2436  return ID;
2437  }
2438 
2444  void store(TlStorerToString &s, const char *field_name) const final;
2445 };
2446 
2451 class BotCommandScope: public Object {
2452  public:
2453 };
2454 
2459  public:
2460 
2465 
2467  static const std::int32_t ID = 795652779;
2472  std::int32_t get_id() const final {
2473  return ID;
2474  }
2475 
2481  void store(TlStorerToString &s, const char *field_name) const final;
2482 };
2483 
2488  public:
2489 
2494 
2496  static const std::int32_t ID = -344889543;
2501  std::int32_t get_id() const final {
2502  return ID;
2503  }
2504 
2510  void store(TlStorerToString &s, const char *field_name) const final;
2511 };
2512 
2517  public:
2518 
2523 
2525  static const std::int32_t ID = -981088162;
2530  std::int32_t get_id() const final {
2531  return ID;
2532  }
2533 
2539  void store(TlStorerToString &s, const char *field_name) const final;
2540 };
2541 
2546  public:
2547 
2552 
2554  static const std::int32_t ID = 1998329169;
2559  std::int32_t get_id() const final {
2560  return ID;
2561  }
2562 
2568  void store(TlStorerToString &s, const char *field_name) const final;
2569 };
2570 
2574 class botCommandScopeChat final : public BotCommandScope {
2575  public:
2578 
2583 
2590 
2592  static const std::int32_t ID = -430234971;
2597  std::int32_t get_id() const final {
2598  return ID;
2599  }
2600 
2606  void store(TlStorerToString &s, const char *field_name) const final;
2607 };
2608 
2613  public:
2616 
2621 
2628 
2630  static const std::int32_t ID = 1119682126;
2635  std::int32_t get_id() const final {
2636  return ID;
2637  }
2638 
2644  void store(TlStorerToString &s, const char *field_name) const final;
2645 };
2646 
2651  public:
2656 
2661 
2669 
2671  static const std::int32_t ID = -211380494;
2676  std::int32_t get_id() const final {
2677  return ID;
2678  }
2679 
2685  void store(TlStorerToString &s, const char *field_name) const final;
2686 };
2687 
2691 class botCommands final : public Object {
2692  public:
2697 
2701  botCommands();
2702 
2710 
2712  static const std::int32_t ID = 1741364468;
2717  std::int32_t get_id() const final {
2718  return ID;
2719  }
2720 
2726  void store(TlStorerToString &s, const char *field_name) const final;
2727 };
2728 
2732 class call final : public Object {
2733  public:
2744 
2748  call();
2749 
2760 
2762  static const std::int32_t ID = 920360804;
2767  std::int32_t get_id() const final {
2768  return ID;
2769  }
2770 
2776  void store(TlStorerToString &s, const char *field_name) const final;
2777 };
2778 
2783 class CallDiscardReason: public Object {
2784  public:
2785 };
2786 
2791  public:
2792 
2797 
2799  static const std::int32_t ID = -1258917949;
2804  std::int32_t get_id() const final {
2805  return ID;
2806  }
2807 
2813  void store(TlStorerToString &s, const char *field_name) const final;
2814 };
2815 
2820  public:
2821 
2826 
2828  static const std::int32_t ID = 1680358012;
2833  std::int32_t get_id() const final {
2834  return ID;
2835  }
2836 
2842  void store(TlStorerToString &s, const char *field_name) const final;
2843 };
2844 
2849  public:
2850 
2855 
2857  static const std::int32_t ID = -1729926094;
2862  std::int32_t get_id() const final {
2863  return ID;
2864  }
2865 
2871  void store(TlStorerToString &s, const char *field_name) const final;
2872 };
2873 
2878  public:
2879 
2884 
2886  static const std::int32_t ID = -1342872670;
2891  std::int32_t get_id() const final {
2892  return ID;
2893  }
2894 
2900  void store(TlStorerToString &s, const char *field_name) const final;
2901 };
2902 
2907  public:
2908 
2913 
2915  static const std::int32_t ID = 438216166;
2920  std::int32_t get_id() const final {
2921  return ID;
2922  }
2923 
2929  void store(TlStorerToString &s, const char *field_name) const final;
2930 };
2931 
2935 class callId final : public Object {
2936  public:
2939 
2943  callId();
2944 
2950  explicit callId(int32 id_);
2951 
2953  static const std::int32_t ID = 65717769;
2958  std::int32_t get_id() const final {
2959  return ID;
2960  }
2961 
2967  void store(TlStorerToString &s, const char *field_name) const final;
2968 };
2969 
2974 class CallProblem: public Object {
2975  public:
2976 };
2977 
2981 class callProblemEcho final : public CallProblem {
2982  public:
2983 
2987  callProblemEcho();
2988 
2990  static const std::int32_t ID = 801116548;
2995  std::int32_t get_id() const final {
2996  return ID;
2997  }
2998 
3004  void store(TlStorerToString &s, const char *field_name) const final;
3005 };
3006 
3010 class callProblemNoise final : public CallProblem {
3011  public:
3012 
3016  callProblemNoise();
3017 
3019  static const std::int32_t ID = 1053065359;
3024  std::int32_t get_id() const final {
3025  return ID;
3026  }
3027 
3033  void store(TlStorerToString &s, const char *field_name) const final;
3034 };
3035 
3040  public:
3041 
3046 
3048  static const std::int32_t ID = 1119493218;
3053  std::int32_t get_id() const final {
3054  return ID;
3055  }
3056 
3062  void store(TlStorerToString &s, const char *field_name) const final;
3063 };
3064 
3069  public:
3070 
3075 
3077  static const std::int32_t ID = 379960581;
3082  std::int32_t get_id() const final {
3083  return ID;
3084  }
3085 
3091  void store(TlStorerToString &s, const char *field_name) const final;
3092 };
3093 
3097 class callProblemSilentLocal final : public CallProblem {
3098  public:
3099 
3104 
3106  static const std::int32_t ID = 253652790;
3111  std::int32_t get_id() const final {
3112  return ID;
3113  }
3114 
3120  void store(TlStorerToString &s, const char *field_name) const final;
3121 };
3122 
3126 class callProblemSilentRemote final : public CallProblem {
3127  public:
3128 
3133 
3135  static const std::int32_t ID = 573634714;
3140  std::int32_t get_id() const final {
3141  return ID;
3142  }
3143 
3149  void store(TlStorerToString &s, const char *field_name) const final;
3150 };
3151 
3155 class callProblemDropped final : public CallProblem {
3156  public:
3157 
3162 
3164  static const std::int32_t ID = -1207311487;
3169  std::int32_t get_id() const final {
3170  return ID;
3171  }
3172 
3178  void store(TlStorerToString &s, const char *field_name) const final;
3179 };
3180 
3185  public:
3186 
3191 
3193  static const std::int32_t ID = 385245706;
3198  std::int32_t get_id() const final {
3199  return ID;
3200  }
3201 
3207  void store(TlStorerToString &s, const char *field_name) const final;
3208 };
3209 
3214  public:
3215 
3220 
3222  static const std::int32_t ID = 2115315411;
3227  std::int32_t get_id() const final {
3228  return ID;
3229  }
3230 
3236  void store(TlStorerToString &s, const char *field_name) const final;
3237 };
3238 
3242 class callProtocol final : public Object {
3243  public:
3245  bool udp_p2p_;
3254 
3258  callProtocol();
3259 
3270 
3272  static const std::int32_t ID = -1075562897;
3277  std::int32_t get_id() const final {
3278  return ID;
3279  }
3280 
3286  void store(TlStorerToString &s, const char *field_name) const final;
3287 };
3288 
3292 class callServer final : public Object {
3293  public:
3297  string ip_address_;
3304 
3308  callServer();
3309 
3320 
3322  static const std::int32_t ID = 1865932695;
3327  std::int32_t get_id() const final {
3328  return ID;
3329  }
3330 
3336  void store(TlStorerToString &s, const char *field_name) const final;
3337 };
3338 
3343 class CallServerType: public Object {
3344  public:
3345 };
3346 
3351  public:
3354 
3359 
3366 
3368  static const std::int32_t ID = -1507850700;
3373  std::int32_t get_id() const final {
3374  return ID;
3375  }
3376 
3382  void store(TlStorerToString &s, const char *field_name) const final;
3383 };
3384 
3388 class callServerTypeWebrtc final : public CallServerType {
3389  public:
3391  string username_;
3393  string password_;
3398 
3403 
3412  callServerTypeWebrtc(string const &username_, string const &password_, bool supports_turn_, bool supports_stun_);
3413 
3415  static const std::int32_t ID = 1250622821;
3420  std::int32_t get_id() const final {
3421  return ID;
3422  }
3423 
3429  void store(TlStorerToString &s, const char *field_name) const final;
3430 };
3431 
3436 class CallState: public Object {
3437  public:
3438 };
3439 
3443 class callStatePending final : public CallState {
3444  public:
3449 
3453  callStatePending();
3454 
3462 
3464  static const std::int32_t ID = 1073048620;
3469  std::int32_t get_id() const final {
3470  return ID;
3471  }
3472 
3478  void store(TlStorerToString &s, const char *field_name) const final;
3479 };
3480 
3484 class callStateExchangingKeys final : public CallState {
3485  public:
3486 
3491 
3493  static const std::int32_t ID = -1848149403;
3498  std::int32_t get_id() const final {
3499  return ID;
3500  }
3501 
3507  void store(TlStorerToString &s, const char *field_name) const final;
3508 };
3509 
3513 class callStateReady final : public CallState {
3514  public:
3520  string config_;
3527 
3531  callStateReady();
3532 
3544 
3546  static const std::int32_t ID = -2000107571;
3551  std::int32_t get_id() const final {
3552  return ID;
3553  }
3554 
3560  void store(TlStorerToString &s, const char *field_name) const final;
3561 };
3562 
3566 class callStateHangingUp final : public CallState {
3567  public:
3568 
3573 
3575  static const std::int32_t ID = -2133790038;
3580  std::int32_t get_id() const final {
3581  return ID;
3582  }
3583 
3589  void store(TlStorerToString &s, const char *field_name) const final;
3590 };
3591 
3595 class callStateDiscarded final : public CallState {
3596  public:
3603 
3608 
3617 
3619  static const std::int32_t ID = -190853167;
3624  std::int32_t get_id() const final {
3625  return ID;
3626  }
3627 
3633  void store(TlStorerToString &s, const char *field_name) const final;
3634 };
3635 
3639 class callStateError final : public CallState {
3640  public:
3643 
3647  callStateError();
3648 
3655 
3657  static const std::int32_t ID = -975215467;
3662  std::int32_t get_id() const final {
3663  return ID;
3664  }
3665 
3671  void store(TlStorerToString &s, const char *field_name) const final;
3672 };
3673 
3677 class callbackQueryAnswer final : public Object {
3678  public:
3680  string text_;
3684  string url_;
3685 
3690 
3698  callbackQueryAnswer(string const &text_, bool show_alert_, string const &url_);
3699 
3701  static const std::int32_t ID = 360867933;
3706  std::int32_t get_id() const final {
3707  return ID;
3708  }
3709 
3715  void store(TlStorerToString &s, const char *field_name) const final;
3716 };
3717 
3723  public:
3724 };
3725 
3730  public:
3733 
3738 
3744  explicit callbackQueryPayloadData(bytes const &data_);
3745 
3747  static const std::int32_t ID = -1977729946;
3752  std::int32_t get_id() const final {
3753  return ID;
3754  }
3755 
3761  void store(TlStorerToString &s, const char *field_name) const final;
3762 };
3763 
3768  public:
3770  string password_;
3773 
3778 
3786 
3788  static const std::int32_t ID = 1340266738;
3793  std::int32_t get_id() const final {
3794  return ID;
3795  }
3796 
3802  void store(TlStorerToString &s, const char *field_name) const final;
3803 };
3804 
3809  public:
3812 
3817 
3823  explicit callbackQueryPayloadGame(string const &game_short_name_);
3824 
3826  static const std::int32_t ID = 1303571512;
3831  std::int32_t get_id() const final {
3832  return ID;
3833  }
3834 
3840  void store(TlStorerToString &s, const char *field_name) const final;
3841 };
3842 
3848  public:
3849 };
3850 
3855  public:
3856 
3861 
3863  static const std::int32_t ID = -89881021;
3868  std::int32_t get_id() const final {
3869  return ID;
3870  }
3871 
3877  void store(TlStorerToString &s, const char *field_name) const final;
3878 };
3879 
3884  public:
3885 
3890 
3892  static const std::int32_t ID = 1548372703;
3897  std::int32_t get_id() const final {
3898  return ID;
3899  }
3900 
3906  void store(TlStorerToString &s, const char *field_name) const final;
3907 };
3908 
3913  public:
3916 
3921 
3928 
3930  static const std::int32_t ID = 811440913;
3935  std::int32_t get_id() const final {
3936  return ID;
3937  }
3938 
3944  void store(TlStorerToString &s, const char *field_name) const final;
3945 };
3946 
3951  public:
3954 
3959 
3966 
3968  static const std::int32_t ID = 984664289;
3973  std::int32_t get_id() const final {
3974  return ID;
3975  }
3976 
3982  void store(TlStorerToString &s, const char *field_name) const final;
3983 };
3984 
3988 class chat final : public Object {
3989  public:
3995  string title_;
4035  string theme_name_;
4048 
4052  chat();
4053 
4088 
4090  static const std::int32_t ID = 1617921149;
4095  std::int32_t get_id() const final {
4096  return ID;
4097  }
4098 
4104  void store(TlStorerToString &s, const char *field_name) const final;
4105 };
4106 
4111 class ChatAction: public Object {
4112  public:
4113 };
4114 
4118 class chatActionTyping final : public ChatAction {
4119  public:
4120 
4124  chatActionTyping();
4125 
4127  static const std::int32_t ID = 380122167;
4132  std::int32_t get_id() const final {
4133  return ID;
4134  }
4135 
4141  void store(TlStorerToString &s, const char *field_name) const final;
4142 };
4143 
4147 class chatActionRecordingVideo final : public ChatAction {
4148  public:
4149 
4154 
4156  static const std::int32_t ID = 216553362;
4161  std::int32_t get_id() const final {
4162  return ID;
4163  }
4164 
4170  void store(TlStorerToString &s, const char *field_name) const final;
4171 };
4172 
4176 class chatActionUploadingVideo final : public ChatAction {
4177  public:
4180 
4185 
4192 
4194  static const std::int32_t ID = 1234185270;
4199  std::int32_t get_id() const final {
4200  return ID;
4201  }
4202 
4208  void store(TlStorerToString &s, const char *field_name) const final;
4209 };
4210 
4215  public:
4216 
4221 
4223  static const std::int32_t ID = -808850058;
4228  std::int32_t get_id() const final {
4229  return ID;
4230  }
4231 
4237  void store(TlStorerToString &s, const char *field_name) const final;
4238 };
4239 
4244  public:
4247 
4252 
4259 
4261  static const std::int32_t ID = -613643666;
4266  std::int32_t get_id() const final {
4267  return ID;
4268  }
4269 
4275  void store(TlStorerToString &s, const char *field_name) const final;
4276 };
4277 
4281 class chatActionUploadingPhoto final : public ChatAction {
4282  public:
4285 
4290 
4297 
4299  static const std::int32_t ID = 654240583;
4304  std::int32_t get_id() const final {
4305  return ID;
4306  }
4307 
4313  void store(TlStorerToString &s, const char *field_name) const final;
4314 };
4315 
4320  public:
4323 
4328 
4335 
4337  static const std::int32_t ID = 167884362;
4342  std::int32_t get_id() const final {
4343  return ID;
4344  }
4345 
4351  void store(TlStorerToString &s, const char *field_name) const final;
4352 };
4353 
4358  public:
4359 
4364 
4366  static const std::int32_t ID = 372753697;
4371  std::int32_t get_id() const final {
4372  return ID;
4373  }
4374 
4380  void store(TlStorerToString &s, const char *field_name) const final;
4381 };
4382 
4387  public:
4388 
4393 
4395  static const std::int32_t ID = -2017893596;
4400  std::int32_t get_id() const final {
4401  return ID;
4402  }
4403 
4409  void store(TlStorerToString &s, const char *field_name) const final;
4410 };
4411 
4416  public:
4417 
4422 
4424  static const std::int32_t ID = -1222507496;
4429  std::int32_t get_id() const final {
4430  return ID;
4431  }
4432 
4438  void store(TlStorerToString &s, const char *field_name) const final;
4439 };
4440 
4445  public:
4446 
4451 
4453  static const std::int32_t ID = -865884164;
4458  std::int32_t get_id() const final {
4459  return ID;
4460  }
4461 
4467  void store(TlStorerToString &s, const char *field_name) const final;
4468 };
4469 
4474  public:
4475 
4480 
4482  static const std::int32_t ID = 16523393;
4487  std::int32_t get_id() const final {
4488  return ID;
4489  }
4490 
4496  void store(TlStorerToString &s, const char *field_name) const final;
4497 };
4498 
4503  public:
4506 
4511 
4518 
4520  static const std::int32_t ID = 1172364918;
4525  std::int32_t get_id() const final {
4526  return ID;
4527  }
4528 
4534  void store(TlStorerToString &s, const char *field_name) const final;
4535 };
4536 
4541  public:
4543  string emoji_;
4544 
4549 
4555  explicit chatActionWatchingAnimations(string const &emoji_);
4556 
4558  static const std::int32_t ID = 2052990641;
4563  std::int32_t get_id() const final {
4564  return ID;
4565  }
4566 
4572  void store(TlStorerToString &s, const char *field_name) const final;
4573 };
4574 
4578 class chatActionCancel final : public ChatAction {
4579  public:
4580 
4584  chatActionCancel();
4585 
4587  static const std::int32_t ID = 1160523958;
4592  std::int32_t get_id() const final {
4593  return ID;
4594  }
4595 
4601  void store(TlStorerToString &s, const char *field_name) const final;
4602 };
4603 
4608 class ChatActionBar: public Object {
4609  public:
4610 };
4611 
4616  public:
4619 
4624 
4630  explicit chatActionBarReportSpam(bool can_unarchive_);
4631 
4633  static const std::int32_t ID = -1312758246;
4638  std::int32_t get_id() const final {
4639  return ID;
4640  }
4641 
4647  void store(TlStorerToString &s, const char *field_name) const final;
4648 };
4649 
4654  public:
4655 
4660 
4662  static const std::int32_t ID = 758175489;
4667  std::int32_t get_id() const final {
4668  return ID;
4669  }
4670 
4676  void store(TlStorerToString &s, const char *field_name) const final;
4677 };
4678 
4683  public:
4684 
4689 
4691  static const std::int32_t ID = 1985313904;
4696  std::int32_t get_id() const final {
4697  return ID;
4698  }
4699 
4705  void store(TlStorerToString &s, const char *field_name) const final;
4706 };
4707 
4712  public:
4717 
4722 
4730 
4732  static const std::int32_t ID = -914150419;
4737  std::int32_t get_id() const final {
4738  return ID;
4739  }
4740 
4746  void store(TlStorerToString &s, const char *field_name) const final;
4747 };
4748 
4753  public:
4754 
4759 
4761  static const std::int32_t ID = -733325295;
4766  std::int32_t get_id() const final {
4767  return ID;
4768  }
4769 
4775  void store(TlStorerToString &s, const char *field_name) const final;
4776 };
4777 
4782  public:
4783 
4788 
4790  static const std::int32_t ID = 35188697;
4795  std::int32_t get_id() const final {
4796  return ID;
4797  }
4798 
4804  void store(TlStorerToString &s, const char *field_name) const final;
4805 };
4806 
4811  public:
4813  string title_;
4818 
4823 
4832 
4834  static const std::int32_t ID = 1037140744;
4839  std::int32_t get_id() const final {
4840  return ID;
4841  }
4842 
4848  void store(TlStorerToString &s, const char *field_name) const final;
4849 };
4850 
4854 class chatAdministrator final : public Object {
4855  public:
4862 
4867 
4875  chatAdministrator(int53 user_id_, string const &custom_title_, bool is_owner_);
4876 
4878  static const std::int32_t ID = 1920449836;
4883  std::int32_t get_id() const final {
4884  return ID;
4885  }
4886 
4892  void store(TlStorerToString &s, const char *field_name) const final;
4893 };
4894 
4898 class chatAdministrators final : public Object {
4899  public:
4902 
4907 
4914 
4916  static const std::int32_t ID = -2126186435;
4921  std::int32_t get_id() const final {
4922  return ID;
4923  }
4924 
4930  void store(TlStorerToString &s, const char *field_name) const final;
4931 };
4932 
4936 class chatEvent final : public Object {
4937  public:
4946 
4950  chatEvent();
4951 
4961 
4963  static const std::int32_t ID = -652102704;
4968  std::int32_t get_id() const final {
4969  return ID;
4970  }
4971 
4977  void store(TlStorerToString &s, const char *field_name) const final;
4978 };
4979 
4984 class ChatEventAction: public Object {
4985  public:
4986 };
4987 
4992  public:
4997 
5002 
5010 
5012  static const std::int32_t ID = -430967304;
5017  std::int32_t get_id() const final {
5018  return ID;
5019  }
5020 
5026  void store(TlStorerToString &s, const char *field_name) const final;
5027 };
5028 
5033  public:
5036 
5041 
5048 
5050  static const std::int32_t ID = -892974601;
5055  std::int32_t get_id() const final {
5056  return ID;
5057  }
5058 
5064  void store(TlStorerToString &s, const char *field_name) const final;
5065 };
5066 
5071  public:
5074 
5079 
5086 
5088  static const std::int32_t ID = 2009893861;
5093  std::int32_t get_id() const final {
5094  return ID;
5095  }
5096 
5102  void store(TlStorerToString &s, const char *field_name) const final;
5103 };
5104 
5109  public:
5112 
5117 
5124 
5126  static const std::int32_t ID = 438742298;
5131  std::int32_t get_id() const final {
5132  return ID;
5133  }
5134 
5140  void store(TlStorerToString &s, const char *field_name) const final;
5141 };
5142 
5147  public:
5150 
5155 
5162 
5164  static const std::int32_t ID = -376161513;
5169  std::int32_t get_id() const final {
5170  return ID;
5171  }
5172 
5178  void store(TlStorerToString &s, const char *field_name) const final;
5179 };
5180 
5185  public:
5186 
5191 
5193  static const std::int32_t ID = -235468508;
5198  std::int32_t get_id() const final {
5199  return ID;
5200  }
5201 
5207  void store(TlStorerToString &s, const char *field_name) const final;
5208 };
5209 
5214  public:
5217 
5222 
5229 
5231  static const std::int32_t ID = -253307459;
5236  std::int32_t get_id() const final {
5237  return ID;
5238  }
5239 
5245  void store(TlStorerToString &s, const char *field_name) const final;
5246 };
5247 
5252  public:
5257 
5262 
5270 
5272  static const std::int32_t ID = -1647804865;
5277  std::int32_t get_id() const final {
5278  return ID;
5279  }
5280 
5286  void store(TlStorerToString &s, const char *field_name) const final;
5287 };
5288 
5292 class chatEventMemberLeft final : public ChatEventAction {
5293  public:
5294 
5299 
5301  static const std::int32_t ID = -948420593;
5306  std::int32_t get_id() const final {
5307  return ID;
5308  }
5309 
5315  void store(TlStorerToString &s, const char *field_name) const final;
5316 };
5317 
5322  public:
5327 
5332 
5340 
5342  static const std::int32_t ID = 953663433;
5347  std::int32_t get_id() const final {
5348  return ID;
5349  }
5350 
5356  void store(TlStorerToString &s, const char *field_name) const final;
5357 };
5358 
5363  public:
5370 
5375 
5384 
5386  static const std::int32_t ID = 525297761;
5391  std::int32_t get_id() const final {
5392  return ID;
5393  }
5394 
5400  void store(TlStorerToString &s, const char *field_name) const final;
5401 };
5402 
5407  public:
5414 
5419 
5428 
5430  static const std::int32_t ID = 1603608069;
5435  std::int32_t get_id() const final {
5436  return ID;
5437  }
5438 
5444  void store(TlStorerToString &s, const char *field_name) const final;
5445 };
5446 
5451  public:
5453  string old_title_;
5455  string new_title_;
5456 
5461 
5468  chatEventTitleChanged(string const &old_title_, string const &new_title_);
5469 
5471  static const std::int32_t ID = 1134103250;
5476  std::int32_t get_id() const final {
5477  return ID;
5478  }
5479 
5485  void store(TlStorerToString &s, const char *field_name) const final;
5486 };
5487 
5492  public:
5497 
5502 
5510 
5512  static const std::int32_t ID = -1311557720;
5517  std::int32_t get_id() const final {
5518  return ID;
5519  }
5520 
5526  void store(TlStorerToString &s, const char *field_name) const final;
5527 };
5528 
5533  public:
5538 
5543 
5550  chatEventDescriptionChanged(string const &old_description_, string const &new_description_);
5551 
5553  static const std::int32_t ID = 39112478;
5558  std::int32_t get_id() const final {
5559  return ID;
5560  }
5561 
5567  void store(TlStorerToString &s, const char *field_name) const final;
5568 };
5569 
5574  public:
5579 
5584 
5591  chatEventUsernameChanged(string const &old_username_, string const &new_username_);
5592 
5594  static const std::int32_t ID = 1728558443;
5599  std::int32_t get_id() const final {
5600  return ID;
5601  }
5602 
5608  void store(TlStorerToString &s, const char *field_name) const final;
5609 };
5610 
5615  public:
5620 
5625 
5633 
5635  static const std::int32_t ID = -811572541;
5640  std::int32_t get_id() const final {
5641  return ID;
5642  }
5643 
5649  void store(TlStorerToString &s, const char *field_name) const final;
5650 };
5651 
5656  public:
5659 
5664 
5671 
5673  static const std::int32_t ID = -62548373;
5678  std::int32_t get_id() const final {
5679  return ID;
5680  }
5681 
5687  void store(TlStorerToString &s, const char *field_name) const final;
5688 };
5689 
5694  public:
5699 
5704 
5712 
5714  static const std::int32_t ID = 1797419439;
5719  std::int32_t get_id() const final {
5720  return ID;
5721  }
5722 
5728  void store(TlStorerToString &s, const char *field_name) const final;
5729 };
5730 
5735  public:
5740 
5745 
5753 
5755  static const std::int32_t ID = -1653195765;
5760  std::int32_t get_id() const final {
5761  return ID;
5762  }
5763 
5769  void store(TlStorerToString &s, const char *field_name) const final;
5770 };
5771 
5776  public:
5781 
5786 
5794 
5796  static const std::int32_t ID = 776386995;
5801  std::int32_t get_id() const final {
5802  return ID;
5803  }
5804 
5810  void store(TlStorerToString &s, const char *field_name) const final;
5811 };
5812 
5817  public:
5820 
5825 
5832 
5834  static const std::int32_t ID = -1313265634;
5839  std::int32_t get_id() const final {
5840  return ID;
5841  }
5842 
5848  void store(TlStorerToString &s, const char *field_name) const final;
5849 };
5850 
5855  public:
5858 
5863 
5870 
5872  static const std::int32_t ID = -184270335;
5877  std::int32_t get_id() const final {
5878  return ID;
5879  }
5880 
5886  void store(TlStorerToString &s, const char *field_name) const final;
5887 };
5888 
5893  public:
5898 
5903 
5911 
5913  static const std::int32_t ID = -1243130481;
5918  std::int32_t get_id() const final {
5919  return ID;
5920  }
5921 
5927  void store(TlStorerToString &s, const char *field_name) const final;
5928 };
5929 
5934  public:
5939 
5944 
5952 
5954  static const std::int32_t ID = -405930674;
5959  std::int32_t get_id() const final {
5960  return ID;
5961  }
5962 
5968  void store(TlStorerToString &s, const char *field_name) const final;
5969 };
5970 
5975  public:
5978 
5983 
5990 
5992  static const std::int32_t ID = -1599063019;
5997  std::int32_t get_id() const final {
5998  return ID;
5999  }
6000 
6006  void store(TlStorerToString &s, const char *field_name) const final;
6007 };
6008 
6013  public:
6018 
6023 
6031 
6033  static const std::int32_t ID = -460190366;
6038  std::int32_t get_id() const final {
6039  return ID;
6040  }
6041 
6047  void store(TlStorerToString &s, const char *field_name) const final;
6048 };
6049 
6054  public:
6057 
6062 
6069 
6071  static const std::int32_t ID = -1579417629;
6076  std::int32_t get_id() const final {
6077  return ID;
6078  }
6079 
6085  void store(TlStorerToString &s, const char *field_name) const final;
6086 };
6087 
6092  public:
6095 
6100 
6107 
6109  static const std::int32_t ID = -1394974361;
6114  std::int32_t get_id() const final {
6115  return ID;
6116  }
6117 
6123  void store(TlStorerToString &s, const char *field_name) const final;
6124 };
6125 
6130  public:
6133 
6138 
6145 
6147  static const std::int32_t ID = 1822853755;
6152  std::int32_t get_id() const final {
6153  return ID;
6154  }
6155 
6161  void store(TlStorerToString &s, const char *field_name) const final;
6162 };
6163 
6168  public:
6171 
6176 
6183 
6185  static const std::int32_t ID = 1630039112;
6190  std::int32_t get_id() const final {
6191  return ID;
6192  }
6193 
6199  void store(TlStorerToString &s, const char *field_name) const final;
6200 };
6201 
6206  public:
6211 
6216 
6224 
6226  static const std::int32_t ID = 521165047;
6231  std::int32_t get_id() const final {
6232  return ID;
6233  }
6234 
6240  void store(TlStorerToString &s, const char *field_name) const final;
6241 };
6242 
6247  public:
6252 
6257 
6265 
6267  static const std::int32_t ID = 1131385534;
6272  std::int32_t get_id() const final {
6273  return ID;
6274  }
6275 
6281  void store(TlStorerToString &s, const char *field_name) const final;
6282 };
6283 
6288  public:
6291 
6296 
6303 
6305  static const std::int32_t ID = -126547970;
6310  std::int32_t get_id() const final {
6311  return ID;
6312  }
6313 
6319  void store(TlStorerToString &s, const char *field_name) const final;
6320 };
6321 
6325 class chatEventLogFilters final : public Object {
6326  public:
6351 
6356 
6374 
6376  static const std::int32_t ID = 1251197299;
6381  std::int32_t get_id() const final {
6382  return ID;
6383  }
6384 
6390  void store(TlStorerToString &s, const char *field_name) const final;
6391 };
6392 
6396 class chatEvents final : public Object {
6397  public:
6400 
6404  chatEvents();
6405 
6412 
6414  static const std::int32_t ID = -585329664;
6419  std::int32_t get_id() const final {
6420  return ID;
6421  }
6422 
6428  void store(TlStorerToString &s, const char *field_name) const final;
6429 };
6430 
6434 class chatFilter final : public Object {
6435  public:
6437  string title_;
6439  string icon_name_;
6462 
6466  chatFilter();
6467 
6486 
6488  static const std::int32_t ID = -664815123;
6493  std::int32_t get_id() const final {
6494  return ID;
6495  }
6496 
6502  void store(TlStorerToString &s, const char *field_name) const final;
6503 };
6504 
6508 class chatFilterInfo final : public Object {
6509  public:
6513  string title_;
6515  string icon_name_;
6516 
6520  chatFilterInfo();
6521 
6529  chatFilterInfo(int32 id_, string const &title_, string const &icon_name_);
6530 
6532  static const std::int32_t ID = -943721165;
6537  std::int32_t get_id() const final {
6538  return ID;
6539  }
6540 
6546  void store(TlStorerToString &s, const char *field_name) const final;
6547 };
6548 
6552 class chatInviteLink final : public Object {
6553  public:
6557  string name_;
6578 
6582  chatInviteLink();
6583 
6601 
6603  static const std::int32_t ID = -205812476;
6608  std::int32_t get_id() const final {
6609  return ID;
6610  }
6611 
6617  void store(TlStorerToString &s, const char *field_name) const final;
6618 };
6619 
6623 class chatInviteLinkCount final : public Object {
6624  public:
6631 
6636 
6645 
6647  static const std::int32_t ID = -1021999210;
6652  std::int32_t get_id() const final {
6653  return ID;
6654  }
6655 
6661  void store(TlStorerToString &s, const char *field_name) const final;
6662 };
6663 
6667 class chatInviteLinkCounts final : public Object {
6668  public:
6671 
6676 
6683 
6685  static const std::int32_t ID = 920326637;
6690  std::int32_t get_id() const final {
6691  return ID;
6692  }
6693 
6699  void store(TlStorerToString &s, const char *field_name) const final;
6700 };
6701 
6705 class chatInviteLinkInfo final : public Object {
6706  public:
6714  string title_;
6727 
6732 
6748 
6750  static const std::int32_t ID = 546234276;
6755  std::int32_t get_id() const final {
6756  return ID;
6757  }
6758 
6764  void store(TlStorerToString &s, const char *field_name) const final;
6765 };
6766 
6770 class chatInviteLinkMember final : public Object {
6771  public:
6778 
6783 
6792 
6794  static const std::int32_t ID = -1409060582;
6799  std::int32_t get_id() const final {
6800  return ID;
6801  }
6802 
6808  void store(TlStorerToString &s, const char *field_name) const final;
6809 };
6810 
6814 class chatInviteLinkMembers final : public Object {
6815  public:
6820 
6825 
6833 
6835  static const std::int32_t ID = 315635051;
6840  std::int32_t get_id() const final {
6841  return ID;
6842  }
6843 
6849  void store(TlStorerToString &s, const char *field_name) const final;
6850 };
6851 
6855 class chatInviteLinks final : public Object {
6856  public:
6861 
6865  chatInviteLinks();
6866 
6874 
6876  static const std::int32_t ID = 112891427;
6881  std::int32_t get_id() const final {
6882  return ID;
6883  }
6884 
6890  void store(TlStorerToString &s, const char *field_name) const final;
6891 };
6892 
6896 class chatJoinRequest final : public Object {
6897  public:
6903  string bio_;
6904 
6908  chatJoinRequest();
6909 
6917  chatJoinRequest(int53 user_id_, int32 date_, string const &bio_);
6918 
6920  static const std::int32_t ID = 59341416;
6925  std::int32_t get_id() const final {
6926  return ID;
6927  }
6928 
6934  void store(TlStorerToString &s, const char *field_name) const final;
6935 };
6936 
6940 class chatJoinRequests final : public Object {
6941  public:
6946 
6950  chatJoinRequests();
6951 
6959 
6961  static const std::int32_t ID = 1291680519;
6966  std::int32_t get_id() const final {
6967  return ID;
6968  }
6969 
6975  void store(TlStorerToString &s, const char *field_name) const final;
6976 };
6977 
6981 class chatJoinRequestsInfo final : public Object {
6982  public:
6987 
6992 
7000 
7002  static const std::int32_t ID = 888534463;
7007  std::int32_t get_id() const final {
7008  return ID;
7009  }
7010 
7016  void store(TlStorerToString &s, const char *field_name) const final;
7017 };
7018 
7023 class ChatList: public Object {
7024  public:
7025 };
7026 
7030 class chatListMain final : public ChatList {
7031  public:
7032 
7036  chatListMain();
7037 
7039  static const std::int32_t ID = -400991316;
7044  std::int32_t get_id() const final {
7045  return ID;
7046  }
7047 
7053  void store(TlStorerToString &s, const char *field_name) const final;
7054 };
7055 
7059 class chatListArchive final : public ChatList {
7060  public:
7061 
7065  chatListArchive();
7066 
7068  static const std::int32_t ID = 362770115;
7073  std::int32_t get_id() const final {
7074  return ID;
7075  }
7076 
7082  void store(TlStorerToString &s, const char *field_name) const final;
7083 };
7084 
7088 class chatListFilter final : public ChatList {
7089  public:
7092 
7096  chatListFilter();
7097 
7104 
7106  static const std::int32_t ID = -2022707655;
7111  std::int32_t get_id() const final {
7112  return ID;
7113  }
7114 
7120  void store(TlStorerToString &s, const char *field_name) const final;
7121 };
7122 
7126 class chatLists final : public Object {
7127  public:
7130 
7134  chatLists();
7135 
7142 
7144  static const std::int32_t ID = -258292771;
7149  std::int32_t get_id() const final {
7150  return ID;
7151  }
7152 
7158  void store(TlStorerToString &s, const char *field_name) const final;
7159 };
7160 
7164 class chatLocation final : public Object {
7165  public:
7169  string address_;
7170 
7174  chatLocation();
7175 
7183 
7185  static const std::int32_t ID = -1566863583;
7190  std::int32_t get_id() const final {
7191  return ID;
7192  }
7193 
7199  void store(TlStorerToString &s, const char *field_name) const final;
7200 };
7201 
7205 class chatMember final : public Object {
7206  public:
7215 
7219  chatMember();
7220 
7230 
7232  static const std::int32_t ID = 1829953909;
7237  std::int32_t get_id() const final {
7238  return ID;
7239  }
7240 
7246  void store(TlStorerToString &s, const char *field_name) const final;
7247 };
7248 
7253 class ChatMemberStatus: public Object {
7254  public:
7255 };
7256 
7261  public:
7268 
7273 
7282 
7284  static const std::int32_t ID = -160019714;
7289  std::int32_t get_id() const final {
7290  return ID;
7291  }
7292 
7298  void store(TlStorerToString &s, const char *field_name) const final;
7299 };
7300 
7305  public:
7332 
7337 
7356 
7358  static const std::int32_t ID = 82243562;
7363  std::int32_t get_id() const final {
7364  return ID;
7365  }
7366 
7372  void store(TlStorerToString &s, const char *field_name) const final;
7373 };
7374 
7379  public:
7380 
7385 
7387  static const std::int32_t ID = 844723285;
7392  std::int32_t get_id() const final {
7393  return ID;
7394  }
7395 
7401  void store(TlStorerToString &s, const char *field_name) const final;
7402 };
7403 
7408  public:
7415 
7420 
7429 
7431  static const std::int32_t ID = 1661432998;
7436  std::int32_t get_id() const final {
7437  return ID;
7438  }
7439 
7445  void store(TlStorerToString &s, const char *field_name) const final;
7446 };
7447 
7452  public:
7453 
7458 
7460  static const std::int32_t ID = -5815259;
7465  std::int32_t get_id() const final {
7466  return ID;
7467  }
7468 
7474  void store(TlStorerToString &s, const char *field_name) const final;
7475 };
7476 
7481  public:
7484 
7489 
7496 
7498  static const std::int32_t ID = -1653518666;
7503  std::int32_t get_id() const final {
7504  return ID;
7505  }
7506 
7512  void store(TlStorerToString &s, const char *field_name) const final;
7513 };
7514 
7518 class chatMembers final : public Object {
7519  public:
7524 
7528  chatMembers();
7529 
7537 
7539  static const std::int32_t ID = -497558622;
7544  std::int32_t get_id() const final {
7545  return ID;
7546  }
7547 
7553  void store(TlStorerToString &s, const char *field_name) const final;
7554 };
7555 
7560 class ChatMembersFilter: public Object {
7561  public:
7562 };
7563 
7568  public:
7569 
7574 
7576  static const std::int32_t ID = 1774485671;
7581  std::int32_t get_id() const final {
7582  return ID;
7583  }
7584 
7590  void store(TlStorerToString &s, const char *field_name) const final;
7591 };
7592 
7597  public:
7598 
7603 
7605  static const std::int32_t ID = -1266893796;
7610  std::int32_t get_id() const final {
7611  return ID;
7612  }
7613 
7619  void store(TlStorerToString &s, const char *field_name) const final;
7620 };
7621 
7626  public:
7627 
7632 
7634  static const std::int32_t ID = 670504342;
7639  std::int32_t get_id() const final {
7640  return ID;
7641  }
7642 
7648  void store(TlStorerToString &s, const char *field_name) const final;
7649 };
7650 
7655  public:
7658 
7663 
7670 
7672  static const std::int32_t ID = 856419831;
7677  std::int32_t get_id() const final {
7678  return ID;
7679  }
7680 
7686  void store(TlStorerToString &s, const char *field_name) const final;
7687 };
7688 
7693  public:
7694 
7699 
7701  static const std::int32_t ID = 1256282813;
7706  std::int32_t get_id() const final {
7707  return ID;
7708  }
7709 
7715  void store(TlStorerToString &s, const char *field_name) const final;
7716 };
7717 
7722  public:
7723 
7728 
7730  static const std::int32_t ID = -1863102648;
7735  std::int32_t get_id() const final {
7736  return ID;
7737  }
7738 
7744  void store(TlStorerToString &s, const char *field_name) const final;
7745 };
7746 
7751  public:
7752 
7757 
7759  static const std::int32_t ID = -1422567288;
7764  std::int32_t get_id() const final {
7765  return ID;
7766  }
7767 
7773  void store(TlStorerToString &s, const char *field_name) const final;
7774 };
7775 
7779 class chatNearby final : public Object {
7780  public:
7785 
7789  chatNearby();
7790 
7798 
7800  static const std::int32_t ID = 48120405;
7805  std::int32_t get_id() const final {
7806  return ID;
7807  }
7808 
7814  void store(TlStorerToString &s, const char *field_name) const final;
7815 };
7816 
7820 class chatNotificationSettings final : public Object {
7821  public:
7829  string sound_;
7842 
7847 
7863 
7865  static const std::int32_t ID = 1503183218;
7870  std::int32_t get_id() const final {
7871  return ID;
7872  }
7873 
7879  void store(TlStorerToString &s, const char *field_name) const final;
7880 };
7881 
7885 class chatPermissions final : public Object {
7886  public:
7903 
7907  chatPermissions();
7908 
7922 
7924  static const std::int32_t ID = 1584650463;
7929  std::int32_t get_id() const final {
7930  return ID;
7931  }
7932 
7938  void store(TlStorerToString &s, const char *field_name) const final;
7939 };
7940 
7944 class chatPhoto final : public Object {
7945  public:
7956 
7960  chatPhoto();
7961 
7972 
7974  static const std::int32_t ID = -113003577;
7979  std::int32_t get_id() const final {
7980  return ID;
7981  }
7982 
7988  void store(TlStorerToString &s, const char *field_name) const final;
7989 };
7990 
7994 class chatPhotoInfo final : public Object {
7995  public:
8004 
8008  chatPhotoInfo();
8009 
8019 
8021  static const std::int32_t ID = 167058358;
8026  std::int32_t get_id() const final {
8027  return ID;
8028  }
8029 
8035  void store(TlStorerToString &s, const char *field_name) const final;
8036 };
8037 
8041 class chatPhotos final : public Object {
8042  public:
8047 
8051  chatPhotos();
8052 
8060 
8062  static const std::int32_t ID = -1510699180;
8067  std::int32_t get_id() const final {
8068  return ID;
8069  }
8070 
8076  void store(TlStorerToString &s, const char *field_name) const final;
8077 };
8078 
8082 class chatPosition final : public Object {
8083  public:
8092 
8096  chatPosition();
8097 
8107 
8109  static const std::int32_t ID = -622557355;
8114  std::int32_t get_id() const final {
8115  return ID;
8116  }
8117 
8123  void store(TlStorerToString &s, const char *field_name) const final;
8124 };
8125 
8130 class ChatReportReason: public Object {
8131  public:
8132 };
8133 
8138  public:
8139 
8144 
8146  static const std::int32_t ID = -510848863;
8151  std::int32_t get_id() const final {
8152  return ID;
8153  }
8154 
8160  void store(TlStorerToString &s, const char *field_name) const final;
8161 };
8162 
8167  public:
8168 
8173 
8175  static const std::int32_t ID = -1330235395;
8180  std::int32_t get_id() const final {
8181  return ID;
8182  }
8183 
8189  void store(TlStorerToString &s, const char *field_name) const final;
8190 };
8191 
8196  public:
8197 
8202 
8204  static const std::int32_t ID = 722614385;
8209  std::int32_t get_id() const final {
8210  return ID;
8211  }
8212 
8218  void store(TlStorerToString &s, const char *field_name) const final;
8219 };
8220 
8225  public:
8226 
8231 
8233  static const std::int32_t ID = -1070686531;
8238  std::int32_t get_id() const final {
8239  return ID;
8240  }
8241 
8247  void store(TlStorerToString &s, const char *field_name) const final;
8248 };
8249 
8254  public:
8255 
8260 
8262  static const std::int32_t ID = 986898080;
8267  std::int32_t get_id() const final {
8268  return ID;
8269  }
8270 
8276  void store(TlStorerToString &s, const char *field_name) const final;
8277 };
8278 
8283  public:
8284 
8289 
8291  static const std::int32_t ID = 2632403;
8296  std::int32_t get_id() const final {
8297  return ID;
8298  }
8299 
8305  void store(TlStorerToString &s, const char *field_name) const final;
8306 };
8307 
8312  public:
8313 
8318 
8320  static const std::int32_t ID = -1713230446;
8325  std::int32_t get_id() const final {
8326  return ID;
8327  }
8328 
8334  void store(TlStorerToString &s, const char *field_name) const final;
8335 };
8336 
8341  public:
8342 
8347 
8349  static const std::int32_t ID = 1288925974;
8354  std::int32_t get_id() const final {
8355  return ID;
8356  }
8357 
8363  void store(TlStorerToString &s, const char *field_name) const final;
8364 };
8365 
8370 class ChatSource: public Object {
8371  public:
8372 };
8373 
8377 class chatSourceMtprotoProxy final : public ChatSource {
8378  public:
8379 
8384 
8386  static const std::int32_t ID = 394074115;
8391  std::int32_t get_id() const final {
8392  return ID;
8393  }
8394 
8400  void store(TlStorerToString &s, const char *field_name) const final;
8401 };
8402 
8407  public:
8409  string type_;
8411  string text_;
8412 
8417 
8424  chatSourcePublicServiceAnnouncement(string const &type_, string const &text_);
8425 
8427  static const std::int32_t ID = -328571244;
8432  std::int32_t get_id() const final {
8433  return ID;
8434  }
8435 
8441  void store(TlStorerToString &s, const char *field_name) const final;
8442 };
8443 
8448 class ChatStatistics: public Object {
8449  public:
8450 };
8451 
8456  public:
8489 
8494 
8516 
8518  static const std::int32_t ID = -17244633;
8523  std::int32_t get_id() const final {
8524  return ID;
8525  }
8526 
8532  void store(TlStorerToString &s, const char *field_name) const final;
8533 };
8534 
8539  public:
8570 
8575 
8596 
8598  static const std::int32_t ID = -825434183;
8603  std::int32_t get_id() const final {
8604  return ID;
8605  }
8606 
8612  void store(TlStorerToString &s, const char *field_name) const final;
8613 };
8614 
8619  public:
8628 
8633 
8643 
8645  static const std::int32_t ID = -406467202;
8650  std::int32_t get_id() const final {
8651  return ID;
8652  }
8653 
8659  void store(TlStorerToString &s, const char *field_name) const final;
8660 };
8661 
8665 class chatStatisticsInviterInfo final : public Object {
8666  public:
8671 
8676 
8684 
8686  static const std::int32_t ID = 629396619;
8691  std::int32_t get_id() const final {
8692  return ID;
8693  }
8694 
8700  void store(TlStorerToString &s, const char *field_name) const final;
8701 };
8702 
8707  public:
8714 
8719 
8728 
8730  static const std::int32_t ID = -765580756;
8735  std::int32_t get_id() const final {
8736  return ID;
8737  }
8738 
8744  void store(TlStorerToString &s, const char *field_name) const final;
8745 };
8746 
8751  public:
8758 
8763 
8772 
8774  static const std::int32_t ID = 1762295371;
8779  std::int32_t get_id() const final {
8780  return ID;
8781  }
8782 
8788  void store(TlStorerToString &s, const char *field_name) const final;
8789 };
8790 
8794 class chatTheme final : public Object {
8795  public:
8797  string name_;
8802 
8806  chatTheme();
8807 
8816 
8818  static const std::int32_t ID = -113218503;
8823  std::int32_t get_id() const final {
8824  return ID;
8825  }
8826 
8832  void store(TlStorerToString &s, const char *field_name) const final;
8833 };
8834 
8839 class ChatType: public Object {
8840  public:
8841 };
8842 
8846 class chatTypePrivate final : public ChatType {
8847  public:
8850 
8854  chatTypePrivate();
8855 
8861  explicit chatTypePrivate(int53 user_id_);
8862 
8864  static const std::int32_t ID = 1579049844;
8869  std::int32_t get_id() const final {
8870  return ID;
8871  }
8872 
8878  void store(TlStorerToString &s, const char *field_name) const final;
8879 };
8880 
8884 class chatTypeBasicGroup final : public ChatType {
8885  public:
8888 
8893 
8900 
8902  static const std::int32_t ID = 973884508;
8907  std::int32_t get_id() const final {
8908  return ID;
8909  }
8910 
8916  void store(TlStorerToString &s, const char *field_name) const final;
8917 };
8918 
8922 class chatTypeSupergroup final : public ChatType {
8923  public:
8928 
8933 
8941 
8943  static const std::int32_t ID = -1472570774;
8948  std::int32_t get_id() const final {
8949  return ID;
8950  }
8951 
8957  void store(TlStorerToString &s, const char *field_name) const final;
8958 };
8959 
8963 class chatTypeSecret final : public ChatType {
8964  public:
8969 
8973  chatTypeSecret();
8974 
8982 
8984  static const std::int32_t ID = 862366513;
8989  std::int32_t get_id() const final {
8990  return ID;
8991  }
8992 
8998  void store(TlStorerToString &s, const char *field_name) const final;
8999 };
9000 
9004 class chats final : public Object {
9005  public:
9010 
9014  chats();
9015 
9023 
9025  static const std::int32_t ID = 1809654812;
9030  std::int32_t get_id() const final {
9031  return ID;
9032  }
9033 
9039  void store(TlStorerToString &s, const char *field_name) const final;
9040 };
9041 
9045 class chatsNearby final : public Object {
9046  public:
9051 
9055  chatsNearby();
9056 
9064 
9066  static const std::int32_t ID = 187746081;
9071  std::int32_t get_id() const final {
9072  return ID;
9073  }
9074 
9080  void store(TlStorerToString &s, const char *field_name) const final;
9081 };
9082 
9088  public:
9089 };
9090 
9095  public:
9096 
9101 
9103  static const std::int32_t ID = -1498956964;
9108  std::int32_t get_id() const final {
9109  return ID;
9110  }
9111 
9117  void store(TlStorerToString &s, const char *field_name) const final;
9118 };
9119 
9124  public:
9125 
9130 
9132  static const std::int32_t ID = -636979370;
9137  std::int32_t get_id() const final {
9138  return ID;
9139  }
9140 
9146  void store(TlStorerToString &s, const char *field_name) const final;
9147 };
9148 
9153  public:
9154 
9159 
9161  static const std::int32_t ID = 1320892201;
9166  std::int32_t get_id() const final {
9167  return ID;
9168  }
9169 
9175  void store(TlStorerToString &s, const char *field_name) const final;
9176 };
9177 
9182  public:
9183 
9188 
9190  static const std::int32_t ID = 858247741;
9195  std::int32_t get_id() const final {
9196  return ID;
9197  }
9198 
9204  void store(TlStorerToString &s, const char *field_name) const final;
9205 };
9206 
9211  public:
9212 
9217 
9219  static const std::int32_t ID = -51833641;
9224  std::int32_t get_id() const final {
9225  return ID;
9226  }
9227 
9233  void store(TlStorerToString &s, const char *field_name) const final;
9234 };
9235 
9241  public:
9242 };
9243 
9248  public:
9249 
9254 
9256  static const std::int32_t ID = -1404308904;
9261  std::int32_t get_id() const final {
9262  return ID;
9263  }
9264 
9270  void store(TlStorerToString &s, const char *field_name) const final;
9271 };
9272 
9277  public:
9278 
9283 
9285  static const std::int32_t ID = 177992244;
9290  std::int32_t get_id() const final {
9291  return ID;
9292  }
9293 
9299  void store(TlStorerToString &s, const char *field_name) const final;
9300 };
9301 
9306  public:
9307 
9312 
9314  static const std::int32_t ID = 1012980872;
9319  std::int32_t get_id() const final {
9320  return ID;
9321  }
9322 
9328  void store(TlStorerToString &s, const char *field_name) const final;
9329 };
9330 
9334 class closedVectorPath final : public Object {
9335  public:
9338 
9342  closedVectorPath();
9343 
9350 
9352  static const std::int32_t ID = 589951657;
9357  std::int32_t get_id() const final {
9358  return ID;
9359  }
9360 
9366  void store(TlStorerToString &s, const char *field_name) const final;
9367 };
9368 
9372 class connectedWebsite final : public Object {
9373  public:
9381  string browser_;
9383  string platform_;
9389  string ip_;
9391  string location_;
9392 
9396  connectedWebsite();
9397 
9411  connectedWebsite(int64 id_, string const &domain_name_, int53 bot_user_id_, string const &browser_, string const &platform_, int32 log_in_date_, int32 last_active_date_, string const &ip_, string const &location_);
9412 
9414  static const std::int32_t ID = 844014445;
9419  std::int32_t get_id() const final {
9420  return ID;
9421  }
9422 
9428  void store(TlStorerToString &s, const char *field_name) const final;
9429 };
9430 
9434 class connectedWebsites final : public Object {
9435  public:
9438 
9443 
9450 
9452  static const std::int32_t ID = -1727949694;
9457  std::int32_t get_id() const final {
9458  return ID;
9459  }
9460 
9466  void store(TlStorerToString &s, const char *field_name) const final;
9467 };
9468 
9473 class ConnectionState: public Object {
9474  public:
9475 };
9476 
9481  public:
9482 
9487 
9489  static const std::int32_t ID = 1695405912;
9494  std::int32_t get_id() const final {
9495  return ID;
9496  }
9497 
9503  void store(TlStorerToString &s, const char *field_name) const final;
9504 };
9505 
9510  public:
9511 
9516 
9518  static const std::int32_t ID = -93187239;
9523  std::int32_t get_id() const final {
9524  return ID;
9525  }
9526 
9532  void store(TlStorerToString &s, const char *field_name) const final;
9533 };
9534 
9539  public:
9540 
9545 
9547  static const std::int32_t ID = -1298400670;
9552  std::int32_t get_id() const final {
9553  return ID;
9554  }
9555 
9561  void store(TlStorerToString &s, const char *field_name) const final;
9562 };
9563 
9568  public:
9569 
9574 
9576  static const std::int32_t ID = -188104009;
9581  std::int32_t get_id() const final {
9582  return ID;
9583  }
9584 
9590  void store(TlStorerToString &s, const char *field_name) const final;
9591 };
9592 
9597  public:
9598 
9603 
9605  static const std::int32_t ID = 48608492;
9610  std::int32_t get_id() const final {
9611  return ID;
9612  }
9613 
9619  void store(TlStorerToString &s, const char *field_name) const final;
9620 };
9621 
9625 class contact final : public Object {
9626  public:
9630  string first_name_;
9632  string last_name_;
9634  string vcard_;
9637 
9641  contact();
9642 
9652  contact(string const &phone_number_, string const &first_name_, string const &last_name_, string const &vcard_, int53 user_id_);
9653 
9655  static const std::int32_t ID = -1993844876;
9660  std::int32_t get_id() const final {
9661  return ID;
9662  }
9663 
9669  void store(TlStorerToString &s, const char *field_name) const final;
9670 };
9671 
9675 class count final : public Object {
9676  public:
9679 
9683  count();
9684 
9690  explicit count(int32 count_);
9691 
9693  static const std::int32_t ID = 1295577348;
9698  std::int32_t get_id() const final {
9699  return ID;
9700  }
9701 
9707  void store(TlStorerToString &s, const char *field_name) const final;
9708 };
9709 
9713 class countries final : public Object {
9714  public:
9717 
9721  countries();
9722 
9729 
9731  static const std::int32_t ID = 1854211813;
9736  std::int32_t get_id() const final {
9737  return ID;
9738  }
9739 
9745  void store(TlStorerToString &s, const char *field_name) const final;
9746 };
9747 
9751 class countryInfo final : public Object {
9752  public:
9756  string name_;
9763 
9767  countryInfo();
9768 
9778  countryInfo(string const &country_code_, string const &name_, string const &english_name_, bool is_hidden_, array<string> &&calling_codes_);
9779 
9781  static const std::int32_t ID = 1617195722;
9786  std::int32_t get_id() const final {
9787  return ID;
9788  }
9789 
9795  void store(TlStorerToString &s, const char *field_name) const final;
9796 };
9797 
9801 class customRequestResult final : public Object {
9802  public:
9804  string result_;
9805 
9810 
9816  explicit customRequestResult(string const &result_);
9817 
9819  static const std::int32_t ID = -2009960452;
9824  std::int32_t get_id() const final {
9825  return ID;
9826  }
9827 
9833  void store(TlStorerToString &s, const char *field_name) const final;
9834 };
9835 
9839 class databaseStatistics final : public Object {
9840  public:
9842  string statistics_;
9843 
9848 
9854  explicit databaseStatistics(string const &statistics_);
9855 
9857  static const std::int32_t ID = -1123912880;
9862  std::int32_t get_id() const final {
9863  return ID;
9864  }
9865 
9871  void store(TlStorerToString &s, const char *field_name) const final;
9872 };
9873 
9877 class date final : public Object {
9878  public:
9885 
9889  date();
9890 
9898  date(int32 day_, int32