From 19988eba6edaa3b4c7bc5807dc0d5c39b0f4303b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 12 Mar 2016 17:51:02 +0000 Subject: not needed anymore here git-svn-id: http://svn.miranda-ng.org/main/trunk@16472 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/tgl/src/auto/auto-autocomplete.c | 29968 -------------------------------- libs/tgl/src/auto/auto-autocomplete.h | 865 - libs/tgl/src/auto/auto-fetch-ds.c | 11876 ------------- libs/tgl/src/auto/auto-fetch-ds.h | 716 - libs/tgl/src/auto/auto-fetch.c | 16330 ----------------- libs/tgl/src/auto/auto-fetch.h | 717 - libs/tgl/src/auto/auto-free-ds.c | 9115 ---------- libs/tgl/src/auto/auto-free-ds.h | 569 - libs/tgl/src/auto/auto-print-ds.c | 16382 ----------------- libs/tgl/src/auto/auto-print-ds.h | 719 - libs/tgl/src/auto/auto-skip.c | 11301 ------------ libs/tgl/src/auto/auto-skip.h | 714 - libs/tgl/src/auto/auto-store-ds.c | 10207 ----------- libs/tgl/src/auto/auto-store-ds.h | 718 - libs/tgl/src/auto/auto-store.c | 24400 -------------------------- libs/tgl/src/auto/auto-store.h | 848 - libs/tgl/src/auto/auto-types.c | 1793 -- libs/tgl/src/auto/auto-types.h | 1589 -- libs/tgl/src/auto/constants.h | 561 - 19 files changed, 139388 deletions(-) delete mode 100644 libs/tgl/src/auto/auto-autocomplete.c delete mode 100644 libs/tgl/src/auto/auto-autocomplete.h delete mode 100644 libs/tgl/src/auto/auto-fetch-ds.c delete mode 100644 libs/tgl/src/auto/auto-fetch-ds.h delete mode 100644 libs/tgl/src/auto/auto-fetch.c delete mode 100644 libs/tgl/src/auto/auto-fetch.h delete mode 100644 libs/tgl/src/auto/auto-free-ds.c delete mode 100644 libs/tgl/src/auto/auto-free-ds.h delete mode 100644 libs/tgl/src/auto/auto-print-ds.c delete mode 100644 libs/tgl/src/auto/auto-print-ds.h delete mode 100644 libs/tgl/src/auto/auto-skip.c delete mode 100644 libs/tgl/src/auto/auto-skip.h delete mode 100644 libs/tgl/src/auto/auto-store-ds.c delete mode 100644 libs/tgl/src/auto/auto-store-ds.h delete mode 100644 libs/tgl/src/auto/auto-store.c delete mode 100644 libs/tgl/src/auto/auto-store.h delete mode 100644 libs/tgl/src/auto/auto-types.c delete mode 100644 libs/tgl/src/auto/auto-types.h delete mode 100644 libs/tgl/src/auto/constants.h (limited to 'libs/tgl/src/auto') diff --git a/libs/tgl/src/auto/auto-autocomplete.c b/libs/tgl/src/auto/auto-autocomplete.c deleted file mode 100644 index e0f5d4a990..0000000000 --- a/libs/tgl/src/auto/auto-autocomplete.c +++ /dev/null @@ -1,29968 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "..\mtproto-common.h" -#include "auto-autocomplete.h" -#include "..\auto-static-autocomplete.c" -#else -#include "auto.h" -#include "mtproto-common.h" -#include "auto/auto-autocomplete.h" -#include "auto-static-autocomplete.c" -#endif -#include -int autocomplete_constructor_account_days_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_real_len)) { - set_autocomplete_string ("device_model"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "platform", cur_token_real_len)) { - set_autocomplete_string ("platform"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "platform", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_real_len)) { - set_autocomplete_string ("system_version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_real_len)) { - set_autocomplete_string ("api_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "app_name", cur_token_real_len)) { - set_autocomplete_string ("app_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "app_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_real_len)) { - set_autocomplete_string ("app_version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "date_created", cur_token_real_len)) { - set_autocomplete_string ("date_created"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "date_created", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "date_active", cur_token_real_len)) { - set_autocomplete_string ("date_active"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "date_active", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_real_len)) { - set_autocomplete_string ("ip"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field11) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "country", cur_token_real_len)) { - set_autocomplete_string ("country"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "country", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field12) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "region", cur_token_real_len)) { - set_autocomplete_string ("region"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "region", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field13) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_bool_false (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int autocomplete_constructor_bool_true (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int autocomplete_constructor_bot_command (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "command", cur_token_real_len)) { - set_autocomplete_string ("command"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "command", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_real_len)) { - set_autocomplete_string ("description"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_bot_command_old (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "command", cur_token_real_len)) { - set_autocomplete_string ("command"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "command", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "params", cur_token_real_len)) { - set_autocomplete_string ("params"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "params", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_real_len)) { - set_autocomplete_string ("description"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_bot_info_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - return 0; -} -int autocomplete_constructor_bot_info (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "share_text", cur_token_real_len)) { - set_autocomplete_string ("share_text"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "share_text", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_real_len)) { - set_autocomplete_string ("description"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "commands", cur_token_real_len)) { - set_autocomplete_string ("commands"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "commands", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_bytes (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_photo (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 18 && !cur_token_quoted && !memcmp (cur_token, "participants_count", cur_token_real_len)) { - set_autocomplete_string ("participants_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 18 && !memcmp (cur_token, "participants_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "left", cur_token_real_len)) { - set_autocomplete_string ("left"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "left", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "venue", cur_token_real_len)) { - set_autocomplete_string ("venue"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "venue", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_real_len)) { - set_autocomplete_string ("geo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_point (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_photo (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 18 && !cur_token_quoted && !memcmp (cur_token, "participants_count", cur_token_real_len)) { - set_autocomplete_string ("participants_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 18 && !memcmp (cur_token, "participants_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "checked_in", cur_token_real_len)) { - set_autocomplete_string ("checked_in"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "checked_in", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field10) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_real_len)) { - set_autocomplete_string ("participants"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_participants (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "chat_photo", cur_token_real_len)) { - set_autocomplete_string ("chat_photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "chat_photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_real_len)) { - set_autocomplete_string ("notify_settings"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer_notify_settings (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "exported_invite", cur_token_real_len)) { - set_autocomplete_string ("exported_invite"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "exported_invite", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_exported_chat_invite (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_real_len)) { - set_autocomplete_string ("bot_info"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_invite_already (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "chat", cur_token_real_len)) { - set_autocomplete_string ("chat"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "chat", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_invite (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "distance", cur_token_real_len)) { - set_autocomplete_string ("distance"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "distance", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_real_len)) { - set_autocomplete_string ("inviter_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_participants_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_real_len)) { - set_autocomplete_string ("admin_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_real_len)) { - set_autocomplete_string ("participants"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - return 0; -} -int autocomplete_constructor_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "photo_small", cur_token_real_len)) { - set_autocomplete_string ("photo_small"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "photo_small", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "photo_big", cur_token_real_len)) { - set_autocomplete_string ("photo_big"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "photo_big", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_client_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "retry_id", cur_token_real_len)) { - set_autocomplete_string ("retry_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "retry_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_real_len)) { - set_autocomplete_string ("g_b"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "expires", cur_token_real_len)) { - set_autocomplete_string ("expires"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "expires", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "test_mode", cur_token_real_len)) { - set_autocomplete_string ("test_mode"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "test_mode", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "this_dc", cur_token_real_len)) { - set_autocomplete_string ("this_dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "this_dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "dc_options", cur_token_real_len)) { - set_autocomplete_string ("dc_options"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "dc_options", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "chat_size_max", cur_token_real_len)) { - set_autocomplete_string ("chat_size_max"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "chat_size_max", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 18 && !cur_token_quoted && !memcmp (cur_token, "broadcast_size_max", cur_token_real_len)) { - set_autocomplete_string ("broadcast_size_max"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 18 && !memcmp (cur_token, "broadcast_size_max", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 19 && !cur_token_quoted && !memcmp (cur_token, "forwarded_count_max", cur_token_real_len)) { - set_autocomplete_string ("forwarded_count_max"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 19 && !memcmp (cur_token, "forwarded_count_max", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 23 && !cur_token_quoted && !memcmp (cur_token, "online_update_period_ms", cur_token_real_len)) { - set_autocomplete_string ("online_update_period_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 23 && !memcmp (cur_token, "online_update_period_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 23 && !cur_token_quoted && !memcmp (cur_token, "offline_blur_timeout_ms", cur_token_real_len)) { - set_autocomplete_string ("offline_blur_timeout_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 23 && !memcmp (cur_token, "offline_blur_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 23 && !cur_token_quoted && !memcmp (cur_token, "offline_idle_timeout_ms", cur_token_real_len)) { - set_autocomplete_string ("offline_idle_timeout_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 23 && !memcmp (cur_token, "offline_idle_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 23 && !cur_token_quoted && !memcmp (cur_token, "online_cloud_timeout_ms", cur_token_real_len)) { - set_autocomplete_string ("online_cloud_timeout_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 23 && !memcmp (cur_token, "online_cloud_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 21 && !cur_token_quoted && !memcmp (cur_token, "notify_cloud_delay_ms", cur_token_real_len)) { - set_autocomplete_string ("notify_cloud_delay_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 21 && !memcmp (cur_token, "notify_cloud_delay_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field13) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 23 && !cur_token_quoted && !memcmp (cur_token, "notify_default_delay_ms", cur_token_real_len)) { - set_autocomplete_string ("notify_default_delay_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 23 && !memcmp (cur_token, "notify_default_delay_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field14) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "chat_big_size", cur_token_real_len)) { - set_autocomplete_string ("chat_big_size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "chat_big_size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field15) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 19 && !cur_token_quoted && !memcmp (cur_token, "push_chat_period_ms", cur_token_real_len)) { - set_autocomplete_string ("push_chat_period_ms"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 19 && !memcmp (cur_token, "push_chat_period_ms", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field16) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "push_chat_limit", cur_token_real_len)) { - set_autocomplete_string ("push_chat_limit"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "push_chat_limit", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field17) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "disabled_features", cur_token_real_len)) { - set_autocomplete_string ("disabled_features"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "disabled_features", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field18) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "mutual", cur_token_real_len)) { - set_autocomplete_string ("mutual"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "mutual", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contact_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contact_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contact_link_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int autocomplete_constructor_contact_link_none (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int autocomplete_constructor_contact_link_has_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int autocomplete_constructor_contact_link_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int autocomplete_constructor_contact_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_real_len)) { - set_autocomplete_string ("status"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_status (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contact_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "mutual_contacts", cur_token_real_len)) { - set_autocomplete_string ("mutual_contacts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "mutual_contacts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dc_option_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "hostname", cur_token_real_len)) { - set_autocomplete_string ("hostname"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "hostname", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "ip_address", cur_token_real_len)) { - set_autocomplete_string ("ip_address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "ip_address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_real_len)) { - set_autocomplete_string ("port"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "ip_address", cur_token_real_len)) { - set_autocomplete_string ("ip_address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "ip_address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_real_len)) { - set_autocomplete_string ("port"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_real_len)) { - set_autocomplete_string ("ttl"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_decrypted_message_media (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_decrypted_message_action (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "ttl_seconds", cur_token_real_len)) { - set_autocomplete_string ("ttl_seconds"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "ttl_seconds", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_read_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_real_len)) { - set_autocomplete_string ("random_ids"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_real_len)) { - set_autocomplete_string ("random_ids"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_real_len)) { - set_autocomplete_string ("random_ids"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_flush_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int autocomplete_constructor_decrypted_message_action_resend (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "start_seq_no", cur_token_real_len)) { - set_autocomplete_string ("start_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "start_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "end_seq_no", cur_token_real_len)) { - set_autocomplete_string ("end_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "end_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_notify_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_real_len)) { - set_autocomplete_string ("layer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_send_message_action (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_request_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_real_len)) { - set_autocomplete_string ("exchange_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_real_len)) { - set_autocomplete_string ("g_a"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_accept_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_real_len)) { - set_autocomplete_string ("exchange_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_real_len)) { - set_autocomplete_string ("g_b"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_abort_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_real_len)) { - set_autocomplete_string ("exchange_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_commit_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_real_len)) { - set_autocomplete_string ("exchange_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_action_noop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int autocomplete_constructor_decrypted_message_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "random_bytes", cur_token_real_len)) { - set_autocomplete_string ("random_bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "random_bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_real_len)) { - set_autocomplete_string ("layer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "in_seq_no", cur_token_real_len)) { - set_autocomplete_string ("in_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "in_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "out_seq_no", cur_token_real_len)) { - set_autocomplete_string ("out_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "out_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_decrypted_message (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - return 0; -} -int autocomplete_constructor_decrypted_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_real_len)) { - set_autocomplete_string ("str_thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_real_len)) { - set_autocomplete_string ("thumb_w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_real_len)) { - set_autocomplete_string ("thumb_h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_real_len)) { - set_autocomplete_string ("latitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_real_len)) { - set_autocomplete_string ("longitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_real_len)) { - set_autocomplete_string ("str_thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_real_len)) { - set_autocomplete_string ("thumb_w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_real_len)) { - set_autocomplete_string ("thumb_h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_real_len)) { - set_autocomplete_string ("file_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_real_len)) { - set_autocomplete_string ("str_thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_real_len)) { - set_autocomplete_string ("thumb_w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_real_len)) { - set_autocomplete_string ("thumb_h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field10) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_external_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo_size (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_real_len)) { - set_autocomplete_string ("attributes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field8) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_video_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_real_len)) { - set_autocomplete_string ("str_thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_real_len)) { - set_autocomplete_string ("thumb_w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_real_len)) { - set_autocomplete_string ("thumb_h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field9) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_real_len)) { - set_autocomplete_string ("iv"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dialog (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "top_message", cur_token_real_len)) { - set_autocomplete_string ("top_message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "top_message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "read_inbox_max_id", cur_token_real_len)) { - set_autocomplete_string ("read_inbox_max_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "read_inbox_max_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "unread_count", cur_token_real_len)) { - set_autocomplete_string ("unread_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "unread_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_real_len)) { - set_autocomplete_string ("notify_settings"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer_notify_settings (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_disabled_feature (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "feature", cur_token_real_len)) { - set_autocomplete_string ("feature"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "feature", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_real_len)) { - set_autocomplete_string ("description"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo_size (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_real_len)) { - set_autocomplete_string ("attributes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field8) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_l19 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_real_len)) { - set_autocomplete_string ("file_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo_size (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_image_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_animated (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - return 0; -} -int autocomplete_constructor_document_attribute_sticker_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "alt", cur_token_real_len)) { - set_autocomplete_string ("alt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "alt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_sticker (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "alt", cur_token_real_len)) { - set_autocomplete_string ("alt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "alt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_real_len)) { - set_autocomplete_string ("stickerset"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_sticker_set (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_document_attribute_filename (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_real_len)) { - set_autocomplete_string ("file_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_double (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return -1; } - if (is_double ()) { - local_next_token (); - return 0; - } else { - return -1; - } -} -int autocomplete_constructor_encrypted_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_chat_waiting (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_real_len)) { - set_autocomplete_string ("admin_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_real_len)) { - set_autocomplete_string ("participant_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_chat_requested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_real_len)) { - set_autocomplete_string ("admin_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_real_len)) { - set_autocomplete_string ("participant_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_real_len)) { - set_autocomplete_string ("g_a"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_real_len)) { - set_autocomplete_string ("admin_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_real_len)) { - set_autocomplete_string ("participant_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "g_a_or_b", cur_token_real_len)) { - set_autocomplete_string ("g_a_or_b"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "g_a_or_b", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field7) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_chat_discarded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - return 0; -} -int autocomplete_constructor_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_encrypted_file (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_encrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_error (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "code", cur_token_real_len)) { - set_autocomplete_string ("code"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "code", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "text", cur_token_real_len)) { - set_autocomplete_string ("text"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "text", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_chat_invite_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - return 0; -} -int autocomplete_constructor_chat_invite_exported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "link", cur_token_real_len)) { - set_autocomplete_string ("link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_file_location_unavailable (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_real_len)) { - set_autocomplete_string ("volume_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_real_len)) { - set_autocomplete_string ("local_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_real_len)) { - set_autocomplete_string ("secret"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_real_len)) { - set_autocomplete_string ("volume_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_real_len)) { - set_autocomplete_string ("local_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_real_len)) { - set_autocomplete_string ("secret"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geo_chat_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geo_chat_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_action (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - return 0; -} -int autocomplete_constructor_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_real_len)) { - set_autocomplete_string ("longitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_real_len)) { - set_autocomplete_string ("latitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_imported_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "client_id", cur_token_real_len)) { - set_autocomplete_string ("client_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "client_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_app_event (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "time", cur_token_real_len)) { - set_autocomplete_string ("time"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "time", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_real_len)) { - set_autocomplete_string ("data"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - return 0; -} -int autocomplete_constructor_input_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - return 0; -} -int autocomplete_constructor_input_chat_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_real_len)) { - set_autocomplete_string ("crop"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_real_len)) { - set_autocomplete_string ("crop"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_phone_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "client_id", cur_token_real_len)) { - set_autocomplete_string ("client_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "client_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_real_len)) { - set_autocomplete_string ("phone"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - return 0; -} -int autocomplete_constructor_input_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - return 0; -} -int autocomplete_constructor_input_encrypted_file_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_real_len)) { - set_autocomplete_string ("parts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "md5_checksum", cur_token_real_len)) { - set_autocomplete_string ("md5_checksum"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "md5_checksum", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_real_len)) { - set_autocomplete_string ("parts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_real_len)) { - set_autocomplete_string ("parts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_real_len)) { - set_autocomplete_string ("name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "md5_checksum", cur_token_real_len)) { - set_autocomplete_string ("md5_checksum"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "md5_checksum", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_file_big (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_real_len)) { - set_autocomplete_string ("parts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_real_len)) { - set_autocomplete_string ("name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_real_len)) { - set_autocomplete_string ("volume_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_real_len)) { - set_autocomplete_string ("local_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_real_len)) { - set_autocomplete_string ("secret"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_video_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_encrypted_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_audio_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_document_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - return 0; -} -int autocomplete_constructor_input_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_real_len)) { - set_autocomplete_string ("latitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_real_len)) { - set_autocomplete_string ("longitude"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - return 0; -} -int autocomplete_constructor_input_media_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_real_len)) { - set_autocomplete_string ("geo_point"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_point (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_uploaded_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_uploaded_thumb_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "video_id", cur_token_real_len)) { - set_autocomplete_string ("video_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "video_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_video (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_uploaded_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "audio_id", cur_token_real_len)) { - set_autocomplete_string ("audio_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "audio_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_audio (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_uploaded_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_real_len)) { - set_autocomplete_string ("attributes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_uploaded_thumb_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_real_len)) { - set_autocomplete_string ("attributes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "document_id", cur_token_real_len)) { - set_autocomplete_string ("document_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "document_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_document (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_real_len)) { - set_autocomplete_string ("geo_point"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_point (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "provider", cur_token_real_len)) { - set_autocomplete_string ("provider"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "provider", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "venue_id", cur_token_real_len)) { - set_autocomplete_string ("venue_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "venue_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int autocomplete_constructor_input_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int autocomplete_constructor_input_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int autocomplete_constructor_input_notify_geo_chat_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "geo_peer", cur_token_real_len)) { - set_autocomplete_string ("geo_peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "geo_peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_peer_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int autocomplete_constructor_input_peer_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int autocomplete_constructor_input_peer_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_peer_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int autocomplete_constructor_input_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int autocomplete_constructor_input_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "mute_until", cur_token_real_len)) { - set_autocomplete_string ("mute_until"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "mute_until", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "sound", cur_token_real_len)) { - set_autocomplete_string ("sound"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "sound", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "show_previews", cur_token_real_len)) { - set_autocomplete_string ("show_previews"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "show_previews", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "events_mask", cur_token_real_len)) { - set_autocomplete_string ("events_mask"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "events_mask", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - return 0; -} -int autocomplete_constructor_input_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_photo_crop_auto (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - return 0; -} -int autocomplete_constructor_input_photo_crop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "crop_left", cur_token_real_len)) { - set_autocomplete_string ("crop_left"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "crop_left", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "crop_top", cur_token_real_len)) { - set_autocomplete_string ("crop_top"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "crop_top", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "crop_width", cur_token_real_len)) { - set_autocomplete_string ("crop_width"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "crop_width", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_double (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return -1; } - return 0; -} -int autocomplete_constructor_input_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int autocomplete_constructor_input_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int autocomplete_constructor_input_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int autocomplete_constructor_input_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int autocomplete_constructor_input_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_sticker_set_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - return 0; -} -int autocomplete_constructor_input_sticker_set_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_sticker_set_short_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "short_name", cur_token_real_len)) { - set_autocomplete_string ("short_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "short_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int autocomplete_constructor_input_user_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int autocomplete_constructor_input_user_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_user_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - return 0; -} -int autocomplete_constructor_input_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_int (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return -1; } - if (is_int ()) { - local_next_token (); - return 0; - } else { - return -1; - } -} -int autocomplete_constructor_int128 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_int256 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_keyboard_button (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_keyboard_button_row (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return -1; } - if (is_int ()) { - local_next_token (); - return 0; - } else { - return -1; - } -} -int autocomplete_constructor_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_real_len)) { - set_autocomplete_string ("to_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_real_len)) { - set_autocomplete_string ("fwd_from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_real_len)) { - set_autocomplete_string ("fwd_date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_real_len)) { - set_autocomplete_string ("reply_to_msg_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field10) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_real_len)) { - set_autocomplete_string ("reply_markup"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_reply_markup (field11) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_real_len)) { - set_autocomplete_string ("to_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_action (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int autocomplete_constructor_message_action_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_chat_edit_title (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_chat_edit_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_chat_delete_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int autocomplete_constructor_message_action_chat_add_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_chat_delete_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_geo_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_action_geo_chat_checkin (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int autocomplete_constructor_message_action_chat_joined_by_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_real_len)) { - set_autocomplete_string ("inviter_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int autocomplete_constructor_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "video", cur_token_real_len)) { - set_autocomplete_string ("video"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_video (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_geo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_real_len)) { - set_autocomplete_string ("geo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_point (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_unsupported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int autocomplete_constructor_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "document", cur_token_real_len)) { - set_autocomplete_string ("document"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "document", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_document (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "audio", cur_token_real_len)) { - set_autocomplete_string ("audio"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "audio", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_audio (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "webpage", cur_token_real_len)) { - set_autocomplete_string ("webpage"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "webpage", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_web_page (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_real_len)) { - set_autocomplete_string ("geo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_point (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "provider", cur_token_real_len)) { - set_autocomplete_string ("provider"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "provider", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "venue_id", cur_token_real_len)) { - set_autocomplete_string ("venue_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "venue_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_message_media_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "video", cur_token_real_len)) { - set_autocomplete_string ("video"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_video (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_input_messages_filter_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_photo_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_input_messages_filter_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int autocomplete_constructor_nearest_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "country", cur_token_real_len)) { - set_autocomplete_string ("country"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "country", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "this_dc", cur_token_real_len)) { - set_autocomplete_string ("this_dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "this_dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "nearest_dc", cur_token_real_len)) { - set_autocomplete_string ("nearest_dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "nearest_dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int autocomplete_constructor_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int autocomplete_constructor_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int autocomplete_constructor_null (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return -1; } - return 0; -} -int autocomplete_constructor_p_q_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_real_len)) { - set_autocomplete_string ("pq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_real_len)) { - set_autocomplete_string ("p"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "new_nonce", cur_token_real_len)) { - set_autocomplete_string ("new_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "new_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int256 (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_p_q_inner_data_temp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_real_len)) { - set_autocomplete_string ("pq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_real_len)) { - set_autocomplete_string ("p"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "new_nonce", cur_token_real_len)) { - set_autocomplete_string ("new_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "new_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int256 (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "expires_in", cur_token_real_len)) { - set_autocomplete_string ("expires_in"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "expires_in", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_peer_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int autocomplete_constructor_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int autocomplete_constructor_peer_notify_settings_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - return 0; -} -int autocomplete_constructor_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "mute_until", cur_token_real_len)) { - set_autocomplete_string ("mute_until"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "mute_until", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "sound", cur_token_real_len)) { - set_autocomplete_string ("sound"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "sound", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "show_previews", cur_token_real_len)) { - set_autocomplete_string ("show_previews"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "show_previews", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "events_mask", cur_token_real_len)) { - set_autocomplete_string ("events_mask"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "events_mask", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_real_len)) { - set_autocomplete_string ("geo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_point (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_real_len)) { - set_autocomplete_string ("sizes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_real_len)) { - set_autocomplete_string ("geo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_point (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_real_len)) { - set_autocomplete_string ("sizes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field7) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo_size_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_real_len)) { - set_autocomplete_string ("location"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photo_cached_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_real_len)) { - set_autocomplete_string ("location"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return -1; } - return 0; -} -int autocomplete_constructor_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int autocomplete_constructor_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int autocomplete_constructor_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int autocomplete_constructor_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int autocomplete_constructor_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_received_notify_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_reply_keyboard_hide (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_reply_keyboard_force_reply (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_reply_keyboard_markup (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "rows", cur_token_real_len)) { - set_autocomplete_string ("rows"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "rows", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_res_p_q (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_real_len)) { - set_autocomplete_string ("pq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 30 && !cur_token_quoted && !memcmp (cur_token, "server_public_key_fingerprints", cur_token_real_len)) { - set_autocomplete_string ("server_public_key_fingerprints"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 30 && !memcmp (cur_token, "server_public_key_fingerprints", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_send_message_typing_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_cancel_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_record_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_upload_video_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_upload_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_real_len)) { - set_autocomplete_string ("progress"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_send_message_record_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_upload_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_real_len)) { - set_autocomplete_string ("progress"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_send_message_upload_photo_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_real_len)) { - set_autocomplete_string ("progress"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_send_message_upload_document_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_upload_document_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_real_len)) { - set_autocomplete_string ("progress"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_send_message_geo_location_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_send_message_choose_contact_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int autocomplete_constructor_server_d_h_params_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash", cur_token_real_len)) { - set_autocomplete_string ("new_nonce_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "new_nonce_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_server_d_h_params_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "encrypted_answer", cur_token_real_len)) { - set_autocomplete_string ("encrypted_answer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "encrypted_answer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_server_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "g", cur_token_real_len)) { - set_autocomplete_string ("g"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "g", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "dh_prime", cur_token_real_len)) { - set_autocomplete_string ("dh_prime"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "dh_prime", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_real_len)) { - set_autocomplete_string ("g_a"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "server_time", cur_token_real_len)) { - set_autocomplete_string ("server_time"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "server_time", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dh_gen_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash1", cur_token_real_len)) { - set_autocomplete_string ("new_nonce_hash1"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "new_nonce_hash1", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dh_gen_retry (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash2", cur_token_real_len)) { - set_autocomplete_string ("new_nonce_hash2"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "new_nonce_hash2", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_dh_gen_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash3", cur_token_real_len)) { - set_autocomplete_string ("new_nonce_hash3"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "new_nonce_hash3", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_sticker_pack (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "emoticon", cur_token_real_len)) { - set_autocomplete_string ("emoticon"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "emoticon", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_real_len)) { - set_autocomplete_string ("documents"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "short_name", cur_token_real_len)) { - set_autocomplete_string ("short_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "short_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_string (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return -1; } - if (cur_token_len >= 0) { - local_next_token (); - return 0; - } else { - return -1; - } -} -int autocomplete_constructor_update_new_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_message_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_send_message_action (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_chat_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_send_message_action (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_real_len)) { - set_autocomplete_string ("participants"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_participants (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_real_len)) { - set_autocomplete_string ("status"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_status (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_profile_photo (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "previous", cur_token_real_len)) { - set_autocomplete_string ("previous"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "previous", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_contact_registered (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_contact_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "my_link", cur_token_real_len)) { - set_autocomplete_string ("my_link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "my_link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_contact_link (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "foreign_link", cur_token_real_len)) { - set_autocomplete_string ("foreign_link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "foreign_link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_contact_link (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_new_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "auth_key_id", cur_token_real_len)) { - set_autocomplete_string ("auth_key_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "auth_key_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "device", cur_token_real_len)) { - set_autocomplete_string ("device"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "device", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_real_len)) { - set_autocomplete_string ("location"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_new_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "geo_message", cur_token_real_len)) { - set_autocomplete_string ("geo_message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "geo_message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_chat_message (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_new_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "encr_message", cur_token_real_len)) { - set_autocomplete_string ("encr_message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "encr_message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_encrypted_message (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_real_len)) { - set_autocomplete_string ("qts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_encrypted_chat_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_encryption (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "encr_chat", cur_token_real_len)) { - set_autocomplete_string ("encr_chat"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "encr_chat", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_encrypted_chat (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_encrypted_messages_read (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_real_len)) { - set_autocomplete_string ("max_date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_chat_participant_add (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_real_len)) { - set_autocomplete_string ("inviter_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_chat_participant_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_dc_options (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "dc_options", cur_token_real_len)) { - set_autocomplete_string ("dc_options"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "dc_options", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_real_len)) { - set_autocomplete_string ("blocked"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "notify_peer", cur_token_real_len)) { - set_autocomplete_string ("notify_peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "notify_peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_notify_peer (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_real_len)) { - set_autocomplete_string ("notify_settings"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer_notify_settings (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_service_notification (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "message_text", cur_token_real_len)) { - set_autocomplete_string ("message_text"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "message_text", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "popup", cur_token_real_len)) { - set_autocomplete_string ("popup"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "popup", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_privacy (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_privacy_key (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_real_len)) { - set_autocomplete_string ("rules"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_user_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_real_len)) { - set_autocomplete_string ("phone"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_read_history_inbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_read_history_outbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "webpage", cur_token_real_len)) { - set_autocomplete_string ("webpage"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "webpage", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_web_page (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_read_messages_contents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_update_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates_too_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - return 0; -} -int autocomplete_constructor_update_short_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_real_len)) { - set_autocomplete_string ("fwd_from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_real_len)) { - set_autocomplete_string ("fwd_date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_real_len)) { - set_autocomplete_string ("reply_to_msg_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_update_short_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_real_len)) { - set_autocomplete_string ("fwd_from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_real_len)) { - set_autocomplete_string ("fwd_date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_real_len)) { - set_autocomplete_string ("reply_to_msg_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_update_short (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "update", cur_token_real_len)) { - set_autocomplete_string ("update"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "update", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_update (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates_combined (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "updates", cur_token_real_len)) { - set_autocomplete_string ("updates"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "seq_start", cur_token_real_len)) { - set_autocomplete_string ("seq_start"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "seq_start", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "updates", cur_token_real_len)) { - set_autocomplete_string ("updates"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_real_len)) { - set_autocomplete_string ("phone"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_profile_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_real_len)) { - set_autocomplete_string ("status"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_status (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 14)) { - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "bot_info_version", cur_token_real_len)) { - set_autocomplete_string ("bot_info_version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "bot_info_version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_user_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_real_len)) { - set_autocomplete_string ("user"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "link", cur_token_real_len)) { - set_autocomplete_string ("link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_contacts_link (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "profile_photo", cur_token_real_len)) { - set_autocomplete_string ("profile_photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "profile_photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_real_len)) { - set_autocomplete_string ("notify_settings"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_peer_notify_settings (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_real_len)) { - set_autocomplete_string ("blocked"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_real_len)) { - set_autocomplete_string ("bot_info"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bot_info (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user_profile_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - return 0; -} -int autocomplete_constructor_user_profile_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "photo_id", cur_token_real_len)) { - set_autocomplete_string ("photo_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "photo_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "photo_small", cur_token_real_len)) { - set_autocomplete_string ("photo_small"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "photo_small", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "photo_big", cur_token_real_len)) { - set_autocomplete_string ("photo_big"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "photo_big", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_file_location (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user_status_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int autocomplete_constructor_user_status_online (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "expires", cur_token_real_len)) { - set_autocomplete_string ("expires"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "expires", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user_status_offline (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "was_online", cur_token_real_len)) { - set_autocomplete_string ("was_online"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "was_online", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_user_status_recently (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int autocomplete_constructor_user_status_last_week (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int autocomplete_constructor_user_status_last_month (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int autocomplete_constructor_vector (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return -1; } - if (ODDP(T->params[0])) { return -1; } - struct paramed_type *var0 = T->params[0]; assert (var0); - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var1 = INT2PTR (get_int ()); - assert (var1); - local_next_token (); - expect_token_autocomplete ("[", 1); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - while (multiplicity3 -- > 0) { - if (autocomplete_type_any (field3) < 0) { return -1;} - } - expect_token_autocomplete ("]", 1); - return 0; -} -int autocomplete_constructor_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo_size (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_real_len)) { - set_autocomplete_string ("mime_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_real_len)) { - set_autocomplete_string ("size"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_real_len)) { - set_autocomplete_string ("thumb"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo_size (field9) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_real_len)) { - set_autocomplete_string ("w"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_real_len)) { - set_autocomplete_string ("h"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_wall_paper (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_real_len)) { - set_autocomplete_string ("sizes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "color", cur_token_real_len)) { - set_autocomplete_string ("color"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "color", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_wall_paper_solid (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "bg_color", cur_token_real_len)) { - set_autocomplete_string ("bg_color"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "bg_color", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "color", cur_token_real_len)) { - set_autocomplete_string ("color"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "color", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_web_page_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_web_page_pending (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "url", cur_token_real_len)) { - set_autocomplete_string ("url"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "url", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "display_url", cur_token_real_len)) { - set_autocomplete_string ("display_url"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "display_url", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "site_name", cur_token_real_len)) { - set_autocomplete_string ("site_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "site_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_real_len)) { - set_autocomplete_string ("description"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "embed_url", cur_token_real_len)) { - set_autocomplete_string ("embed_url"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "embed_url", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "embed_type", cur_token_real_len)) { - set_autocomplete_string ("embed_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "embed_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "embed_width", cur_token_real_len)) { - set_autocomplete_string ("embed_width"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "embed_width", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "embed_height", cur_token_real_len)) { - set_autocomplete_string ("embed_height"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "embed_height", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 7)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_real_len)) { - set_autocomplete_string ("duration"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 8)) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "author", cur_token_real_len)) { - set_autocomplete_string ("author"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "author", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field15) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_account_authorizations (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_account_no_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_real_len)) { - set_autocomplete_string ("new_salt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 25 && !cur_token_quoted && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_real_len)) { - set_autocomplete_string ("email_unconfirmed_pattern"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 25 && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_account_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "current_salt", cur_token_real_len)) { - set_autocomplete_string ("current_salt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "current_salt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_real_len)) { - set_autocomplete_string ("new_salt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hint", cur_token_real_len)) { - set_autocomplete_string ("hint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "has_recovery", cur_token_real_len)) { - set_autocomplete_string ("has_recovery"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "has_recovery", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 25 && !cur_token_quoted && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_real_len)) { - set_autocomplete_string ("email_unconfirmed_pattern"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 25 && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_account_password_input_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_real_len)) { - set_autocomplete_string ("new_salt"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "new_password_hash", cur_token_real_len)) { - set_autocomplete_string ("new_password_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "new_password_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hint", cur_token_real_len)) { - set_autocomplete_string ("hint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "email", cur_token_real_len)) { - set_autocomplete_string ("email"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "email", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_account_password_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_account_privacy_rules (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_real_len)) { - set_autocomplete_string ("rules"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_account_sent_change_phone_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_real_len)) { - set_autocomplete_string ("send_call_timeout"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_checked_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_exported_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_password_recovery (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_sent_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "phone_registered", cur_token_real_len)) { - set_autocomplete_string ("phone_registered"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "phone_registered", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_real_len)) { - set_autocomplete_string ("send_call_timeout"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "is_password", cur_token_real_len)) { - set_autocomplete_string ("is_password"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "is_password", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_auth_sent_app_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "phone_registered", cur_token_real_len)) { - set_autocomplete_string ("phone_registered"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "phone_registered", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_real_len)) { - set_autocomplete_string ("send_call_timeout"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "is_password", cur_token_real_len)) { - set_autocomplete_string ("is_password"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "is_password", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_encr_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return -1; } - expect_token_autocomplete ("[", 1); - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - while (multiplicity1 -- > 0) { - if (autocomplete_type_any (field1) < 0) { return -1;} - } - expect_token_autocomplete ("]", 1); - return 0; -} -int autocomplete_constructor_binlog_start (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int autocomplete_constructor_binlog_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_real_len)) { - set_autocomplete_string ("dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_real_len)) { - set_autocomplete_string ("name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_real_len)) { - set_autocomplete_string ("ip"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_real_len)) { - set_autocomplete_string ("port"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_dc_option_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_real_len)) { - set_autocomplete_string ("dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_real_len)) { - set_autocomplete_string ("name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_real_len)) { - set_autocomplete_string ("ip"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_real_len)) { - set_autocomplete_string ("port"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_auth_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_real_len)) { - set_autocomplete_string ("dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_binlog_encr_key (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_default_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_real_len)) { - set_autocomplete_string ("dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_dc_signed (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_real_len)) { - set_autocomplete_string ("dc"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_our_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_dh_params (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "root", cur_token_real_len)) { - set_autocomplete_string ("root"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "root", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "prime", cur_token_real_len)) { - set_autocomplete_string ("prime"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "prime", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_binlog_encr_key (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_pts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_qts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_real_len)) { - set_autocomplete_string ("qts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_date (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_seq (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_encr_chat_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_encr_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "admin", cur_token_real_len)) { - set_autocomplete_string ("admin"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "admin", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_binlog_encr_key (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "g_key", cur_token_real_len)) { - set_autocomplete_string ("g_key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "g_key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_binlog_encr_key (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_real_len)) { - set_autocomplete_string ("state"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_real_len)) { - set_autocomplete_string ("ttl"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_real_len)) { - set_autocomplete_string ("layer"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "in_seq_no", cur_token_real_len)) { - set_autocomplete_string ("in_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "in_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "last_in_seq_no", cur_token_real_len)) { - set_autocomplete_string ("last_in_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "last_in_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "out_seq_no", cur_token_real_len)) { - set_autocomplete_string ("out_seq_no"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "out_seq_no", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 27)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field15) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_real_len)) { - set_autocomplete_string ("exchange_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_binlog_encr_key (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_real_len)) { - set_autocomplete_string ("state"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_user_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_user_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_real_len)) { - set_autocomplete_string ("access_hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_real_len)) { - set_autocomplete_string ("phone"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "real_first_name", cur_token_real_len)) { - set_autocomplete_string ("real_first_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "real_first_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "real_last_name", cur_token_real_len)) { - set_autocomplete_string ("real_last_name"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "real_last_name", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "user_photo", cur_token_real_len)) { - set_autocomplete_string ("user_photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "user_photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user_profile_photo (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "last_read_in", cur_token_real_len)) { - set_autocomplete_string ("last_read_in"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "last_read_in", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "last_read_out", cur_token_real_len)) { - set_autocomplete_string ("last_read_out"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "last_read_out", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_real_len)) { - set_autocomplete_string ("bot_info"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bot_info (field14) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "user_num", cur_token_real_len)) { - set_autocomplete_string ("user_num"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "user_num", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_real_len)) { - set_autocomplete_string ("participants"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "chat_photo", cur_token_real_len)) { - set_autocomplete_string ("chat_photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "chat_photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "admin", cur_token_real_len)) { - set_autocomplete_string ("admin"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "admin", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "last_read_in", cur_token_real_len)) { - set_autocomplete_string ("last_read_in"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "last_read_in", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "last_read_out", cur_token_real_len)) { - set_autocomplete_string ("last_read_out"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "last_read_out", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_chat_add_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_real_len)) { - set_autocomplete_string ("inviter_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_chat_del_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_set_msg_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "old_id", cur_token_real_len)) { - set_autocomplete_string ("old_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "old_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "new_id", cur_token_real_len)) { - set_autocomplete_string ("new_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "new_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_message_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_real_len)) { - set_autocomplete_string ("lid"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_message_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_real_len)) { - set_autocomplete_string ("lid"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "to_type", cur_token_real_len)) { - set_autocomplete_string ("to_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "to_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_real_len)) { - set_autocomplete_string ("to_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_real_len)) { - set_autocomplete_string ("fwd_from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_real_len)) { - set_autocomplete_string ("fwd_date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_action (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "reply_id", cur_token_real_len)) { - set_autocomplete_string ("reply_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "reply_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_real_len)) { - set_autocomplete_string ("reply_markup"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_reply_markup (field13) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_message_encr_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_real_len)) { - set_autocomplete_string ("lid"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_real_len)) { - set_autocomplete_string ("from_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "to_type", cur_token_real_len)) { - set_autocomplete_string ("to_type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "to_type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_real_len)) { - set_autocomplete_string ("to_id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "encr_media", cur_token_real_len)) { - set_autocomplete_string ("encr_media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "encr_media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_decrypted_message_media (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "encr_action", cur_token_real_len)) { - set_autocomplete_string ("encr_action"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "encr_action", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_decrypted_message_action (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_encrypted_file (field10) < 0) { return -1;} - } - return 0; -} -int autocomplete_constructor_binlog_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_real_len)) { - set_autocomplete_string ("lid"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_binlog_reset_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int autocomplete_constructor_contacts_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_real_len)) { - set_autocomplete_string ("blocked"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_blocked_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_real_len)) { - set_autocomplete_string ("count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_real_len)) { - set_autocomplete_string ("blocked"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_contacts_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - return 0; -} -int autocomplete_constructor_contacts_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_real_len)) { - set_autocomplete_string ("contacts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_real_len)) { - set_autocomplete_string ("results"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_imported_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "imported", cur_token_real_len)) { - set_autocomplete_string ("imported"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "imported", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "retry_contacts", cur_token_real_len)) { - set_autocomplete_string ("retry_contacts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "retry_contacts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "my_link", cur_token_real_len)) { - set_autocomplete_string ("my_link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "my_link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_contact_link (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "foreign_link", cur_token_real_len)) { - set_autocomplete_string ("foreign_link"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "foreign_link", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_contact_link (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_real_len)) { - set_autocomplete_string ("user"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_contacts_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_real_len)) { - set_autocomplete_string ("results"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geochats_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_real_len)) { - set_autocomplete_string ("results"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geochats_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geochats_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_real_len)) { - set_autocomplete_string ("count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_geochats_stated_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_geo_chat_message (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_help_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "critical", cur_token_real_len)) { - set_autocomplete_string ("critical"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "critical", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "url", cur_token_real_len)) { - set_autocomplete_string ("url"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "url", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "text", cur_token_real_len)) { - set_autocomplete_string ("text"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "text", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_help_no_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - return 0; -} -int autocomplete_constructor_help_invite_text (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_help_support (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_real_len)) { - set_autocomplete_string ("user"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_user (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_affected_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_affected_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_all_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - return 0; -} -int autocomplete_constructor_messages_all_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "packs", cur_token_real_len)) { - set_autocomplete_string ("packs"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "packs", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "sets", cur_token_real_len)) { - set_autocomplete_string ("sets"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "sets", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_real_len)) { - set_autocomplete_string ("documents"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "full_chat", cur_token_real_len)) { - set_autocomplete_string ("full_chat"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "full_chat", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_chat_full (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_dh_config_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "random", cur_token_real_len)) { - set_autocomplete_string ("random"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "random", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_dh_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "g", cur_token_real_len)) { - set_autocomplete_string ("g"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "g", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_real_len)) { - set_autocomplete_string ("p"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "random", cur_token_real_len)) { - set_autocomplete_string ("random"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "random", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_dialogs (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "dialogs", cur_token_real_len)) { - set_autocomplete_string ("dialogs"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "dialogs", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_dialogs_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_real_len)) { - set_autocomplete_string ("count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "dialogs", cur_token_real_len)) { - set_autocomplete_string ("dialogs"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "dialogs", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return -1; } - return 0; -} -int autocomplete_constructor_messages_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_real_len)) { - set_autocomplete_string ("count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_real_len)) { - set_autocomplete_string ("messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_sent_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_sent_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_encrypted_file (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_sent_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_sent_message_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_message_media (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_real_len)) { - set_autocomplete_string ("pts_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "links", cur_token_real_len)) { - set_autocomplete_string ("links"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "links", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field6) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "set", cur_token_real_len)) { - set_autocomplete_string ("set"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "set", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_sticker_set (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "packs", cur_token_real_len)) { - set_autocomplete_string ("packs"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "packs", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_real_len)) { - set_autocomplete_string ("documents"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_messages_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - return 0; -} -int autocomplete_constructor_messages_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "stickers", cur_token_real_len)) { - set_autocomplete_string ("stickers"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "stickers", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photos_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_photo (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photos_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "photos", cur_token_real_len)) { - set_autocomplete_string ("photos"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "photos", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_photos_photos_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_real_len)) { - set_autocomplete_string ("count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "photos", cur_token_real_len)) { - set_autocomplete_string ("photos"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "photos", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_storage_file_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_jpeg (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_gif (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_png (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_pdf (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_mp3 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_mov (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_partial (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_mp4 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_storage_file_webp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int autocomplete_constructor_updates_difference_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates_difference (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "new_messages", cur_token_real_len)) { - set_autocomplete_string ("new_messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "new_messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 22 && !cur_token_quoted && !memcmp (cur_token, "new_encrypted_messages", cur_token_real_len)) { - set_autocomplete_string ("new_encrypted_messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 22 && !memcmp (cur_token, "new_encrypted_messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "other_updates", cur_token_real_len)) { - set_autocomplete_string ("other_updates"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "other_updates", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_real_len)) { - set_autocomplete_string ("state"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates_difference_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "new_messages", cur_token_real_len)) { - set_autocomplete_string ("new_messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "new_messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 22 && !cur_token_quoted && !memcmp (cur_token, "new_encrypted_messages", cur_token_real_len)) { - set_autocomplete_string ("new_encrypted_messages"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 22 && !memcmp (cur_token, "new_encrypted_messages", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "other_updates", cur_token_real_len)) { - set_autocomplete_string ("other_updates"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "other_updates", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_real_len)) { - set_autocomplete_string ("chats"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field5) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 18 && !cur_token_quoted && !memcmp (cur_token, "intermediate_state", cur_token_real_len)) { - set_autocomplete_string ("intermediate_state"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 18 && !memcmp (cur_token, "intermediate_state", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_updates_state (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_real_len)) { - set_autocomplete_string ("qts"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_real_len)) { - set_autocomplete_string ("seq"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "unread_count", cur_token_real_len)) { - set_autocomplete_string ("unread_count"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "unread_count", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int autocomplete_constructor_upload_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return -1; } - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_real_len)) { - set_autocomplete_string ("type"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_storage_file_type (field1) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "mtime", cur_token_real_len)) { - set_autocomplete_string ("mtime"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "mtime", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return -1; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return -1;} - return 0; -} -int autocomplete_type_account_days_t_t_l (struct paramed_type *T) { - if (autocomplete_constructor_account_days_t_t_l (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_account_days_t_t_l (struct paramed_type *T) { - if (autocomplete_constructor_account_days_t_t_l (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_account_days_t_t_l (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "accountDaysTTL", text_len)) { *R = tstrdup ("accountDaysTTL"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_audio (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_audio); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "audioEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_audio_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "audio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_audio (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_audio); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "audioEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_audio_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "audio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_audio (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "audioEmpty", text_len)) { *R = tstrdup ("audioEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "audio", text_len)) { *R = tstrdup ("audio"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_authorization (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_authorization); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "authorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_authorization (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_authorization); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "authorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_authorization (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "authorization", text_len)) { *R = tstrdup ("authorization"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_bool (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bool); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "boolFalse", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bool_false (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "boolTrue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bool_true (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_bool (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bool); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "boolFalse", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bool_false (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "boolTrue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bool_true (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_bool (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "boolFalse", text_len)) { *R = tstrdup ("boolFalse"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "boolTrue", text_len)) { *R = tstrdup ("boolTrue"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_bot_command (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bot_command); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "botCommand", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_command (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "botCommandOld", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_command_old (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_bot_command (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bot_command); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "botCommand", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_command (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "botCommandOld", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_command_old (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_bot_command (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "botCommand", text_len)) { *R = tstrdup ("botCommand"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "botCommandOld", text_len)) { *R = tstrdup ("botCommandOld"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_bot_info (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bot_info); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "botInfoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_info_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "botInfo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_info (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_bot_info (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_bot_info); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "botInfoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_info_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "botInfo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_bot_info (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_bot_info (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "botInfoEmpty", text_len)) { *R = tstrdup ("botInfoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "botInfo", text_len)) { *R = tstrdup ("botInfo"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_bytes (struct paramed_type *T) { - if (autocomplete_constructor_bytes (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_bytes (struct paramed_type *T) { - if (autocomplete_constructor_bytes (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_bytes (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "bytes", text_len)) { *R = tstrdup ("bytes"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "chatEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "chat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "chatForbidden", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_forbidden (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "geoChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "chatEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "chat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "chatForbidden", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_forbidden (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "geoChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatEmpty", text_len)) { *R = tstrdup ("chatEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "chat", text_len)) { *R = tstrdup ("chat"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "chatForbidden", text_len)) { *R = tstrdup ("chatForbidden"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "geoChat", text_len)) { *R = tstrdup ("geoChat"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "chatFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "chatFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_full (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatFull", text_len)) { *R = tstrdup ("chatFull"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_invite (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_invite); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "chatInviteAlready", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_already (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "chatInvite", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_invite (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_invite); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "chatInviteAlready", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_already (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "chatInvite", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_invite (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatInviteAlready", text_len)) { *R = tstrdup ("chatInviteAlready"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "chatInvite", text_len)) { *R = tstrdup ("chatInvite"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_located (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_located); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "chatLocated", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_located (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_located (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_located); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "chatLocated", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_located (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_located (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatLocated", text_len)) { *R = tstrdup ("chatLocated"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_participant (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_participant); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_participant (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_participant); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_participant (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatParticipant", text_len)) { *R = tstrdup ("chatParticipant"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_participants (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_participants); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "chatParticipantsForbidden", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participants_forbidden (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "chatParticipants", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participants (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_participants (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_participants); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "chatParticipantsForbidden", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participants_forbidden (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "chatParticipants", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_participants (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_participants (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatParticipantsForbidden", text_len)) { *R = tstrdup ("chatParticipantsForbidden"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "chatParticipants", text_len)) { *R = tstrdup ("chatParticipants"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_chat_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "chatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "chatPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_chat_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_chat_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "chatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "chatPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_chat_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatPhotoEmpty", text_len)) { *R = tstrdup ("chatPhotoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "chatPhoto", text_len)) { *R = tstrdup ("chatPhoto"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_client_d_h_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_client_d_h_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "client_DH_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_client_d_h_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_client_d_h_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_client_d_h_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "client_DH_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_client_d_h_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_client_d_h_inner_data (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "client_DH_inner_data", text_len)) { *R = tstrdup ("client_DH_inner_data"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_config (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_config); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "config", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_config (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_config (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_config); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "config", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_config (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_config (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "config", text_len)) { *R = tstrdup ("config"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 7 && !memcmp (cur_token, "contact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 7 && !memcmp (cur_token, "contact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contact (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contact", text_len)) { *R = tstrdup ("contact"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact_blocked (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_blocked); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contactBlocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contact_blocked (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_blocked); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contactBlocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contact_blocked (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contactBlocked", text_len)) { *R = tstrdup ("contactBlocked"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact_found (struct paramed_type *T) { - if (autocomplete_constructor_contact_found (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_contact_found (struct paramed_type *T) { - if (autocomplete_constructor_contact_found (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_contact_found (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contactFound", text_len)) { *R = tstrdup ("contactFound"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact_link (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_link); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkUnknown", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_unknown (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contactLinkNone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_none (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contactLinkHasPhone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_has_phone (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contact_link (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_link); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkUnknown", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_unknown (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contactLinkNone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_none (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contactLinkHasPhone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_has_phone (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_link_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contact_link (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contactLinkUnknown", text_len)) { *R = tstrdup ("contactLinkUnknown"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "contactLinkNone", text_len)) { *R = tstrdup ("contactLinkNone"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "contactLinkHasPhone", text_len)) { *R = tstrdup ("contactLinkHasPhone"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "contactLinkContact", text_len)) { *R = tstrdup ("contactLinkContact"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact_status (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_status); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contactStatus", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_status (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contact_status (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_status); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contactStatus", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_status (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contact_status (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contactStatus", text_len)) { *R = tstrdup ("contactStatus"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contact_suggested (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_suggested); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contactSuggested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_suggested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contact_suggested (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contact_suggested); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contactSuggested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contact_suggested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contact_suggested (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contactSuggested", text_len)) { *R = tstrdup ("contactSuggested"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_dc_option (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_dc_option); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "dcOptionL28", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dc_option_l28 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "dcOption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dc_option (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_dc_option (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_dc_option); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "dcOptionL28", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dc_option_l28 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "dcOption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dc_option (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_dc_option (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "dcOptionL28", text_len)) { *R = tstrdup ("dcOptionL28"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "dcOption", text_len)) { *R = tstrdup ("dcOption"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_decrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "decryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "decryptedMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_decrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "decryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "decryptedMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_decrypted_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "decryptedMessage", text_len)) { *R = tstrdup ("decryptedMessage"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "decryptedMessageService", text_len)) { *R = tstrdup ("decryptedMessageService"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_decrypted_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 35 && !memcmp (cur_token, "decryptedMessageActionSetMessageTTL", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_set_message_t_t_l (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionReadMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_read_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 36 && !memcmp (cur_token, "decryptedMessageActionDeleteMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_delete_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 40 && !memcmp (cur_token, "decryptedMessageActionScreenshotMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_screenshot_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionFlushHistory", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_flush_history (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionResend", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_resend (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "decryptedMessageActionNotifyLayer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_notify_layer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 32 && !memcmp (cur_token, "decryptedMessageActionRequestKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_request_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionAcceptKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_accept_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "decryptedMessageActionAbortKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_abort_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionCommitKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_commit_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageActionNoop", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_noop (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_decrypted_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 35 && !memcmp (cur_token, "decryptedMessageActionSetMessageTTL", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_set_message_t_t_l (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionReadMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_read_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 36 && !memcmp (cur_token, "decryptedMessageActionDeleteMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_delete_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 40 && !memcmp (cur_token, "decryptedMessageActionScreenshotMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_screenshot_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionFlushHistory", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_flush_history (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionResend", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_resend (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "decryptedMessageActionNotifyLayer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_notify_layer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 32 && !memcmp (cur_token, "decryptedMessageActionRequestKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_request_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionAcceptKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_accept_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "decryptedMessageActionAbortKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_abort_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionCommitKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_commit_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageActionNoop", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_action_noop (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_decrypted_message_action (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "decryptedMessageActionSetMessageTTL", text_len)) { *R = tstrdup ("decryptedMessageActionSetMessageTTL"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "decryptedMessageActionReadMessages", text_len)) { *R = tstrdup ("decryptedMessageActionReadMessages"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "decryptedMessageActionDeleteMessages", text_len)) { *R = tstrdup ("decryptedMessageActionDeleteMessages"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "decryptedMessageActionScreenshotMessages", text_len)) { *R = tstrdup ("decryptedMessageActionScreenshotMessages"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "decryptedMessageActionFlushHistory", text_len)) { *R = tstrdup ("decryptedMessageActionFlushHistory"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "decryptedMessageActionResend", text_len)) { *R = tstrdup ("decryptedMessageActionResend"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "decryptedMessageActionNotifyLayer", text_len)) { *R = tstrdup ("decryptedMessageActionNotifyLayer"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "decryptedMessageActionTyping", text_len)) { *R = tstrdup ("decryptedMessageActionTyping"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "decryptedMessageActionRequestKey", text_len)) { *R = tstrdup ("decryptedMessageActionRequestKey"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "decryptedMessageActionAcceptKey", text_len)) { *R = tstrdup ("decryptedMessageActionAcceptKey"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "decryptedMessageActionAbortKey", text_len)) { *R = tstrdup ("decryptedMessageActionAbortKey"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "decryptedMessageActionCommitKey", text_len)) { *R = tstrdup ("decryptedMessageActionCommitKey"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "decryptedMessageActionNoop", text_len)) { *R = tstrdup ("decryptedMessageActionNoop"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_decrypted_message_layer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_layer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "decryptedMessageLayer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_layer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_decrypted_message_layer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_layer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "decryptedMessageLayer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_layer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_decrypted_message_layer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "decryptedMessageLayer", text_len)) { *R = tstrdup ("decryptedMessageLayer"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_decrypted_message_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 37 && !memcmp (cur_token, "decryptedMessageMediaExternalDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_external_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaVideoL12", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_video_l12 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaAudioL12", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_audio_l12 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_decrypted_message_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_decrypted_message_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 37 && !memcmp (cur_token, "decryptedMessageMediaExternalDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_external_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaVideoL12", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_video_l12 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaAudioL12", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_decrypted_message_media_audio_l12 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_decrypted_message_media (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "decryptedMessageMediaEmpty", text_len)) { *R = tstrdup ("decryptedMessageMediaEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "decryptedMessageMediaPhoto", text_len)) { *R = tstrdup ("decryptedMessageMediaPhoto"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "decryptedMessageMediaGeoPoint", text_len)) { *R = tstrdup ("decryptedMessageMediaGeoPoint"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "decryptedMessageMediaContact", text_len)) { *R = tstrdup ("decryptedMessageMediaContact"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "decryptedMessageMediaDocument", text_len)) { *R = tstrdup ("decryptedMessageMediaDocument"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "decryptedMessageMediaVideo", text_len)) { *R = tstrdup ("decryptedMessageMediaVideo"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "decryptedMessageMediaAudio", text_len)) { *R = tstrdup ("decryptedMessageMediaAudio"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "decryptedMessageMediaExternalDocument", text_len)) { *R = tstrdup ("decryptedMessageMediaExternalDocument"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "decryptedMessageMediaVideoL12", text_len)) { *R = tstrdup ("decryptedMessageMediaVideoL12"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "decryptedMessageMediaAudioL12", text_len)) { *R = tstrdup ("decryptedMessageMediaAudioL12"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_dialog (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_dialog); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "dialog", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dialog (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_dialog (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_dialog); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "dialog", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dialog (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_dialog (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "dialog", text_len)) { *R = tstrdup ("dialog"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_disabled_feature (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_disabled_feature); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "disabledFeature", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_disabled_feature (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_disabled_feature (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_disabled_feature); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "disabledFeature", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_disabled_feature (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_disabled_feature (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "disabledFeature", text_len)) { *R = tstrdup ("disabledFeature"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_document (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_document); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "documentEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "document", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "document_l19", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_l19 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_document (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_document); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "documentEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "document", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "document_l19", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_l19 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_document (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "documentEmpty", text_len)) { *R = tstrdup ("documentEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "document", text_len)) { *R = tstrdup ("document"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "document_l19", text_len)) { *R = tstrdup ("document_l19"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_document_attribute (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_document_attribute); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "documentAttributeImageSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_image_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeAnimated", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_animated (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "documentAttributeStickerL28", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_sticker_l28 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "documentAttributeSticker", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_sticker (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeFilename", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_filename (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_document_attribute (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_document_attribute); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "documentAttributeImageSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_image_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeAnimated", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_animated (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "documentAttributeStickerL28", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_sticker_l28 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "documentAttributeSticker", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_sticker (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeFilename", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_document_attribute_filename (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_document_attribute (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "documentAttributeImageSize", text_len)) { *R = tstrdup ("documentAttributeImageSize"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "documentAttributeAnimated", text_len)) { *R = tstrdup ("documentAttributeAnimated"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "documentAttributeStickerL28", text_len)) { *R = tstrdup ("documentAttributeStickerL28"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "documentAttributeSticker", text_len)) { *R = tstrdup ("documentAttributeSticker"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "documentAttributeVideo", text_len)) { *R = tstrdup ("documentAttributeVideo"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "documentAttributeAudio", text_len)) { *R = tstrdup ("documentAttributeAudio"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "documentAttributeFilename", text_len)) { *R = tstrdup ("documentAttributeFilename"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_double (struct paramed_type *T) { - if (autocomplete_constructor_double (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_double (struct paramed_type *T) { - if (autocomplete_constructor_double (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_double (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "double", text_len)) { *R = tstrdup ("double"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_encrypted_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedChatEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "encryptedChatWaiting", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_waiting (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatRequested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_requested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatDiscarded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_discarded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_encrypted_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedChatEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "encryptedChatWaiting", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_waiting (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatRequested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_requested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatDiscarded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_chat_discarded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_encrypted_chat (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "encryptedChatEmpty", text_len)) { *R = tstrdup ("encryptedChatEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "encryptedChatWaiting", text_len)) { *R = tstrdup ("encryptedChatWaiting"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "encryptedChatRequested", text_len)) { *R = tstrdup ("encryptedChatRequested"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "encryptedChat", text_len)) { *R = tstrdup ("encryptedChat"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "encryptedChatDiscarded", text_len)) { *R = tstrdup ("encryptedChatDiscarded"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_encrypted_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_file_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_encrypted_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_file_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_encrypted_file (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "encryptedFileEmpty", text_len)) { *R = tstrdup ("encryptedFileEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "encryptedFile", text_len)) { *R = tstrdup ("encryptedFile"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_encrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "encryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "encryptedMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_encrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_encrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "encryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "encryptedMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_encrypted_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_encrypted_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "encryptedMessage", text_len)) { *R = tstrdup ("encryptedMessage"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "encryptedMessageService", text_len)) { *R = tstrdup ("encryptedMessageService"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_error (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_error); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "error", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_error (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_error (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_error); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "error", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_error (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_error (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "error", text_len)) { *R = tstrdup ("error"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_exported_chat_invite (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_exported_chat_invite); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatInviteEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "chatInviteExported", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_exported (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_exported_chat_invite (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_exported_chat_invite); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatInviteEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "chatInviteExported", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_chat_invite_exported (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_exported_chat_invite (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "chatInviteEmpty", text_len)) { *R = tstrdup ("chatInviteEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "chatInviteExported", text_len)) { *R = tstrdup ("chatInviteExported"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_file_location (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_file_location); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "fileLocationUnavailable", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_file_location_unavailable (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "fileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_file_location (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_file_location); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "fileLocationUnavailable", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_file_location_unavailable (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "fileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_file_location (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "fileLocationUnavailable", text_len)) { *R = tstrdup ("fileLocationUnavailable"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "fileLocation", text_len)) { *R = tstrdup ("fileLocation"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_geo_chat_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geo_chat_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "geoChatMessageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "geoChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "geoChatMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_geo_chat_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geo_chat_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "geoChatMessageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "geoChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "geoChatMessageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_chat_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_geo_chat_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "geoChatMessageEmpty", text_len)) { *R = tstrdup ("geoChatMessageEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "geoChatMessage", text_len)) { *R = tstrdup ("geoChatMessage"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "geoChatMessageService", text_len)) { *R = tstrdup ("geoChatMessageService"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_geo_point (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geo_point); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "geoPointEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_point_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "geoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_geo_point (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geo_point); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "geoPointEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_point_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "geoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_geo_point (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "geoPointEmpty", text_len)) { *R = tstrdup ("geoPointEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "geoPoint", text_len)) { *R = tstrdup ("geoPoint"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_imported_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_imported_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "importedContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_imported_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_imported_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_imported_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "importedContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_imported_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_imported_contact (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "importedContact", text_len)) { *R = tstrdup ("importedContact"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_app_event (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_app_event); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "inputAppEvent", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_app_event (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_app_event (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_app_event); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "inputAppEvent", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_app_event (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_app_event (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputAppEvent", text_len)) { *R = tstrdup ("inputAppEvent"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_audio (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_audio); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputAudioEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_audio (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_audio); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputAudioEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_audio (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputAudioEmpty", text_len)) { *R = tstrdup ("inputAudioEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputAudio", text_len)) { *R = tstrdup ("inputAudio"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_chat_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_chat_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "inputChatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputChatUploadedPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_uploaded_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputChatPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_chat_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_chat_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "inputChatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputChatUploadedPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_uploaded_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputChatPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_chat_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_chat_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputChatPhotoEmpty", text_len)) { *R = tstrdup ("inputChatPhotoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputChatUploadedPhoto", text_len)) { *R = tstrdup ("inputChatUploadedPhoto"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputChatPhoto", text_len)) { *R = tstrdup ("inputChatPhoto"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputPhoneContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_phone_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_contact (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_contact); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputPhoneContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_phone_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_contact (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPhoneContact", text_len)) { *R = tstrdup ("inputPhoneContact"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_document (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_document); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputDocumentEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_document (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_document); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputDocumentEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_document (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputDocumentEmpty", text_len)) { *R = tstrdup ("inputDocumentEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputDocument", text_len)) { *R = tstrdup ("inputDocument"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_encrypted_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_encrypted_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_encrypted_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_encrypted_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_encrypted_chat (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputEncryptedChat", text_len)) { *R = tstrdup ("inputEncryptedChat"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_encrypted_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_encrypted_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputEncryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileUploaded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_uploaded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputEncryptedFileBigUploaded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_big_uploaded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_encrypted_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_encrypted_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputEncryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileUploaded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_uploaded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputEncryptedFileBigUploaded", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_big_uploaded (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_encrypted_file (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputEncryptedFileEmpty", text_len)) { *R = tstrdup ("inputEncryptedFileEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputEncryptedFileUploaded", text_len)) { *R = tstrdup ("inputEncryptedFileUploaded"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputEncryptedFile", text_len)) { *R = tstrdup ("inputEncryptedFile"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputEncryptedFileBigUploaded", text_len)) { *R = tstrdup ("inputEncryptedFileBigUploaded"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "inputFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "inputFileBig", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file_big (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "inputFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "inputFileBig", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file_big (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_file (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputFile", text_len)) { *R = tstrdup ("inputFile"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputFileBig", text_len)) { *R = tstrdup ("inputFileBig"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_file_location (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_file_location); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputVideoFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputAudioFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputDocumentFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_file_location (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_file_location); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputVideoFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_encrypted_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputAudioFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_audio_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputDocumentFileLocation", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_document_file_location (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_file_location (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputFileLocation", text_len)) { *R = tstrdup ("inputFileLocation"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputVideoFileLocation", text_len)) { *R = tstrdup ("inputVideoFileLocation"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputEncryptedFileLocation", text_len)) { *R = tstrdup ("inputEncryptedFileLocation"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputAudioFileLocation", text_len)) { *R = tstrdup ("inputAudioFileLocation"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputDocumentFileLocation", text_len)) { *R = tstrdup ("inputDocumentFileLocation"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_geo_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_geo_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "inputGeoChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_geo_chat (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_geo_chat); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "inputGeoChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_geo_chat (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputGeoChat", text_len)) { *R = tstrdup ("inputGeoChat"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_geo_point (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_geo_point); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputGeoPointEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_point_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_geo_point (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_geo_point); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputGeoPointEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_point_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_geo_point (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputGeoPointEmpty", text_len)) { *R = tstrdup ("inputGeoPointEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputGeoPoint", text_len)) { *R = tstrdup ("inputGeoPoint"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputMediaUploadedThumbVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_thumb_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputMediaUploadedDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "inputMediaUploadedThumbDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_thumb_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVenue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_venue (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_geo_point (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputMediaUploadedThumbVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_thumb_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputMediaUploadedDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "inputMediaUploadedThumbDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_uploaded_thumb_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVenue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_media_venue (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_media (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputMediaEmpty", text_len)) { *R = tstrdup ("inputMediaEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputMediaUploadedPhoto", text_len)) { *R = tstrdup ("inputMediaUploadedPhoto"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputMediaPhoto", text_len)) { *R = tstrdup ("inputMediaPhoto"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputMediaGeoPoint", text_len)) { *R = tstrdup ("inputMediaGeoPoint"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputMediaContact", text_len)) { *R = tstrdup ("inputMediaContact"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "inputMediaUploadedVideo", text_len)) { *R = tstrdup ("inputMediaUploadedVideo"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "inputMediaUploadedThumbVideo", text_len)) { *R = tstrdup ("inputMediaUploadedThumbVideo"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "inputMediaVideo", text_len)) { *R = tstrdup ("inputMediaVideo"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "inputMediaUploadedAudio", text_len)) { *R = tstrdup ("inputMediaUploadedAudio"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "inputMediaAudio", text_len)) { *R = tstrdup ("inputMediaAudio"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "inputMediaUploadedDocument", text_len)) { *R = tstrdup ("inputMediaUploadedDocument"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "inputMediaUploadedThumbDocument", text_len)) { *R = tstrdup ("inputMediaUploadedThumbDocument"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "inputMediaDocument", text_len)) { *R = tstrdup ("inputMediaDocument"); return index; } else { index ++; }} - if (index == 13) { if (!strncmp (text, "inputMediaVenue", text_len)) { *R = tstrdup ("inputMediaVenue"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_notify_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_notify_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputNotifyPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyChats", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_chats (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputNotifyAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputNotifyGeoChatPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_geo_chat_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_notify_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_notify_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputNotifyPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyChats", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_chats (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputNotifyAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputNotifyGeoChatPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_notify_geo_chat_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_notify_peer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputNotifyPeer", text_len)) { *R = tstrdup ("inputNotifyPeer"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputNotifyUsers", text_len)) { *R = tstrdup ("inputNotifyUsers"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputNotifyChats", text_len)) { *R = tstrdup ("inputNotifyChats"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputNotifyAll", text_len)) { *R = tstrdup ("inputNotifyAll"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputNotifyGeoChatPeer", text_len)) { *R = tstrdup ("inputNotifyGeoChatPeer"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPeerEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerSelf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_self (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerForeign", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_foreign (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPeerEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerSelf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_self (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerForeign", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_foreign (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_peer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPeerEmpty", text_len)) { *R = tstrdup ("inputPeerEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputPeerSelf", text_len)) { *R = tstrdup ("inputPeerSelf"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputPeerContact", text_len)) { *R = tstrdup ("inputPeerContact"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputPeerForeign", text_len)) { *R = tstrdup ("inputPeerForeign"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputPeerChat", text_len)) { *R = tstrdup ("inputPeerChat"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_peer_notify_events (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer_notify_events); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "inputPeerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_events_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputPeerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_events_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_peer_notify_events (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer_notify_events); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "inputPeerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_events_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputPeerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_events_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_peer_notify_events (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPeerNotifyEventsEmpty", text_len)) { *R = tstrdup ("inputPeerNotifyEventsEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputPeerNotifyEventsAll", text_len)) { *R = tstrdup ("inputPeerNotifyEventsAll"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_peer_notify_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer_notify_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputPeerNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_peer_notify_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_peer_notify_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputPeerNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_peer_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_peer_notify_settings (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPeerNotifySettings", text_len)) { *R = tstrdup ("inputPeerNotifySettings"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputPhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPhotoEmpty", text_len)) { *R = tstrdup ("inputPhotoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputPhoto", text_len)) { *R = tstrdup ("inputPhoto"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_photo_crop (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_photo_crop); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputPhotoCropAuto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_crop_auto (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPhotoCrop", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_crop (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_photo_crop (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_photo_crop); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputPhotoCropAuto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_crop_auto (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPhotoCrop", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_photo_crop (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_photo_crop (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPhotoCropAuto", text_len)) { *R = tstrdup ("inputPhotoCropAuto"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputPhotoCrop", text_len)) { *R = tstrdup ("inputPhotoCrop"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_privacy_key (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_privacy_key); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_privacy_key (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_privacy_key); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_privacy_key (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPrivacyKeyStatusTimestamp", text_len)) { *R = tstrdup ("inputPrivacyKeyStatusTimestamp"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_privacy_rule (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_privacy_rule); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputPrivacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputPrivacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "inputPrivacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputPrivacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_privacy_rule (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_privacy_rule); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputPrivacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputPrivacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_allow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "inputPrivacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputPrivacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_privacy_rule (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputPrivacyValueAllowContacts", text_len)) { *R = tstrdup ("inputPrivacyValueAllowContacts"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputPrivacyValueAllowAll", text_len)) { *R = tstrdup ("inputPrivacyValueAllowAll"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputPrivacyValueAllowUsers", text_len)) { *R = tstrdup ("inputPrivacyValueAllowUsers"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputPrivacyValueDisallowContacts", text_len)) { *R = tstrdup ("inputPrivacyValueDisallowContacts"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputPrivacyValueDisallowAll", text_len)) { *R = tstrdup ("inputPrivacyValueDisallowAll"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "inputPrivacyValueDisallowUsers", text_len)) { *R = tstrdup ("inputPrivacyValueDisallowUsers"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "inputStickerSetEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputStickerSetID", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_i_d (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputStickerSetShortName", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_short_name (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "inputStickerSetEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputStickerSetID", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_i_d (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputStickerSetShortName", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_sticker_set_short_name (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_sticker_set (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputStickerSetEmpty", text_len)) { *R = tstrdup ("inputStickerSetEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputStickerSetID", text_len)) { *R = tstrdup ("inputStickerSetID"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputStickerSetShortName", text_len)) { *R = tstrdup ("inputStickerSetShortName"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_user (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_user); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputUserEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputUserSelf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_self (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserForeign", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_foreign (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_user (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_user); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputUserEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputUserSelf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_self (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserForeign", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_user_foreign (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_user (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputUserEmpty", text_len)) { *R = tstrdup ("inputUserEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputUserSelf", text_len)) { *R = tstrdup ("inputUserSelf"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputUserContact", text_len)) { *R = tstrdup ("inputUserContact"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputUserForeign", text_len)) { *R = tstrdup ("inputUserForeign"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_input_video (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_video); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputVideoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_input_video (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_input_video); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputVideoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_input_video (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputVideoEmpty", text_len)) { *R = tstrdup ("inputVideoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputVideo", text_len)) { *R = tstrdup ("inputVideo"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_int (struct paramed_type *T) { - if (autocomplete_constructor_int (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_int (struct paramed_type *T) { - if (autocomplete_constructor_int (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_int (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "int", text_len)) { *R = tstrdup ("int"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_int128 (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_int128); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int128", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_int128 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_int128 (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_int128); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int128", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_int128 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_int128 (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "int128", text_len)) { *R = tstrdup ("int128"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_int256 (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_int256); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int256", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_int256 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_int256 (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_int256); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int256", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_int256 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_int256 (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "int256", text_len)) { *R = tstrdup ("int256"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_keyboard_button (struct paramed_type *T) { - if (autocomplete_constructor_keyboard_button (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_keyboard_button (struct paramed_type *T) { - if (autocomplete_constructor_keyboard_button (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_keyboard_button (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "keyboardButton", text_len)) { *R = tstrdup ("keyboardButton"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_keyboard_button_row (struct paramed_type *T) { - if (autocomplete_constructor_keyboard_button_row (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_keyboard_button_row (struct paramed_type *T) { - if (autocomplete_constructor_keyboard_button_row (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_keyboard_button_row (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "keyboardButtonRow", text_len)) { *R = tstrdup ("keyboardButtonRow"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_long (struct paramed_type *T) { - if (autocomplete_constructor_long (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_long (struct paramed_type *T) { - if (autocomplete_constructor_long (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_long (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "long", text_len)) { *R = tstrdup ("long"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "messageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "messageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "messageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "messageService", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_service (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messageEmpty", text_len)) { *R = tstrdup ("messageEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "message", text_len)) { *R = tstrdup ("message"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "messageService", text_len)) { *R = tstrdup ("messageService"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "messageActionEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageActionChatCreate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_create (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditTitle", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_edit_title (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_edit_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messageActionChatDeletePhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_delete_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messageActionChatAddUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_add_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionChatDeleteUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_delete_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionGeoChatCreate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_geo_chat_create (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionGeoChatCheckin", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_geo_chat_checkin (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messageActionChatJoinedByLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_joined_by_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "messageActionEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageActionChatCreate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_create (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditTitle", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_edit_title (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_edit_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messageActionChatDeletePhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_delete_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messageActionChatAddUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_add_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionChatDeleteUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_delete_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionGeoChatCreate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_geo_chat_create (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionGeoChatCheckin", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_geo_chat_checkin (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messageActionChatJoinedByLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_action_chat_joined_by_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_message_action (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messageActionEmpty", text_len)) { *R = tstrdup ("messageActionEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messageActionChatCreate", text_len)) { *R = tstrdup ("messageActionChatCreate"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "messageActionChatEditTitle", text_len)) { *R = tstrdup ("messageActionChatEditTitle"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "messageActionChatEditPhoto", text_len)) { *R = tstrdup ("messageActionChatEditPhoto"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "messageActionChatDeletePhoto", text_len)) { *R = tstrdup ("messageActionChatDeletePhoto"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "messageActionChatAddUser", text_len)) { *R = tstrdup ("messageActionChatAddUser"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "messageActionChatDeleteUser", text_len)) { *R = tstrdup ("messageActionChatDeleteUser"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "messageActionGeoChatCreate", text_len)) { *R = tstrdup ("messageActionGeoChatCreate"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "messageActionGeoChatCheckin", text_len)) { *R = tstrdup ("messageActionGeoChatCheckin"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "messageActionChatJoinedByLink", text_len)) { *R = tstrdup ("messageActionChatJoinedByLink"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_message_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messageMediaGeo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_geo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageMediaUnsupported", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_unsupported (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaWebPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVenue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_venue (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaPhotoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_photo_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaVideoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_video_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_message_media (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_message_media); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messageMediaGeo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_geo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaContact", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_contact (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageMediaUnsupported", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_unsupported (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaWebPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVenue", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_venue (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaPhotoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_photo_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaVideoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_message_media_video_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_message_media (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messageMediaEmpty", text_len)) { *R = tstrdup ("messageMediaEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messageMediaPhoto", text_len)) { *R = tstrdup ("messageMediaPhoto"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "messageMediaVideo", text_len)) { *R = tstrdup ("messageMediaVideo"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "messageMediaGeo", text_len)) { *R = tstrdup ("messageMediaGeo"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "messageMediaContact", text_len)) { *R = tstrdup ("messageMediaContact"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "messageMediaUnsupported", text_len)) { *R = tstrdup ("messageMediaUnsupported"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "messageMediaDocument", text_len)) { *R = tstrdup ("messageMediaDocument"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "messageMediaAudio", text_len)) { *R = tstrdup ("messageMediaAudio"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "messageMediaWebPage", text_len)) { *R = tstrdup ("messageMediaWebPage"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "messageMediaVenue", text_len)) { *R = tstrdup ("messageMediaVenue"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "messageMediaPhotoL27", text_len)) { *R = tstrdup ("messageMediaPhotoL27"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "messageMediaVideoL27", text_len)) { *R = tstrdup ("messageMediaVideoL27"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_filter (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_filter); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputMessagesFilterPhotos", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photos (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputMessagesFilterPhotoVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photo_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 38 && !memcmp (cur_token, "inputMessagesFilterPhotoVideoDocuments", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photo_video_documents (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputMessagesFilterDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_filter (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_filter); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputMessagesFilterPhotos", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photos (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputMessagesFilterPhotoVideo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photo_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 38 && !memcmp (cur_token, "inputMessagesFilterPhotoVideoDocuments", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_photo_video_documents (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputMessagesFilterDocument", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_document (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterAudio", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_input_messages_filter_audio (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_filter (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "inputMessagesFilterEmpty", text_len)) { *R = tstrdup ("inputMessagesFilterEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "inputMessagesFilterPhotos", text_len)) { *R = tstrdup ("inputMessagesFilterPhotos"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "inputMessagesFilterVideo", text_len)) { *R = tstrdup ("inputMessagesFilterVideo"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "inputMessagesFilterPhotoVideo", text_len)) { *R = tstrdup ("inputMessagesFilterPhotoVideo"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "inputMessagesFilterPhotoVideoDocuments", text_len)) { *R = tstrdup ("inputMessagesFilterPhotoVideoDocuments"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "inputMessagesFilterDocument", text_len)) { *R = tstrdup ("inputMessagesFilterDocument"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "inputMessagesFilterAudio", text_len)) { *R = tstrdup ("inputMessagesFilterAudio"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_nearest_dc (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_nearest_dc); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "nearestDc", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_nearest_dc (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_nearest_dc (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_nearest_dc); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "nearestDc", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_nearest_dc (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_nearest_dc (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "nearestDc", text_len)) { *R = tstrdup ("nearestDc"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_notify_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_notify_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "notifyPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyChats", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_chats (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "notifyAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_notify_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_notify_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "notifyPeer", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_peer (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyChats", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_chats (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "notifyAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_notify_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_notify_peer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "notifyPeer", text_len)) { *R = tstrdup ("notifyPeer"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "notifyUsers", text_len)) { *R = tstrdup ("notifyUsers"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "notifyChats", text_len)) { *R = tstrdup ("notifyChats"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "notifyAll", text_len)) { *R = tstrdup ("notifyAll"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_null (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_null); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 4 && !memcmp (cur_token, "null", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_null (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_null (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_null); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 4 && !memcmp (cur_token, "null", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_null (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_null (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "null", text_len)) { *R = tstrdup ("null"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_p_q_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_p_q_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "p_q_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_p_q_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "p_q_inner_data_temp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_p_q_inner_data_temp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_p_q_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_p_q_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "p_q_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_p_q_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "p_q_inner_data_temp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_p_q_inner_data_temp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_p_q_inner_data (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "p_q_inner_data", text_len)) { *R = tstrdup ("p_q_inner_data"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "p_q_inner_data_temp", text_len)) { *R = tstrdup ("p_q_inner_data_temp"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "peerUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "peerChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_peer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "peerUser", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "peerChat", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_chat (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_peer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "peerUser", text_len)) { *R = tstrdup ("peerUser"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "peerChat", text_len)) { *R = tstrdup ("peerChat"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_peer_notify_events (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer_notify_events); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "peerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_events_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "peerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_events_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_peer_notify_events (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer_notify_events); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "peerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_events_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "peerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_events_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_peer_notify_events (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "peerNotifyEventsEmpty", text_len)) { *R = tstrdup ("peerNotifyEventsEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "peerNotifyEventsAll", text_len)) { *R = tstrdup ("peerNotifyEventsAll"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_peer_notify_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer_notify_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "peerNotifySettingsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_settings_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "peerNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_peer_notify_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_peer_notify_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "peerNotifySettingsEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_settings_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "peerNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_peer_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_peer_notify_settings (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "peerNotifySettingsEmpty", text_len)) { *R = tstrdup ("peerNotifySettingsEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "peerNotifySettings", text_len)) { *R = tstrdup ("peerNotifySettings"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "photoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "photoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "photoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "photoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "photoEmpty", text_len)) { *R = tstrdup ("photoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "photo", text_len)) { *R = tstrdup ("photo"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "photoL27", text_len)) { *R = tstrdup ("photoL27"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_photo_size (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photo_size); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "photoSizeEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_size_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "photoSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "photoCachedSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_cached_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_photo_size (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photo_size); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "photoSizeEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_size_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "photoSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "photoCachedSize", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photo_cached_size (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_photo_size (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "photoSizeEmpty", text_len)) { *R = tstrdup ("photoSizeEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "photoSize", text_len)) { *R = tstrdup ("photoSize"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "photoCachedSize", text_len)) { *R = tstrdup ("photoCachedSize"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_privacy_key (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_privacy_key); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_privacy_key (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_privacy_key); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_privacy_key (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "privacyKeyStatusTimestamp", text_len)) { *R = tstrdup ("privacyKeyStatusTimestamp"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_privacy_rule (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_privacy_rule); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "privacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "privacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "privacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "privacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_privacy_rule (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_privacy_rule); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "privacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "privacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_allow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "privacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "privacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_privacy_rule (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "privacyValueAllowContacts", text_len)) { *R = tstrdup ("privacyValueAllowContacts"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "privacyValueAllowAll", text_len)) { *R = tstrdup ("privacyValueAllowAll"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "privacyValueAllowUsers", text_len)) { *R = tstrdup ("privacyValueAllowUsers"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "privacyValueDisallowContacts", text_len)) { *R = tstrdup ("privacyValueDisallowContacts"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "privacyValueDisallowAll", text_len)) { *R = tstrdup ("privacyValueDisallowAll"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "privacyValueDisallowUsers", text_len)) { *R = tstrdup ("privacyValueDisallowUsers"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_received_notify_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_received_notify_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "receivedNotifyMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_received_notify_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_received_notify_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_received_notify_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "receivedNotifyMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_received_notify_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_received_notify_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "receivedNotifyMessage", text_len)) { *R = tstrdup ("receivedNotifyMessage"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_reply_markup (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_reply_markup); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "replyKeyboardHide", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_hide (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "replyKeyboardForceReply", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_force_reply (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "replyKeyboardMarkup", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_markup (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_reply_markup (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_reply_markup); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "replyKeyboardHide", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_hide (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "replyKeyboardForceReply", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_force_reply (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "replyKeyboardMarkup", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_reply_keyboard_markup (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_reply_markup (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "replyKeyboardHide", text_len)) { *R = tstrdup ("replyKeyboardHide"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "replyKeyboardForceReply", text_len)) { *R = tstrdup ("replyKeyboardForceReply"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "replyKeyboardMarkup", text_len)) { *R = tstrdup ("replyKeyboardMarkup"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_res_p_q (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_res_p_q); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "resPQ", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_res_p_q (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_res_p_q (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_res_p_q); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "resPQ", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_res_p_q (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_res_p_q (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "resPQ", text_len)) { *R = tstrdup ("resPQ"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_send_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_send_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageTypingAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_typing_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageCancelAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_cancel_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordVideoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_record_video_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadVideoActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_video_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadVideoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_video_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordAudioAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_record_audio_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadAudioActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_audio_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadAudioAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_audio_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadPhotoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_photo_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "sendMessageUploadDocumentActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_document_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadDocumentAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_document_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageGeoLocationAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_geo_location_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "sendMessageChooseContactAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_choose_contact_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_send_message_action (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_send_message_action); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageTypingAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_typing_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageCancelAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_cancel_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordVideoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_record_video_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadVideoActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_video_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadVideoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_video_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordAudioAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_record_audio_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadAudioActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_audio_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadAudioAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_audio_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadPhotoAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_photo_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "sendMessageUploadDocumentActionL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_document_action_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadDocumentAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_upload_document_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageGeoLocationAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_geo_location_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "sendMessageChooseContactAction", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_send_message_choose_contact_action (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_send_message_action (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "sendMessageTypingAction", text_len)) { *R = tstrdup ("sendMessageTypingAction"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "sendMessageCancelAction", text_len)) { *R = tstrdup ("sendMessageCancelAction"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "sendMessageRecordVideoAction", text_len)) { *R = tstrdup ("sendMessageRecordVideoAction"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "sendMessageUploadVideoActionL27", text_len)) { *R = tstrdup ("sendMessageUploadVideoActionL27"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "sendMessageUploadVideoAction", text_len)) { *R = tstrdup ("sendMessageUploadVideoAction"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "sendMessageRecordAudioAction", text_len)) { *R = tstrdup ("sendMessageRecordAudioAction"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "sendMessageUploadAudioActionL27", text_len)) { *R = tstrdup ("sendMessageUploadAudioActionL27"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "sendMessageUploadAudioAction", text_len)) { *R = tstrdup ("sendMessageUploadAudioAction"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "sendMessageUploadPhotoAction", text_len)) { *R = tstrdup ("sendMessageUploadPhotoAction"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "sendMessageUploadDocumentActionL27", text_len)) { *R = tstrdup ("sendMessageUploadDocumentActionL27"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "sendMessageUploadDocumentAction", text_len)) { *R = tstrdup ("sendMessageUploadDocumentAction"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "sendMessageGeoLocationAction", text_len)) { *R = tstrdup ("sendMessageGeoLocationAction"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "sendMessageChooseContactAction", text_len)) { *R = tstrdup ("sendMessageChooseContactAction"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_server_d_h_params (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_server_d_h_params); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "server_DH_params_fail", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_params_fail (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "server_DH_params_ok", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_params_ok (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_server_d_h_params (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_server_d_h_params); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "server_DH_params_fail", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_params_fail (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "server_DH_params_ok", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_params_ok (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_server_d_h_params (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "server_DH_params_fail", text_len)) { *R = tstrdup ("server_DH_params_fail"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "server_DH_params_ok", text_len)) { *R = tstrdup ("server_DH_params_ok"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_server_d_h_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_server_d_h_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "server_DH_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_server_d_h_inner_data (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_server_d_h_inner_data); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "server_DH_inner_data", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_server_d_h_inner_data (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_server_d_h_inner_data (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "server_DH_inner_data", text_len)) { *R = tstrdup ("server_DH_inner_data"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_set_client_d_h_params_answer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_set_client_d_h_params_answer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "dh_gen_ok", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_ok (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "dh_gen_retry", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_retry (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "dh_gen_fail", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_fail (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_set_client_d_h_params_answer (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_set_client_d_h_params_answer); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "dh_gen_ok", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_ok (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "dh_gen_retry", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_retry (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "dh_gen_fail", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_dh_gen_fail (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_set_client_d_h_params_answer (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "dh_gen_ok", text_len)) { *R = tstrdup ("dh_gen_ok"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "dh_gen_retry", text_len)) { *R = tstrdup ("dh_gen_retry"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "dh_gen_fail", text_len)) { *R = tstrdup ("dh_gen_fail"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_sticker_pack (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_sticker_pack); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "stickerPack", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_sticker_pack (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_sticker_pack (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_sticker_pack); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "stickerPack", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_sticker_pack (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_sticker_pack (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "stickerPack", text_len)) { *R = tstrdup ("stickerPack"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "stickerSet", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_sticker_set (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "stickerSet", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_sticker_set (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_sticker_set (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "stickerSet", text_len)) { *R = tstrdup ("stickerSet"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_string (struct paramed_type *T) { - if (autocomplete_constructor_string (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_string (struct paramed_type *T) { - if (autocomplete_constructor_string (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_string (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "string", text_len)) { *R = tstrdup ("string"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "updateNewMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMessageID", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_message_i_d (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateDeleteMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_delete_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateChatUserTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_user_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateChatParticipants", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participants (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserStatus", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_status (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "updateUserName", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_name (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateContactRegistered", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_contact_registered (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateContactLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_contact_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateNewAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateNewGeoChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_geo_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateNewEncryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateEncryptedChatTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encrypted_chat_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateEncryption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encryption (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateEncryptedMessagesRead", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encrypted_messages_read (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "updateChatParticipantAdd", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participant_add (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateChatParticipantDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participant_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateDcOptions", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_dc_options (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateUserBlocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateServiceNotification", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_service_notification (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updatePrivacy", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_privacy (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_phone (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateReadHistoryInbox", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_history_inbox (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateReadHistoryOutbox", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_history_outbox (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updateWebPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "updateReadMessagesContents", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_messages_contents (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMsgUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_msg_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "updateNewMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMessageID", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_message_i_d (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateDeleteMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_delete_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateChatUserTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_user_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateChatParticipants", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participants (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserStatus", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_status (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "updateUserName", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_name (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateContactRegistered", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_contact_registered (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateContactLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_contact_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateNewAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateNewGeoChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_geo_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateNewEncryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_new_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateEncryptedChatTyping", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encrypted_chat_typing (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateEncryption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encryption (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateEncryptedMessagesRead", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_encrypted_messages_read (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "updateChatParticipantAdd", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participant_add (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateChatParticipantDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_chat_participant_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateDcOptions", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_dc_options (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateUserBlocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateNotifySettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_notify_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateServiceNotification", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_service_notification (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updatePrivacy", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_privacy (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhone", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_user_phone (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateReadHistoryInbox", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_history_inbox (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateReadHistoryOutbox", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_history_outbox (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updateWebPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "updateReadMessagesContents", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_read_messages_contents (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMsgUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_msg_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_update (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "updateNewMessage", text_len)) { *R = tstrdup ("updateNewMessage"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "updateMessageID", text_len)) { *R = tstrdup ("updateMessageID"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "updateDeleteMessages", text_len)) { *R = tstrdup ("updateDeleteMessages"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "updateUserTyping", text_len)) { *R = tstrdup ("updateUserTyping"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "updateChatUserTyping", text_len)) { *R = tstrdup ("updateChatUserTyping"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "updateChatParticipants", text_len)) { *R = tstrdup ("updateChatParticipants"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "updateUserStatus", text_len)) { *R = tstrdup ("updateUserStatus"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "updateUserName", text_len)) { *R = tstrdup ("updateUserName"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "updateUserPhoto", text_len)) { *R = tstrdup ("updateUserPhoto"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "updateContactRegistered", text_len)) { *R = tstrdup ("updateContactRegistered"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "updateContactLink", text_len)) { *R = tstrdup ("updateContactLink"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "updateNewAuthorization", text_len)) { *R = tstrdup ("updateNewAuthorization"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "updateNewGeoChatMessage", text_len)) { *R = tstrdup ("updateNewGeoChatMessage"); return index; } else { index ++; }} - if (index == 13) { if (!strncmp (text, "updateNewEncryptedMessage", text_len)) { *R = tstrdup ("updateNewEncryptedMessage"); return index; } else { index ++; }} - if (index == 14) { if (!strncmp (text, "updateEncryptedChatTyping", text_len)) { *R = tstrdup ("updateEncryptedChatTyping"); return index; } else { index ++; }} - if (index == 15) { if (!strncmp (text, "updateEncryption", text_len)) { *R = tstrdup ("updateEncryption"); return index; } else { index ++; }} - if (index == 16) { if (!strncmp (text, "updateEncryptedMessagesRead", text_len)) { *R = tstrdup ("updateEncryptedMessagesRead"); return index; } else { index ++; }} - if (index == 17) { if (!strncmp (text, "updateChatParticipantAdd", text_len)) { *R = tstrdup ("updateChatParticipantAdd"); return index; } else { index ++; }} - if (index == 18) { if (!strncmp (text, "updateChatParticipantDelete", text_len)) { *R = tstrdup ("updateChatParticipantDelete"); return index; } else { index ++; }} - if (index == 19) { if (!strncmp (text, "updateDcOptions", text_len)) { *R = tstrdup ("updateDcOptions"); return index; } else { index ++; }} - if (index == 20) { if (!strncmp (text, "updateUserBlocked", text_len)) { *R = tstrdup ("updateUserBlocked"); return index; } else { index ++; }} - if (index == 21) { if (!strncmp (text, "updateNotifySettings", text_len)) { *R = tstrdup ("updateNotifySettings"); return index; } else { index ++; }} - if (index == 22) { if (!strncmp (text, "updateServiceNotification", text_len)) { *R = tstrdup ("updateServiceNotification"); return index; } else { index ++; }} - if (index == 23) { if (!strncmp (text, "updatePrivacy", text_len)) { *R = tstrdup ("updatePrivacy"); return index; } else { index ++; }} - if (index == 24) { if (!strncmp (text, "updateUserPhone", text_len)) { *R = tstrdup ("updateUserPhone"); return index; } else { index ++; }} - if (index == 25) { if (!strncmp (text, "updateReadHistoryInbox", text_len)) { *R = tstrdup ("updateReadHistoryInbox"); return index; } else { index ++; }} - if (index == 26) { if (!strncmp (text, "updateReadHistoryOutbox", text_len)) { *R = tstrdup ("updateReadHistoryOutbox"); return index; } else { index ++; }} - if (index == 27) { if (!strncmp (text, "updateWebPage", text_len)) { *R = tstrdup ("updateWebPage"); return index; } else { index ++; }} - if (index == 28) { if (!strncmp (text, "updateReadMessagesContents", text_len)) { *R = tstrdup ("updateReadMessagesContents"); return index; } else { index ++; }} - if (index == 29) { if (!strncmp (text, "updateMsgUpdate", text_len)) { *R = tstrdup ("updateMsgUpdate"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_updates (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "updatesTooLong", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_too_long (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updateShortMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateShortChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "updateShort", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updatesCombined", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_combined (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_updates (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "updatesTooLong", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_too_long (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updateShortMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateShortChatMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short_chat_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "updateShort", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_update_short (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updatesCombined", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_combined (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_updates (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "updatesTooLong", text_len)) { *R = tstrdup ("updatesTooLong"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "updateShortMessage", text_len)) { *R = tstrdup ("updateShortMessage"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "updateShortChatMessage", text_len)) { *R = tstrdup ("updateShortChatMessage"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "updateShort", text_len)) { *R = tstrdup ("updateShort"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "updatesCombined", text_len)) { *R = tstrdup ("updatesCombined"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "updates", text_len)) { *R = tstrdup ("updates"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_user (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "userEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_user (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "userEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_user (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "userEmpty", text_len)) { *R = tstrdup ("userEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "user", text_len)) { *R = tstrdup ("user"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_user_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "userFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_user_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "userFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_user_full (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "userFull", text_len)) { *R = tstrdup ("userFull"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_user_profile_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_profile_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "userProfilePhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_profile_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userProfilePhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_profile_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_user_profile_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_profile_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "userProfilePhotoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_profile_photo_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userProfilePhoto", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_profile_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_user_profile_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "userProfilePhotoEmpty", text_len)) { *R = tstrdup ("userProfilePhotoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "userProfilePhoto", text_len)) { *R = tstrdup ("userProfilePhoto"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_user_status (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_status); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "userStatusEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userStatusOnline", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_online (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "userStatusOffline", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_offline (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusRecently", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_recently (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusLastWeek", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_last_week (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "userStatusLastMonth", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_last_month (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_user_status (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_user_status); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "userStatusEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userStatusOnline", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_online (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "userStatusOffline", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_offline (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusRecently", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_recently (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusLastWeek", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_last_week (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "userStatusLastMonth", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_user_status_last_month (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_user_status (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "userStatusEmpty", text_len)) { *R = tstrdup ("userStatusEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "userStatusOnline", text_len)) { *R = tstrdup ("userStatusOnline"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "userStatusOffline", text_len)) { *R = tstrdup ("userStatusOffline"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "userStatusRecently", text_len)) { *R = tstrdup ("userStatusRecently"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "userStatusLastWeek", text_len)) { *R = tstrdup ("userStatusLastWeek"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "userStatusLastMonth", text_len)) { *R = tstrdup ("userStatusLastMonth"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_vector (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_vector); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "vector", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_vector (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_vector (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_vector); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "vector", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_vector (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_vector (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "vector", text_len)) { *R = tstrdup ("vector"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_video (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_video); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "videoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "videoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_video (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_video); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "videoEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "videoL27", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_video_l27 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_video (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "videoEmpty", text_len)) { *R = tstrdup ("videoEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "video", text_len)) { *R = tstrdup ("video"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "videoL27", text_len)) { *R = tstrdup ("videoL27"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_wall_paper (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_wall_paper); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "wallPaper", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_wall_paper (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "wallPaperSolid", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_wall_paper_solid (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_wall_paper (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_wall_paper); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "wallPaper", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_wall_paper (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "wallPaperSolid", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_wall_paper_solid (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_wall_paper (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "wallPaper", text_len)) { *R = tstrdup ("wallPaper"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "wallPaperSolid", text_len)) { *R = tstrdup ("wallPaperSolid"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_web_page (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_web_page); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "webPageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "webPagePending", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page_pending (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "webPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_web_page (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_web_page); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "webPageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "webPagePending", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page_pending (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "webPage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_web_page (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_web_page (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "webPageEmpty", text_len)) { *R = tstrdup ("webPageEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "webPagePending", text_len)) { *R = tstrdup ("webPagePending"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "webPage", text_len)) { *R = tstrdup ("webPage"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_authorizations (struct paramed_type *T) { - if (autocomplete_constructor_account_authorizations (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_account_authorizations (struct paramed_type *T) { - if (autocomplete_constructor_account_authorizations (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_account_authorizations (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.authorizations", text_len)) { *R = tstrdup ("account.authorizations"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_password (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_password); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "account.noPassword", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_no_password (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "account.password", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_password (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_account_password (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_password); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "account.noPassword", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_no_password (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "account.password", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_password (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_account_password (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.noPassword", text_len)) { *R = tstrdup ("account.noPassword"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "account.password", text_len)) { *R = tstrdup ("account.password"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_password_input_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_password_input_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "account.passwordInputSettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_password_input_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_account_password_input_settings (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_password_input_settings); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "account.passwordInputSettings", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_password_input_settings (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_account_password_input_settings (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.passwordInputSettings", text_len)) { *R = tstrdup ("account.passwordInputSettings"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_password_settings (struct paramed_type *T) { - if (autocomplete_constructor_account_password_settings (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_account_password_settings (struct paramed_type *T) { - if (autocomplete_constructor_account_password_settings (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_account_password_settings (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.passwordSettings", text_len)) { *R = tstrdup ("account.passwordSettings"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_privacy_rules (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_privacy_rules); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "account.privacyRules", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_privacy_rules (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_account_privacy_rules (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_privacy_rules); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "account.privacyRules", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_privacy_rules (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_account_privacy_rules (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.privacyRules", text_len)) { *R = tstrdup ("account.privacyRules"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_account_sent_change_phone_code (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_sent_change_phone_code); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sentChangePhoneCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_sent_change_phone_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_account_sent_change_phone_code (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_account_sent_change_phone_code); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sentChangePhoneCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_account_sent_change_phone_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_account_sent_change_phone_code (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.sentChangePhoneCode", text_len)) { *R = tstrdup ("account.sentChangePhoneCode"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_auth_authorization (struct paramed_type *T) { - if (autocomplete_constructor_auth_authorization (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_auth_authorization (struct paramed_type *T) { - if (autocomplete_constructor_auth_authorization (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_auth_authorization (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "auth.authorization", text_len)) { *R = tstrdup ("auth.authorization"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_auth_checked_phone (struct paramed_type *T) { - if (autocomplete_constructor_auth_checked_phone (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_auth_checked_phone (struct paramed_type *T) { - if (autocomplete_constructor_auth_checked_phone (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_auth_checked_phone (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "auth.checkedPhone", text_len)) { *R = tstrdup ("auth.checkedPhone"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_auth_exported_authorization (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_auth_exported_authorization); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "auth.exportedAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_exported_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_auth_exported_authorization (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_auth_exported_authorization); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "auth.exportedAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_exported_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_auth_exported_authorization (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "auth.exportedAuthorization", text_len)) { *R = tstrdup ("auth.exportedAuthorization"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_auth_password_recovery (struct paramed_type *T) { - if (autocomplete_constructor_auth_password_recovery (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_auth_password_recovery (struct paramed_type *T) { - if (autocomplete_constructor_auth_password_recovery (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_auth_password_recovery (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "auth.passwordRecovery", text_len)) { *R = tstrdup ("auth.passwordRecovery"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_auth_sent_code (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_auth_sent_code); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sentCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_sent_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sentAppCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_sent_app_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_auth_sent_code (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_auth_sent_code); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sentCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_sent_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sentAppCode", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_auth_sent_app_code (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_auth_sent_code (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "auth.sentCode", text_len)) { *R = tstrdup ("auth.sentCode"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "auth.sentAppCode", text_len)) { *R = tstrdup ("auth.sentAppCode"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_binlog_encr_key (struct paramed_type *T) { - if (autocomplete_constructor_binlog_encr_key (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_binlog_encr_key (struct paramed_type *T) { - if (autocomplete_constructor_binlog_encr_key (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_binlog_encr_key (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "binlog.encrKey", text_len)) { *R = tstrdup ("binlog.encrKey"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_binlog_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_binlog_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.start", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_start (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcOption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_option (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.dcOptionNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_option_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.authKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_auth_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.defaultDc", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_default_dc (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcSigned", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_signed (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.ourId", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_our_id (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.setDhParams", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_dh_params (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setPts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_pts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setQts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_qts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.setDate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_date (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setSeq", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_seq (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.encrChatDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.encrChatNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "binlog.encrChatExchangeNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_exchange_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.userDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_user_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.userNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_user_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.chatNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatAddParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_add_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatDelParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_del_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.setMsgId", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_msg_id (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "binlog.messageDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.messageNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.messageEncrNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_encr_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.msgUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_msg_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.resetAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_reset_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_binlog_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_binlog_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.start", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_start (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcOption", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_option (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.dcOptionNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_option_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.authKey", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_auth_key (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.defaultDc", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_default_dc (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcSigned", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_dc_signed (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.ourId", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_our_id (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.setDhParams", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_dh_params (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setPts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_pts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setQts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_qts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.setDate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_date (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setSeq", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_seq (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.encrChatDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.encrChatNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "binlog.encrChatExchangeNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_encr_chat_exchange_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.userDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_user_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.userNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_user_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.chatNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatAddParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_add_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatDelParticipant", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_chat_del_participant (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.setMsgId", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_set_msg_id (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "binlog.messageDelete", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_delete (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.messageNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.messageEncrNew", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_message_encr_new (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.msgUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_msg_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.resetAuthorization", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_binlog_reset_authorization (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_binlog_update (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "binlog.start", text_len)) { *R = tstrdup ("binlog.start"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "binlog.dcOption", text_len)) { *R = tstrdup ("binlog.dcOption"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "binlog.dcOptionNew", text_len)) { *R = tstrdup ("binlog.dcOptionNew"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "binlog.authKey", text_len)) { *R = tstrdup ("binlog.authKey"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "binlog.defaultDc", text_len)) { *R = tstrdup ("binlog.defaultDc"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "binlog.dcSigned", text_len)) { *R = tstrdup ("binlog.dcSigned"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "binlog.ourId", text_len)) { *R = tstrdup ("binlog.ourId"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "binlog.setDhParams", text_len)) { *R = tstrdup ("binlog.setDhParams"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "binlog.setPts", text_len)) { *R = tstrdup ("binlog.setPts"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "binlog.setQts", text_len)) { *R = tstrdup ("binlog.setQts"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "binlog.setDate", text_len)) { *R = tstrdup ("binlog.setDate"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "binlog.setSeq", text_len)) { *R = tstrdup ("binlog.setSeq"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "binlog.encrChatDelete", text_len)) { *R = tstrdup ("binlog.encrChatDelete"); return index; } else { index ++; }} - if (index == 13) { if (!strncmp (text, "binlog.encrChatNew", text_len)) { *R = tstrdup ("binlog.encrChatNew"); return index; } else { index ++; }} - if (index == 14) { if (!strncmp (text, "binlog.encrChatExchangeNew", text_len)) { *R = tstrdup ("binlog.encrChatExchangeNew"); return index; } else { index ++; }} - if (index == 15) { if (!strncmp (text, "binlog.userDelete", text_len)) { *R = tstrdup ("binlog.userDelete"); return index; } else { index ++; }} - if (index == 16) { if (!strncmp (text, "binlog.userNew", text_len)) { *R = tstrdup ("binlog.userNew"); return index; } else { index ++; }} - if (index == 17) { if (!strncmp (text, "binlog.chatNew", text_len)) { *R = tstrdup ("binlog.chatNew"); return index; } else { index ++; }} - if (index == 18) { if (!strncmp (text, "binlog.chatAddParticipant", text_len)) { *R = tstrdup ("binlog.chatAddParticipant"); return index; } else { index ++; }} - if (index == 19) { if (!strncmp (text, "binlog.chatDelParticipant", text_len)) { *R = tstrdup ("binlog.chatDelParticipant"); return index; } else { index ++; }} - if (index == 20) { if (!strncmp (text, "binlog.setMsgId", text_len)) { *R = tstrdup ("binlog.setMsgId"); return index; } else { index ++; }} - if (index == 21) { if (!strncmp (text, "binlog.messageDelete", text_len)) { *R = tstrdup ("binlog.messageDelete"); return index; } else { index ++; }} - if (index == 22) { if (!strncmp (text, "binlog.messageNew", text_len)) { *R = tstrdup ("binlog.messageNew"); return index; } else { index ++; }} - if (index == 23) { if (!strncmp (text, "binlog.messageEncrNew", text_len)) { *R = tstrdup ("binlog.messageEncrNew"); return index; } else { index ++; }} - if (index == 24) { if (!strncmp (text, "binlog.msgUpdate", text_len)) { *R = tstrdup ("binlog.msgUpdate"); return index; } else { index ++; }} - if (index == 25) { if (!strncmp (text, "binlog.resetAuthorization", text_len)) { *R = tstrdup ("binlog.resetAuthorization"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_blocked (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_blocked); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.blocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.blockedSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_blocked_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_blocked (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_blocked); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.blocked", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_blocked (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.blockedSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_blocked_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_blocked (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.blocked", text_len)) { *R = tstrdup ("contacts.blocked"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "contacts.blockedSlice", text_len)) { *R = tstrdup ("contacts.blockedSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_contacts (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_contacts); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "contacts.contactsNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_contacts_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "contacts.contacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_contacts (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_contacts); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "contacts.contactsNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_contacts_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "contacts.contacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_contacts (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.contactsNotModified", text_len)) { *R = tstrdup ("contacts.contactsNotModified"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "contacts.contacts", text_len)) { *R = tstrdup ("contacts.contacts"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_found (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_found); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.found", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_found (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_found (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_found); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.found", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_found (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_found (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.found", text_len)) { *R = tstrdup ("contacts.found"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_imported_contacts (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_imported_contacts); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "contacts.importedContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_imported_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_imported_contacts (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_imported_contacts); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "contacts.importedContacts", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_imported_contacts (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_imported_contacts (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.importedContacts", text_len)) { *R = tstrdup ("contacts.importedContacts"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_link (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_link); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contacts.link", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_link (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_link); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contacts.link", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_link (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.link", text_len)) { *R = tstrdup ("contacts.link"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_contacts_suggested (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_suggested); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contacts.suggested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_suggested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_contacts_suggested (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_contacts_suggested); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contacts.suggested", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_contacts_suggested (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_contacts_suggested (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "contacts.suggested", text_len)) { *R = tstrdup ("contacts.suggested"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_geochats_located (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_located); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.located", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_located (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_geochats_located (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_located); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.located", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_located (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_geochats_located (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "geochats.located", text_len)) { *R = tstrdup ("geochats.located"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_geochats_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "geochats.messages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.messagesSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_messages_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_geochats_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "geochats.messages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.messagesSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_messages_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_geochats_messages (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "geochats.messages", text_len)) { *R = tstrdup ("geochats.messages"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "geochats.messagesSlice", text_len)) { *R = tstrdup ("geochats.messagesSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_geochats_stated_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_stated_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.statedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_stated_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_geochats_stated_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_geochats_stated_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.statedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_geochats_stated_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_geochats_stated_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "geochats.statedMessage", text_len)) { *R = tstrdup ("geochats.statedMessage"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_help_app_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_help_app_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "help.appUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_app_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "help.noAppUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_no_app_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_help_app_update (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_help_app_update); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "help.appUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_app_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "help.noAppUpdate", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_no_app_update (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_help_app_update (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "help.appUpdate", text_len)) { *R = tstrdup ("help.appUpdate"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "help.noAppUpdate", text_len)) { *R = tstrdup ("help.noAppUpdate"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_help_invite_text (struct paramed_type *T) { - if (autocomplete_constructor_help_invite_text (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_help_invite_text (struct paramed_type *T) { - if (autocomplete_constructor_help_invite_text (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_help_invite_text (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "help.inviteText", text_len)) { *R = tstrdup ("help.inviteText"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_help_support (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_help_support); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "help.support", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_support (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_help_support (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_help_support); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "help.support", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_help_support (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_help_support (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "help.support", text_len)) { *R = tstrdup ("help.support"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_affected_history (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_affected_history); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.affectedHistory", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_affected_history (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_affected_history (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_affected_history); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.affectedHistory", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_affected_history (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_affected_history (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.affectedHistory", text_len)) { *R = tstrdup ("messages.affectedHistory"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_affected_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_affected_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.affectedMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_affected_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_affected_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_affected_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.affectedMessages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_affected_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_affected_messages (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.affectedMessages", text_len)) { *R = tstrdup ("messages.affectedMessages"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_all_stickers (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_all_stickers); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 31 && !memcmp (cur_token, "messages.allStickersNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_all_stickers_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.allStickers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_all_stickers (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_all_stickers (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_all_stickers); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 31 && !memcmp (cur_token, "messages.allStickersNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_all_stickers_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.allStickers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_all_stickers (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_all_stickers (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.allStickersNotModified", text_len)) { *R = tstrdup ("messages.allStickersNotModified"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.allStickers", text_len)) { *R = tstrdup ("messages.allStickers"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_chat_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_chat_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.chatFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_chat_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_chat_full (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_chat_full); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.chatFull", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_chat_full (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_chat_full (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.chatFull", text_len)) { *R = tstrdup ("messages.chatFull"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_chats (struct paramed_type *T) { - if (autocomplete_constructor_messages_chats (T) < 0) { return -1; } - return 0; -} -int autocomplete_type_bare_messages_chats (struct paramed_type *T) { - if (autocomplete_constructor_messages_chats (T) < 0) { return -1; } - return 0; -} -int do_autocomplete_type_messages_chats (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.chats", text_len)) { *R = tstrdup ("messages.chats"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_dh_config (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_dh_config); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.dhConfigNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dh_config_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.dhConfig", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dh_config (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_dh_config (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_dh_config); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.dhConfigNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dh_config_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.dhConfig", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dh_config (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_dh_config (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.dhConfigNotModified", text_len)) { *R = tstrdup ("messages.dhConfigNotModified"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.dhConfig", text_len)) { *R = tstrdup ("messages.dhConfig"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_dialogs (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_dialogs); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "messages.dialogs", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dialogs (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.dialogsSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dialogs_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_dialogs (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_dialogs); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "messages.dialogs", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dialogs (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.dialogsSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_dialogs_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_dialogs (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.dialogs", text_len)) { *R = tstrdup ("messages.dialogs"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.dialogsSlice", text_len)) { *R = tstrdup ("messages.dialogsSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.messageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.messageEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_message_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.messageEmpty", text_len)) { *R = tstrdup ("messages.messageEmpty"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.messages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.messagesSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_messages_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_messages (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_messages); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.messages", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_messages (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.messagesSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_messages_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_messages (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.messages", text_len)) { *R = tstrdup ("messages.messages"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.messagesSlice", text_len)) { *R = tstrdup ("messages.messagesSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_sent_encrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sent_encrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sentEncryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sentEncryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_sent_encrypted_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sent_encrypted_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sentEncryptedMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_encrypted_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sentEncryptedFile", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_encrypted_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_sent_encrypted_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.sentEncryptedMessage", text_len)) { *R = tstrdup ("messages.sentEncryptedMessage"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.sentEncryptedFile", text_len)) { *R = tstrdup ("messages.sentEncryptedFile"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_sent_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sent_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sentMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.sentMessageLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_message_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_sent_message (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sent_message); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sentMessage", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_message (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.sentMessageLink", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sent_message_link (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_sent_message (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.sentMessage", text_len)) { *R = tstrdup ("messages.sentMessage"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.sentMessageLink", text_len)) { *R = tstrdup ("messages.sentMessageLink"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.stickerSet", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sticker_set (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_sticker_set (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_sticker_set); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.stickerSet", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_sticker_set (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_sticker_set (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.stickerSet", text_len)) { *R = tstrdup ("messages.stickerSet"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_messages_stickers (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_stickers); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.stickersNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_stickers_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.stickers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_stickers (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_messages_stickers (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_messages_stickers); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.stickersNotModified", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_stickers_not_modified (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.stickers", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_messages_stickers (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_messages_stickers (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "messages.stickersNotModified", text_len)) { *R = tstrdup ("messages.stickersNotModified"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "messages.stickers", text_len)) { *R = tstrdup ("messages.stickers"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_photos_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photos_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "photos.photo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_photos_photo (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photos_photo); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "photos.photo", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photo (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_photos_photo (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "photos.photo", text_len)) { *R = tstrdup ("photos.photo"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_photos_photos (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photos_photos); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "photos.photos", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photos (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "photos.photosSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photos_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_photos_photos (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_photos_photos); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "photos.photos", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photos (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "photos.photosSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_photos_photos_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_photos_photos (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "photos.photos", text_len)) { *R = tstrdup ("photos.photos"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "photos.photosSlice", text_len)) { *R = tstrdup ("photos.photosSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_storage_file_type (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_storage_file_type); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.fileUnknown", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_unknown (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileJpeg", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_jpeg (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileGif", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_gif (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePng", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_png (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePdf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_pdf (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp3", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mp3 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMov", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mov (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.filePartial", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_partial (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp4", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mp4 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileWebp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_webp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_storage_file_type (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_storage_file_type); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.fileUnknown", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_unknown (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileJpeg", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_jpeg (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileGif", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_gif (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePng", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_png (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePdf", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_pdf (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp3", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mp3 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMov", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mov (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.filePartial", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_partial (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp4", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_mp4 (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileWebp", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_storage_file_webp (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_storage_file_type (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "storage.fileUnknown", text_len)) { *R = tstrdup ("storage.fileUnknown"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "storage.fileJpeg", text_len)) { *R = tstrdup ("storage.fileJpeg"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "storage.fileGif", text_len)) { *R = tstrdup ("storage.fileGif"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "storage.filePng", text_len)) { *R = tstrdup ("storage.filePng"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "storage.filePdf", text_len)) { *R = tstrdup ("storage.filePdf"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "storage.fileMp3", text_len)) { *R = tstrdup ("storage.fileMp3"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "storage.fileMov", text_len)) { *R = tstrdup ("storage.fileMov"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "storage.filePartial", text_len)) { *R = tstrdup ("storage.filePartial"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "storage.fileMp4", text_len)) { *R = tstrdup ("storage.fileMp4"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "storage.fileWebp", text_len)) { *R = tstrdup ("storage.fileWebp"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_updates_difference (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates_difference); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updates.difference", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_updates_difference (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates_difference); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceEmpty", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference_empty (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updates.difference", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceSlice", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_difference_slice (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_updates_difference (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "updates.differenceEmpty", text_len)) { *R = tstrdup ("updates.differenceEmpty"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "updates.difference", text_len)) { *R = tstrdup ("updates.difference"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "updates.differenceSlice", text_len)) { *R = tstrdup ("updates.differenceSlice"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_updates_state (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates_state); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "updates.state", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_state (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_updates_state (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_updates_state); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "updates.state", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_updates_state (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_updates_state (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "updates.state", text_len)) { *R = tstrdup ("updates.state"); return index; } else { index ++; }} - *R = 0; - return 0; -} -int autocomplete_type_upload_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_upload_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "upload.file", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_upload_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int autocomplete_type_bare_upload_file (struct paramed_type *T) { - expect_token_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_type_upload_file); return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "upload.file", cur_token_len)) { - local_next_token (); - if (autocomplete_constructor_upload_file (T) < 0) { return -1; } - expect_token_autocomplete (")", 1); - return 0; - } - return -1; -} -int do_autocomplete_type_upload_file (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "upload.file", text_len)) { *R = tstrdup ("upload.file"); return index; } else { index ++; }} - *R = 0; - return 0; -} -struct paramed_type *autocomplete_function_account_change_phone (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_real_len)) { - set_autocomplete_string ("phone_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_check_username (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_delete_account (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "reason", cur_token_real_len)) { - set_autocomplete_string ("reason"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "reason", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_account_t_t_l (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb8d0afdf, .id = "AccountDaysTTL", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_authorizations (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1250abde, .id = "account.Authorizations", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_notify_settings (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02b6911b, .id = "InputNotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_notify_peer (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_password (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xeac2a804, .id = "account.Password", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_password_settings (void) { - if (cur_token_len == -3 && cur_token_real_len <= 21 && !cur_token_quoted && !memcmp (cur_token, "current_password_hash", cur_token_real_len)) { - set_autocomplete_string ("current_password_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 21 && !memcmp (cur_token, "current_password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb7b72ab3, .id = "account.PasswordSettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_privacy (void) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4f96cb18, .id = "InputPrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_privacy_key (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x554abb6f, .id = "account.PrivacyRules", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_get_wall_papers (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xafa14973, .id = "WallPaper", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_register_device (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "token_type", cur_token_real_len)) { - set_autocomplete_string ("token_type"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "token_type", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "token", cur_token_real_len)) { - set_autocomplete_string ("token"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "token", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_real_len)) { - set_autocomplete_string ("device_model"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_real_len)) { - set_autocomplete_string ("system_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_real_len)) { - set_autocomplete_string ("app_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "app_sandbox", cur_token_real_len)) { - set_autocomplete_string ("app_sandbox"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "app_sandbox", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field6) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_real_len)) { - set_autocomplete_string ("lang_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field7) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_reset_authorization (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_reset_notify_settings (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_send_change_phone_code (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa4f58c4c, .id = "account.SentChangePhoneCode", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_set_account_t_t_l (void) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_real_len)) { - set_autocomplete_string ("ttl"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb8d0afdf, .id = "AccountDaysTTL", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_account_days_t_t_l (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_set_privacy (void) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_real_len)) { - set_autocomplete_string ("key"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4f96cb18, .id = "InputPrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_privacy_key (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_real_len)) { - set_autocomplete_string ("rules"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4b815163, .id = "InputPrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x554abb6f, .id = "account.PrivacyRules", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_unregister_device (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "token_type", cur_token_real_len)) { - set_autocomplete_string ("token_type"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "token_type", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "token", cur_token_real_len)) { - set_autocomplete_string ("token"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "token", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_device_locked (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "period", cur_token_real_len)) { - set_autocomplete_string ("period"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "period", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_notify_settings (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02b6911b, .id = "InputNotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_notify_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "settings", cur_token_real_len)) { - set_autocomplete_string ("settings"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "settings", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x46a2ce98, .id = "InputPeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer_notify_settings (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_password_settings (void) { - if (cur_token_len == -3 && cur_token_real_len <= 21 && !cur_token_quoted && !memcmp (cur_token, "current_password_hash", cur_token_real_len)) { - set_autocomplete_string ("current_password_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 21 && !memcmp (cur_token, "current_password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "new_settings", cur_token_real_len)) { - set_autocomplete_string ("new_settings"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "new_settings", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbcfc532c, .id = "account.PasswordInputSettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_account_password_input_settings (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_profile (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_status (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "offline", cur_token_real_len)) { - set_autocomplete_string ("offline"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "offline", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_account_update_username (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_bind_temp_auth_key (void) { - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "perm_auth_key_id", cur_token_real_len)) { - set_autocomplete_string ("perm_auth_key_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "perm_auth_key_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "expires_at", cur_token_real_len)) { - set_autocomplete_string ("expires_at"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "expires_at", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 17 && !cur_token_quoted && !memcmp (cur_token, "encrypted_message", cur_token_real_len)) { - set_autocomplete_string ("encrypted_message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 17 && !memcmp (cur_token, "encrypted_message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_check_password (void) { - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "password_hash", cur_token_real_len)) { - set_autocomplete_string ("password_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_check_phone (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x811ea28e, .id = "auth.CheckedPhone", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_export_authorization (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_real_len)) { - set_autocomplete_string ("dc_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xdf969c2d, .id = "auth.ExportedAuthorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_import_authorization (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_import_bot_authorization (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_real_len)) { - set_autocomplete_string ("api_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "api_hash", cur_token_real_len)) { - set_autocomplete_string ("api_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "api_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "bot_auth_token", cur_token_real_len)) { - set_autocomplete_string ("bot_auth_token"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "bot_auth_token", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_log_out (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_recover_password (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "code", cur_token_real_len)) { - set_autocomplete_string ("code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_request_password_recovery (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x137948a5, .id = "auth.PasswordRecovery", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_reset_authorizations (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_send_call (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_send_code (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "sms_type", cur_token_real_len)) { - set_autocomplete_string ("sms_type"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "sms_type", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_real_len)) { - set_autocomplete_string ("api_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "api_hash", cur_token_real_len)) { - set_autocomplete_string ("api_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "api_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_real_len)) { - set_autocomplete_string ("lang_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0cc8bc16, .id = "auth.SentCode", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_send_invites (void) { - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "phone_numbers", cur_token_real_len)) { - set_autocomplete_string ("phone_numbers"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "phone_numbers", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_send_sms (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_sign_in (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_real_len)) { - set_autocomplete_string ("phone_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_auth_sign_up (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_real_len)) { - set_autocomplete_string ("phone_number"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_real_len)) { - set_autocomplete_string ("phone_code_hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_real_len)) { - set_autocomplete_string ("phone_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_real_len)) { - set_autocomplete_string ("first_name"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_real_len)) { - set_autocomplete_string ("last_name"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_block (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_delete_contact (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_delete_contacts (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_export_card (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_get_blocked (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8c1b8fb4, .id = "contacts.Blocked", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_get_contacts (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd8c02560, .id = "contacts.Contacts", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_get_statuses (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd3680c61, .id = "ContactStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_get_suggested (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5649dcc5, .id = "contacts.Suggested", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_import_card (void) { - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "export_card", cur_token_real_len)) { - set_autocomplete_string ("export_card"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "export_card", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_import_contacts (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_real_len)) { - set_autocomplete_string ("contacts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf392b7f4, .id = "InputContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "replace", cur_token_real_len)) { - set_autocomplete_string ("replace"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "replace", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xad524315, .id = "contacts.ImportedContacts", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_resolve_username (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_real_len)) { - set_autocomplete_string ("username"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_search (void) { - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0566000e, .id = "contacts.Found", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_contacts_unblock (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_checkin (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_create_geo_chat (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_real_len)) { - set_autocomplete_string ("geo_point"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_point (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "venue", cur_token_real_len)) { - set_autocomplete_string ("venue"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "venue", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_edit_chat_photo (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3a60776d, .id = "InputChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_chat_photo (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_edit_chat_title (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_real_len)) { - set_autocomplete_string ("address"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_get_full_chat (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe5d7d19c, .id = "messages.ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_get_history (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_get_located (void) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_real_len)) { - set_autocomplete_string ("geo_point"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_point (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "radius", cur_token_real_len)) { - set_autocomplete_string ("radius"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "radius", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x48feb267, .id = "geochats.Located", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_get_recents (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_search (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "filter", cur_token_real_len)) { - set_autocomplete_string ("filter"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "filter", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x80895ae0, .id = "MessagesFilter", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_messages_filter (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "min_date", cur_token_real_len)) { - set_autocomplete_string ("min_date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "min_date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_real_len)) { - set_autocomplete_string ("max_date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_send_media (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_media (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_send_message (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_geochats_set_typing (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "typing", cur_token_real_len)) { - set_autocomplete_string ("typing"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "typing", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_get_app_update (void) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_real_len)) { - set_autocomplete_string ("device_model"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_real_len)) { - set_autocomplete_string ("system_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_real_len)) { - set_autocomplete_string ("app_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_real_len)) { - set_autocomplete_string ("lang_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ddd9627, .id = "help.AppUpdate", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_get_config (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e32b894, .id = "Config", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_get_invite_text (void) { - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_real_len)) { - set_autocomplete_string ("lang_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x18cb9f78, .id = "help.InviteText", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_get_nearest_dc (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8e1a1775, .id = "NearestDc", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_get_support (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17c6b5f6, .id = "help.Support", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_help_save_app_log (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "events", cur_token_real_len)) { - set_autocomplete_string ("events"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "events", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x770656a8, .id = "InputAppEvent", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_init_connection (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_real_len)) { - set_autocomplete_string ("api_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_real_len)) { - set_autocomplete_string ("device_model"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_real_len)) { - set_autocomplete_string ("system_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_real_len)) { - set_autocomplete_string ("app_version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field5) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_real_len)) { - set_autocomplete_string ("lang_code"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_real_len)) { - set_autocomplete_string ("query"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field7 = autocomplete_function_any (); - if (!field7) { return 0; } - add_var_to_be_freed (field7); - if (ODDP(field7)) { return 0; } - struct paramed_type *var0 = field7; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_invoke_after_msg (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "msg_id", cur_token_real_len)) { - set_autocomplete_string ("msg_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_real_len)) { - set_autocomplete_string ("query"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = autocomplete_function_any (); - if (!field3) { return 0; } - add_var_to_be_freed (field3); - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_invoke_after_msgs (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "msg_ids", cur_token_real_len)) { - set_autocomplete_string ("msg_ids"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "msg_ids", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_real_len)) { - set_autocomplete_string ("query"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = autocomplete_function_any (); - if (!field3) { return 0; } - add_var_to_be_freed (field3); - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_invoke_with_layer (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_real_len)) { - set_autocomplete_string ("layer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_real_len)) { - set_autocomplete_string ("query"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = autocomplete_function_any (); - if (!field3) { return 0; } - add_var_to_be_freed (field3); - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_invoke_without_updates (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_real_len)) { - set_autocomplete_string ("query"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = autocomplete_function_any (); - if (!field2) { return 0; } - add_var_to_be_freed (field2); - if (ODDP(field2)) { return 0; } - struct paramed_type *var0 = field2; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_accept_encryption (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_real_len)) { - set_autocomplete_string ("g_b"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("key_fingerprint"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_add_chat_user (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "fwd_limit", cur_token_real_len)) { - set_autocomplete_string ("fwd_limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "fwd_limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_check_chat_invite (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x94f910b1, .id = "ChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_create_chat (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_real_len)) { - set_autocomplete_string ("users"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_delete_chat_user (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_delete_history (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb45c69d1, .id = "messages.AffectedHistory", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_delete_messages (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x84d19185, .id = "messages.AffectedMessages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_discard_encryption (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_edit_chat_photo (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_real_len)) { - set_autocomplete_string ("photo"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3a60776d, .id = "InputChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_chat_photo (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_edit_chat_title (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_real_len)) { - set_autocomplete_string ("title"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_export_chat_invite (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_forward_message (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_forward_messages (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_all_stickers (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb485502f, .id = "messages.AllStickers", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_chats (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x64ff9fd5, .id = "messages.Chats", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_dh_config (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_real_len)) { - set_autocomplete_string ("version"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 13 && !cur_token_quoted && !memcmp (cur_token, "random_length", cur_token_real_len)) { - set_autocomplete_string ("random_length"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 13 && !memcmp (cur_token, "random_length", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xecc058e8, .id = "messages.DhConfig", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_dialogs (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x645af8b3, .id = "messages.Dialogs", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_full_chat (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe5d7d19c, .id = "messages.ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_history (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_messages (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_sticker_set (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_real_len)) { - set_autocomplete_string ("stickerset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb60a24a6, .id = "messages.StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_stickers (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "emoticon", cur_token_real_len)) { - set_autocomplete_string ("emoticon"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "emoticon", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bfa5710, .id = "messages.Stickers", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_get_web_page_preview (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_import_chat_invite (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_real_len)) { - set_autocomplete_string ("hash"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_install_sticker_set (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_real_len)) { - set_autocomplete_string ("stickerset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_read_encrypted_history (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_real_len)) { - set_autocomplete_string ("max_date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_read_history (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb45c69d1, .id = "messages.AffectedHistory", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_read_message_contents (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x84d19185, .id = "messages.AffectedMessages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_received_messages (void) { - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa384b779, .id = "ReceivedNotifyMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_received_queue (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "max_qts", cur_token_real_len)) { - set_autocomplete_string ("max_qts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "max_qts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_request_encryption (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_real_len)) { - set_autocomplete_string ("g_a"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_search (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "filter", cur_token_real_len)) { - set_autocomplete_string ("filter"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "filter", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x80895ae0, .id = "MessagesFilter", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_messages_filter (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "min_date", cur_token_real_len)) { - set_autocomplete_string ("min_date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "min_date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_real_len)) { - set_autocomplete_string ("max_date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field5) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field6) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field7) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field8) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_broadcast (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_real_len)) { - set_autocomplete_string ("contacts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_media (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_encrypted (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_real_len)) { - set_autocomplete_string ("data"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_encrypted_file (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_real_len)) { - set_autocomplete_string ("data"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0b5c064f, .id = "InputEncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_file (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_encrypted_service (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_real_len)) { - set_autocomplete_string ("data"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_media (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - if (cur_token_len < 0) { return 0; } - if (!is_int ()) { return 0;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field2) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_real_len)) { - set_autocomplete_string ("reply_to_msg_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - } - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_real_len)) { - set_autocomplete_string ("media"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_media (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field5) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_real_len)) { - set_autocomplete_string ("reply_markup"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_reply_markup (field6) < 0) { return 0;} - } - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_send_message (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_real_len)) { - set_autocomplete_string ("flags"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - if (cur_token_len < 0) { return 0; } - if (!is_int ()) { return 0;} - struct paramed_type *var0 = INT2PTR (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field2) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len == -3 && cur_token_real_len <= 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_real_len)) { - set_autocomplete_string ("reply_to_msg_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 15 && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - } - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_real_len)) { - set_autocomplete_string ("message"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field5) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_real_len)) { - set_autocomplete_string ("reply_markup"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_reply_markup (field6) < 0) { return 0;} - } - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x799ce190, .id = "messages.SentMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_set_encrypted_typing (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "typing", cur_token_real_len)) { - set_autocomplete_string ("typing"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "typing", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_set_typing (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_real_len)) { - set_autocomplete_string ("peer"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_real_len)) { - set_autocomplete_string ("action"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_send_message_action (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_start_bot (void) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "bot", cur_token_real_len)) { - set_autocomplete_string ("bot"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "bot", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_real_len)) { - set_autocomplete_string ("chat_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_real_len)) { - set_autocomplete_string ("random_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 11 && !cur_token_quoted && !memcmp (cur_token, "start_param", cur_token_real_len)) { - set_autocomplete_string ("start_param"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 11 && !memcmp (cur_token, "start_param", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_messages_uninstall_sticker_set (void) { - if (cur_token_len == -3 && cur_token_real_len <= 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_real_len)) { - set_autocomplete_string ("stickerset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 10 && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_photos_delete_photos (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_photos_get_user_photos (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_real_len)) { - set_autocomplete_string ("user_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_real_len)) { - set_autocomplete_string ("max_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x98cf75f1, .id = "photos.Photos", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_photos_update_profile_photo (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_real_len)) { - set_autocomplete_string ("crop"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo_crop (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_photos_upload_profile_photo (void) { - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_real_len)) { - set_autocomplete_string ("file"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_real_len)) { - set_autocomplete_string ("caption"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_real_len)) { - set_autocomplete_string ("geo_point"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_geo_point (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_real_len)) { - set_autocomplete_string ("crop"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_photo_crop (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x20212ca8, .id = "photos.Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_req_d_h_params (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_real_len)) { - set_autocomplete_string ("p"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_real_len)) { - set_autocomplete_string ("q"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 1 && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 22 && !cur_token_quoted && !memcmp (cur_token, "public_key_fingerprint", cur_token_real_len)) { - set_autocomplete_string ("public_key_fingerprint"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 22 && !memcmp (cur_token, "public_key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field5) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "encrypted_data", cur_token_real_len)) { - set_autocomplete_string ("encrypted_data"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "encrypted_data", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field6) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa9230301, .id = "Server_DH_Params", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_req_pq (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x05162463, .id = "ResPQ", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_set_client_d_h_params (void) { - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_real_len)) { - set_autocomplete_string ("nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_real_len)) { - set_autocomplete_string ("server_nonce"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 12 && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int128 (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 14 && !cur_token_quoted && !memcmp (cur_token, "encrypted_data", cur_token_real_len)) { - set_autocomplete_string ("encrypted_data"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 14 && !memcmp (cur_token, "encrypted_data", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xdb8a468f, .id = "Set_client_DH_params_answer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_updates_get_difference (void) { - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_real_len)) { - set_autocomplete_string ("pts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_real_len)) { - set_autocomplete_string ("date"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 4 && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_real_len)) { - set_autocomplete_string ("qts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 3 && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf57a2419, .id = "updates.Difference", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_updates_get_state (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_upload_get_file (void) { - if (cur_token_len == -3 && cur_token_real_len <= 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_real_len)) { - set_autocomplete_string ("location"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 8 && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe6daa38b, .id = "InputFileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_file_location (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_real_len)) { - set_autocomplete_string ("offset"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 6 && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_real_len)) { - set_autocomplete_string ("limit"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x096a18d5, .id = "upload.File", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_upload_save_big_file_part (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "file_id", cur_token_real_len)) { - set_autocomplete_string ("file_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "file_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "file_part", cur_token_real_len)) { - set_autocomplete_string ("file_part"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "file_part", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 16 && !cur_token_quoted && !memcmp (cur_token, "file_total_parts", cur_token_real_len)) { - set_autocomplete_string ("file_total_parts"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 16 && !memcmp (cur_token, "file_total_parts", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_upload_save_file_part (void) { - if (cur_token_len == -3 && cur_token_real_len <= 7 && !cur_token_quoted && !memcmp (cur_token, "file_id", cur_token_real_len)) { - set_autocomplete_string ("file_id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 7 && !memcmp (cur_token, "file_id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 9 && !cur_token_quoted && !memcmp (cur_token, "file_part", cur_token_real_len)) { - set_autocomplete_string ("file_part"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 9 && !memcmp (cur_token, "file_part", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len == -3 && cur_token_real_len <= 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_real_len)) { - set_autocomplete_string ("bytes"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 5 && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_users_get_full_user (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (autocomplete_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5a89ac5b, .id = "UserFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *autocomplete_function_users_get_users (void) { - if (cur_token_len == -3 && cur_token_real_len <= 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_real_len)) { - set_autocomplete_string ("id"); - return 0; - } - if (cur_token_len >= 0 && cur_token_len == 2 && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr_autocomplete (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (autocomplete_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -int autocomplete_type_any (struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return autocomplete_type_account_days_t_t_l (T); - case 0x472f5020: return autocomplete_type_bare_account_days_t_t_l (T); - case 0x9fc5ec4e: return autocomplete_type_audio (T); - case 0x603a13b1: return autocomplete_type_bare_audio (T); - case 0x7bf2e6f6: return autocomplete_type_authorization (T); - case 0x840d1909: return autocomplete_type_bare_authorization (T); - case 0x250be282: return autocomplete_type_bool (T); - case 0xdaf41d7d: return autocomplete_type_bare_bool (T); - case 0x75e7ea6c: return autocomplete_type_bot_command (T); - case 0x8a181593: return autocomplete_type_bare_bot_command (T); - case 0xb2e16f93: return autocomplete_type_bot_info (T); - case 0x4d1e906c: return autocomplete_type_bare_bot_info (T); - case 0x0ee1379f: return autocomplete_type_bytes (T); - case 0xf11ec860: return autocomplete_type_bare_bytes (T); - case 0x7bd865dc: return autocomplete_type_chat (T); - case 0x84279a23: return autocomplete_type_bare_chat (T); - case 0x2e02a614: return autocomplete_type_chat_full (T); - case 0xd1fd59eb: return autocomplete_type_bare_chat_full (T); - case 0x94f910b1: return autocomplete_type_chat_invite (T); - case 0x6b06ef4e: return autocomplete_type_bare_chat_invite (T); - case 0x3631cf4c: return autocomplete_type_chat_located (T); - case 0xc9ce30b3: return autocomplete_type_bare_chat_located (T); - case 0xc8d7493e: return autocomplete_type_chat_participant (T); - case 0x3728b6c1: return autocomplete_type_bare_chat_participant (T); - case 0x77930f9f: return autocomplete_type_chat_participants (T); - case 0x886cf060: return autocomplete_type_bare_chat_participants (T); - case 0x56922676: return autocomplete_type_chat_photo (T); - case 0xa96dd989: return autocomplete_type_bare_chat_photo (T); - case 0x6643b654: return autocomplete_type_client_d_h_inner_data (T); - case 0x99bc49ab: return autocomplete_type_bare_client_d_h_inner_data (T); - case 0x4e32b894: return autocomplete_type_config (T); - case 0xb1cd476b: return autocomplete_type_bare_config (T); - case 0xf911c994: return autocomplete_type_contact (T); - case 0x06ee366b: return autocomplete_type_bare_contact (T); - case 0x561bc879: return autocomplete_type_contact_blocked (T); - case 0xa9e43786: return autocomplete_type_bare_contact_blocked (T); - case 0xea879f95: return autocomplete_type_contact_found (T); - case 0x1578606a: return autocomplete_type_bare_contact_found (T); - case 0x522fbc63: return autocomplete_type_contact_link (T); - case 0xadd0439c: return autocomplete_type_bare_contact_link (T); - case 0xd3680c61: return autocomplete_type_contact_status (T); - case 0x2c97f39e: return autocomplete_type_bare_contact_status (T); - case 0x3de191a1: return autocomplete_type_contact_suggested (T); - case 0xc21e6e5e: return autocomplete_type_bare_contact_suggested (T); - case 0x2b1a62f0: return autocomplete_type_dc_option (T); - case 0xd4e59d0f: return autocomplete_type_bare_dc_option (T); - case 0x535b7918: return autocomplete_type_decrypted_message (T); - case 0xaca486e7: return autocomplete_type_bare_decrypted_message (T); - case 0x4e0eefde: return autocomplete_type_decrypted_message_action (T); - case 0xb1f11021: return autocomplete_type_bare_decrypted_message_action (T); - case 0x1be31789: return autocomplete_type_decrypted_message_layer (T); - case 0xe41ce876: return autocomplete_type_bare_decrypted_message_layer (T); - case 0x34e0d674: return autocomplete_type_decrypted_message_media (T); - case 0xcb1f298b: return autocomplete_type_bare_decrypted_message_media (T); - case 0xc1dd804a: return autocomplete_type_dialog (T); - case 0x3e227fb5: return autocomplete_type_bare_dialog (T); - case 0xae636f24: return autocomplete_type_disabled_feature (T); - case 0x519c90db: return autocomplete_type_bare_disabled_feature (T); - case 0x51a73418: return autocomplete_type_document (T); - case 0xae58cbe7: return autocomplete_type_bare_document (T); - case 0x97c637a3: return autocomplete_type_document_attribute (T); - case 0x6839c85c: return autocomplete_type_bare_document_attribute (T); - case 0x2210c154: return autocomplete_type_double (T); - case 0xddef3eab: return autocomplete_type_bare_double (T); - case 0xb1718213: return autocomplete_type_encrypted_chat (T); - case 0x4e8e7dec: return autocomplete_type_bare_encrypted_chat (T); - case 0x886fd032: return autocomplete_type_encrypted_file (T); - case 0x77902fcd: return autocomplete_type_bare_encrypted_file (T); - case 0xce6b8a1e: return autocomplete_type_encrypted_message (T); - case 0x319475e1: return autocomplete_type_bare_encrypted_message (T); - case 0xc4b9f9bb: return autocomplete_type_error (T); - case 0x3b460644: return autocomplete_type_bare_error (T); - case 0x95f132d5: return autocomplete_type_exported_chat_invite (T); - case 0x6a0ecd2a: return autocomplete_type_bare_exported_chat_invite (T); - case 0x2f8ffb30: return autocomplete_type_file_location (T); - case 0xd07004cf: return autocomplete_type_bare_file_location (T); - case 0xf67b4034: return autocomplete_type_geo_chat_message (T); - case 0x0984bfcb: return autocomplete_type_bare_geo_chat_message (T); - case 0x315e0a53: return autocomplete_type_geo_point (T); - case 0xcea1f5ac: return autocomplete_type_bare_geo_point (T); - case 0xd0028438: return autocomplete_type_imported_contact (T); - case 0x2ffd7bc7: return autocomplete_type_bare_imported_contact (T); - case 0x770656a8: return autocomplete_type_input_app_event (T); - case 0x88f9a957: return autocomplete_type_bare_input_app_event (T); - case 0xae8e9c7b: return autocomplete_type_input_audio (T); - case 0x51716384: return autocomplete_type_bare_input_audio (T); - case 0x3a60776d: return autocomplete_type_input_chat_photo (T); - case 0xc59f8892: return autocomplete_type_bare_input_chat_photo (T); - case 0xf392b7f4: return autocomplete_type_input_contact (T); - case 0x0c6d480b: return autocomplete_type_bare_input_contact (T); - case 0x6a8963fc: return autocomplete_type_input_document (T); - case 0x95769c03: return autocomplete_type_bare_input_document (T); - case 0xf141b5e1: return autocomplete_type_input_encrypted_chat (T); - case 0x0ebe4a1e: return autocomplete_type_bare_input_encrypted_chat (T); - case 0x0b5c064f: return autocomplete_type_input_encrypted_file (T); - case 0xf4a3f9b0: return autocomplete_type_bare_input_encrypted_file (T); - case 0x0f60f9ca: return autocomplete_type_input_file (T); - case 0xf09f0635: return autocomplete_type_bare_input_file (T); - case 0xe6daa38b: return autocomplete_type_input_file_location (T); - case 0x19255c74: return autocomplete_type_bare_input_file_location (T); - case 0x74d456fa: return autocomplete_type_input_geo_chat (T); - case 0x8b2ba905: return autocomplete_type_bare_input_geo_chat (T); - case 0x17768f1f: return autocomplete_type_input_geo_point (T); - case 0xe88970e0: return autocomplete_type_bare_input_geo_point (T); - case 0xb32c91dd: return autocomplete_type_input_media (T); - case 0x4cd36e22: return autocomplete_type_bare_input_media (T); - case 0x02b6911b: return autocomplete_type_input_notify_peer (T); - case 0xfd496ee4: return autocomplete_type_bare_input_notify_peer (T); - case 0x9e67268d: return autocomplete_type_input_peer (T); - case 0x6198d972: return autocomplete_type_bare_input_peer (T); - case 0x185a48ac: return autocomplete_type_input_peer_notify_events (T); - case 0xe7a5b753: return autocomplete_type_bare_input_peer_notify_events (T); - case 0x46a2ce98: return autocomplete_type_input_peer_notify_settings (T); - case 0xb95d3167: return autocomplete_type_bare_input_peer_notify_settings (T); - case 0xe74279c9: return autocomplete_type_input_photo (T); - case 0x18bd8636: return autocomplete_type_bare_input_photo (T); - case 0x7477e321: return autocomplete_type_input_photo_crop (T); - case 0x8b881cde: return autocomplete_type_bare_input_photo_crop (T); - case 0x4f96cb18: return autocomplete_type_input_privacy_key (T); - case 0xb06934e7: return autocomplete_type_bare_input_privacy_key (T); - case 0x4b815163: return autocomplete_type_input_privacy_rule (T); - case 0xb47eae9c: return autocomplete_type_bare_input_privacy_rule (T); - case 0xe44d415c: return autocomplete_type_input_sticker_set (T); - case 0x1bb2bea3: return autocomplete_type_bare_input_sticker_set (T); - case 0xadfe0c6a: return autocomplete_type_input_user (T); - case 0x5201f395: return autocomplete_type_bare_input_user (T); - case 0xbb5f7a27: return autocomplete_type_input_video (T); - case 0x44a085d8: return autocomplete_type_bare_input_video (T); - case 0xa8509bda: return autocomplete_type_int (T); - case 0x57af6425: return autocomplete_type_bare_int (T); - case 0x7d36c439: return autocomplete_type_int128 (T); - case 0x82c93bc6: return autocomplete_type_bare_int128 (T); - case 0xf2c798b3: return autocomplete_type_int256 (T); - case 0x0d38674c: return autocomplete_type_bare_int256 (T); - case 0xa2fa4880: return autocomplete_type_keyboard_button (T); - case 0x5d05b77f: return autocomplete_type_bare_keyboard_button (T); - case 0x77608b83: return autocomplete_type_keyboard_button_row (T); - case 0x889f747c: return autocomplete_type_bare_keyboard_button_row (T); - case 0x22076cba: return autocomplete_type_long (T); - case 0xddf89345: return autocomplete_type_bare_long (T); - case 0x5d652a7f: return autocomplete_type_message (T); - case 0xa29ad580: return autocomplete_type_bare_message (T); - case 0x383415fa: return autocomplete_type_message_action (T); - case 0xc7cbea05: return autocomplete_type_bare_message_action (T); - case 0x95f2471a: return autocomplete_type_message_media (T); - case 0x6a0db8e5: return autocomplete_type_bare_message_media (T); - case 0x80895ae0: return autocomplete_type_messages_filter (T); - case 0x7f76a51f: return autocomplete_type_bare_messages_filter (T); - case 0x8e1a1775: return autocomplete_type_nearest_dc (T); - case 0x71e5e88a: return autocomplete_type_bare_nearest_dc (T); - case 0x9fcb8237: return autocomplete_type_notify_peer (T); - case 0x60347dc8: return autocomplete_type_bare_notify_peer (T); - case 0x56730bcc: return autocomplete_type_null (T); - case 0xa98cf433: return autocomplete_type_bare_null (T); - case 0xbfa3de38: return autocomplete_type_p_q_inner_data (T); - case 0x405c21c7: return autocomplete_type_bare_p_q_inner_data (T); - case 0x276159d6: return autocomplete_type_peer (T); - case 0xd89ea629: return autocomplete_type_bare_peer (T); - case 0xc0c8d13b: return autocomplete_type_peer_notify_events (T); - case 0x3f372ec4: return autocomplete_type_bare_peer_notify_events (T); - case 0xfdf894fc: return autocomplete_type_peer_notify_settings (T); - case 0x02076b03: return autocomplete_type_bare_peer_notify_settings (T); - case 0xc207550a: return autocomplete_type_photo (T); - case 0x3df8aaf5: return autocomplete_type_bare_photo (T); - case 0x900f60dd: return autocomplete_type_photo_size (T); - case 0x6ff09f22: return autocomplete_type_bare_photo_size (T); - case 0xbc2eab30: return autocomplete_type_privacy_key (T); - case 0x43d154cf: return autocomplete_type_bare_privacy_key (T); - case 0xa8638aec: return autocomplete_type_privacy_rule (T); - case 0x579c7513: return autocomplete_type_bare_privacy_rule (T); - case 0xa384b779: return autocomplete_type_received_notify_message (T); - case 0x5c7b4886: return autocomplete_type_bare_received_notify_message (T); - case 0x612ca4a9: return autocomplete_type_reply_markup (T); - case 0x9ed35b56: return autocomplete_type_bare_reply_markup (T); - case 0x05162463: return autocomplete_type_res_p_q (T); - case 0xfae9db9c: return autocomplete_type_bare_res_p_q (T); - case 0x70541c7e: return autocomplete_type_send_message_action (T); - case 0x8fabe381: return autocomplete_type_bare_send_message_action (T); - case 0xa9230301: return autocomplete_type_server_d_h_params (T); - case 0x56dcfcfe: return autocomplete_type_bare_server_d_h_params (T); - case 0xb5890dba: return autocomplete_type_server_d_h_inner_data (T); - case 0x4a76f245: return autocomplete_type_bare_server_d_h_inner_data (T); - case 0xdb8a468f: return autocomplete_type_set_client_d_h_params_answer (T); - case 0x2475b970: return autocomplete_type_bare_set_client_d_h_params_answer (T); - case 0x12b299d4: return autocomplete_type_sticker_pack (T); - case 0xed4d662b: return autocomplete_type_bare_sticker_pack (T); - case 0xa7a43b17: return autocomplete_type_sticker_set (T); - case 0x585bc4e8: return autocomplete_type_bare_sticker_set (T); - case 0xb5286e24: return autocomplete_type_string (T); - case 0x4ad791db: return autocomplete_type_bare_string (T); - case 0x2e02b27e: return autocomplete_type_update (T); - case 0xd1fd4d81: return autocomplete_type_bare_update (T); - case 0x22499d27: return autocomplete_type_updates (T); - case 0xddb662d8: return autocomplete_type_bare_updates (T); - case 0x02e6c0c8: return autocomplete_type_user (T); - case 0xfd193f37: return autocomplete_type_bare_user (T); - case 0x5a89ac5b: return autocomplete_type_user_full (T); - case 0xa57653a4: return autocomplete_type_bare_user_full (T); - case 0x9a486229: return autocomplete_type_user_profile_photo (T); - case 0x65b79dd6: return autocomplete_type_bare_user_profile_photo (T); - case 0x76de9570: return autocomplete_type_user_status (T); - case 0x89216a8f: return autocomplete_type_bare_user_status (T); - case 0x1cb5c415: return autocomplete_type_vector (T); - case 0xe34a3bea: return autocomplete_type_bare_vector (T); - case 0x1716b174: return autocomplete_type_video (T); - case 0xe8e94e8b: return autocomplete_type_bare_video (T); - case 0xafa14973: return autocomplete_type_wall_paper (T); - case 0x505eb68c: return autocomplete_type_bare_wall_paper (T); - case 0x8d8c0d41: return autocomplete_type_web_page (T); - case 0x7273f2be: return autocomplete_type_bare_web_page (T); - case 0x1250abde: return autocomplete_type_account_authorizations (T); - case 0xedaf5421: return autocomplete_type_bare_account_authorizations (T); - case 0xeac2a804: return autocomplete_type_account_password (T); - case 0x153d57fb: return autocomplete_type_bare_account_password (T); - case 0xbcfc532c: return autocomplete_type_account_password_input_settings (T); - case 0x4303acd3: return autocomplete_type_bare_account_password_input_settings (T); - case 0xb7b72ab3: return autocomplete_type_account_password_settings (T); - case 0x4848d54c: return autocomplete_type_bare_account_password_settings (T); - case 0x554abb6f: return autocomplete_type_account_privacy_rules (T); - case 0xaab54490: return autocomplete_type_bare_account_privacy_rules (T); - case 0xa4f58c4c: return autocomplete_type_account_sent_change_phone_code (T); - case 0x5b0a73b3: return autocomplete_type_bare_account_sent_change_phone_code (T); - case 0xff036af1: return autocomplete_type_auth_authorization (T); - case 0x00fc950e: return autocomplete_type_bare_auth_authorization (T); - case 0x811ea28e: return autocomplete_type_auth_checked_phone (T); - case 0x7ee15d71: return autocomplete_type_bare_auth_checked_phone (T); - case 0xdf969c2d: return autocomplete_type_auth_exported_authorization (T); - case 0x206963d2: return autocomplete_type_bare_auth_exported_authorization (T); - case 0x137948a5: return autocomplete_type_auth_password_recovery (T); - case 0xec86b75a: return autocomplete_type_bare_auth_password_recovery (T); - case 0x0cc8bc16: return autocomplete_type_auth_sent_code (T); - case 0xf33743e9: return autocomplete_type_bare_auth_sent_code (T); - case 0x0377168f: return autocomplete_type_binlog_encr_key (T); - case 0xfc88e970: return autocomplete_type_bare_binlog_encr_key (T); - case 0x66ff03a6: return autocomplete_type_binlog_update (T); - case 0x9900fc59: return autocomplete_type_bare_binlog_update (T); - case 0x8c1b8fb4: return autocomplete_type_contacts_blocked (T); - case 0x73e4704b: return autocomplete_type_bare_contacts_blocked (T); - case 0xd8c02560: return autocomplete_type_contacts_contacts (T); - case 0x273fda9f: return autocomplete_type_bare_contacts_contacts (T); - case 0x0566000e: return autocomplete_type_contacts_found (T); - case 0xfa99fff1: return autocomplete_type_bare_contacts_found (T); - case 0xad524315: return autocomplete_type_contacts_imported_contacts (T); - case 0x52adbcea: return autocomplete_type_bare_contacts_imported_contacts (T); - case 0x3ace484c: return autocomplete_type_contacts_link (T); - case 0xc531b7b3: return autocomplete_type_bare_contacts_link (T); - case 0x5649dcc5: return autocomplete_type_contacts_suggested (T); - case 0xa9b6233a: return autocomplete_type_bare_contacts_suggested (T); - case 0x48feb267: return autocomplete_type_geochats_located (T); - case 0xb7014d98: return autocomplete_type_bare_geochats_located (T); - case 0x6d0a0e59: return autocomplete_type_geochats_messages (T); - case 0x92f5f1a6: return autocomplete_type_bare_geochats_messages (T); - case 0x17b1578b: return autocomplete_type_geochats_stated_message (T); - case 0xe84ea874: return autocomplete_type_bare_geochats_stated_message (T); - case 0x4ddd9627: return autocomplete_type_help_app_update (T); - case 0xb22269d8: return autocomplete_type_bare_help_app_update (T); - case 0x18cb9f78: return autocomplete_type_help_invite_text (T); - case 0xe7346087: return autocomplete_type_bare_help_invite_text (T); - case 0x17c6b5f6: return autocomplete_type_help_support (T); - case 0xe8394a09: return autocomplete_type_bare_help_support (T); - case 0xb45c69d1: return autocomplete_type_messages_affected_history (T); - case 0x4ba3962e: return autocomplete_type_bare_messages_affected_history (T); - case 0x84d19185: return autocomplete_type_messages_affected_messages (T); - case 0x7b2e6e7a: return autocomplete_type_bare_messages_affected_messages (T); - case 0xb485502f: return autocomplete_type_messages_all_stickers (T); - case 0x4b7aafd0: return autocomplete_type_bare_messages_all_stickers (T); - case 0xe5d7d19c: return autocomplete_type_messages_chat_full (T); - case 0x1a282e63: return autocomplete_type_bare_messages_chat_full (T); - case 0x64ff9fd5: return autocomplete_type_messages_chats (T); - case 0x9b00602a: return autocomplete_type_bare_messages_chats (T); - case 0xecc058e8: return autocomplete_type_messages_dh_config (T); - case 0x133fa717: return autocomplete_type_bare_messages_dh_config (T); - case 0x645af8b3: return autocomplete_type_messages_dialogs (T); - case 0x9ba5074c: return autocomplete_type_bare_messages_dialogs (T); - case 0x3f4e0648: return autocomplete_type_messages_message (T); - case 0xc0b1f9b7: return autocomplete_type_bare_messages_message (T); - case 0x8735e464: return autocomplete_type_messages_messages (T); - case 0x78ca1b9b: return autocomplete_type_bare_messages_messages (T); - case 0xc29c7607: return autocomplete_type_messages_sent_encrypted_message (T); - case 0x3d6389f8: return autocomplete_type_bare_messages_sent_encrypted_message (T); - case 0x799ce190: return autocomplete_type_messages_sent_message (T); - case 0x86631e6f: return autocomplete_type_bare_messages_sent_message (T); - case 0xb60a24a6: return autocomplete_type_messages_sticker_set (T); - case 0x49f5db59: return autocomplete_type_bare_messages_sticker_set (T); - case 0x7bfa5710: return autocomplete_type_messages_stickers (T); - case 0x8405a8ef: return autocomplete_type_bare_messages_stickers (T); - case 0x20212ca8: return autocomplete_type_photos_photo (T); - case 0xdfded357: return autocomplete_type_bare_photos_photo (T); - case 0x98cf75f1: return autocomplete_type_photos_photos (T); - case 0x67308a0e: return autocomplete_type_bare_photos_photos (T); - case 0x3e2838a8: return autocomplete_type_storage_file_type (T); - case 0xc1d7c757: return autocomplete_type_bare_storage_file_type (T); - case 0xf57a2419: return autocomplete_type_updates_difference (T); - case 0x0a85dbe6: return autocomplete_type_bare_updates_difference (T); - case 0xa56c2a3e: return autocomplete_type_updates_state (T); - case 0x5a93d5c1: return autocomplete_type_bare_updates_state (T); - case 0x096a18d5: return autocomplete_type_upload_file (T); - case 0xf695e72a: return autocomplete_type_bare_upload_file (T); - default: return -1; } -} -int do_autocomplete_function (const char *text, int text_len, int index, char **R) { - index ++; - if (index == 0) { if (!strncmp (text, "account.changePhone", text_len)) { *R = tstrdup ("account.changePhone"); return index; } else { index ++; }} - if (index == 1) { if (!strncmp (text, "account.checkUsername", text_len)) { *R = tstrdup ("account.checkUsername"); return index; } else { index ++; }} - if (index == 2) { if (!strncmp (text, "account.deleteAccount", text_len)) { *R = tstrdup ("account.deleteAccount"); return index; } else { index ++; }} - if (index == 3) { if (!strncmp (text, "account.getAccountTTL", text_len)) { *R = tstrdup ("account.getAccountTTL"); return index; } else { index ++; }} - if (index == 4) { if (!strncmp (text, "account.getAuthorizations", text_len)) { *R = tstrdup ("account.getAuthorizations"); return index; } else { index ++; }} - if (index == 5) { if (!strncmp (text, "account.getNotifySettings", text_len)) { *R = tstrdup ("account.getNotifySettings"); return index; } else { index ++; }} - if (index == 6) { if (!strncmp (text, "account.getPassword", text_len)) { *R = tstrdup ("account.getPassword"); return index; } else { index ++; }} - if (index == 7) { if (!strncmp (text, "account.getPasswordSettings", text_len)) { *R = tstrdup ("account.getPasswordSettings"); return index; } else { index ++; }} - if (index == 8) { if (!strncmp (text, "account.getPrivacy", text_len)) { *R = tstrdup ("account.getPrivacy"); return index; } else { index ++; }} - if (index == 9) { if (!strncmp (text, "account.getWallPapers", text_len)) { *R = tstrdup ("account.getWallPapers"); return index; } else { index ++; }} - if (index == 10) { if (!strncmp (text, "account.registerDevice", text_len)) { *R = tstrdup ("account.registerDevice"); return index; } else { index ++; }} - if (index == 11) { if (!strncmp (text, "account.resetAuthorization", text_len)) { *R = tstrdup ("account.resetAuthorization"); return index; } else { index ++; }} - if (index == 12) { if (!strncmp (text, "account.resetNotifySettings", text_len)) { *R = tstrdup ("account.resetNotifySettings"); return index; } else { index ++; }} - if (index == 13) { if (!strncmp (text, "account.sendChangePhoneCode", text_len)) { *R = tstrdup ("account.sendChangePhoneCode"); return index; } else { index ++; }} - if (index == 14) { if (!strncmp (text, "account.setAccountTTL", text_len)) { *R = tstrdup ("account.setAccountTTL"); return index; } else { index ++; }} - if (index == 15) { if (!strncmp (text, "account.setPrivacy", text_len)) { *R = tstrdup ("account.setPrivacy"); return index; } else { index ++; }} - if (index == 16) { if (!strncmp (text, "account.unregisterDevice", text_len)) { *R = tstrdup ("account.unregisterDevice"); return index; } else { index ++; }} - if (index == 17) { if (!strncmp (text, "account.updateDeviceLocked", text_len)) { *R = tstrdup ("account.updateDeviceLocked"); return index; } else { index ++; }} - if (index == 18) { if (!strncmp (text, "account.updateNotifySettings", text_len)) { *R = tstrdup ("account.updateNotifySettings"); return index; } else { index ++; }} - if (index == 19) { if (!strncmp (text, "account.updatePasswordSettings", text_len)) { *R = tstrdup ("account.updatePasswordSettings"); return index; } else { index ++; }} - if (index == 20) { if (!strncmp (text, "account.updateProfile", text_len)) { *R = tstrdup ("account.updateProfile"); return index; } else { index ++; }} - if (index == 21) { if (!strncmp (text, "account.updateStatus", text_len)) { *R = tstrdup ("account.updateStatus"); return index; } else { index ++; }} - if (index == 22) { if (!strncmp (text, "account.updateUsername", text_len)) { *R = tstrdup ("account.updateUsername"); return index; } else { index ++; }} - if (index == 23) { if (!strncmp (text, "auth.bindTempAuthKey", text_len)) { *R = tstrdup ("auth.bindTempAuthKey"); return index; } else { index ++; }} - if (index == 24) { if (!strncmp (text, "auth.checkPassword", text_len)) { *R = tstrdup ("auth.checkPassword"); return index; } else { index ++; }} - if (index == 25) { if (!strncmp (text, "auth.checkPhone", text_len)) { *R = tstrdup ("auth.checkPhone"); return index; } else { index ++; }} - if (index == 26) { if (!strncmp (text, "auth.exportAuthorization", text_len)) { *R = tstrdup ("auth.exportAuthorization"); return index; } else { index ++; }} - if (index == 27) { if (!strncmp (text, "auth.importAuthorization", text_len)) { *R = tstrdup ("auth.importAuthorization"); return index; } else { index ++; }} - if (index == 28) { if (!strncmp (text, "auth.importBotAuthorization", text_len)) { *R = tstrdup ("auth.importBotAuthorization"); return index; } else { index ++; }} - if (index == 29) { if (!strncmp (text, "auth.logOut", text_len)) { *R = tstrdup ("auth.logOut"); return index; } else { index ++; }} - if (index == 30) { if (!strncmp (text, "auth.recoverPassword", text_len)) { *R = tstrdup ("auth.recoverPassword"); return index; } else { index ++; }} - if (index == 31) { if (!strncmp (text, "auth.requestPasswordRecovery", text_len)) { *R = tstrdup ("auth.requestPasswordRecovery"); return index; } else { index ++; }} - if (index == 32) { if (!strncmp (text, "auth.resetAuthorizations", text_len)) { *R = tstrdup ("auth.resetAuthorizations"); return index; } else { index ++; }} - if (index == 33) { if (!strncmp (text, "auth.sendCall", text_len)) { *R = tstrdup ("auth.sendCall"); return index; } else { index ++; }} - if (index == 34) { if (!strncmp (text, "auth.sendCode", text_len)) { *R = tstrdup ("auth.sendCode"); return index; } else { index ++; }} - if (index == 35) { if (!strncmp (text, "auth.sendInvites", text_len)) { *R = tstrdup ("auth.sendInvites"); return index; } else { index ++; }} - if (index == 36) { if (!strncmp (text, "auth.sendSms", text_len)) { *R = tstrdup ("auth.sendSms"); return index; } else { index ++; }} - if (index == 37) { if (!strncmp (text, "auth.signIn", text_len)) { *R = tstrdup ("auth.signIn"); return index; } else { index ++; }} - if (index == 38) { if (!strncmp (text, "auth.signUp", text_len)) { *R = tstrdup ("auth.signUp"); return index; } else { index ++; }} - if (index == 39) { if (!strncmp (text, "contacts.block", text_len)) { *R = tstrdup ("contacts.block"); return index; } else { index ++; }} - if (index == 40) { if (!strncmp (text, "contacts.deleteContact", text_len)) { *R = tstrdup ("contacts.deleteContact"); return index; } else { index ++; }} - if (index == 41) { if (!strncmp (text, "contacts.deleteContacts", text_len)) { *R = tstrdup ("contacts.deleteContacts"); return index; } else { index ++; }} - if (index == 42) { if (!strncmp (text, "contacts.exportCard", text_len)) { *R = tstrdup ("contacts.exportCard"); return index; } else { index ++; }} - if (index == 43) { if (!strncmp (text, "contacts.getBlocked", text_len)) { *R = tstrdup ("contacts.getBlocked"); return index; } else { index ++; }} - if (index == 44) { if (!strncmp (text, "contacts.getContacts", text_len)) { *R = tstrdup ("contacts.getContacts"); return index; } else { index ++; }} - if (index == 45) { if (!strncmp (text, "contacts.getStatuses", text_len)) { *R = tstrdup ("contacts.getStatuses"); return index; } else { index ++; }} - if (index == 46) { if (!strncmp (text, "contacts.getSuggested", text_len)) { *R = tstrdup ("contacts.getSuggested"); return index; } else { index ++; }} - if (index == 47) { if (!strncmp (text, "contacts.importCard", text_len)) { *R = tstrdup ("contacts.importCard"); return index; } else { index ++; }} - if (index == 48) { if (!strncmp (text, "contacts.importContacts", text_len)) { *R = tstrdup ("contacts.importContacts"); return index; } else { index ++; }} - if (index == 49) { if (!strncmp (text, "contacts.resolveUsername", text_len)) { *R = tstrdup ("contacts.resolveUsername"); return index; } else { index ++; }} - if (index == 50) { if (!strncmp (text, "contacts.search", text_len)) { *R = tstrdup ("contacts.search"); return index; } else { index ++; }} - if (index == 51) { if (!strncmp (text, "contacts.unblock", text_len)) { *R = tstrdup ("contacts.unblock"); return index; } else { index ++; }} - if (index == 52) { if (!strncmp (text, "geochats.checkin", text_len)) { *R = tstrdup ("geochats.checkin"); return index; } else { index ++; }} - if (index == 53) { if (!strncmp (text, "geochats.createGeoChat", text_len)) { *R = tstrdup ("geochats.createGeoChat"); return index; } else { index ++; }} - if (index == 54) { if (!strncmp (text, "geochats.editChatPhoto", text_len)) { *R = tstrdup ("geochats.editChatPhoto"); return index; } else { index ++; }} - if (index == 55) { if (!strncmp (text, "geochats.editChatTitle", text_len)) { *R = tstrdup ("geochats.editChatTitle"); return index; } else { index ++; }} - if (index == 56) { if (!strncmp (text, "geochats.getFullChat", text_len)) { *R = tstrdup ("geochats.getFullChat"); return index; } else { index ++; }} - if (index == 57) { if (!strncmp (text, "geochats.getHistory", text_len)) { *R = tstrdup ("geochats.getHistory"); return index; } else { index ++; }} - if (index == 58) { if (!strncmp (text, "geochats.getLocated", text_len)) { *R = tstrdup ("geochats.getLocated"); return index; } else { index ++; }} - if (index == 59) { if (!strncmp (text, "geochats.getRecents", text_len)) { *R = tstrdup ("geochats.getRecents"); return index; } else { index ++; }} - if (index == 60) { if (!strncmp (text, "geochats.search", text_len)) { *R = tstrdup ("geochats.search"); return index; } else { index ++; }} - if (index == 61) { if (!strncmp (text, "geochats.sendMedia", text_len)) { *R = tstrdup ("geochats.sendMedia"); return index; } else { index ++; }} - if (index == 62) { if (!strncmp (text, "geochats.sendMessage", text_len)) { *R = tstrdup ("geochats.sendMessage"); return index; } else { index ++; }} - if (index == 63) { if (!strncmp (text, "geochats.setTyping", text_len)) { *R = tstrdup ("geochats.setTyping"); return index; } else { index ++; }} - if (index == 64) { if (!strncmp (text, "help.getAppUpdate", text_len)) { *R = tstrdup ("help.getAppUpdate"); return index; } else { index ++; }} - if (index == 65) { if (!strncmp (text, "help.getConfig", text_len)) { *R = tstrdup ("help.getConfig"); return index; } else { index ++; }} - if (index == 66) { if (!strncmp (text, "help.getInviteText", text_len)) { *R = tstrdup ("help.getInviteText"); return index; } else { index ++; }} - if (index == 67) { if (!strncmp (text, "help.getNearestDc", text_len)) { *R = tstrdup ("help.getNearestDc"); return index; } else { index ++; }} - if (index == 68) { if (!strncmp (text, "help.getSupport", text_len)) { *R = tstrdup ("help.getSupport"); return index; } else { index ++; }} - if (index == 69) { if (!strncmp (text, "help.saveAppLog", text_len)) { *R = tstrdup ("help.saveAppLog"); return index; } else { index ++; }} - if (index == 70) { if (!strncmp (text, "initConnection", text_len)) { *R = tstrdup ("initConnection"); return index; } else { index ++; }} - if (index == 71) { if (!strncmp (text, "invokeAfterMsg", text_len)) { *R = tstrdup ("invokeAfterMsg"); return index; } else { index ++; }} - if (index == 72) { if (!strncmp (text, "invokeAfterMsgs", text_len)) { *R = tstrdup ("invokeAfterMsgs"); return index; } else { index ++; }} - if (index == 73) { if (!strncmp (text, "invokeWithLayer", text_len)) { *R = tstrdup ("invokeWithLayer"); return index; } else { index ++; }} - if (index == 74) { if (!strncmp (text, "invokeWithoutUpdates", text_len)) { *R = tstrdup ("invokeWithoutUpdates"); return index; } else { index ++; }} - if (index == 75) { if (!strncmp (text, "messages.acceptEncryption", text_len)) { *R = tstrdup ("messages.acceptEncryption"); return index; } else { index ++; }} - if (index == 76) { if (!strncmp (text, "messages.addChatUser", text_len)) { *R = tstrdup ("messages.addChatUser"); return index; } else { index ++; }} - if (index == 77) { if (!strncmp (text, "messages.checkChatInvite", text_len)) { *R = tstrdup ("messages.checkChatInvite"); return index; } else { index ++; }} - if (index == 78) { if (!strncmp (text, "messages.createChat", text_len)) { *R = tstrdup ("messages.createChat"); return index; } else { index ++; }} - if (index == 79) { if (!strncmp (text, "messages.deleteChatUser", text_len)) { *R = tstrdup ("messages.deleteChatUser"); return index; } else { index ++; }} - if (index == 80) { if (!strncmp (text, "messages.deleteHistory", text_len)) { *R = tstrdup ("messages.deleteHistory"); return index; } else { index ++; }} - if (index == 81) { if (!strncmp (text, "messages.deleteMessages", text_len)) { *R = tstrdup ("messages.deleteMessages"); return index; } else { index ++; }} - if (index == 82) { if (!strncmp (text, "messages.discardEncryption", text_len)) { *R = tstrdup ("messages.discardEncryption"); return index; } else { index ++; }} - if (index == 83) { if (!strncmp (text, "messages.editChatPhoto", text_len)) { *R = tstrdup ("messages.editChatPhoto"); return index; } else { index ++; }} - if (index == 84) { if (!strncmp (text, "messages.editChatTitle", text_len)) { *R = tstrdup ("messages.editChatTitle"); return index; } else { index ++; }} - if (index == 85) { if (!strncmp (text, "messages.exportChatInvite", text_len)) { *R = tstrdup ("messages.exportChatInvite"); return index; } else { index ++; }} - if (index == 86) { if (!strncmp (text, "messages.forwardMessage", text_len)) { *R = tstrdup ("messages.forwardMessage"); return index; } else { index ++; }} - if (index == 87) { if (!strncmp (text, "messages.forwardMessages", text_len)) { *R = tstrdup ("messages.forwardMessages"); return index; } else { index ++; }} - if (index == 88) { if (!strncmp (text, "messages.getAllStickers", text_len)) { *R = tstrdup ("messages.getAllStickers"); return index; } else { index ++; }} - if (index == 89) { if (!strncmp (text, "messages.getChats", text_len)) { *R = tstrdup ("messages.getChats"); return index; } else { index ++; }} - if (index == 90) { if (!strncmp (text, "messages.getDhConfig", text_len)) { *R = tstrdup ("messages.getDhConfig"); return index; } else { index ++; }} - if (index == 91) { if (!strncmp (text, "messages.getDialogs", text_len)) { *R = tstrdup ("messages.getDialogs"); return index; } else { index ++; }} - if (index == 92) { if (!strncmp (text, "messages.getFullChat", text_len)) { *R = tstrdup ("messages.getFullChat"); return index; } else { index ++; }} - if (index == 93) { if (!strncmp (text, "messages.getHistory", text_len)) { *R = tstrdup ("messages.getHistory"); return index; } else { index ++; }} - if (index == 94) { if (!strncmp (text, "messages.getMessages", text_len)) { *R = tstrdup ("messages.getMessages"); return index; } else { index ++; }} - if (index == 95) { if (!strncmp (text, "messages.getStickerSet", text_len)) { *R = tstrdup ("messages.getStickerSet"); return index; } else { index ++; }} - if (index == 96) { if (!strncmp (text, "messages.getStickers", text_len)) { *R = tstrdup ("messages.getStickers"); return index; } else { index ++; }} - if (index == 97) { if (!strncmp (text, "messages.getWebPagePreview", text_len)) { *R = tstrdup ("messages.getWebPagePreview"); return index; } else { index ++; }} - if (index == 98) { if (!strncmp (text, "messages.importChatInvite", text_len)) { *R = tstrdup ("messages.importChatInvite"); return index; } else { index ++; }} - if (index == 99) { if (!strncmp (text, "messages.installStickerSet", text_len)) { *R = tstrdup ("messages.installStickerSet"); return index; } else { index ++; }} - if (index == 100) { if (!strncmp (text, "messages.readEncryptedHistory", text_len)) { *R = tstrdup ("messages.readEncryptedHistory"); return index; } else { index ++; }} - if (index == 101) { if (!strncmp (text, "messages.readHistory", text_len)) { *R = tstrdup ("messages.readHistory"); return index; } else { index ++; }} - if (index == 102) { if (!strncmp (text, "messages.readMessageContents", text_len)) { *R = tstrdup ("messages.readMessageContents"); return index; } else { index ++; }} - if (index == 103) { if (!strncmp (text, "messages.receivedMessages", text_len)) { *R = tstrdup ("messages.receivedMessages"); return index; } else { index ++; }} - if (index == 104) { if (!strncmp (text, "messages.receivedQueue", text_len)) { *R = tstrdup ("messages.receivedQueue"); return index; } else { index ++; }} - if (index == 105) { if (!strncmp (text, "messages.requestEncryption", text_len)) { *R = tstrdup ("messages.requestEncryption"); return index; } else { index ++; }} - if (index == 106) { if (!strncmp (text, "messages.search", text_len)) { *R = tstrdup ("messages.search"); return index; } else { index ++; }} - if (index == 107) { if (!strncmp (text, "messages.sendBroadcast", text_len)) { *R = tstrdup ("messages.sendBroadcast"); return index; } else { index ++; }} - if (index == 108) { if (!strncmp (text, "messages.sendEncrypted", text_len)) { *R = tstrdup ("messages.sendEncrypted"); return index; } else { index ++; }} - if (index == 109) { if (!strncmp (text, "messages.sendEncryptedFile", text_len)) { *R = tstrdup ("messages.sendEncryptedFile"); return index; } else { index ++; }} - if (index == 110) { if (!strncmp (text, "messages.sendEncryptedService", text_len)) { *R = tstrdup ("messages.sendEncryptedService"); return index; } else { index ++; }} - if (index == 111) { if (!strncmp (text, "messages.sendMedia", text_len)) { *R = tstrdup ("messages.sendMedia"); return index; } else { index ++; }} - if (index == 112) { if (!strncmp (text, "messages.sendMessage", text_len)) { *R = tstrdup ("messages.sendMessage"); return index; } else { index ++; }} - if (index == 113) { if (!strncmp (text, "messages.setEncryptedTyping", text_len)) { *R = tstrdup ("messages.setEncryptedTyping"); return index; } else { index ++; }} - if (index == 114) { if (!strncmp (text, "messages.setTyping", text_len)) { *R = tstrdup ("messages.setTyping"); return index; } else { index ++; }} - if (index == 115) { if (!strncmp (text, "messages.startBot", text_len)) { *R = tstrdup ("messages.startBot"); return index; } else { index ++; }} - if (index == 116) { if (!strncmp (text, "messages.uninstallStickerSet", text_len)) { *R = tstrdup ("messages.uninstallStickerSet"); return index; } else { index ++; }} - if (index == 117) { if (!strncmp (text, "photos.deletePhotos", text_len)) { *R = tstrdup ("photos.deletePhotos"); return index; } else { index ++; }} - if (index == 118) { if (!strncmp (text, "photos.getUserPhotos", text_len)) { *R = tstrdup ("photos.getUserPhotos"); return index; } else { index ++; }} - if (index == 119) { if (!strncmp (text, "photos.updateProfilePhoto", text_len)) { *R = tstrdup ("photos.updateProfilePhoto"); return index; } else { index ++; }} - if (index == 120) { if (!strncmp (text, "photos.uploadProfilePhoto", text_len)) { *R = tstrdup ("photos.uploadProfilePhoto"); return index; } else { index ++; }} - if (index == 121) { if (!strncmp (text, "req_DH_params", text_len)) { *R = tstrdup ("req_DH_params"); return index; } else { index ++; }} - if (index == 122) { if (!strncmp (text, "req_pq", text_len)) { *R = tstrdup ("req_pq"); return index; } else { index ++; }} - if (index == 123) { if (!strncmp (text, "set_client_DH_params", text_len)) { *R = tstrdup ("set_client_DH_params"); return index; } else { index ++; }} - if (index == 124) { if (!strncmp (text, "updates.getDifference", text_len)) { *R = tstrdup ("updates.getDifference"); return index; } else { index ++; }} - if (index == 125) { if (!strncmp (text, "updates.getState", text_len)) { *R = tstrdup ("updates.getState"); return index; } else { index ++; }} - if (index == 126) { if (!strncmp (text, "upload.getFile", text_len)) { *R = tstrdup ("upload.getFile"); return index; } else { index ++; }} - if (index == 127) { if (!strncmp (text, "upload.saveBigFilePart", text_len)) { *R = tstrdup ("upload.saveBigFilePart"); return index; } else { index ++; }} - if (index == 128) { if (!strncmp (text, "upload.saveFilePart", text_len)) { *R = tstrdup ("upload.saveFilePart"); return index; } else { index ++; }} - if (index == 129) { if (!strncmp (text, "users.getFullUser", text_len)) { *R = tstrdup ("users.getFullUser"); return index; } else { index ++; }} - if (index == 130) { if (!strncmp (text, "users.getUsers", text_len)) { *R = tstrdup ("users.getUsers"); return index; } else { index ++; }} - *R = 0; - return 0; -} -struct paramed_type *autocomplete_function_any (void) { - expect_token_ptr_autocomplete ("(", 1); - if (cur_token_len == -3) { set_autocomplete_type (do_autocomplete_function); } - if (cur_token_len < 0) { return 0; } - if (cur_token_len == 19 && !memcmp (cur_token, "account.changePhone", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_change_phone (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.checkUsername", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_check_username (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.deleteAccount", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_delete_account (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.getAccountTTL", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_account_t_t_l (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "account.getAuthorizations", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_authorizations (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "account.getNotifySettings", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_notify_settings (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "account.getPassword", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_password (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.getPasswordSettings", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_password_settings (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "account.getPrivacy", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_privacy (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.getWallPapers", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_get_wall_papers (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "account.registerDevice", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_register_device (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "account.resetAuthorization", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_reset_authorization (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.resetNotifySettings", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_reset_notify_settings (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sendChangePhoneCode", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_send_change_phone_code (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.setAccountTTL", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_set_account_t_t_l (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "account.setPrivacy", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_set_privacy (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "account.unregisterDevice", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_unregister_device (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "account.updateDeviceLocked", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_device_locked (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "account.updateNotifySettings", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_notify_settings (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 30 && !memcmp (cur_token, "account.updatePasswordSettings", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_password_settings (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.updateProfile", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_profile (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "account.updateStatus", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_status (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "account.updateUsername", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_account_update_username (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "auth.bindTempAuthKey", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_bind_temp_auth_key (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "auth.checkPassword", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_check_password (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "auth.checkPhone", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_check_phone (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.exportAuthorization", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_export_authorization (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.importAuthorization", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_import_authorization (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "auth.importBotAuthorization", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_import_bot_authorization (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.logOut", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_log_out (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "auth.recoverPassword", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_recover_password (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "auth.requestPasswordRecovery", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_request_password_recovery (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.resetAuthorizations", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_reset_authorizations (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sendCall", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_send_call (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sendCode", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_send_code (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sendInvites", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_send_invites (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 12 && !memcmp (cur_token, "auth.sendSms", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_send_sms (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.signIn", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_sign_in (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.signUp", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_auth_sign_up (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.block", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_block (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "contacts.deleteContact", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_delete_contact (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "contacts.deleteContacts", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_delete_contacts (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.exportCard", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_export_card (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.getBlocked", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_get_blocked (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "contacts.getContacts", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_get_contacts (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "contacts.getStatuses", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_get_statuses (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.getSuggested", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_get_suggested (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.importCard", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_import_card (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "contacts.importContacts", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_import_contacts (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "contacts.resolveUsername", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_resolve_username (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contacts.search", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_search (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.unblock", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_contacts_unblock (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.checkin", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_checkin (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.createGeoChat", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_create_geo_chat (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.editChatPhoto", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_edit_chat_photo (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.editChatTitle", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_edit_chat_title (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "geochats.getFullChat", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_get_full_chat (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getHistory", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_get_history (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getLocated", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_get_located (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getRecents", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_get_recents (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "geochats.search", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_search (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "geochats.sendMedia", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_send_media (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "geochats.sendMessage", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_send_message (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "geochats.setTyping", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_geochats_set_typing (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "help.getAppUpdate", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_get_app_update (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "help.getConfig", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_get_config (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "help.getInviteText", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_get_invite_text (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "help.getNearestDc", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_get_nearest_dc (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "help.getSupport", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_get_support (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "help.saveAppLog", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_help_save_app_log (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "initConnection", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_init_connection (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "invokeAfterMsg", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_invoke_after_msg (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "invokeAfterMsgs", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_invoke_after_msgs (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "invokeWithLayer", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_invoke_with_layer (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "invokeWithoutUpdates", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_invoke_without_updates (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.acceptEncryption", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_accept_encryption (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.addChatUser", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_add_chat_user (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.checkChatInvite", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_check_chat_invite (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.createChat", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_create_chat (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.deleteChatUser", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_delete_chat_user (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.deleteHistory", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_delete_history (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.deleteMessages", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_delete_messages (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.discardEncryption", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_discard_encryption (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.editChatPhoto", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_edit_chat_photo (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.editChatTitle", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_edit_chat_title (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.exportChatInvite", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_export_chat_invite (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.forwardMessage", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_forward_message (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.forwardMessages", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_forward_messages (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.getAllStickers", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_all_stickers (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.getChats", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_chats (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getDhConfig", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_dh_config (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.getDialogs", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_dialogs (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getFullChat", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_full_chat (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.getHistory", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_history (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getMessages", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_messages (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.getStickerSet", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_sticker_set (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getStickers", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_stickers (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.getWebPagePreview", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_get_web_page_preview (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.importChatInvite", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_import_chat_invite (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.installStickerSet", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_install_sticker_set (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.readEncryptedHistory", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_read_encrypted_history (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.readHistory", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_read_history (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.readMessageContents", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_read_message_contents (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.receivedMessages", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_received_messages (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.receivedQueue", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_received_queue (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.requestEncryption", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_request_encryption (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messages.search", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_search (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.sendBroadcast", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_broadcast (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.sendEncrypted", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_encrypted (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sendEncryptedFile", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_encrypted_file (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sendEncryptedService", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_encrypted_service (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "messages.sendMedia", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_media (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sendMessage", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_send_message (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messages.setEncryptedTyping", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_set_encrypted_typing (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "messages.setTyping", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_set_typing (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.startBot", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_start_bot (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.uninstallStickerSet", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_messages_uninstall_sticker_set (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "photos.deletePhotos", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_photos_delete_photos (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "photos.getUserPhotos", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_photos_get_user_photos (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "photos.updateProfilePhoto", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_photos_update_profile_photo (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "photos.uploadProfilePhoto", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_photos_upload_profile_photo (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "req_DH_params", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_req_d_h_params (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 6 && !memcmp (cur_token, "req_pq", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_req_pq (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "set_client_DH_params", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_set_client_d_h_params (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "updates.getDifference", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_updates_get_difference (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updates.getState", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_updates_get_state (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "upload.getFile", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_upload_get_file (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "upload.saveBigFilePart", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_upload_save_big_file_part (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "upload.saveFilePart", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_upload_save_file_part (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "users.getFullUser", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_users_get_full_user (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "users.getUsers", cur_token_len)) { - local_next_token (); - struct paramed_type *P = autocomplete_function_users_get_users (); - if (!P) { return 0; } - expect_token_ptr_autocomplete (")", 1); - return P; - } - return 0; -} diff --git a/libs/tgl/src/auto/auto-autocomplete.h b/libs/tgl/src/auto/auto-autocomplete.h deleted file mode 100644 index 1e58313e55..0000000000 --- a/libs/tgl/src/auto/auto-autocomplete.h +++ /dev/null @@ -1,865 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -#include -int tglf_extf_autocomplete (struct tgl_state *TLS, const char *text, int text_len, int index, char **R, char *data, int data_len); -int autocomplete_constructor_account_days_t_t_l (struct paramed_type *T); -int autocomplete_constructor_audio_empty (struct paramed_type *T); -int autocomplete_constructor_audio (struct paramed_type *T); -int autocomplete_constructor_authorization (struct paramed_type *T); -int autocomplete_constructor_bool_false (struct paramed_type *T); -int autocomplete_constructor_bool_true (struct paramed_type *T); -int autocomplete_constructor_bot_command (struct paramed_type *T); -int autocomplete_constructor_bot_command_old (struct paramed_type *T); -int autocomplete_constructor_bot_info_empty (struct paramed_type *T); -int autocomplete_constructor_bot_info (struct paramed_type *T); -int autocomplete_constructor_bytes (struct paramed_type *T); -int autocomplete_constructor_chat_empty (struct paramed_type *T); -int autocomplete_constructor_chat (struct paramed_type *T); -int autocomplete_constructor_chat_forbidden (struct paramed_type *T); -int autocomplete_constructor_geo_chat (struct paramed_type *T); -int autocomplete_constructor_chat_full (struct paramed_type *T); -int autocomplete_constructor_chat_invite_already (struct paramed_type *T); -int autocomplete_constructor_chat_invite (struct paramed_type *T); -int autocomplete_constructor_chat_located (struct paramed_type *T); -int autocomplete_constructor_chat_participant (struct paramed_type *T); -int autocomplete_constructor_chat_participants_forbidden (struct paramed_type *T); -int autocomplete_constructor_chat_participants (struct paramed_type *T); -int autocomplete_constructor_chat_photo_empty (struct paramed_type *T); -int autocomplete_constructor_chat_photo (struct paramed_type *T); -int autocomplete_constructor_client_d_h_inner_data (struct paramed_type *T); -int autocomplete_constructor_config (struct paramed_type *T); -int autocomplete_constructor_contact (struct paramed_type *T); -int autocomplete_constructor_contact_blocked (struct paramed_type *T); -int autocomplete_constructor_contact_found (struct paramed_type *T); -int autocomplete_constructor_contact_link_unknown (struct paramed_type *T); -int autocomplete_constructor_contact_link_none (struct paramed_type *T); -int autocomplete_constructor_contact_link_has_phone (struct paramed_type *T); -int autocomplete_constructor_contact_link_contact (struct paramed_type *T); -int autocomplete_constructor_contact_status (struct paramed_type *T); -int autocomplete_constructor_contact_suggested (struct paramed_type *T); -int autocomplete_constructor_dc_option_l28 (struct paramed_type *T); -int autocomplete_constructor_dc_option (struct paramed_type *T); -int autocomplete_constructor_decrypted_message (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_service (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_read_messages (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_delete_messages (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_flush_history (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_resend (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_notify_layer (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_typing (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_request_key (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_accept_key (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_abort_key (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_commit_key (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_action_noop (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_layer (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_empty (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_photo (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_geo_point (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_contact (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_document (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_video (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_audio (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_external_document (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_video_l12 (struct paramed_type *T); -int autocomplete_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T); -int autocomplete_constructor_dialog (struct paramed_type *T); -int autocomplete_constructor_disabled_feature (struct paramed_type *T); -int autocomplete_constructor_document_empty (struct paramed_type *T); -int autocomplete_constructor_document (struct paramed_type *T); -int autocomplete_constructor_document_l19 (struct paramed_type *T); -int autocomplete_constructor_document_attribute_image_size (struct paramed_type *T); -int autocomplete_constructor_document_attribute_animated (struct paramed_type *T); -int autocomplete_constructor_document_attribute_sticker_l28 (struct paramed_type *T); -int autocomplete_constructor_document_attribute_sticker (struct paramed_type *T); -int autocomplete_constructor_document_attribute_video (struct paramed_type *T); -int autocomplete_constructor_document_attribute_audio (struct paramed_type *T); -int autocomplete_constructor_document_attribute_filename (struct paramed_type *T); -int autocomplete_constructor_double (struct paramed_type *T); -int autocomplete_constructor_encrypted_chat_empty (struct paramed_type *T); -int autocomplete_constructor_encrypted_chat_waiting (struct paramed_type *T); -int autocomplete_constructor_encrypted_chat_requested (struct paramed_type *T); -int autocomplete_constructor_encrypted_chat (struct paramed_type *T); -int autocomplete_constructor_encrypted_chat_discarded (struct paramed_type *T); -int autocomplete_constructor_encrypted_file_empty (struct paramed_type *T); -int autocomplete_constructor_encrypted_file (struct paramed_type *T); -int autocomplete_constructor_encrypted_message (struct paramed_type *T); -int autocomplete_constructor_encrypted_message_service (struct paramed_type *T); -int autocomplete_constructor_error (struct paramed_type *T); -int autocomplete_constructor_chat_invite_empty (struct paramed_type *T); -int autocomplete_constructor_chat_invite_exported (struct paramed_type *T); -int autocomplete_constructor_file_location_unavailable (struct paramed_type *T); -int autocomplete_constructor_file_location (struct paramed_type *T); -int autocomplete_constructor_geo_chat_message_empty (struct paramed_type *T); -int autocomplete_constructor_geo_chat_message (struct paramed_type *T); -int autocomplete_constructor_geo_chat_message_service (struct paramed_type *T); -int autocomplete_constructor_geo_point_empty (struct paramed_type *T); -int autocomplete_constructor_geo_point (struct paramed_type *T); -int autocomplete_constructor_imported_contact (struct paramed_type *T); -int autocomplete_constructor_input_app_event (struct paramed_type *T); -int autocomplete_constructor_input_audio_empty (struct paramed_type *T); -int autocomplete_constructor_input_audio (struct paramed_type *T); -int autocomplete_constructor_input_chat_photo_empty (struct paramed_type *T); -int autocomplete_constructor_input_chat_uploaded_photo (struct paramed_type *T); -int autocomplete_constructor_input_chat_photo (struct paramed_type *T); -int autocomplete_constructor_input_phone_contact (struct paramed_type *T); -int autocomplete_constructor_input_document_empty (struct paramed_type *T); -int autocomplete_constructor_input_document (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_chat (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_file_empty (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_file_uploaded (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_file (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T); -int autocomplete_constructor_input_file (struct paramed_type *T); -int autocomplete_constructor_input_file_big (struct paramed_type *T); -int autocomplete_constructor_input_file_location (struct paramed_type *T); -int autocomplete_constructor_input_video_file_location (struct paramed_type *T); -int autocomplete_constructor_input_encrypted_file_location (struct paramed_type *T); -int autocomplete_constructor_input_audio_file_location (struct paramed_type *T); -int autocomplete_constructor_input_document_file_location (struct paramed_type *T); -int autocomplete_constructor_input_geo_chat (struct paramed_type *T); -int autocomplete_constructor_input_geo_point_empty (struct paramed_type *T); -int autocomplete_constructor_input_geo_point (struct paramed_type *T); -int autocomplete_constructor_input_media_empty (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_photo (struct paramed_type *T); -int autocomplete_constructor_input_media_photo (struct paramed_type *T); -int autocomplete_constructor_input_media_geo_point (struct paramed_type *T); -int autocomplete_constructor_input_media_contact (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_video (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_thumb_video (struct paramed_type *T); -int autocomplete_constructor_input_media_video (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_audio (struct paramed_type *T); -int autocomplete_constructor_input_media_audio (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_document (struct paramed_type *T); -int autocomplete_constructor_input_media_uploaded_thumb_document (struct paramed_type *T); -int autocomplete_constructor_input_media_document (struct paramed_type *T); -int autocomplete_constructor_input_media_venue (struct paramed_type *T); -int autocomplete_constructor_input_notify_peer (struct paramed_type *T); -int autocomplete_constructor_input_notify_users (struct paramed_type *T); -int autocomplete_constructor_input_notify_chats (struct paramed_type *T); -int autocomplete_constructor_input_notify_all (struct paramed_type *T); -int autocomplete_constructor_input_notify_geo_chat_peer (struct paramed_type *T); -int autocomplete_constructor_input_peer_empty (struct paramed_type *T); -int autocomplete_constructor_input_peer_self (struct paramed_type *T); -int autocomplete_constructor_input_peer_contact (struct paramed_type *T); -int autocomplete_constructor_input_peer_foreign (struct paramed_type *T); -int autocomplete_constructor_input_peer_chat (struct paramed_type *T); -int autocomplete_constructor_input_peer_notify_events_empty (struct paramed_type *T); -int autocomplete_constructor_input_peer_notify_events_all (struct paramed_type *T); -int autocomplete_constructor_input_peer_notify_settings (struct paramed_type *T); -int autocomplete_constructor_input_photo_empty (struct paramed_type *T); -int autocomplete_constructor_input_photo (struct paramed_type *T); -int autocomplete_constructor_input_photo_crop_auto (struct paramed_type *T); -int autocomplete_constructor_input_photo_crop (struct paramed_type *T); -int autocomplete_constructor_input_privacy_key_status_timestamp (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_allow_contacts (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_allow_all (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_allow_users (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_disallow_all (struct paramed_type *T); -int autocomplete_constructor_input_privacy_value_disallow_users (struct paramed_type *T); -int autocomplete_constructor_input_sticker_set_empty (struct paramed_type *T); -int autocomplete_constructor_input_sticker_set_i_d (struct paramed_type *T); -int autocomplete_constructor_input_sticker_set_short_name (struct paramed_type *T); -int autocomplete_constructor_input_user_empty (struct paramed_type *T); -int autocomplete_constructor_input_user_self (struct paramed_type *T); -int autocomplete_constructor_input_user_contact (struct paramed_type *T); -int autocomplete_constructor_input_user_foreign (struct paramed_type *T); -int autocomplete_constructor_input_video_empty (struct paramed_type *T); -int autocomplete_constructor_input_video (struct paramed_type *T); -int autocomplete_constructor_int (struct paramed_type *T); -int autocomplete_constructor_int128 (struct paramed_type *T); -int autocomplete_constructor_int256 (struct paramed_type *T); -int autocomplete_constructor_keyboard_button (struct paramed_type *T); -int autocomplete_constructor_keyboard_button_row (struct paramed_type *T); -int autocomplete_constructor_long (struct paramed_type *T); -int autocomplete_constructor_message_empty (struct paramed_type *T); -int autocomplete_constructor_message (struct paramed_type *T); -int autocomplete_constructor_message_service (struct paramed_type *T); -int autocomplete_constructor_message_action_empty (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_create (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_edit_title (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_edit_photo (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_delete_photo (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_add_user (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_delete_user (struct paramed_type *T); -int autocomplete_constructor_message_action_geo_chat_create (struct paramed_type *T); -int autocomplete_constructor_message_action_geo_chat_checkin (struct paramed_type *T); -int autocomplete_constructor_message_action_chat_joined_by_link (struct paramed_type *T); -int autocomplete_constructor_message_media_empty (struct paramed_type *T); -int autocomplete_constructor_message_media_photo (struct paramed_type *T); -int autocomplete_constructor_message_media_video (struct paramed_type *T); -int autocomplete_constructor_message_media_geo (struct paramed_type *T); -int autocomplete_constructor_message_media_contact (struct paramed_type *T); -int autocomplete_constructor_message_media_unsupported (struct paramed_type *T); -int autocomplete_constructor_message_media_document (struct paramed_type *T); -int autocomplete_constructor_message_media_audio (struct paramed_type *T); -int autocomplete_constructor_message_media_web_page (struct paramed_type *T); -int autocomplete_constructor_message_media_venue (struct paramed_type *T); -int autocomplete_constructor_message_media_photo_l27 (struct paramed_type *T); -int autocomplete_constructor_message_media_video_l27 (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_empty (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_photos (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_video (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_photo_video (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_document (struct paramed_type *T); -int autocomplete_constructor_input_messages_filter_audio (struct paramed_type *T); -int autocomplete_constructor_nearest_dc (struct paramed_type *T); -int autocomplete_constructor_notify_peer (struct paramed_type *T); -int autocomplete_constructor_notify_users (struct paramed_type *T); -int autocomplete_constructor_notify_chats (struct paramed_type *T); -int autocomplete_constructor_notify_all (struct paramed_type *T); -int autocomplete_constructor_null (struct paramed_type *T); -int autocomplete_constructor_p_q_inner_data (struct paramed_type *T); -int autocomplete_constructor_p_q_inner_data_temp (struct paramed_type *T); -int autocomplete_constructor_peer_user (struct paramed_type *T); -int autocomplete_constructor_peer_chat (struct paramed_type *T); -int autocomplete_constructor_peer_notify_events_empty (struct paramed_type *T); -int autocomplete_constructor_peer_notify_events_all (struct paramed_type *T); -int autocomplete_constructor_peer_notify_settings_empty (struct paramed_type *T); -int autocomplete_constructor_peer_notify_settings (struct paramed_type *T); -int autocomplete_constructor_photo_empty (struct paramed_type *T); -int autocomplete_constructor_photo (struct paramed_type *T); -int autocomplete_constructor_photo_l27 (struct paramed_type *T); -int autocomplete_constructor_photo_size_empty (struct paramed_type *T); -int autocomplete_constructor_photo_size (struct paramed_type *T); -int autocomplete_constructor_photo_cached_size (struct paramed_type *T); -int autocomplete_constructor_privacy_key_status_timestamp (struct paramed_type *T); -int autocomplete_constructor_privacy_value_allow_contacts (struct paramed_type *T); -int autocomplete_constructor_privacy_value_allow_all (struct paramed_type *T); -int autocomplete_constructor_privacy_value_allow_users (struct paramed_type *T); -int autocomplete_constructor_privacy_value_disallow_contacts (struct paramed_type *T); -int autocomplete_constructor_privacy_value_disallow_all (struct paramed_type *T); -int autocomplete_constructor_privacy_value_disallow_users (struct paramed_type *T); -int autocomplete_constructor_received_notify_message (struct paramed_type *T); -int autocomplete_constructor_reply_keyboard_hide (struct paramed_type *T); -int autocomplete_constructor_reply_keyboard_force_reply (struct paramed_type *T); -int autocomplete_constructor_reply_keyboard_markup (struct paramed_type *T); -int autocomplete_constructor_res_p_q (struct paramed_type *T); -int autocomplete_constructor_send_message_typing_action (struct paramed_type *T); -int autocomplete_constructor_send_message_cancel_action (struct paramed_type *T); -int autocomplete_constructor_send_message_record_video_action (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_video_action_l27 (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_video_action (struct paramed_type *T); -int autocomplete_constructor_send_message_record_audio_action (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_audio_action (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_photo_action (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_document_action_l27 (struct paramed_type *T); -int autocomplete_constructor_send_message_upload_document_action (struct paramed_type *T); -int autocomplete_constructor_send_message_geo_location_action (struct paramed_type *T); -int autocomplete_constructor_send_message_choose_contact_action (struct paramed_type *T); -int autocomplete_constructor_server_d_h_params_fail (struct paramed_type *T); -int autocomplete_constructor_server_d_h_params_ok (struct paramed_type *T); -int autocomplete_constructor_server_d_h_inner_data (struct paramed_type *T); -int autocomplete_constructor_dh_gen_ok (struct paramed_type *T); -int autocomplete_constructor_dh_gen_retry (struct paramed_type *T); -int autocomplete_constructor_dh_gen_fail (struct paramed_type *T); -int autocomplete_constructor_sticker_pack (struct paramed_type *T); -int autocomplete_constructor_sticker_set (struct paramed_type *T); -int autocomplete_constructor_string (struct paramed_type *T); -int autocomplete_constructor_update_new_message (struct paramed_type *T); -int autocomplete_constructor_update_message_i_d (struct paramed_type *T); -int autocomplete_constructor_update_delete_messages (struct paramed_type *T); -int autocomplete_constructor_update_user_typing (struct paramed_type *T); -int autocomplete_constructor_update_chat_user_typing (struct paramed_type *T); -int autocomplete_constructor_update_chat_participants (struct paramed_type *T); -int autocomplete_constructor_update_user_status (struct paramed_type *T); -int autocomplete_constructor_update_user_name (struct paramed_type *T); -int autocomplete_constructor_update_user_photo (struct paramed_type *T); -int autocomplete_constructor_update_contact_registered (struct paramed_type *T); -int autocomplete_constructor_update_contact_link (struct paramed_type *T); -int autocomplete_constructor_update_new_authorization (struct paramed_type *T); -int autocomplete_constructor_update_new_geo_chat_message (struct paramed_type *T); -int autocomplete_constructor_update_new_encrypted_message (struct paramed_type *T); -int autocomplete_constructor_update_encrypted_chat_typing (struct paramed_type *T); -int autocomplete_constructor_update_encryption (struct paramed_type *T); -int autocomplete_constructor_update_encrypted_messages_read (struct paramed_type *T); -int autocomplete_constructor_update_chat_participant_add (struct paramed_type *T); -int autocomplete_constructor_update_chat_participant_delete (struct paramed_type *T); -int autocomplete_constructor_update_dc_options (struct paramed_type *T); -int autocomplete_constructor_update_user_blocked (struct paramed_type *T); -int autocomplete_constructor_update_notify_settings (struct paramed_type *T); -int autocomplete_constructor_update_service_notification (struct paramed_type *T); -int autocomplete_constructor_update_privacy (struct paramed_type *T); -int autocomplete_constructor_update_user_phone (struct paramed_type *T); -int autocomplete_constructor_update_read_history_inbox (struct paramed_type *T); -int autocomplete_constructor_update_read_history_outbox (struct paramed_type *T); -int autocomplete_constructor_update_web_page (struct paramed_type *T); -int autocomplete_constructor_update_read_messages_contents (struct paramed_type *T); -int autocomplete_constructor_update_msg_update (struct paramed_type *T); -int autocomplete_constructor_updates_too_long (struct paramed_type *T); -int autocomplete_constructor_update_short_message (struct paramed_type *T); -int autocomplete_constructor_update_short_chat_message (struct paramed_type *T); -int autocomplete_constructor_update_short (struct paramed_type *T); -int autocomplete_constructor_updates_combined (struct paramed_type *T); -int autocomplete_constructor_updates (struct paramed_type *T); -int autocomplete_constructor_user_empty (struct paramed_type *T); -int autocomplete_constructor_user (struct paramed_type *T); -int autocomplete_constructor_user_full (struct paramed_type *T); -int autocomplete_constructor_user_profile_photo_empty (struct paramed_type *T); -int autocomplete_constructor_user_profile_photo (struct paramed_type *T); -int autocomplete_constructor_user_status_empty (struct paramed_type *T); -int autocomplete_constructor_user_status_online (struct paramed_type *T); -int autocomplete_constructor_user_status_offline (struct paramed_type *T); -int autocomplete_constructor_user_status_recently (struct paramed_type *T); -int autocomplete_constructor_user_status_last_week (struct paramed_type *T); -int autocomplete_constructor_user_status_last_month (struct paramed_type *T); -int autocomplete_constructor_vector (struct paramed_type *T); -int autocomplete_constructor_video_empty (struct paramed_type *T); -int autocomplete_constructor_video (struct paramed_type *T); -int autocomplete_constructor_video_l27 (struct paramed_type *T); -int autocomplete_constructor_wall_paper (struct paramed_type *T); -int autocomplete_constructor_wall_paper_solid (struct paramed_type *T); -int autocomplete_constructor_web_page_empty (struct paramed_type *T); -int autocomplete_constructor_web_page_pending (struct paramed_type *T); -int autocomplete_constructor_web_page (struct paramed_type *T); -int autocomplete_constructor_account_authorizations (struct paramed_type *T); -int autocomplete_constructor_account_no_password (struct paramed_type *T); -int autocomplete_constructor_account_password (struct paramed_type *T); -int autocomplete_constructor_account_password_input_settings (struct paramed_type *T); -int autocomplete_constructor_account_password_settings (struct paramed_type *T); -int autocomplete_constructor_account_privacy_rules (struct paramed_type *T); -int autocomplete_constructor_account_sent_change_phone_code (struct paramed_type *T); -int autocomplete_constructor_auth_authorization (struct paramed_type *T); -int autocomplete_constructor_auth_checked_phone (struct paramed_type *T); -int autocomplete_constructor_auth_exported_authorization (struct paramed_type *T); -int autocomplete_constructor_auth_password_recovery (struct paramed_type *T); -int autocomplete_constructor_auth_sent_code (struct paramed_type *T); -int autocomplete_constructor_auth_sent_app_code (struct paramed_type *T); -int autocomplete_constructor_binlog_encr_key (struct paramed_type *T); -int autocomplete_constructor_binlog_start (struct paramed_type *T); -int autocomplete_constructor_binlog_dc_option (struct paramed_type *T); -int autocomplete_constructor_binlog_dc_option_new (struct paramed_type *T); -int autocomplete_constructor_binlog_auth_key (struct paramed_type *T); -int autocomplete_constructor_binlog_default_dc (struct paramed_type *T); -int autocomplete_constructor_binlog_dc_signed (struct paramed_type *T); -int autocomplete_constructor_binlog_our_id (struct paramed_type *T); -int autocomplete_constructor_binlog_set_dh_params (struct paramed_type *T); -int autocomplete_constructor_binlog_set_pts (struct paramed_type *T); -int autocomplete_constructor_binlog_set_qts (struct paramed_type *T); -int autocomplete_constructor_binlog_set_date (struct paramed_type *T); -int autocomplete_constructor_binlog_set_seq (struct paramed_type *T); -int autocomplete_constructor_binlog_encr_chat_delete (struct paramed_type *T); -int autocomplete_constructor_binlog_encr_chat_new (struct paramed_type *T); -int autocomplete_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T); -int autocomplete_constructor_binlog_user_delete (struct paramed_type *T); -int autocomplete_constructor_binlog_user_new (struct paramed_type *T); -int autocomplete_constructor_binlog_chat_new (struct paramed_type *T); -int autocomplete_constructor_binlog_chat_add_participant (struct paramed_type *T); -int autocomplete_constructor_binlog_chat_del_participant (struct paramed_type *T); -int autocomplete_constructor_binlog_set_msg_id (struct paramed_type *T); -int autocomplete_constructor_binlog_message_delete (struct paramed_type *T); -int autocomplete_constructor_binlog_message_new (struct paramed_type *T); -int autocomplete_constructor_binlog_message_encr_new (struct paramed_type *T); -int autocomplete_constructor_binlog_msg_update (struct paramed_type *T); -int autocomplete_constructor_binlog_reset_authorization (struct paramed_type *T); -int autocomplete_constructor_contacts_blocked (struct paramed_type *T); -int autocomplete_constructor_contacts_blocked_slice (struct paramed_type *T); -int autocomplete_constructor_contacts_contacts_not_modified (struct paramed_type *T); -int autocomplete_constructor_contacts_contacts (struct paramed_type *T); -int autocomplete_constructor_contacts_found (struct paramed_type *T); -int autocomplete_constructor_contacts_imported_contacts (struct paramed_type *T); -int autocomplete_constructor_contacts_link (struct paramed_type *T); -int autocomplete_constructor_contacts_suggested (struct paramed_type *T); -int autocomplete_constructor_geochats_located (struct paramed_type *T); -int autocomplete_constructor_geochats_messages (struct paramed_type *T); -int autocomplete_constructor_geochats_messages_slice (struct paramed_type *T); -int autocomplete_constructor_geochats_stated_message (struct paramed_type *T); -int autocomplete_constructor_help_app_update (struct paramed_type *T); -int autocomplete_constructor_help_no_app_update (struct paramed_type *T); -int autocomplete_constructor_help_invite_text (struct paramed_type *T); -int autocomplete_constructor_help_support (struct paramed_type *T); -int autocomplete_constructor_messages_affected_history (struct paramed_type *T); -int autocomplete_constructor_messages_affected_messages (struct paramed_type *T); -int autocomplete_constructor_messages_all_stickers_not_modified (struct paramed_type *T); -int autocomplete_constructor_messages_all_stickers (struct paramed_type *T); -int autocomplete_constructor_messages_chat_full (struct paramed_type *T); -int autocomplete_constructor_messages_chats (struct paramed_type *T); -int autocomplete_constructor_messages_dh_config_not_modified (struct paramed_type *T); -int autocomplete_constructor_messages_dh_config (struct paramed_type *T); -int autocomplete_constructor_messages_dialogs (struct paramed_type *T); -int autocomplete_constructor_messages_dialogs_slice (struct paramed_type *T); -int autocomplete_constructor_messages_message_empty (struct paramed_type *T); -int autocomplete_constructor_messages_messages (struct paramed_type *T); -int autocomplete_constructor_messages_messages_slice (struct paramed_type *T); -int autocomplete_constructor_messages_sent_encrypted_message (struct paramed_type *T); -int autocomplete_constructor_messages_sent_encrypted_file (struct paramed_type *T); -int autocomplete_constructor_messages_sent_message (struct paramed_type *T); -int autocomplete_constructor_messages_sent_message_link (struct paramed_type *T); -int autocomplete_constructor_messages_sticker_set (struct paramed_type *T); -int autocomplete_constructor_messages_stickers_not_modified (struct paramed_type *T); -int autocomplete_constructor_messages_stickers (struct paramed_type *T); -int autocomplete_constructor_photos_photo (struct paramed_type *T); -int autocomplete_constructor_photos_photos (struct paramed_type *T); -int autocomplete_constructor_photos_photos_slice (struct paramed_type *T); -int autocomplete_constructor_storage_file_unknown (struct paramed_type *T); -int autocomplete_constructor_storage_file_jpeg (struct paramed_type *T); -int autocomplete_constructor_storage_file_gif (struct paramed_type *T); -int autocomplete_constructor_storage_file_png (struct paramed_type *T); -int autocomplete_constructor_storage_file_pdf (struct paramed_type *T); -int autocomplete_constructor_storage_file_mp3 (struct paramed_type *T); -int autocomplete_constructor_storage_file_mov (struct paramed_type *T); -int autocomplete_constructor_storage_file_partial (struct paramed_type *T); -int autocomplete_constructor_storage_file_mp4 (struct paramed_type *T); -int autocomplete_constructor_storage_file_webp (struct paramed_type *T); -int autocomplete_constructor_updates_difference_empty (struct paramed_type *T); -int autocomplete_constructor_updates_difference (struct paramed_type *T); -int autocomplete_constructor_updates_difference_slice (struct paramed_type *T); -int autocomplete_constructor_updates_state (struct paramed_type *T); -int autocomplete_constructor_upload_file (struct paramed_type *T); -int autocomplete_type_account_days_t_t_l (struct paramed_type *T); -int do_autocomplete_type_account_days_t_t_l (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_days_t_t_l (struct paramed_type *T); -int autocomplete_type_audio (struct paramed_type *T); -int do_autocomplete_type_audio (const char *text, int len, int index, char **R); -int autocomplete_type_bare_audio (struct paramed_type *T); -int autocomplete_type_authorization (struct paramed_type *T); -int do_autocomplete_type_authorization (const char *text, int len, int index, char **R); -int autocomplete_type_bare_authorization (struct paramed_type *T); -int autocomplete_type_bool (struct paramed_type *T); -int do_autocomplete_type_bool (const char *text, int len, int index, char **R); -int autocomplete_type_bare_bool (struct paramed_type *T); -int autocomplete_type_bot_command (struct paramed_type *T); -int do_autocomplete_type_bot_command (const char *text, int len, int index, char **R); -int autocomplete_type_bare_bot_command (struct paramed_type *T); -int autocomplete_type_bot_info (struct paramed_type *T); -int do_autocomplete_type_bot_info (const char *text, int len, int index, char **R); -int autocomplete_type_bare_bot_info (struct paramed_type *T); -int autocomplete_type_bytes (struct paramed_type *T); -int do_autocomplete_type_bytes (const char *text, int len, int index, char **R); -int autocomplete_type_bare_bytes (struct paramed_type *T); -int autocomplete_type_chat (struct paramed_type *T); -int do_autocomplete_type_chat (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat (struct paramed_type *T); -int autocomplete_type_chat_full (struct paramed_type *T); -int do_autocomplete_type_chat_full (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_full (struct paramed_type *T); -int autocomplete_type_chat_invite (struct paramed_type *T); -int do_autocomplete_type_chat_invite (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_invite (struct paramed_type *T); -int autocomplete_type_chat_located (struct paramed_type *T); -int do_autocomplete_type_chat_located (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_located (struct paramed_type *T); -int autocomplete_type_chat_participant (struct paramed_type *T); -int do_autocomplete_type_chat_participant (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_participant (struct paramed_type *T); -int autocomplete_type_chat_participants (struct paramed_type *T); -int do_autocomplete_type_chat_participants (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_participants (struct paramed_type *T); -int autocomplete_type_chat_photo (struct paramed_type *T); -int do_autocomplete_type_chat_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_chat_photo (struct paramed_type *T); -int autocomplete_type_client_d_h_inner_data (struct paramed_type *T); -int do_autocomplete_type_client_d_h_inner_data (const char *text, int len, int index, char **R); -int autocomplete_type_bare_client_d_h_inner_data (struct paramed_type *T); -int autocomplete_type_config (struct paramed_type *T); -int do_autocomplete_type_config (const char *text, int len, int index, char **R); -int autocomplete_type_bare_config (struct paramed_type *T); -int autocomplete_type_contact (struct paramed_type *T); -int do_autocomplete_type_contact (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact (struct paramed_type *T); -int autocomplete_type_contact_blocked (struct paramed_type *T); -int do_autocomplete_type_contact_blocked (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact_blocked (struct paramed_type *T); -int autocomplete_type_contact_found (struct paramed_type *T); -int do_autocomplete_type_contact_found (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact_found (struct paramed_type *T); -int autocomplete_type_contact_link (struct paramed_type *T); -int do_autocomplete_type_contact_link (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact_link (struct paramed_type *T); -int autocomplete_type_contact_status (struct paramed_type *T); -int do_autocomplete_type_contact_status (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact_status (struct paramed_type *T); -int autocomplete_type_contact_suggested (struct paramed_type *T); -int do_autocomplete_type_contact_suggested (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contact_suggested (struct paramed_type *T); -int autocomplete_type_dc_option (struct paramed_type *T); -int do_autocomplete_type_dc_option (const char *text, int len, int index, char **R); -int autocomplete_type_bare_dc_option (struct paramed_type *T); -int autocomplete_type_decrypted_message (struct paramed_type *T); -int do_autocomplete_type_decrypted_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_decrypted_message (struct paramed_type *T); -int autocomplete_type_decrypted_message_action (struct paramed_type *T); -int do_autocomplete_type_decrypted_message_action (const char *text, int len, int index, char **R); -int autocomplete_type_bare_decrypted_message_action (struct paramed_type *T); -int autocomplete_type_decrypted_message_layer (struct paramed_type *T); -int do_autocomplete_type_decrypted_message_layer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_decrypted_message_layer (struct paramed_type *T); -int autocomplete_type_decrypted_message_media (struct paramed_type *T); -int do_autocomplete_type_decrypted_message_media (const char *text, int len, int index, char **R); -int autocomplete_type_bare_decrypted_message_media (struct paramed_type *T); -int autocomplete_type_dialog (struct paramed_type *T); -int do_autocomplete_type_dialog (const char *text, int len, int index, char **R); -int autocomplete_type_bare_dialog (struct paramed_type *T); -int autocomplete_type_disabled_feature (struct paramed_type *T); -int do_autocomplete_type_disabled_feature (const char *text, int len, int index, char **R); -int autocomplete_type_bare_disabled_feature (struct paramed_type *T); -int autocomplete_type_document (struct paramed_type *T); -int do_autocomplete_type_document (const char *text, int len, int index, char **R); -int autocomplete_type_bare_document (struct paramed_type *T); -int autocomplete_type_document_attribute (struct paramed_type *T); -int do_autocomplete_type_document_attribute (const char *text, int len, int index, char **R); -int autocomplete_type_bare_document_attribute (struct paramed_type *T); -int autocomplete_type_double (struct paramed_type *T); -int do_autocomplete_type_double (const char *text, int len, int index, char **R); -int autocomplete_type_bare_double (struct paramed_type *T); -int autocomplete_type_encrypted_chat (struct paramed_type *T); -int do_autocomplete_type_encrypted_chat (const char *text, int len, int index, char **R); -int autocomplete_type_bare_encrypted_chat (struct paramed_type *T); -int autocomplete_type_encrypted_file (struct paramed_type *T); -int do_autocomplete_type_encrypted_file (const char *text, int len, int index, char **R); -int autocomplete_type_bare_encrypted_file (struct paramed_type *T); -int autocomplete_type_encrypted_message (struct paramed_type *T); -int do_autocomplete_type_encrypted_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_encrypted_message (struct paramed_type *T); -int autocomplete_type_error (struct paramed_type *T); -int do_autocomplete_type_error (const char *text, int len, int index, char **R); -int autocomplete_type_bare_error (struct paramed_type *T); -int autocomplete_type_exported_chat_invite (struct paramed_type *T); -int do_autocomplete_type_exported_chat_invite (const char *text, int len, int index, char **R); -int autocomplete_type_bare_exported_chat_invite (struct paramed_type *T); -int autocomplete_type_file_location (struct paramed_type *T); -int do_autocomplete_type_file_location (const char *text, int len, int index, char **R); -int autocomplete_type_bare_file_location (struct paramed_type *T); -int autocomplete_type_geo_chat_message (struct paramed_type *T); -int do_autocomplete_type_geo_chat_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_geo_chat_message (struct paramed_type *T); -int autocomplete_type_geo_point (struct paramed_type *T); -int do_autocomplete_type_geo_point (const char *text, int len, int index, char **R); -int autocomplete_type_bare_geo_point (struct paramed_type *T); -int autocomplete_type_imported_contact (struct paramed_type *T); -int do_autocomplete_type_imported_contact (const char *text, int len, int index, char **R); -int autocomplete_type_bare_imported_contact (struct paramed_type *T); -int autocomplete_type_input_app_event (struct paramed_type *T); -int do_autocomplete_type_input_app_event (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_app_event (struct paramed_type *T); -int autocomplete_type_input_audio (struct paramed_type *T); -int do_autocomplete_type_input_audio (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_audio (struct paramed_type *T); -int autocomplete_type_input_chat_photo (struct paramed_type *T); -int do_autocomplete_type_input_chat_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_chat_photo (struct paramed_type *T); -int autocomplete_type_input_contact (struct paramed_type *T); -int do_autocomplete_type_input_contact (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_contact (struct paramed_type *T); -int autocomplete_type_input_document (struct paramed_type *T); -int do_autocomplete_type_input_document (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_document (struct paramed_type *T); -int autocomplete_type_input_encrypted_chat (struct paramed_type *T); -int do_autocomplete_type_input_encrypted_chat (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_encrypted_chat (struct paramed_type *T); -int autocomplete_type_input_encrypted_file (struct paramed_type *T); -int do_autocomplete_type_input_encrypted_file (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_encrypted_file (struct paramed_type *T); -int autocomplete_type_input_file (struct paramed_type *T); -int do_autocomplete_type_input_file (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_file (struct paramed_type *T); -int autocomplete_type_input_file_location (struct paramed_type *T); -int do_autocomplete_type_input_file_location (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_file_location (struct paramed_type *T); -int autocomplete_type_input_geo_chat (struct paramed_type *T); -int do_autocomplete_type_input_geo_chat (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_geo_chat (struct paramed_type *T); -int autocomplete_type_input_geo_point (struct paramed_type *T); -int do_autocomplete_type_input_geo_point (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_geo_point (struct paramed_type *T); -int autocomplete_type_input_media (struct paramed_type *T); -int do_autocomplete_type_input_media (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_media (struct paramed_type *T); -int autocomplete_type_input_notify_peer (struct paramed_type *T); -int do_autocomplete_type_input_notify_peer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_notify_peer (struct paramed_type *T); -int autocomplete_type_input_peer (struct paramed_type *T); -int do_autocomplete_type_input_peer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_peer (struct paramed_type *T); -int autocomplete_type_input_peer_notify_events (struct paramed_type *T); -int do_autocomplete_type_input_peer_notify_events (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_peer_notify_events (struct paramed_type *T); -int autocomplete_type_input_peer_notify_settings (struct paramed_type *T); -int do_autocomplete_type_input_peer_notify_settings (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_peer_notify_settings (struct paramed_type *T); -int autocomplete_type_input_photo (struct paramed_type *T); -int do_autocomplete_type_input_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_photo (struct paramed_type *T); -int autocomplete_type_input_photo_crop (struct paramed_type *T); -int do_autocomplete_type_input_photo_crop (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_photo_crop (struct paramed_type *T); -int autocomplete_type_input_privacy_key (struct paramed_type *T); -int do_autocomplete_type_input_privacy_key (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_privacy_key (struct paramed_type *T); -int autocomplete_type_input_privacy_rule (struct paramed_type *T); -int do_autocomplete_type_input_privacy_rule (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_privacy_rule (struct paramed_type *T); -int autocomplete_type_input_sticker_set (struct paramed_type *T); -int do_autocomplete_type_input_sticker_set (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_sticker_set (struct paramed_type *T); -int autocomplete_type_input_user (struct paramed_type *T); -int do_autocomplete_type_input_user (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_user (struct paramed_type *T); -int autocomplete_type_input_video (struct paramed_type *T); -int do_autocomplete_type_input_video (const char *text, int len, int index, char **R); -int autocomplete_type_bare_input_video (struct paramed_type *T); -int autocomplete_type_int (struct paramed_type *T); -int do_autocomplete_type_int (const char *text, int len, int index, char **R); -int autocomplete_type_bare_int (struct paramed_type *T); -int autocomplete_type_int128 (struct paramed_type *T); -int do_autocomplete_type_int128 (const char *text, int len, int index, char **R); -int autocomplete_type_bare_int128 (struct paramed_type *T); -int autocomplete_type_int256 (struct paramed_type *T); -int do_autocomplete_type_int256 (const char *text, int len, int index, char **R); -int autocomplete_type_bare_int256 (struct paramed_type *T); -int autocomplete_type_keyboard_button (struct paramed_type *T); -int do_autocomplete_type_keyboard_button (const char *text, int len, int index, char **R); -int autocomplete_type_bare_keyboard_button (struct paramed_type *T); -int autocomplete_type_keyboard_button_row (struct paramed_type *T); -int do_autocomplete_type_keyboard_button_row (const char *text, int len, int index, char **R); -int autocomplete_type_bare_keyboard_button_row (struct paramed_type *T); -int autocomplete_type_long (struct paramed_type *T); -int do_autocomplete_type_long (const char *text, int len, int index, char **R); -int autocomplete_type_bare_long (struct paramed_type *T); -int autocomplete_type_message (struct paramed_type *T); -int do_autocomplete_type_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_message (struct paramed_type *T); -int autocomplete_type_message_action (struct paramed_type *T); -int do_autocomplete_type_message_action (const char *text, int len, int index, char **R); -int autocomplete_type_bare_message_action (struct paramed_type *T); -int autocomplete_type_message_media (struct paramed_type *T); -int do_autocomplete_type_message_media (const char *text, int len, int index, char **R); -int autocomplete_type_bare_message_media (struct paramed_type *T); -int autocomplete_type_messages_filter (struct paramed_type *T); -int do_autocomplete_type_messages_filter (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_filter (struct paramed_type *T); -int autocomplete_type_nearest_dc (struct paramed_type *T); -int do_autocomplete_type_nearest_dc (const char *text, int len, int index, char **R); -int autocomplete_type_bare_nearest_dc (struct paramed_type *T); -int autocomplete_type_notify_peer (struct paramed_type *T); -int do_autocomplete_type_notify_peer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_notify_peer (struct paramed_type *T); -int autocomplete_type_null (struct paramed_type *T); -int do_autocomplete_type_null (const char *text, int len, int index, char **R); -int autocomplete_type_bare_null (struct paramed_type *T); -int autocomplete_type_p_q_inner_data (struct paramed_type *T); -int do_autocomplete_type_p_q_inner_data (const char *text, int len, int index, char **R); -int autocomplete_type_bare_p_q_inner_data (struct paramed_type *T); -int autocomplete_type_peer (struct paramed_type *T); -int do_autocomplete_type_peer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_peer (struct paramed_type *T); -int autocomplete_type_peer_notify_events (struct paramed_type *T); -int do_autocomplete_type_peer_notify_events (const char *text, int len, int index, char **R); -int autocomplete_type_bare_peer_notify_events (struct paramed_type *T); -int autocomplete_type_peer_notify_settings (struct paramed_type *T); -int do_autocomplete_type_peer_notify_settings (const char *text, int len, int index, char **R); -int autocomplete_type_bare_peer_notify_settings (struct paramed_type *T); -int autocomplete_type_photo (struct paramed_type *T); -int do_autocomplete_type_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_photo (struct paramed_type *T); -int autocomplete_type_photo_size (struct paramed_type *T); -int do_autocomplete_type_photo_size (const char *text, int len, int index, char **R); -int autocomplete_type_bare_photo_size (struct paramed_type *T); -int autocomplete_type_privacy_key (struct paramed_type *T); -int do_autocomplete_type_privacy_key (const char *text, int len, int index, char **R); -int autocomplete_type_bare_privacy_key (struct paramed_type *T); -int autocomplete_type_privacy_rule (struct paramed_type *T); -int do_autocomplete_type_privacy_rule (const char *text, int len, int index, char **R); -int autocomplete_type_bare_privacy_rule (struct paramed_type *T); -int autocomplete_type_received_notify_message (struct paramed_type *T); -int do_autocomplete_type_received_notify_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_received_notify_message (struct paramed_type *T); -int autocomplete_type_reply_markup (struct paramed_type *T); -int do_autocomplete_type_reply_markup (const char *text, int len, int index, char **R); -int autocomplete_type_bare_reply_markup (struct paramed_type *T); -int autocomplete_type_res_p_q (struct paramed_type *T); -int do_autocomplete_type_res_p_q (const char *text, int len, int index, char **R); -int autocomplete_type_bare_res_p_q (struct paramed_type *T); -int autocomplete_type_send_message_action (struct paramed_type *T); -int do_autocomplete_type_send_message_action (const char *text, int len, int index, char **R); -int autocomplete_type_bare_send_message_action (struct paramed_type *T); -int autocomplete_type_server_d_h_params (struct paramed_type *T); -int do_autocomplete_type_server_d_h_params (const char *text, int len, int index, char **R); -int autocomplete_type_bare_server_d_h_params (struct paramed_type *T); -int autocomplete_type_server_d_h_inner_data (struct paramed_type *T); -int do_autocomplete_type_server_d_h_inner_data (const char *text, int len, int index, char **R); -int autocomplete_type_bare_server_d_h_inner_data (struct paramed_type *T); -int autocomplete_type_set_client_d_h_params_answer (struct paramed_type *T); -int do_autocomplete_type_set_client_d_h_params_answer (const char *text, int len, int index, char **R); -int autocomplete_type_bare_set_client_d_h_params_answer (struct paramed_type *T); -int autocomplete_type_sticker_pack (struct paramed_type *T); -int do_autocomplete_type_sticker_pack (const char *text, int len, int index, char **R); -int autocomplete_type_bare_sticker_pack (struct paramed_type *T); -int autocomplete_type_sticker_set (struct paramed_type *T); -int do_autocomplete_type_sticker_set (const char *text, int len, int index, char **R); -int autocomplete_type_bare_sticker_set (struct paramed_type *T); -int autocomplete_type_string (struct paramed_type *T); -int do_autocomplete_type_string (const char *text, int len, int index, char **R); -int autocomplete_type_bare_string (struct paramed_type *T); -int autocomplete_type_update (struct paramed_type *T); -int do_autocomplete_type_update (const char *text, int len, int index, char **R); -int autocomplete_type_bare_update (struct paramed_type *T); -int autocomplete_type_updates (struct paramed_type *T); -int do_autocomplete_type_updates (const char *text, int len, int index, char **R); -int autocomplete_type_bare_updates (struct paramed_type *T); -int autocomplete_type_user (struct paramed_type *T); -int do_autocomplete_type_user (const char *text, int len, int index, char **R); -int autocomplete_type_bare_user (struct paramed_type *T); -int autocomplete_type_user_full (struct paramed_type *T); -int do_autocomplete_type_user_full (const char *text, int len, int index, char **R); -int autocomplete_type_bare_user_full (struct paramed_type *T); -int autocomplete_type_user_profile_photo (struct paramed_type *T); -int do_autocomplete_type_user_profile_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_user_profile_photo (struct paramed_type *T); -int autocomplete_type_user_status (struct paramed_type *T); -int do_autocomplete_type_user_status (const char *text, int len, int index, char **R); -int autocomplete_type_bare_user_status (struct paramed_type *T); -int autocomplete_type_vector (struct paramed_type *T); -int do_autocomplete_type_vector (const char *text, int len, int index, char **R); -int autocomplete_type_bare_vector (struct paramed_type *T); -int autocomplete_type_video (struct paramed_type *T); -int do_autocomplete_type_video (const char *text, int len, int index, char **R); -int autocomplete_type_bare_video (struct paramed_type *T); -int autocomplete_type_wall_paper (struct paramed_type *T); -int do_autocomplete_type_wall_paper (const char *text, int len, int index, char **R); -int autocomplete_type_bare_wall_paper (struct paramed_type *T); -int autocomplete_type_web_page (struct paramed_type *T); -int do_autocomplete_type_web_page (const char *text, int len, int index, char **R); -int autocomplete_type_bare_web_page (struct paramed_type *T); -int autocomplete_type_account_authorizations (struct paramed_type *T); -int do_autocomplete_type_account_authorizations (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_authorizations (struct paramed_type *T); -int autocomplete_type_account_password (struct paramed_type *T); -int do_autocomplete_type_account_password (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_password (struct paramed_type *T); -int autocomplete_type_account_password_input_settings (struct paramed_type *T); -int do_autocomplete_type_account_password_input_settings (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_password_input_settings (struct paramed_type *T); -int autocomplete_type_account_password_settings (struct paramed_type *T); -int do_autocomplete_type_account_password_settings (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_password_settings (struct paramed_type *T); -int autocomplete_type_account_privacy_rules (struct paramed_type *T); -int do_autocomplete_type_account_privacy_rules (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_privacy_rules (struct paramed_type *T); -int autocomplete_type_account_sent_change_phone_code (struct paramed_type *T); -int do_autocomplete_type_account_sent_change_phone_code (const char *text, int len, int index, char **R); -int autocomplete_type_bare_account_sent_change_phone_code (struct paramed_type *T); -int autocomplete_type_auth_authorization (struct paramed_type *T); -int do_autocomplete_type_auth_authorization (const char *text, int len, int index, char **R); -int autocomplete_type_bare_auth_authorization (struct paramed_type *T); -int autocomplete_type_auth_checked_phone (struct paramed_type *T); -int do_autocomplete_type_auth_checked_phone (const char *text, int len, int index, char **R); -int autocomplete_type_bare_auth_checked_phone (struct paramed_type *T); -int autocomplete_type_auth_exported_authorization (struct paramed_type *T); -int do_autocomplete_type_auth_exported_authorization (const char *text, int len, int index, char **R); -int autocomplete_type_bare_auth_exported_authorization (struct paramed_type *T); -int autocomplete_type_auth_password_recovery (struct paramed_type *T); -int do_autocomplete_type_auth_password_recovery (const char *text, int len, int index, char **R); -int autocomplete_type_bare_auth_password_recovery (struct paramed_type *T); -int autocomplete_type_auth_sent_code (struct paramed_type *T); -int do_autocomplete_type_auth_sent_code (const char *text, int len, int index, char **R); -int autocomplete_type_bare_auth_sent_code (struct paramed_type *T); -int autocomplete_type_binlog_encr_key (struct paramed_type *T); -int do_autocomplete_type_binlog_encr_key (const char *text, int len, int index, char **R); -int autocomplete_type_bare_binlog_encr_key (struct paramed_type *T); -int autocomplete_type_binlog_update (struct paramed_type *T); -int do_autocomplete_type_binlog_update (const char *text, int len, int index, char **R); -int autocomplete_type_bare_binlog_update (struct paramed_type *T); -int autocomplete_type_contacts_blocked (struct paramed_type *T); -int do_autocomplete_type_contacts_blocked (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_blocked (struct paramed_type *T); -int autocomplete_type_contacts_contacts (struct paramed_type *T); -int do_autocomplete_type_contacts_contacts (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_contacts (struct paramed_type *T); -int autocomplete_type_contacts_found (struct paramed_type *T); -int do_autocomplete_type_contacts_found (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_found (struct paramed_type *T); -int autocomplete_type_contacts_imported_contacts (struct paramed_type *T); -int do_autocomplete_type_contacts_imported_contacts (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_imported_contacts (struct paramed_type *T); -int autocomplete_type_contacts_link (struct paramed_type *T); -int do_autocomplete_type_contacts_link (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_link (struct paramed_type *T); -int autocomplete_type_contacts_suggested (struct paramed_type *T); -int do_autocomplete_type_contacts_suggested (const char *text, int len, int index, char **R); -int autocomplete_type_bare_contacts_suggested (struct paramed_type *T); -int autocomplete_type_geochats_located (struct paramed_type *T); -int do_autocomplete_type_geochats_located (const char *text, int len, int index, char **R); -int autocomplete_type_bare_geochats_located (struct paramed_type *T); -int autocomplete_type_geochats_messages (struct paramed_type *T); -int do_autocomplete_type_geochats_messages (const char *text, int len, int index, char **R); -int autocomplete_type_bare_geochats_messages (struct paramed_type *T); -int autocomplete_type_geochats_stated_message (struct paramed_type *T); -int do_autocomplete_type_geochats_stated_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_geochats_stated_message (struct paramed_type *T); -int autocomplete_type_help_app_update (struct paramed_type *T); -int do_autocomplete_type_help_app_update (const char *text, int len, int index, char **R); -int autocomplete_type_bare_help_app_update (struct paramed_type *T); -int autocomplete_type_help_invite_text (struct paramed_type *T); -int do_autocomplete_type_help_invite_text (const char *text, int len, int index, char **R); -int autocomplete_type_bare_help_invite_text (struct paramed_type *T); -int autocomplete_type_help_support (struct paramed_type *T); -int do_autocomplete_type_help_support (const char *text, int len, int index, char **R); -int autocomplete_type_bare_help_support (struct paramed_type *T); -int autocomplete_type_messages_affected_history (struct paramed_type *T); -int do_autocomplete_type_messages_affected_history (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_affected_history (struct paramed_type *T); -int autocomplete_type_messages_affected_messages (struct paramed_type *T); -int do_autocomplete_type_messages_affected_messages (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_affected_messages (struct paramed_type *T); -int autocomplete_type_messages_all_stickers (struct paramed_type *T); -int do_autocomplete_type_messages_all_stickers (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_all_stickers (struct paramed_type *T); -int autocomplete_type_messages_chat_full (struct paramed_type *T); -int do_autocomplete_type_messages_chat_full (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_chat_full (struct paramed_type *T); -int autocomplete_type_messages_chats (struct paramed_type *T); -int do_autocomplete_type_messages_chats (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_chats (struct paramed_type *T); -int autocomplete_type_messages_dh_config (struct paramed_type *T); -int do_autocomplete_type_messages_dh_config (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_dh_config (struct paramed_type *T); -int autocomplete_type_messages_dialogs (struct paramed_type *T); -int do_autocomplete_type_messages_dialogs (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_dialogs (struct paramed_type *T); -int autocomplete_type_messages_message (struct paramed_type *T); -int do_autocomplete_type_messages_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_message (struct paramed_type *T); -int autocomplete_type_messages_messages (struct paramed_type *T); -int do_autocomplete_type_messages_messages (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_messages (struct paramed_type *T); -int autocomplete_type_messages_sent_encrypted_message (struct paramed_type *T); -int do_autocomplete_type_messages_sent_encrypted_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_sent_encrypted_message (struct paramed_type *T); -int autocomplete_type_messages_sent_message (struct paramed_type *T); -int do_autocomplete_type_messages_sent_message (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_sent_message (struct paramed_type *T); -int autocomplete_type_messages_sticker_set (struct paramed_type *T); -int do_autocomplete_type_messages_sticker_set (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_sticker_set (struct paramed_type *T); -int autocomplete_type_messages_stickers (struct paramed_type *T); -int do_autocomplete_type_messages_stickers (const char *text, int len, int index, char **R); -int autocomplete_type_bare_messages_stickers (struct paramed_type *T); -int autocomplete_type_photos_photo (struct paramed_type *T); -int do_autocomplete_type_photos_photo (const char *text, int len, int index, char **R); -int autocomplete_type_bare_photos_photo (struct paramed_type *T); -int autocomplete_type_photos_photos (struct paramed_type *T); -int do_autocomplete_type_photos_photos (const char *text, int len, int index, char **R); -int autocomplete_type_bare_photos_photos (struct paramed_type *T); -int autocomplete_type_storage_file_type (struct paramed_type *T); -int do_autocomplete_type_storage_file_type (const char *text, int len, int index, char **R); -int autocomplete_type_bare_storage_file_type (struct paramed_type *T); -int autocomplete_type_updates_difference (struct paramed_type *T); -int do_autocomplete_type_updates_difference (const char *text, int len, int index, char **R); -int autocomplete_type_bare_updates_difference (struct paramed_type *T); -int autocomplete_type_updates_state (struct paramed_type *T); -int do_autocomplete_type_updates_state (const char *text, int len, int index, char **R); -int autocomplete_type_bare_updates_state (struct paramed_type *T); -int autocomplete_type_upload_file (struct paramed_type *T); -int do_autocomplete_type_upload_file (const char *text, int len, int index, char **R); -int autocomplete_type_bare_upload_file (struct paramed_type *T); -int autocomplete_type_any (struct paramed_type *T); -struct paramed_type *autocomplete_function_any (void); diff --git a/libs/tgl/src/auto/auto-fetch-ds.c b/libs/tgl/src/auto/auto-fetch-ds.c deleted file mode 100644 index 0ad9035f0c..0000000000 --- a/libs/tgl/src/auto/auto-fetch-ds.c +++ /dev/null @@ -1,11876 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-fetch-ds.h" -#include "auto-skip.h" -#include "auto-types.h" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-fetch-ds.h" -#include "auto/auto-skip.h" -#include "auto/auto-types.h" -#include "auto-static-fetch-ds.c" -#include "mtproto-common.h" -#endif -#include -struct tl_ds_account_days_t_t_l *fetch_ds_constructor_account_days_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return 0; } - struct tl_ds_account_days_t_t_l * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->days = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_audio *fetch_ds_constructor_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return 0; } - struct tl_ds_audio * result = talloc0 (sizeof (*result)); - result->magic = 0x586988d8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_audio *fetch_ds_constructor_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return 0; } - struct tl_ds_audio * result = talloc0 (sizeof (*result)); - result->magic = 0xc7ac6496; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field8); - return result; -} -struct tl_ds_authorization *fetch_ds_constructor_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return 0; } - struct tl_ds_authorization * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hash = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->device_model = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->platform = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->system_version = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->api_id = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->app_name = fetch_ds_type_bare_string (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->app_version = fetch_ds_type_bare_string (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date_created = fetch_ds_type_bare_int (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date_active = fetch_ds_type_bare_int (field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ip = fetch_ds_type_bare_string (field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->country = fetch_ds_type_bare_string (field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->region = fetch_ds_type_bare_string (field13); - return result; -} -struct tl_ds_bool *fetch_ds_constructor_bool_false (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return 0; } - struct tl_ds_bool * result = talloc0 (sizeof (*result)); - result->magic = 0xbc799737; - return result; -} -struct tl_ds_bool *fetch_ds_constructor_bool_true (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return 0; } - struct tl_ds_bool * result = talloc0 (sizeof (*result)); - result->magic = 0x997275b5; - return result; -} -struct tl_ds_bot_command *fetch_ds_constructor_bot_command (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return 0; } - struct tl_ds_bot_command * result = talloc0 (sizeof (*result)); - result->magic = 0xc27ac8c7; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->command = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->description = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_bot_command *fetch_ds_constructor_bot_command_old (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return 0; } - struct tl_ds_bot_command * result = talloc0 (sizeof (*result)); - result->magic = 0xb79d22ab; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->command = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->params = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->description = fetch_ds_type_bare_string (field3); - return result; -} -struct tl_ds_bot_info *fetch_ds_constructor_bot_info_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return 0; } - struct tl_ds_bot_info * result = talloc0 (sizeof (*result)); - result->magic = 0xbb2e37ce; - return result; -} -struct tl_ds_bot_info *fetch_ds_constructor_bot_info (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return 0; } - struct tl_ds_bot_info * result = talloc0 (sizeof (*result)); - result->magic = 0x09cf585d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->share_text = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->description = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->commands = (void *)fetch_ds_type_vector (field5); - return result; -} -struct tl_ds_string *fetch_ds_constructor_bytes (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return 0; } - struct tl_ds_string * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 4); - int l = prefetch_strlen (); - assert (l >= 0); - result->len = l; - result->data = talloc (l + 1); - result->data[l] = 0; - memcpy (result->data, fetch_str (l), l); - return result; -} -struct tl_ds_chat *fetch_ds_constructor_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return 0; } - struct tl_ds_chat * result = talloc0 (sizeof (*result)); - result->magic = 0x9ba2d800; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_chat *fetch_ds_constructor_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return 0; } - struct tl_ds_chat * result = talloc0 (sizeof (*result)); - result->magic = 0x6e9c9bc7; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_chat_photo (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participants_count = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->left = fetch_ds_type_bool (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field7); - return result; -} -struct tl_ds_chat *fetch_ds_constructor_chat_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return 0; } - struct tl_ds_chat * result = talloc0 (sizeof (*result)); - result->magic = 0xfb0ccc41; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_chat *fetch_ds_constructor_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return 0; } - struct tl_ds_chat * result = talloc0 (sizeof (*result)); - result->magic = 0x75eaea5a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->address = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->venue = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo = fetch_ds_type_geo_point (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_chat_photo (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participants_count = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->checked_in = fetch_ds_type_bool (field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field11); - return result; -} -struct tl_ds_chat_full *fetch_ds_constructor_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return 0; } - struct tl_ds_chat_full * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participants = fetch_ds_type_chat_participants (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_photo = fetch_ds_type_photo (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_settings = fetch_ds_type_peer_notify_settings (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exported_invite = fetch_ds_type_exported_chat_invite (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->bot_info = (void *)fetch_ds_type_vector (field6); - return result; -} -struct tl_ds_chat_invite *fetch_ds_constructor_chat_invite_already (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return 0; } - struct tl_ds_chat_invite * result = talloc0 (sizeof (*result)); - result->magic = 0x5a686d7c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat = fetch_ds_type_chat (field1); - return result; -} -struct tl_ds_chat_invite *fetch_ds_constructor_chat_invite (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return 0; } - struct tl_ds_chat_invite * result = talloc0 (sizeof (*result)); - result->magic = 0xce917dcd; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_chat_located *fetch_ds_constructor_chat_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return 0; } - struct tl_ds_chat_located * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->distance = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_chat_participant *fetch_ds_constructor_chat_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return 0; } - struct tl_ds_chat_participant * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->inviter_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_chat_participants *fetch_ds_constructor_chat_participants_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return 0; } - struct tl_ds_chat_participants * result = talloc0 (sizeof (*result)); - result->magic = 0x0fd2bb8a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_chat_participants *fetch_ds_constructor_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return 0; } - struct tl_ds_chat_participants * result = talloc0 (sizeof (*result)); - result->magic = 0x7841b415; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->participants = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_chat_photo *fetch_ds_constructor_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return 0; } - struct tl_ds_chat_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x37c1011c; - return result; -} -struct tl_ds_chat_photo *fetch_ds_constructor_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return 0; } - struct tl_ds_chat_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x6153276a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo_small = fetch_ds_type_file_location (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo_big = fetch_ds_type_file_location (field2); - return result; -} -struct tl_ds_client_d_h_inner_data *fetch_ds_constructor_client_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return 0; } - struct tl_ds_client_d_h_inner_data * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->retry_id = fetch_ds_type_bare_long (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_b = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_config *fetch_ds_constructor_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return 0; } - struct tl_ds_config * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->expires = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->test_mode = fetch_ds_type_bool (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->this_dc = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->dc_options = (void *)fetch_ds_type_vector (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_size_max = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->broadcast_size_max = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->forwarded_count_max = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->online_update_period_ms = fetch_ds_type_bare_int (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->offline_blur_timeout_ms = fetch_ds_type_bare_int (field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->offline_idle_timeout_ms = fetch_ds_type_bare_int (field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->online_cloud_timeout_ms = fetch_ds_type_bare_int (field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_cloud_delay_ms = fetch_ds_type_bare_int (field13); - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_default_delay_ms = fetch_ds_type_bare_int (field14); - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_big_size = fetch_ds_type_bare_int (field15); - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->push_chat_period_ms = fetch_ds_type_bare_int (field16); - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->push_chat_limit = fetch_ds_type_bare_int (field17); - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->disabled_features = (void *)fetch_ds_type_vector (field18); - return result; -} -struct tl_ds_contact *fetch_ds_constructor_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return 0; } - struct tl_ds_contact * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mutual = fetch_ds_type_bool (field2); - return result; -} -struct tl_ds_contact_blocked *fetch_ds_constructor_contact_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return 0; } - struct tl_ds_contact_blocked * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_contact_found *fetch_ds_constructor_contact_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return 0; } - struct tl_ds_contact_found * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return 0; } - struct tl_ds_contact_link * result = talloc0 (sizeof (*result)); - result->magic = 0x5f4f9247; - return result; -} -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_none (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return 0; } - struct tl_ds_contact_link * result = talloc0 (sizeof (*result)); - result->magic = 0xfeedd3ad; - return result; -} -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_has_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return 0; } - struct tl_ds_contact_link * result = talloc0 (sizeof (*result)); - result->magic = 0x268f3f59; - return result; -} -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return 0; } - struct tl_ds_contact_link * result = talloc0 (sizeof (*result)); - result->magic = 0xd502c2d0; - return result; -} -struct tl_ds_contact_status *fetch_ds_constructor_contact_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return 0; } - struct tl_ds_contact_status * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->status = fetch_ds_type_user_status (field2); - return result; -} -struct tl_ds_contact_suggested *fetch_ds_constructor_contact_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return 0; } - struct tl_ds_contact_suggested * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mutual_contacts = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_dc_option *fetch_ds_constructor_dc_option_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return 0; } - struct tl_ds_dc_option * result = talloc0 (sizeof (*result)); - result->magic = 0x2ec2a43c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hostname = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ip_address = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->port = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_dc_option *fetch_ds_constructor_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return 0; } - struct tl_ds_dc_option * result = talloc0 (sizeof (*result)); - result->magic = 0x05d8c6cc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ip_address = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->port = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_decrypted_message *fetch_ds_constructor_decrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return 0; } - struct tl_ds_decrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0x204d3878; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ttl = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_decrypted_message_media (field4); - return result; -} -struct tl_ds_decrypted_message *fetch_ds_constructor_decrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return 0; } - struct tl_ds_decrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0x73164160; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_decrypted_message_action (field2); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xa1733aec; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ttl_seconds = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_read_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x0c4f40be; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->random_ids = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x65614304; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->random_ids = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x8ac1f475; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->random_ids = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_flush_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x6719e45c; - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_resend (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x511110b0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->start_seq_no = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->end_seq_no = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_notify_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xf3048883; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->layer = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xccb27641; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_send_message_action (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_request_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xf3c9611b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exchange_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_a = fetch_ds_type_bare_bytes (field2); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_accept_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x6fe1735b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exchange_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_b = fetch_ds_type_bare_bytes (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_long (field3); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_abort_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xdd05ec6b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exchange_id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_commit_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xec2e0b9b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exchange_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_noop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return 0; } - struct tl_ds_decrypted_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xa82fdd63; - return result; -} -struct tl_ds_decrypted_message_layer *fetch_ds_constructor_decrypted_message_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return 0; } - struct tl_ds_decrypted_message_layer * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_bytes = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->layer = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->in_seq_no = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->out_seq_no = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_decrypted_message (field5); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x089f5c4a; - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x32798a8c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->str_thumb = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_w = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_h = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field8); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x35480a59; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->latitude = fetch_ds_type_bare_double (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->longitude = fetch_ds_type_bare_double (field2); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x588a0a97; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_number = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xb095434b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->str_thumb = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_w = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_h = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file_name = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field8); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x524a415d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->str_thumb = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_w = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_h = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field10); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x57e0a9cb; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field5); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_external_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xfa95b0dd; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_photo_size (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->attributes = (void *)fetch_ds_type_vector (field8); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_video_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x4cee6ef3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->str_thumb = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_w = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb_h = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field9); - return result; -} -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return 0; } - struct tl_ds_decrypted_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x6080758f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_bytes (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->iv = fetch_ds_type_bare_bytes (field4); - return result; -} -struct tl_ds_dialog *fetch_ds_constructor_dialog (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return 0; } - struct tl_ds_dialog * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_peer (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->top_message = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->read_inbox_max_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->unread_count = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_settings = fetch_ds_type_peer_notify_settings (field5); - return result; -} -struct tl_ds_disabled_feature *fetch_ds_constructor_disabled_feature (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return 0; } - struct tl_ds_disabled_feature * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->feature = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->description = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_document *fetch_ds_constructor_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return 0; } - struct tl_ds_document * result = talloc0 (sizeof (*result)); - result->magic = 0x36f8c871; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_document *fetch_ds_constructor_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return 0; } - struct tl_ds_document * result = talloc0 (sizeof (*result)); - result->magic = 0xf9a39f4f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_photo_size (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->attributes = (void *)fetch_ds_type_vector (field8); - return result; -} -struct tl_ds_document *fetch_ds_constructor_document_l19 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return 0; } - struct tl_ds_document * result = talloc0 (sizeof (*result)); - result->magic = 0x9efc6326; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file_name = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_photo_size (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field9); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_image_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x6c37c15c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_animated (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x11b58939; - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_sticker_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x994c9882; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->alt = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_sticker (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x3a556302; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->alt = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->stickerset = fetch_ds_type_input_sticker_set (field2); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x5910cccb; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x051448e5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_filename (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return 0; } - struct tl_ds_document_attribute * result = talloc0 (sizeof (*result)); - result->magic = 0x15590068; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file_name = fetch_ds_type_bare_string (field1); - return result; -} -double *fetch_ds_constructor_double (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return 0; } - double * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 8); - *result = fetch_double (); - return result; -} -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return 0; } - struct tl_ds_encrypted_chat * result = talloc0 (sizeof (*result)); - result->magic = 0xab7ec0a0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_waiting (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return 0; } - struct tl_ds_encrypted_chat * result = talloc0 (sizeof (*result)); - result->magic = 0x3bf703dc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participant_id = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_requested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return 0; } - struct tl_ds_encrypted_chat * result = talloc0 (sizeof (*result)); - result->magic = 0xc878527e; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participant_id = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_a = fetch_ds_type_bare_bytes (field6); - return result; -} -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return 0; } - struct tl_ds_encrypted_chat * result = talloc0 (sizeof (*result)); - result->magic = 0xfa56ce36; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participant_id = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_a_or_b = fetch_ds_type_bare_bytes (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_long (field7); - return result; -} -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_discarded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return 0; } - struct tl_ds_encrypted_chat * result = talloc0 (sizeof (*result)); - result->magic = 0x13d6dd27; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_encrypted_file *fetch_ds_constructor_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return 0; } - struct tl_ds_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0xc21f497e; - return result; -} -struct tl_ds_encrypted_file *fetch_ds_constructor_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return 0; } - struct tl_ds_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0x4a70994c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_encrypted_message *fetch_ds_constructor_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return 0; } - struct tl_ds_encrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0xed18c118; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bytes = fetch_ds_type_bare_bytes (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_encrypted_file (field5); - return result; -} -struct tl_ds_encrypted_message *fetch_ds_constructor_encrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return 0; } - struct tl_ds_encrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0x23734b06; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bytes = fetch_ds_type_bare_bytes (field4); - return result; -} -struct tl_ds_error *fetch_ds_constructor_error (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return 0; } - struct tl_ds_error * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->code = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->text = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_exported_chat_invite *fetch_ds_constructor_chat_invite_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return 0; } - struct tl_ds_exported_chat_invite * result = talloc0 (sizeof (*result)); - result->magic = 0x69df3769; - return result; -} -struct tl_ds_exported_chat_invite *fetch_ds_constructor_chat_invite_exported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return 0; } - struct tl_ds_exported_chat_invite * result = talloc0 (sizeof (*result)); - result->magic = 0xfc2e05bc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->link = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_file_location *fetch_ds_constructor_file_location_unavailable (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return 0; } - struct tl_ds_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x7c596b46; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->volume_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->local_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->secret = fetch_ds_type_bare_long (field3); - return result; -} -struct tl_ds_file_location *fetch_ds_constructor_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return 0; } - struct tl_ds_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x53d69076; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->volume_id = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->local_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->secret = fetch_ds_type_bare_long (field4); - return result; -} -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return 0; } - struct tl_ds_geo_chat_message * result = talloc0 (sizeof (*result)); - result->magic = 0x60311a9b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return 0; } - struct tl_ds_geo_chat_message * result = talloc0 (sizeof (*result)); - result->magic = 0x4505f8e1; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field6); - return result; -} -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return 0; } - struct tl_ds_geo_chat_message * result = talloc0 (sizeof (*result)); - result->magic = 0xd34fa24e; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_message_action (field5); - return result; -} -struct tl_ds_geo_point *fetch_ds_constructor_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return 0; } - struct tl_ds_geo_point * result = talloc0 (sizeof (*result)); - result->magic = 0x1117dd5f; - return result; -} -struct tl_ds_geo_point *fetch_ds_constructor_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return 0; } - struct tl_ds_geo_point * result = talloc0 (sizeof (*result)); - result->magic = 0x2049d70c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->longitude = fetch_ds_type_bare_double (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->latitude = fetch_ds_type_bare_double (field2); - return result; -} -struct tl_ds_imported_contact *fetch_ds_constructor_imported_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return 0; } - struct tl_ds_imported_contact * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->client_id = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_app_event *fetch_ds_constructor_input_app_event (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return 0; } - struct tl_ds_input_app_event * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->time = fetch_ds_type_bare_double (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_bare_long (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->data = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_input_audio *fetch_ds_constructor_input_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return 0; } - struct tl_ds_input_audio * result = talloc0 (sizeof (*result)); - result->magic = 0xd95adc84; - return result; -} -struct tl_ds_input_audio *fetch_ds_constructor_input_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return 0; } - struct tl_ds_input_audio * result = talloc0 (sizeof (*result)); - result->magic = 0x77d440ff; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return 0; } - struct tl_ds_input_chat_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x1ca48f57; - return result; -} -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return 0; } - struct tl_ds_input_chat_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x94254732; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->crop = fetch_ds_type_input_photo_crop (field2); - return result; -} -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return 0; } - struct tl_ds_input_chat_photo * result = talloc0 (sizeof (*result)); - result->magic = 0xb2e1bf08; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_input_photo (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->crop = fetch_ds_type_input_photo_crop (field2); - return result; -} -struct tl_ds_input_contact *fetch_ds_constructor_input_phone_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return 0; } - struct tl_ds_input_contact * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->client_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_input_document *fetch_ds_constructor_input_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return 0; } - struct tl_ds_input_document * result = talloc0 (sizeof (*result)); - result->magic = 0x72f0eaae; - return result; -} -struct tl_ds_input_document *fetch_ds_constructor_input_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return 0; } - struct tl_ds_input_document * result = talloc0 (sizeof (*result)); - result->magic = 0x18798952; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_encrypted_chat *fetch_ds_constructor_input_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return 0; } - struct tl_ds_input_encrypted_chat * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return 0; } - struct tl_ds_input_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0x1837c364; - return result; -} -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return 0; } - struct tl_ds_input_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0x64bd0306; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->parts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->md5_checksum = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return 0; } - struct tl_ds_input_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0x5a17b5e5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return 0; } - struct tl_ds_input_encrypted_file * result = talloc0 (sizeof (*result)); - result->magic = 0x2dc173c8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->parts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_input_file *fetch_ds_constructor_input_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return 0; } - struct tl_ds_input_file * result = talloc0 (sizeof (*result)); - result->magic = 0xf52ff27f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->parts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->md5_checksum = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_input_file *fetch_ds_constructor_input_file_big (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return 0; } - struct tl_ds_input_file * result = talloc0 (sizeof (*result)); - result->magic = 0xfa4f0bb5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->parts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->name = fetch_ds_type_bare_string (field3); - return result; -} -struct tl_ds_input_file_location *fetch_ds_constructor_input_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return 0; } - struct tl_ds_input_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x14637196; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->volume_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->local_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->secret = fetch_ds_type_bare_long (field3); - return result; -} -struct tl_ds_input_file_location *fetch_ds_constructor_input_video_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return 0; } - struct tl_ds_input_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x3d0364ec; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_file_location *fetch_ds_constructor_input_encrypted_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return 0; } - struct tl_ds_input_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0xf5235d55; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_file_location *fetch_ds_constructor_input_audio_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return 0; } - struct tl_ds_input_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x74dc404d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_file_location *fetch_ds_constructor_input_document_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return 0; } - struct tl_ds_input_file_location * result = talloc0 (sizeof (*result)); - result->magic = 0x4e45abe9; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_geo_chat *fetch_ds_constructor_input_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return 0; } - struct tl_ds_input_geo_chat * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_geo_point *fetch_ds_constructor_input_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return 0; } - struct tl_ds_input_geo_point * result = talloc0 (sizeof (*result)); - result->magic = 0xe4c123d6; - return result; -} -struct tl_ds_input_geo_point *fetch_ds_constructor_input_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return 0; } - struct tl_ds_input_geo_point * result = talloc0 (sizeof (*result)); - result->magic = 0xf3b7acc9; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->latitude = fetch_ds_type_bare_double (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->longitude = fetch_ds_type_bare_double (field2); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x9664f57f; - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xf7aff1c0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xe9bfb4f3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_input_photo (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xf9c44144; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo_point = fetch_ds_type_input_geo_point (field1); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xa6e45987; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_number = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field3); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xe13fd4bc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field5); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_thumb_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x96fb97dc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_input_file (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field6); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x936a4ebd; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->video_id = fetch_ds_type_input_video (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x4e498cab; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field3); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x89938781; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->audio_id = fetch_ds_type_input_audio (field1); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xffe76b78; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->attributes = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_thumb_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x41481486; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_input_file (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_input_file (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->attributes = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0xd184e841; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->document_id = fetch_ds_type_input_document (field1); - return result; -} -struct tl_ds_input_media *fetch_ds_constructor_input_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return 0; } - struct tl_ds_input_media * result = talloc0 (sizeof (*result)); - result->magic = 0x2827a81a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo_point = fetch_ds_type_input_geo_point (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->address = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->provider = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->venue_id = fetch_ds_type_bare_string (field5); - return result; -} -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return 0; } - struct tl_ds_input_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0xb8bc5b0c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_input_peer (field1); - return result; -} -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return 0; } - struct tl_ds_input_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x193b4417; - return result; -} -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return 0; } - struct tl_ds_input_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x4a95e84e; - return result; -} -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return 0; } - struct tl_ds_input_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0xa429b886; - return result; -} -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_geo_chat_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return 0; } - struct tl_ds_input_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x4d8ddec8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo_peer = fetch_ds_type_input_geo_chat (field1); - return result; -} -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return 0; } - struct tl_ds_input_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x7f3b18ea; - return result; -} -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return 0; } - struct tl_ds_input_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x7da07ec9; - return result; -} -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return 0; } - struct tl_ds_input_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x1023dbe8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return 0; } - struct tl_ds_input_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x9b447325; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return 0; } - struct tl_ds_input_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x179be863; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_input_peer_notify_events *fetch_ds_constructor_input_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return 0; } - struct tl_ds_input_peer_notify_events * result = talloc0 (sizeof (*result)); - result->magic = 0xf03064d8; - return result; -} -struct tl_ds_input_peer_notify_events *fetch_ds_constructor_input_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return 0; } - struct tl_ds_input_peer_notify_events * result = talloc0 (sizeof (*result)); - result->magic = 0xe86a2c74; - return result; -} -struct tl_ds_input_peer_notify_settings *fetch_ds_constructor_input_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return 0; } - struct tl_ds_input_peer_notify_settings * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mute_until = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->sound = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->show_previews = fetch_ds_type_bool (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->events_mask = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_input_photo *fetch_ds_constructor_input_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return 0; } - struct tl_ds_input_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x1cd7bf0d; - return result; -} -struct tl_ds_input_photo *fetch_ds_constructor_input_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return 0; } - struct tl_ds_input_photo * result = talloc0 (sizeof (*result)); - result->magic = 0xfb95c6c4; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_photo_crop *fetch_ds_constructor_input_photo_crop_auto (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return 0; } - struct tl_ds_input_photo_crop * result = talloc0 (sizeof (*result)); - result->magic = 0xade6b004; - return result; -} -struct tl_ds_input_photo_crop *fetch_ds_constructor_input_photo_crop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return 0; } - struct tl_ds_input_photo_crop * result = talloc0 (sizeof (*result)); - result->magic = 0xd9915325; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->crop_left = fetch_ds_type_bare_double (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->crop_top = fetch_ds_type_bare_double (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->crop_width = fetch_ds_type_bare_double (field3); - return result; -} -struct tl_ds_input_privacy_key *fetch_ds_constructor_input_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return 0; } - struct tl_ds_input_privacy_key * result = talloc0 (sizeof (*result)); - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x0d09e07b; - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x184b35ce; - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x131cc67f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x0ba52007; - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0xd66b66c9; - return result; -} -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return 0; } - struct tl_ds_input_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x90110467; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return 0; } - struct tl_ds_input_sticker_set * result = talloc0 (sizeof (*result)); - result->magic = 0xffb62b95; - return result; -} -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return 0; } - struct tl_ds_input_sticker_set * result = talloc0 (sizeof (*result)); - result->magic = 0x9de7a269; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_short_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return 0; } - struct tl_ds_input_sticker_set * result = talloc0 (sizeof (*result)); - result->magic = 0x861cc8a0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->short_name = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_input_user *fetch_ds_constructor_input_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return 0; } - struct tl_ds_input_user * result = talloc0 (sizeof (*result)); - result->magic = 0xb98886cf; - return result; -} -struct tl_ds_input_user *fetch_ds_constructor_input_user_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return 0; } - struct tl_ds_input_user * result = talloc0 (sizeof (*result)); - result->magic = 0xf7c1b13f; - return result; -} -struct tl_ds_input_user *fetch_ds_constructor_input_user_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return 0; } - struct tl_ds_input_user * result = talloc0 (sizeof (*result)); - result->magic = 0x86e94f65; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_input_user *fetch_ds_constructor_input_user_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return 0; } - struct tl_ds_input_user * result = talloc0 (sizeof (*result)); - result->magic = 0x655e74ff; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_input_video *fetch_ds_constructor_input_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return 0; } - struct tl_ds_input_video * result = talloc0 (sizeof (*result)); - result->magic = 0x5508ec75; - return result; -} -struct tl_ds_input_video *fetch_ds_constructor_input_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return 0; } - struct tl_ds_input_video * result = talloc0 (sizeof (*result)); - result->magic = 0xee579652; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - return result; -} -int *fetch_ds_constructor_int (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return 0; } - int * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 4); - *result = fetch_int (); - return result; -} -struct tl_ds_int128 *fetch_ds_constructor_int128 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return 0; } - struct tl_ds_int128 * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f0 = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f1 = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_int256 *fetch_ds_constructor_int256 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return 0; } - struct tl_ds_int256 * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f0 = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f1 = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f2 = fetch_ds_type_bare_long (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->f3 = fetch_ds_type_bare_long (field4); - return result; -} -struct tl_ds_keyboard_button *fetch_ds_constructor_keyboard_button (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return 0; } - struct tl_ds_keyboard_button * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->text = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_keyboard_button_row *fetch_ds_constructor_keyboard_button_row (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return 0; } - struct tl_ds_keyboard_button_row * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->buttons = (void *)fetch_ds_type_vector (field1); - return result; -} -long long *fetch_ds_constructor_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return 0; } - long long * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 8); - *result = fetch_long (); - return result; -} -struct tl_ds_message *fetch_ds_constructor_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return 0; } - struct tl_ds_message * result = talloc0 (sizeof (*result)); - result->magic = 0x83e5de54; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_message *fetch_ds_constructor_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return 0; } - struct tl_ds_message * result = talloc0 (sizeof (*result)); - result->magic = 0xc3060325; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_id = fetch_ds_type_peer (field4); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_from_id = fetch_ds_type_bare_int (field5); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_date = fetch_ds_type_bare_int (field6); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_to_msg_id = fetch_ds_type_bare_int (field7); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field10); - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_markup = fetch_ds_type_reply_markup (field11); - } - return result; -} -struct tl_ds_message *fetch_ds_constructor_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return 0; } - struct tl_ds_message * result = talloc0 (sizeof (*result)); - result->magic = 0x1d86f70e; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_id = fetch_ds_type_peer (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_message_action (field6); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xb6aef7b0; - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xa6638b9a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_edit_title (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xb5a1ce5a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_edit_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x7fcb13a8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field1); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_delete_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x95e3fbef; - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_add_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x5e3cfc4b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_delete_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xb2ae9b0c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_geo_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x6f038ebc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->address = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_geo_chat_checkin (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x0c7d53de; - return result; -} -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_joined_by_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return 0; } - struct tl_ds_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xf89cf5e8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->inviter_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x3ded6320; - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x3d8ce53d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x5bcf1675; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->video = fetch_ds_type_video (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_geo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x56e0d474; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo = fetch_ds_type_geo_point (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x5e7d2f39; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_number = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_unsupported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x9f84f49e; - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x2fda2204; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->document = fetch_ds_type_document (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xc6b68300; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->audio = fetch_ds_type_audio (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xa32dd600; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->webpage = fetch_ds_type_web_page (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0x7912b71f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo = fetch_ds_type_geo_point (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->address = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->provider = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->venue_id = fetch_ds_type_bare_string (field5); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xc8c45a2a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field1); - return result; -} -struct tl_ds_message_media *fetch_ds_constructor_message_media_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return 0; } - struct tl_ds_message_media * result = talloc0 (sizeof (*result)); - result->magic = 0xa2d24290; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->video = fetch_ds_type_video (field1); - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0x57e2f66c; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0x9609a51c; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0x9fc00e65; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photo_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0x56e9f0e4; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0xd95e73bb; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0x9eddf188; - return result; -} -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return 0; } - struct tl_ds_messages_filter * result = talloc0 (sizeof (*result)); - result->magic = 0xcfc87522; - return result; -} -struct tl_ds_nearest_dc *fetch_ds_constructor_nearest_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return 0; } - struct tl_ds_nearest_dc * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->country = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->this_dc = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nearest_dc = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_notify_peer *fetch_ds_constructor_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return 0; } - struct tl_ds_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x9fd40bd8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_peer (field1); - return result; -} -struct tl_ds_notify_peer *fetch_ds_constructor_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return 0; } - struct tl_ds_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0xb4c83b4c; - return result; -} -struct tl_ds_notify_peer *fetch_ds_constructor_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return 0; } - struct tl_ds_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0xc007cec3; - return result; -} -struct tl_ds_notify_peer *fetch_ds_constructor_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return 0; } - struct tl_ds_notify_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x74d07c60; - return result; -} -struct tl_ds_null *fetch_ds_constructor_null (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return 0; } - struct tl_ds_null * result = talloc0 (sizeof (*result)); - return result; -} -struct tl_ds_p_q_inner_data *fetch_ds_constructor_p_q_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return 0; } - struct tl_ds_p_q_inner_data * result = talloc0 (sizeof (*result)); - result->magic = 0x83c95aec; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pq = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->p = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->q = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce = fetch_ds_type_bare_int256 (field6); - return result; -} -struct tl_ds_p_q_inner_data *fetch_ds_constructor_p_q_inner_data_temp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return 0; } - struct tl_ds_p_q_inner_data * result = talloc0 (sizeof (*result)); - result->magic = 0x3c6a84d4; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pq = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->p = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->q = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce = fetch_ds_type_bare_int256 (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->expires_in = fetch_ds_type_bare_int (field7); - return result; -} -struct tl_ds_peer *fetch_ds_constructor_peer_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return 0; } - struct tl_ds_peer * result = talloc0 (sizeof (*result)); - result->magic = 0x9db1bc6d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_peer *fetch_ds_constructor_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return 0; } - struct tl_ds_peer * result = talloc0 (sizeof (*result)); - result->magic = 0xbad0e5bb; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_peer_notify_events *fetch_ds_constructor_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return 0; } - struct tl_ds_peer_notify_events * result = talloc0 (sizeof (*result)); - result->magic = 0xadd53cb3; - return result; -} -struct tl_ds_peer_notify_events *fetch_ds_constructor_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return 0; } - struct tl_ds_peer_notify_events * result = talloc0 (sizeof (*result)); - result->magic = 0x6d1ded88; - return result; -} -struct tl_ds_peer_notify_settings *fetch_ds_constructor_peer_notify_settings_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return 0; } - struct tl_ds_peer_notify_settings * result = talloc0 (sizeof (*result)); - result->magic = 0x70a68512; - return result; -} -struct tl_ds_peer_notify_settings *fetch_ds_constructor_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return 0; } - struct tl_ds_peer_notify_settings * result = talloc0 (sizeof (*result)); - result->magic = 0x8d5e11ee; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mute_until = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->sound = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->show_previews = fetch_ds_type_bool (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->events_mask = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_photo *fetch_ds_constructor_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return 0; } - struct tl_ds_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x2331b22d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_photo *fetch_ds_constructor_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return 0; } - struct tl_ds_photo * result = talloc0 (sizeof (*result)); - result->magic = 0xc3838076; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo = fetch_ds_type_geo_point (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->sizes = (void *)fetch_ds_type_vector (field6); - return result; -} -struct tl_ds_photo *fetch_ds_constructor_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return 0; } - struct tl_ds_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x22b56751; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo = fetch_ds_type_geo_point (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->sizes = (void *)fetch_ds_type_vector (field7); - return result; -} -struct tl_ds_photo_size *fetch_ds_constructor_photo_size_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return 0; } - struct tl_ds_photo_size * result = talloc0 (sizeof (*result)); - result->magic = 0x0e17e23c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_photo_size *fetch_ds_constructor_photo_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return 0; } - struct tl_ds_photo_size * result = talloc0 (sizeof (*result)); - result->magic = 0x77bfb61b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->location = fetch_ds_type_file_location (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_photo_size *fetch_ds_constructor_photo_cached_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return 0; } - struct tl_ds_photo_size * result = talloc0 (sizeof (*result)); - result->magic = 0xe9a734fa; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->location = fetch_ds_type_file_location (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bytes = fetch_ds_type_bare_bytes (field5); - return result; -} -struct tl_ds_privacy_key *fetch_ds_constructor_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return 0; } - struct tl_ds_privacy_key * result = talloc0 (sizeof (*result)); - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0xfffe1bac; - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x65427b82; - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x4d5bbe0c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0xf888fa1a; - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x8b73e763; - return result; -} -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return 0; } - struct tl_ds_privacy_rule * result = talloc0 (sizeof (*result)); - result->magic = 0x0c7f49b7; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_received_notify_message *fetch_ds_constructor_received_notify_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return 0; } - struct tl_ds_received_notify_message * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_hide (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return 0; } - struct tl_ds_reply_markup * result = talloc0 (sizeof (*result)); - result->magic = 0xa03e5b85; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_force_reply (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return 0; } - struct tl_ds_reply_markup * result = talloc0 (sizeof (*result)); - result->magic = 0xf4108aa0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_markup (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return 0; } - struct tl_ds_reply_markup * result = talloc0 (sizeof (*result)); - result->magic = 0x3502758c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->rows = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_res_p_q *fetch_ds_constructor_res_p_q (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return 0; } - struct tl_ds_res_p_q * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pq = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->server_public_key_fingerprints = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_typing_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x16bf744e; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_cancel_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xfd5ec8f5; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_record_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xa187d66f; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_video_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x92042ff7; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xe9763aec; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->progress = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_record_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xd52f73f7; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xe6ac8a6f; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xf351d7ab; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->progress = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_photo_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xd1d34a26; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->progress = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_document_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x8faee98e; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_document_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0xaa0cd9e4; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->progress = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_geo_location_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x176f8ba1; - return result; -} -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_choose_contact_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return 0; } - struct tl_ds_send_message_action * result = talloc0 (sizeof (*result)); - result->magic = 0x628cbc6f; - return result; -} -struct tl_ds_server_d_h_params *fetch_ds_constructor_server_d_h_params_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return 0; } - struct tl_ds_server_d_h_params * result = talloc0 (sizeof (*result)); - result->magic = 0x79cb045d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce_hash = fetch_ds_type_bare_int128 (field3); - return result; -} -struct tl_ds_server_d_h_params *fetch_ds_constructor_server_d_h_params_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return 0; } - struct tl_ds_server_d_h_params * result = talloc0 (sizeof (*result)); - result->magic = 0xd0e8075c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->encrypted_answer = fetch_ds_type_bare_string (field3); - return result; -} -struct tl_ds_server_d_h_inner_data *fetch_ds_constructor_server_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return 0; } - struct tl_ds_server_d_h_inner_data * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dh_prime = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_a = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_time = fetch_ds_type_bare_int (field6); - return result; -} -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return 0; } - struct tl_ds_set_client_d_h_params_answer * result = talloc0 (sizeof (*result)); - result->magic = 0x3bcbf734; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce_hash1 = fetch_ds_type_bare_int128 (field3); - return result; -} -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_retry (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return 0; } - struct tl_ds_set_client_d_h_params_answer * result = talloc0 (sizeof (*result)); - result->magic = 0x46dc1fb9; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce_hash2 = fetch_ds_type_bare_int128 (field3); - return result; -} -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return 0; } - struct tl_ds_set_client_d_h_params_answer * result = talloc0 (sizeof (*result)); - result->magic = 0xa69dae02; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->nonce = fetch_ds_type_bare_int128 (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->server_nonce = fetch_ds_type_bare_int128 (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_nonce_hash3 = fetch_ds_type_bare_int128 (field3); - return result; -} -struct tl_ds_sticker_pack *fetch_ds_constructor_sticker_pack (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return 0; } - struct tl_ds_sticker_pack * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->emoticon = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->documents = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_sticker_set *fetch_ds_constructor_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return 0; } - struct tl_ds_sticker_set * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->short_name = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_string *fetch_ds_constructor_string (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return 0; } - struct tl_ds_string * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 4); - int l = prefetch_strlen (); - assert (l >= 0); - result->len = l; - result->data = talloc (l + 1); - result->data[l] = 0; - memcpy (result->data, fetch_str (l), l); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_new_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x1f2b0afd; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_message (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_message_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x4e90bfd6; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random_id = fetch_ds_type_bare_long (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0xa20db0e5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x5c486927; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_send_message_action (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_chat_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x9a65ea1f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_send_message_action (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x07761198; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->participants = fetch_ds_type_chat_participants (field1); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x1bfbd823; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->status = fetch_ds_type_user_status (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0xa7332b73; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->username = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x95313b0c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_user_profile_photo (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->previous = fetch_ds_type_bool (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_contact_registered (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x2575bbb9; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_contact_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x9d2e67c5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->my_link = fetch_ds_type_contact_link (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->foreign_link = fetch_ds_type_contact_link (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_new_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x8f06529a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->auth_key_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->device = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->location = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_new_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x5a68e3f7; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->geo_message = fetch_ds_type_geo_chat_message (field1); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_new_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x12bcbd9a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->encr_message = fetch_ds_type_encrypted_message (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->qts = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_encrypted_chat_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x1710f156; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_encryption (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0xb4a2e88d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->encr_chat = fetch_ds_type_encrypted_chat (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_encrypted_messages_read (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x38fe25b7; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->max_date = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_chat_participant_add (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x3a0eeb22; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->inviter_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_chat_participant_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x6e5f8c22; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_dc_options (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x8e5e9873; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->dc_options = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x80ece81a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->blocked = fetch_ds_type_bool (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0xbec268ef; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_peer = fetch_ds_type_notify_peer (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_settings = fetch_ds_type_peer_notify_settings (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_service_notification (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x382dd3e4; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message_text = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->popup = fetch_ds_type_bool (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_privacy (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0xee3b272a; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_privacy_key (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->rules = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_user_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x12b9417b; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_read_history_inbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x9961fd5c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_peer (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->max_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_read_history_outbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x2f2f21bf; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->peer = fetch_ds_type_peer (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->max_id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x2cc36971; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->webpage = fetch_ds_type_web_page (field1); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_read_messages_contents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x68c13933; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_update *fetch_ds_constructor_update_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return 0; } - struct tl_ds_update * result = talloc0 (sizeof (*result)); - result->magic = 0x03114739; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_updates *fetch_ds_constructor_updates_too_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0xe317af7e; - return result; -} -struct tl_ds_updates *fetch_ds_constructor_update_short_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0xed5c2127; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field7); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_from_id = fetch_ds_type_bare_int (field8); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_date = fetch_ds_type_bare_int (field9); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_to_msg_id = fetch_ds_type_bare_int (field10); - } - return result; -} -struct tl_ds_updates *fetch_ds_constructor_update_short_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0x52238b3c; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field8); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_from_id = fetch_ds_type_bare_int (field9); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_date = fetch_ds_type_bare_int (field10); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_to_msg_id = fetch_ds_type_bare_int (field11); - } - return result; -} -struct tl_ds_updates *fetch_ds_constructor_update_short (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0x78d4dec1; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->update = fetch_ds_type_update (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_updates *fetch_ds_constructor_updates_combined (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0x725b04c3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->updates = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq_start = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field6); - return result; -} -struct tl_ds_updates *fetch_ds_constructor_updates (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return 0; } - struct tl_ds_updates * result = talloc0 (sizeof (*result)); - result->magic = 0x74ae4240; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->updates = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_user *fetch_ds_constructor_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return 0; } - struct tl_ds_user * result = talloc0 (sizeof (*result)); - result->magic = 0x200250ba; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_user *fetch_ds_constructor_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return 0; } - struct tl_ds_user * result = talloc0 (sizeof (*result)); - result->magic = 0x22e49072; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field3); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field4); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field5); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->username = fetch_ds_type_bare_string (field6); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone = fetch_ds_type_bare_string (field7); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_user_profile_photo (field8); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->status = fetch_ds_type_user_status (field9); - } - if (PTR2INT (var0) & (1 << 14)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bot_info_version = fetch_ds_type_bare_int (field10); - } - return result; -} -struct tl_ds_user_full *fetch_ds_constructor_user_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return 0; } - struct tl_ds_user_full * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user = fetch_ds_type_user (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->link = fetch_ds_type_contacts_link (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->profile_photo = fetch_ds_type_photo (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->notify_settings = fetch_ds_type_peer_notify_settings (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->blocked = fetch_ds_type_bool (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bot_info = fetch_ds_type_bot_info (field6); - return result; -} -struct tl_ds_user_profile_photo *fetch_ds_constructor_user_profile_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return 0; } - struct tl_ds_user_profile_photo * result = talloc0 (sizeof (*result)); - result->magic = 0x4f11bae1; - return result; -} -struct tl_ds_user_profile_photo *fetch_ds_constructor_user_profile_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return 0; } - struct tl_ds_user_profile_photo * result = talloc0 (sizeof (*result)); - result->magic = 0xd559d8c8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo_small = fetch_ds_type_file_location (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo_big = fetch_ds_type_file_location (field3); - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0x09d05049; - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_online (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0xedb93949; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->expires = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_offline (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0x008c703f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->was_online = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_recently (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0xe26f42f1; - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_last_week (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0x07bf09fc; - return result; -} -struct tl_ds_user_status *fetch_ds_constructor_user_status_last_month (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return 0; } - struct tl_ds_user_status * result = talloc0 (sizeof (*result)); - result->magic = 0x77ebc742; - return result; -} -struct tl_ds_vector *fetch_ds_constructor_vector (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return 0; } - if (ODDP(T->params[0])) { return 0; } - struct paramed_type *var0 = T->params[0]; assert (var0); - struct tl_ds_vector * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 4); - result->f1 = talloc (4); *result->f1 = prefetch_int (); struct paramed_type *var1 = INT2PTR (fetch_int ()); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - result->f2 = talloc0 (multiplicity3 * sizeof (void *)); - { - int i = 0; - while (i < multiplicity3) { - result->f2[i ++] = fetch_ds_type_any (field3); - } - } - return result; -} -struct tl_ds_video *fetch_ds_constructor_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return 0; } - struct tl_ds_video * result = talloc0 (sizeof (*result)); - result->magic = 0xc10658a8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_video *fetch_ds_constructor_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return 0; } - struct tl_ds_video * result = talloc0 (sizeof (*result)); - result->magic = 0xee9f4a4d; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_photo_size (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field10); - return result; -} -struct tl_ds_video *fetch_ds_constructor_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return 0; } - struct tl_ds_video * result = talloc0 (sizeof (*result)); - result->magic = 0x388fa391; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->caption = fetch_ds_type_bare_string (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mime_type = fetch_ds_type_bare_string (field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->size = fetch_ds_type_bare_int (field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->thumb = fetch_ds_type_photo_size (field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc_id = fetch_ds_type_bare_int (field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->w = fetch_ds_type_bare_int (field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->h = fetch_ds_type_bare_int (field12); - return result; -} -struct tl_ds_wall_paper *fetch_ds_constructor_wall_paper (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return 0; } - struct tl_ds_wall_paper * result = talloc0 (sizeof (*result)); - result->magic = 0xccb03657; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->sizes = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->color = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_wall_paper *fetch_ds_constructor_wall_paper_solid (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return 0; } - struct tl_ds_wall_paper * result = talloc0 (sizeof (*result)); - result->magic = 0x63117f24; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bg_color = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->color = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_web_page *fetch_ds_constructor_web_page_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return 0; } - struct tl_ds_web_page * result = talloc0 (sizeof (*result)); - result->magic = 0xeb1477e8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_web_page *fetch_ds_constructor_web_page_pending (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return 0; } - struct tl_ds_web_page * result = talloc0 (sizeof (*result)); - result->magic = 0xc586da1c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_web_page *fetch_ds_constructor_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return 0; } - struct tl_ds_web_page * result = talloc0 (sizeof (*result)); - result->magic = 0xa31ea0b5; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_long (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->url = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->display_url = fetch_ds_type_bare_string (field4); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_bare_string (field5); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->site_name = fetch_ds_type_bare_string (field6); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field7); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->description = fetch_ds_type_bare_string (field8); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field9); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->embed_url = fetch_ds_type_bare_string (field10); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->embed_type = fetch_ds_type_bare_string (field11); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->embed_width = fetch_ds_type_bare_int (field12); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->embed_height = fetch_ds_type_bare_int (field13); - } - if (PTR2INT (var0) & (1 << 7)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->duration = fetch_ds_type_bare_int (field14); - } - if (PTR2INT (var0) & (1 << 8)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->author = fetch_ds_type_bare_string (field15); - } - return result; -} -struct tl_ds_account_authorizations *fetch_ds_constructor_account_authorizations (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return 0; } - struct tl_ds_account_authorizations * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->authorizations = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_account_password *fetch_ds_constructor_account_no_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return 0; } - struct tl_ds_account_password * result = talloc0 (sizeof (*result)); - result->magic = 0x96dabc18; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_salt = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->email_unconfirmed_pattern = fetch_ds_type_bare_string (field2); - return result; -} -struct tl_ds_account_password *fetch_ds_constructor_account_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return 0; } - struct tl_ds_account_password * result = talloc0 (sizeof (*result)); - result->magic = 0x7c18141c; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->current_salt = fetch_ds_type_bare_bytes (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_salt = fetch_ds_type_bare_bytes (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hint = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->has_recovery = fetch_ds_type_bool (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->email_unconfirmed_pattern = fetch_ds_type_bare_string (field5); - return result; -} -struct tl_ds_account_password_input_settings *fetch_ds_constructor_account_password_input_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return 0; } - struct tl_ds_account_password_input_settings * result = talloc0 (sizeof (*result)); - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_salt = fetch_ds_type_bare_bytes (field2); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_password_hash = fetch_ds_type_bare_bytes (field3); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hint = fetch_ds_type_bare_string (field4); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->email = fetch_ds_type_bare_string (field5); - } - return result; -} -struct tl_ds_account_password_settings *fetch_ds_constructor_account_password_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return 0; } - struct tl_ds_account_password_settings * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->email = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_account_privacy_rules *fetch_ds_constructor_account_privacy_rules (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return 0; } - struct tl_ds_account_privacy_rules * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->rules = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_account_sent_change_phone_code *fetch_ds_constructor_account_sent_change_phone_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return 0; } - struct tl_ds_account_sent_change_phone_code * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_code_hash = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->send_call_timeout = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_auth_authorization *fetch_ds_constructor_auth_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return 0; } - struct tl_ds_auth_authorization * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user = fetch_ds_type_user (field1); - return result; -} -struct tl_ds_auth_checked_phone *fetch_ds_constructor_auth_checked_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return 0; } - struct tl_ds_auth_checked_phone * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_registered = fetch_ds_type_bool (field1); - return result; -} -struct tl_ds_auth_exported_authorization *fetch_ds_constructor_auth_exported_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return 0; } - struct tl_ds_auth_exported_authorization * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bytes = fetch_ds_type_bare_bytes (field2); - return result; -} -struct tl_ds_auth_password_recovery *fetch_ds_constructor_auth_password_recovery (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return 0; } - struct tl_ds_auth_password_recovery * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->email_pattern = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_auth_sent_code *fetch_ds_constructor_auth_sent_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return 0; } - struct tl_ds_auth_sent_code * result = talloc0 (sizeof (*result)); - result->magic = 0xefed51d9; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_registered = fetch_ds_type_bool (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_code_hash = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->send_call_timeout = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->is_password = fetch_ds_type_bool (field4); - return result; -} -struct tl_ds_auth_sent_code *fetch_ds_constructor_auth_sent_app_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return 0; } - struct tl_ds_auth_sent_code * result = talloc0 (sizeof (*result)); - result->magic = 0xe325edcf; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_registered = fetch_ds_type_bool (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_code_hash = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->send_call_timeout = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->is_password = fetch_ds_type_bool (field4); - return result; -} -struct tl_ds_binlog_encr_key *fetch_ds_constructor_binlog_encr_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return 0; } - struct tl_ds_binlog_encr_key * result = talloc0 (sizeof (*result)); - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = talloc0 (multiplicity1 * sizeof (void *)); - { - int i = 0; - while (i < multiplicity1) { - result->key[i ++] =fetch_ds_type_any (field1); - } - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_start (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x3b06de69; - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0xf96feb32; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->name = fetch_ds_type_bare_string (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ip = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->port = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_option_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x7c0d22d8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->flags = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->name = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ip = fetch_ds_type_bare_string (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->port = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_auth_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x71e8c156; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_binlog_encr_key (field2); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_default_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x9e83dbdc; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_signed (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x26451bb5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->dc = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_our_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x68a870e8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_dh_params (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0xeaeb7826; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->root = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->prime = fetch_ds_type_bare_binlog_encr_key (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_pts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x2ca8c939; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_qts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0xd95738ac; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->qts = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_date (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x1d0f4b52; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_seq (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x6eeb2989; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0xee1b38e8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x84977251; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin = fetch_ds_type_bare_int (field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field6); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_binlog_encr_key (field7); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g_key = fetch_ds_type_bare_binlog_encr_key (field8); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->state = fetch_ds_type_bare_int (field9); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->ttl = fetch_ds_type_bare_int (field10); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->layer = fetch_ds_type_bare_int (field11); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->in_seq_no = fetch_ds_type_bare_int (field12); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_in_seq_no = fetch_ds_type_bare_int (field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->out_seq_no = fetch_ds_type_bare_int (field14); - } - if (PTR2INT (var0) & (1 << 27)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key_fingerprint = fetch_ds_type_bare_long (field15); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x9d49488d; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->exchange_id = fetch_ds_type_bare_long (field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->key = fetch_ds_type_bare_binlog_encr_key (field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->state = fetch_ds_type_bare_int (field5); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_user_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0xac55d447; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_user_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x127cf2f9; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->access_hash = fetch_ds_type_bare_long (field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->first_name = fetch_ds_type_bare_string (field4); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_name = fetch_ds_type_bare_string (field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone = fetch_ds_type_bare_string (field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->username = fetch_ds_type_bare_string (field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->real_first_name = fetch_ds_type_bare_string (field9); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->real_last_name = fetch_ds_type_bare_string (field10); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_photo = fetch_ds_type_user_profile_photo (field11); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_read_in = fetch_ds_type_bare_int (field12); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_read_out = fetch_ds_type_bare_int (field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bot_info = fetch_ds_type_bot_info (field14); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x0a10aa92; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->title = fetch_ds_type_bare_string (field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_num = fetch_ds_type_bare_int (field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->participants = (void *)fetch_ds_type_vector (field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->chat_photo = fetch_ds_type_chat_photo (field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->admin = fetch_ds_type_bare_int (field10); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_read_in = fetch_ds_type_bare_int (field11); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->last_read_out = fetch_ds_type_bare_int (field12); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_add_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x535475ea; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->inviter_id = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_del_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x7dd1a1a2; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user_id = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_msg_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x3c873416; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->old_id = fetch_ds_type_bare_long (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->new_id = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x847e77b1; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->lid = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x427cfcdb; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->lid = fetch_ds_type_bare_long (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_type = fetch_ds_type_bare_int (field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_id = fetch_ds_type_bare_int (field5); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_from_id = fetch_ds_type_bare_int (field6); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->fwd_date = fetch_ds_type_bare_int (field7); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field8); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field9); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field10); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->action = fetch_ds_type_message_action (field11); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_id = fetch_ds_type_bare_int (field12); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->reply_markup = fetch_ds_type_reply_markup (field13); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_encr_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x6cf7cabc; - assert (in_remaining () >= 4); - result->flags = talloc (4); *result->flags = prefetch_int (); struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->lid = fetch_ds_type_bare_long (field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->from_id = fetch_ds_type_bare_int (field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_type = fetch_ds_type_bare_int (field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->to_id = fetch_ds_type_bare_int (field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->encr_media = fetch_ds_type_decrypted_message_media (field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->encr_action = fetch_ds_type_decrypted_message_action (field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_encrypted_file (field10); - } - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x6dd4d85f; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->lid = fetch_ds_type_bare_long (field1); - return result; -} -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_reset_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return 0; } - struct tl_ds_binlog_update * result = talloc0 (sizeof (*result)); - result->magic = 0x83327955; - return result; -} -struct tl_ds_contacts_blocked *fetch_ds_constructor_contacts_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return 0; } - struct tl_ds_contacts_blocked * result = talloc0 (sizeof (*result)); - result->magic = 0x1c138d15; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->blocked = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_contacts_blocked *fetch_ds_constructor_contacts_blocked_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return 0; } - struct tl_ds_contacts_blocked * result = talloc0 (sizeof (*result)); - result->magic = 0x900802a1; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->count = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->blocked = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_contacts_contacts *fetch_ds_constructor_contacts_contacts_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return 0; } - struct tl_ds_contacts_contacts * result = talloc0 (sizeof (*result)); - result->magic = 0xb74ba9d2; - return result; -} -struct tl_ds_contacts_contacts *fetch_ds_constructor_contacts_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return 0; } - struct tl_ds_contacts_contacts * result = talloc0 (sizeof (*result)); - result->magic = 0x6f8b8cb2; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->contacts = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_contacts_found *fetch_ds_constructor_contacts_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return 0; } - struct tl_ds_contacts_found * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->results = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_contacts_imported_contacts *fetch_ds_constructor_contacts_imported_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return 0; } - struct tl_ds_contacts_imported_contacts * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->imported = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->retry_contacts = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_contacts_link *fetch_ds_constructor_contacts_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return 0; } - struct tl_ds_contacts_link * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->my_link = fetch_ds_type_contact_link (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->foreign_link = fetch_ds_type_contact_link (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user = fetch_ds_type_user (field3); - return result; -} -struct tl_ds_contacts_suggested *fetch_ds_constructor_contacts_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return 0; } - struct tl_ds_contacts_suggested * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->results = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_geochats_located *fetch_ds_constructor_geochats_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return 0; } - struct tl_ds_geochats_located * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->results = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_geochats_messages *fetch_ds_constructor_geochats_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return 0; } - struct tl_ds_geochats_messages * result = talloc0 (sizeof (*result)); - result->magic = 0xd1526db1; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_geochats_messages *fetch_ds_constructor_geochats_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return 0; } - struct tl_ds_geochats_messages * result = talloc0 (sizeof (*result)); - result->magic = 0xbc5863e8; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->count = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_geochats_stated_message *fetch_ds_constructor_geochats_stated_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return 0; } - struct tl_ds_geochats_stated_message * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_geo_chat_message (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field4); - return result; -} -struct tl_ds_help_app_update *fetch_ds_constructor_help_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return 0; } - struct tl_ds_help_app_update * result = talloc0 (sizeof (*result)); - result->magic = 0x8987f311; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->critical = fetch_ds_type_bool (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->url = fetch_ds_type_bare_string (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->text = fetch_ds_type_bare_string (field4); - return result; -} -struct tl_ds_help_app_update *fetch_ds_constructor_help_no_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return 0; } - struct tl_ds_help_app_update * result = talloc0 (sizeof (*result)); - result->magic = 0xc45a6536; - return result; -} -struct tl_ds_help_invite_text *fetch_ds_constructor_help_invite_text (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return 0; } - struct tl_ds_help_invite_text * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->message = fetch_ds_type_bare_string (field1); - return result; -} -struct tl_ds_help_support *fetch_ds_constructor_help_support (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return 0; } - struct tl_ds_help_support * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->phone_number = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->user = fetch_ds_type_user (field2); - return result; -} -struct tl_ds_messages_affected_history *fetch_ds_constructor_messages_affected_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return 0; } - struct tl_ds_messages_affected_history * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->offset = fetch_ds_type_bare_int (field3); - return result; -} -struct tl_ds_messages_affected_messages *fetch_ds_constructor_messages_affected_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return 0; } - struct tl_ds_messages_affected_messages * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_messages_all_stickers *fetch_ds_constructor_messages_all_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return 0; } - struct tl_ds_messages_all_stickers * result = talloc0 (sizeof (*result)); - result->magic = 0xe86602c3; - return result; -} -struct tl_ds_messages_all_stickers *fetch_ds_constructor_messages_all_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return 0; } - struct tl_ds_messages_all_stickers * result = talloc0 (sizeof (*result)); - result->magic = 0x5ce352ec; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hash = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->packs = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->sets = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->documents = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_messages_chat_full *fetch_ds_constructor_messages_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return 0; } - struct tl_ds_messages_chat_full * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->full_chat = fetch_ds_type_chat_full (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_messages_chats *fetch_ds_constructor_messages_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return 0; } - struct tl_ds_messages_chats * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field1); - return result; -} -struct tl_ds_messages_dh_config *fetch_ds_constructor_messages_dh_config_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return 0; } - struct tl_ds_messages_dh_config * result = talloc0 (sizeof (*result)); - result->magic = 0xc0e24635; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random = fetch_ds_type_bare_bytes (field1); - return result; -} -struct tl_ds_messages_dh_config *fetch_ds_constructor_messages_dh_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return 0; } - struct tl_ds_messages_dh_config * result = talloc0 (sizeof (*result)); - result->magic = 0x2c221edd; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->g = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->p = fetch_ds_type_bare_bytes (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->version = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->random = fetch_ds_type_bare_bytes (field4); - return result; -} -struct tl_ds_messages_dialogs *fetch_ds_constructor_messages_dialogs (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return 0; } - struct tl_ds_messages_dialogs * result = talloc0 (sizeof (*result)); - result->magic = 0x15ba6c40; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->dialogs = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_messages_dialogs *fetch_ds_constructor_messages_dialogs_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return 0; } - struct tl_ds_messages_dialogs * result = talloc0 (sizeof (*result)); - result->magic = 0x71e094f3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->count = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->dialogs = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field5); - return result; -} -struct tl_ds_messages_message *fetch_ds_constructor_messages_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return 0; } - struct tl_ds_messages_message * result = talloc0 (sizeof (*result)); - return result; -} -struct tl_ds_messages_messages *fetch_ds_constructor_messages_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return 0; } - struct tl_ds_messages_messages * result = talloc0 (sizeof (*result)); - result->magic = 0x8c718e87; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_messages_messages *fetch_ds_constructor_messages_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return 0; } - struct tl_ds_messages_messages * result = talloc0 (sizeof (*result)); - result->magic = 0x0b446ae3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->count = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field4); - return result; -} -struct tl_ds_messages_sent_encrypted_message *fetch_ds_constructor_messages_sent_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return 0; } - struct tl_ds_messages_sent_encrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0x560f8935; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field1); - return result; -} -struct tl_ds_messages_sent_encrypted_message *fetch_ds_constructor_messages_sent_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return 0; } - struct tl_ds_messages_sent_encrypted_message * result = talloc0 (sizeof (*result)); - result->magic = 0x9493ff32; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->file = fetch_ds_type_encrypted_file (field2); - return result; -} -struct tl_ds_messages_sent_message *fetch_ds_constructor_messages_sent_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return 0; } - struct tl_ds_messages_sent_message * result = talloc0 (sizeof (*result)); - result->magic = 0x4c3d47f3; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_messages_sent_message *fetch_ds_constructor_messages_sent_message_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return 0; } - struct tl_ds_messages_sent_message * result = talloc0 (sizeof (*result)); - result->magic = 0x35a1a663; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->id = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->media = fetch_ds_type_message_media (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts_count = fetch_ds_type_bare_int (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->links = (void *)fetch_ds_type_vector (field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field7); - return result; -} -struct tl_ds_messages_sticker_set *fetch_ds_constructor_messages_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return 0; } - struct tl_ds_messages_sticker_set * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->set = fetch_ds_type_sticker_set (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->packs = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->documents = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_messages_stickers *fetch_ds_constructor_messages_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return 0; } - struct tl_ds_messages_stickers * result = talloc0 (sizeof (*result)); - result->magic = 0xf1749a22; - return result; -} -struct tl_ds_messages_stickers *fetch_ds_constructor_messages_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return 0; } - struct tl_ds_messages_stickers * result = talloc0 (sizeof (*result)); - result->magic = 0x8a8ecd32; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->hash = fetch_ds_type_bare_string (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->stickers = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_photos_photo *fetch_ds_constructor_photos_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return 0; } - struct tl_ds_photos_photo * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->photo = fetch_ds_type_photo (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_photos_photos *fetch_ds_constructor_photos_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return 0; } - struct tl_ds_photos_photos * result = talloc0 (sizeof (*result)); - result->magic = 0x8dca6aa5; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->photos = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field2); - return result; -} -struct tl_ds_photos_photos *fetch_ds_constructor_photos_photos_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return 0; } - struct tl_ds_photos_photos * result = talloc0 (sizeof (*result)); - result->magic = 0x15051f54; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->count = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->photos = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field3); - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0xaa963b05; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_jpeg (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x007efe0e; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_gif (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0xcae1aadf; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_png (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x0a4f63c0; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_pdf (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0xae1e508d; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mp3 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x528a0677; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mov (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x4b09ebbc; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_partial (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x40bc6f52; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mp4 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0xb3cea0e4; - return result; -} -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_webp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return 0; } - struct tl_ds_storage_file_type * result = talloc0 (sizeof (*result)); - result->magic = 0x1081464c; - return result; -} -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return 0; } - struct tl_ds_updates_difference * result = talloc0 (sizeof (*result)); - result->magic = 0x5d75a138; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field2); - return result; -} -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return 0; } - struct tl_ds_updates_difference * result = talloc0 (sizeof (*result)); - result->magic = 0x00f49ca0; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->new_messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->new_encrypted_messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->other_updates = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->state = fetch_ds_type_updates_state (field6); - return result; -} -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return 0; } - struct tl_ds_updates_difference * result = talloc0 (sizeof (*result)); - result->magic = 0xa8fb1981; - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->new_messages = (void *)fetch_ds_type_vector (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->new_encrypted_messages = (void *)fetch_ds_type_vector (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->other_updates = (void *)fetch_ds_type_vector (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->chats = (void *)fetch_ds_type_vector (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - result->users = (void *)fetch_ds_type_vector (field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->intermediate_state = fetch_ds_type_updates_state (field6); - return result; -} -struct tl_ds_updates_state *fetch_ds_constructor_updates_state (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return 0; } - struct tl_ds_updates_state * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->pts = fetch_ds_type_bare_int (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->qts = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->date = fetch_ds_type_bare_int (field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->seq = fetch_ds_type_bare_int (field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->unread_count = fetch_ds_type_bare_int (field5); - return result; -} -struct tl_ds_upload_file *fetch_ds_constructor_upload_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return 0; } - struct tl_ds_upload_file * result = talloc0 (sizeof (*result)); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->type = fetch_ds_type_storage_file_type (field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->mtime = fetch_ds_type_bare_int (field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - result->bytes = fetch_ds_type_bare_bytes (field3); - return result; -} -struct tl_ds_account_days_t_t_l *fetch_ds_type_account_days_t_t_l (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb8d0afdf: return fetch_ds_constructor_account_days_t_t_l (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_days_t_t_l *fetch_ds_type_bare_account_days_t_t_l (struct paramed_type *T) { - return fetch_ds_constructor_account_days_t_t_l (T); - assert (0); - return NULL; -} -struct tl_ds_audio *fetch_ds_type_audio (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x586988d8: return fetch_ds_constructor_audio_empty (T); break; - case 0xc7ac6496: return fetch_ds_constructor_audio (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_audio *fetch_ds_type_bare_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_audio_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_audio_empty (T); } - if (skip_constructor_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_audio (T); } - assert (0); - return NULL; -} -struct tl_ds_authorization *fetch_ds_type_authorization (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x7bf2e6f6: return fetch_ds_constructor_authorization (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_authorization *fetch_ds_type_bare_authorization (struct paramed_type *T) { - return fetch_ds_constructor_authorization (T); - assert (0); - return NULL; -} -struct tl_ds_bool *fetch_ds_type_bool (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xbc799737: return fetch_ds_constructor_bool_false (T); break; - case 0x997275b5: return fetch_ds_constructor_bool_true (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_bool *fetch_ds_type_bare_bool (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bool_false (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bool_false (T); } - if (skip_constructor_bool_true (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bool_true (T); } - assert (0); - return NULL; -} -struct tl_ds_bot_command *fetch_ds_type_bot_command (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc27ac8c7: return fetch_ds_constructor_bot_command (T); break; - case 0xb79d22ab: return fetch_ds_constructor_bot_command_old (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_bot_command *fetch_ds_type_bare_bot_command (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bot_command (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bot_command (T); } - if (skip_constructor_bot_command_old (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bot_command_old (T); } - assert (0); - return NULL; -} -struct tl_ds_bot_info *fetch_ds_type_bot_info (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xbb2e37ce: return fetch_ds_constructor_bot_info_empty (T); break; - case 0x09cf585d: return fetch_ds_constructor_bot_info (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_bot_info *fetch_ds_type_bare_bot_info (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bot_info_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bot_info_empty (T); } - if (skip_constructor_bot_info (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_bot_info (T); } - assert (0); - return NULL; -} -struct tl_ds_string *fetch_ds_type_bytes (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0ee1379f: return fetch_ds_constructor_bytes (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_string *fetch_ds_type_bare_bytes (struct paramed_type *T) { - return fetch_ds_constructor_bytes (T); - assert (0); - return NULL; -} -struct tl_ds_chat *fetch_ds_type_chat (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x9ba2d800: return fetch_ds_constructor_chat_empty (T); break; - case 0x6e9c9bc7: return fetch_ds_constructor_chat (T); break; - case 0xfb0ccc41: return fetch_ds_constructor_chat_forbidden (T); break; - case 0x75eaea5a: return fetch_ds_constructor_geo_chat (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat *fetch_ds_type_bare_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_empty (T); } - if (skip_constructor_chat (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat (T); } - if (skip_constructor_chat_forbidden (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_forbidden (T); } - if (skip_constructor_geo_chat (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_chat (T); } - assert (0); - return NULL; -} -struct tl_ds_chat_full *fetch_ds_type_chat_full (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x2e02a614: return fetch_ds_constructor_chat_full (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_full *fetch_ds_type_bare_chat_full (struct paramed_type *T) { - return fetch_ds_constructor_chat_full (T); - assert (0); - return NULL; -} -struct tl_ds_chat_invite *fetch_ds_type_chat_invite (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5a686d7c: return fetch_ds_constructor_chat_invite_already (T); break; - case 0xce917dcd: return fetch_ds_constructor_chat_invite (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_invite *fetch_ds_type_bare_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_invite_already (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_invite_already (T); } - if (skip_constructor_chat_invite (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_invite (T); } - assert (0); - return NULL; -} -struct tl_ds_chat_located *fetch_ds_type_chat_located (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3631cf4c: return fetch_ds_constructor_chat_located (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_located *fetch_ds_type_bare_chat_located (struct paramed_type *T) { - return fetch_ds_constructor_chat_located (T); - assert (0); - return NULL; -} -struct tl_ds_chat_participant *fetch_ds_type_chat_participant (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc8d7493e: return fetch_ds_constructor_chat_participant (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_participant *fetch_ds_type_bare_chat_participant (struct paramed_type *T) { - return fetch_ds_constructor_chat_participant (T); - assert (0); - return NULL; -} -struct tl_ds_chat_participants *fetch_ds_type_chat_participants (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0fd2bb8a: return fetch_ds_constructor_chat_participants_forbidden (T); break; - case 0x7841b415: return fetch_ds_constructor_chat_participants (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_participants *fetch_ds_type_bare_chat_participants (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_participants_forbidden (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_participants_forbidden (T); } - if (skip_constructor_chat_participants (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_participants (T); } - assert (0); - return NULL; -} -struct tl_ds_chat_photo *fetch_ds_type_chat_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x37c1011c: return fetch_ds_constructor_chat_photo_empty (T); break; - case 0x6153276a: return fetch_ds_constructor_chat_photo (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_chat_photo *fetch_ds_type_bare_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_photo_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_photo_empty (T); } - if (skip_constructor_chat_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_photo (T); } - assert (0); - return NULL; -} -struct tl_ds_client_d_h_inner_data *fetch_ds_type_client_d_h_inner_data (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x6643b654: return fetch_ds_constructor_client_d_h_inner_data (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_client_d_h_inner_data *fetch_ds_type_bare_client_d_h_inner_data (struct paramed_type *T) { - return fetch_ds_constructor_client_d_h_inner_data (T); - assert (0); - return NULL; -} -struct tl_ds_config *fetch_ds_type_config (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x4e32b894: return fetch_ds_constructor_config (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_config *fetch_ds_type_bare_config (struct paramed_type *T) { - return fetch_ds_constructor_config (T); - assert (0); - return NULL; -} -struct tl_ds_contact *fetch_ds_type_contact (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf911c994: return fetch_ds_constructor_contact (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact *fetch_ds_type_bare_contact (struct paramed_type *T) { - return fetch_ds_constructor_contact (T); - assert (0); - return NULL; -} -struct tl_ds_contact_blocked *fetch_ds_type_contact_blocked (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x561bc879: return fetch_ds_constructor_contact_blocked (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact_blocked *fetch_ds_type_bare_contact_blocked (struct paramed_type *T) { - return fetch_ds_constructor_contact_blocked (T); - assert (0); - return NULL; -} -struct tl_ds_contact_found *fetch_ds_type_contact_found (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xea879f95: return fetch_ds_constructor_contact_found (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact_found *fetch_ds_type_bare_contact_found (struct paramed_type *T) { - return fetch_ds_constructor_contact_found (T); - assert (0); - return NULL; -} -struct tl_ds_contact_link *fetch_ds_type_contact_link (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5f4f9247: return fetch_ds_constructor_contact_link_unknown (T); break; - case 0xfeedd3ad: return fetch_ds_constructor_contact_link_none (T); break; - case 0x268f3f59: return fetch_ds_constructor_contact_link_has_phone (T); break; - case 0xd502c2d0: return fetch_ds_constructor_contact_link_contact (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact_link *fetch_ds_type_bare_contact_link (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contact_link_unknown (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contact_link_unknown (T); } - if (skip_constructor_contact_link_none (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contact_link_none (T); } - if (skip_constructor_contact_link_has_phone (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contact_link_has_phone (T); } - if (skip_constructor_contact_link_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contact_link_contact (T); } - assert (0); - return NULL; -} -struct tl_ds_contact_status *fetch_ds_type_contact_status (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xd3680c61: return fetch_ds_constructor_contact_status (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact_status *fetch_ds_type_bare_contact_status (struct paramed_type *T) { - return fetch_ds_constructor_contact_status (T); - assert (0); - return NULL; -} -struct tl_ds_contact_suggested *fetch_ds_type_contact_suggested (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3de191a1: return fetch_ds_constructor_contact_suggested (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contact_suggested *fetch_ds_type_bare_contact_suggested (struct paramed_type *T) { - return fetch_ds_constructor_contact_suggested (T); - assert (0); - return NULL; -} -struct tl_ds_dc_option *fetch_ds_type_dc_option (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x2ec2a43c: return fetch_ds_constructor_dc_option_l28 (T); break; - case 0x05d8c6cc: return fetch_ds_constructor_dc_option (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_dc_option *fetch_ds_type_bare_dc_option (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_dc_option_l28 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_dc_option_l28 (T); } - if (skip_constructor_dc_option (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_dc_option (T); } - assert (0); - return NULL; -} -struct tl_ds_decrypted_message *fetch_ds_type_decrypted_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x204d3878: return fetch_ds_constructor_decrypted_message (T); break; - case 0x73164160: return fetch_ds_constructor_decrypted_message_service (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_decrypted_message *fetch_ds_type_bare_decrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message (T); } - if (skip_constructor_decrypted_message_service (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_service (T); } - assert (0); - return NULL; -} -struct tl_ds_decrypted_message_action *fetch_ds_type_decrypted_message_action (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa1733aec: return fetch_ds_constructor_decrypted_message_action_set_message_t_t_l (T); break; - case 0x0c4f40be: return fetch_ds_constructor_decrypted_message_action_read_messages (T); break; - case 0x65614304: return fetch_ds_constructor_decrypted_message_action_delete_messages (T); break; - case 0x8ac1f475: return fetch_ds_constructor_decrypted_message_action_screenshot_messages (T); break; - case 0x6719e45c: return fetch_ds_constructor_decrypted_message_action_flush_history (T); break; - case 0x511110b0: return fetch_ds_constructor_decrypted_message_action_resend (T); break; - case 0xf3048883: return fetch_ds_constructor_decrypted_message_action_notify_layer (T); break; - case 0xccb27641: return fetch_ds_constructor_decrypted_message_action_typing (T); break; - case 0xf3c9611b: return fetch_ds_constructor_decrypted_message_action_request_key (T); break; - case 0x6fe1735b: return fetch_ds_constructor_decrypted_message_action_accept_key (T); break; - case 0xdd05ec6b: return fetch_ds_constructor_decrypted_message_action_abort_key (T); break; - case 0xec2e0b9b: return fetch_ds_constructor_decrypted_message_action_commit_key (T); break; - case 0xa82fdd63: return fetch_ds_constructor_decrypted_message_action_noop (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_decrypted_message_action *fetch_ds_type_bare_decrypted_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message_action_set_message_t_t_l (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_set_message_t_t_l (T); } - if (skip_constructor_decrypted_message_action_read_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_read_messages (T); } - if (skip_constructor_decrypted_message_action_delete_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_delete_messages (T); } - if (skip_constructor_decrypted_message_action_screenshot_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_screenshot_messages (T); } - if (skip_constructor_decrypted_message_action_flush_history (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_flush_history (T); } - if (skip_constructor_decrypted_message_action_resend (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_resend (T); } - if (skip_constructor_decrypted_message_action_notify_layer (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_notify_layer (T); } - if (skip_constructor_decrypted_message_action_typing (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_typing (T); } - if (skip_constructor_decrypted_message_action_request_key (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_request_key (T); } - if (skip_constructor_decrypted_message_action_accept_key (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_accept_key (T); } - if (skip_constructor_decrypted_message_action_abort_key (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_abort_key (T); } - if (skip_constructor_decrypted_message_action_commit_key (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_commit_key (T); } - if (skip_constructor_decrypted_message_action_noop (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_action_noop (T); } - assert (0); - return NULL; -} -struct tl_ds_decrypted_message_layer *fetch_ds_type_decrypted_message_layer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1be31789: return fetch_ds_constructor_decrypted_message_layer (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_decrypted_message_layer *fetch_ds_type_bare_decrypted_message_layer (struct paramed_type *T) { - return fetch_ds_constructor_decrypted_message_layer (T); - assert (0); - return NULL; -} -struct tl_ds_decrypted_message_media *fetch_ds_type_decrypted_message_media (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x089f5c4a: return fetch_ds_constructor_decrypted_message_media_empty (T); break; - case 0x32798a8c: return fetch_ds_constructor_decrypted_message_media_photo (T); break; - case 0x35480a59: return fetch_ds_constructor_decrypted_message_media_geo_point (T); break; - case 0x588a0a97: return fetch_ds_constructor_decrypted_message_media_contact (T); break; - case 0xb095434b: return fetch_ds_constructor_decrypted_message_media_document (T); break; - case 0x524a415d: return fetch_ds_constructor_decrypted_message_media_video (T); break; - case 0x57e0a9cb: return fetch_ds_constructor_decrypted_message_media_audio (T); break; - case 0xfa95b0dd: return fetch_ds_constructor_decrypted_message_media_external_document (T); break; - case 0x4cee6ef3: return fetch_ds_constructor_decrypted_message_media_video_l12 (T); break; - case 0x6080758f: return fetch_ds_constructor_decrypted_message_media_audio_l12 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_decrypted_message_media *fetch_ds_type_bare_decrypted_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message_media_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_empty (T); } - if (skip_constructor_decrypted_message_media_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_photo (T); } - if (skip_constructor_decrypted_message_media_geo_point (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_geo_point (T); } - if (skip_constructor_decrypted_message_media_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_contact (T); } - if (skip_constructor_decrypted_message_media_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_document (T); } - if (skip_constructor_decrypted_message_media_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_video (T); } - if (skip_constructor_decrypted_message_media_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_audio (T); } - if (skip_constructor_decrypted_message_media_external_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_external_document (T); } - if (skip_constructor_decrypted_message_media_video_l12 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_video_l12 (T); } - if (skip_constructor_decrypted_message_media_audio_l12 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_decrypted_message_media_audio_l12 (T); } - assert (0); - return NULL; -} -struct tl_ds_dialog *fetch_ds_type_dialog (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc1dd804a: return fetch_ds_constructor_dialog (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_dialog *fetch_ds_type_bare_dialog (struct paramed_type *T) { - return fetch_ds_constructor_dialog (T); - assert (0); - return NULL; -} -struct tl_ds_disabled_feature *fetch_ds_type_disabled_feature (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xae636f24: return fetch_ds_constructor_disabled_feature (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_disabled_feature *fetch_ds_type_bare_disabled_feature (struct paramed_type *T) { - return fetch_ds_constructor_disabled_feature (T); - assert (0); - return NULL; -} -struct tl_ds_document *fetch_ds_type_document (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x36f8c871: return fetch_ds_constructor_document_empty (T); break; - case 0xf9a39f4f: return fetch_ds_constructor_document (T); break; - case 0x9efc6326: return fetch_ds_constructor_document_l19 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_document *fetch_ds_type_bare_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_document_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_empty (T); } - if (skip_constructor_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document (T); } - if (skip_constructor_document_l19 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_l19 (T); } - assert (0); - return NULL; -} -struct tl_ds_document_attribute *fetch_ds_type_document_attribute (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x6c37c15c: return fetch_ds_constructor_document_attribute_image_size (T); break; - case 0x11b58939: return fetch_ds_constructor_document_attribute_animated (T); break; - case 0x994c9882: return fetch_ds_constructor_document_attribute_sticker_l28 (T); break; - case 0x3a556302: return fetch_ds_constructor_document_attribute_sticker (T); break; - case 0x5910cccb: return fetch_ds_constructor_document_attribute_video (T); break; - case 0x051448e5: return fetch_ds_constructor_document_attribute_audio (T); break; - case 0x15590068: return fetch_ds_constructor_document_attribute_filename (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_document_attribute *fetch_ds_type_bare_document_attribute (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_document_attribute_image_size (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_image_size (T); } - if (skip_constructor_document_attribute_animated (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_animated (T); } - if (skip_constructor_document_attribute_sticker_l28 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_sticker_l28 (T); } - if (skip_constructor_document_attribute_sticker (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_sticker (T); } - if (skip_constructor_document_attribute_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_video (T); } - if (skip_constructor_document_attribute_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_audio (T); } - if (skip_constructor_document_attribute_filename (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_document_attribute_filename (T); } - assert (0); - return NULL; -} -double *fetch_ds_type_double (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x2210c154: return fetch_ds_constructor_double (T); break; - default: assert (0); return NULL; - } -} -double *fetch_ds_type_bare_double (struct paramed_type *T) { - return fetch_ds_constructor_double (T); - assert (0); - return NULL; -} -struct tl_ds_encrypted_chat *fetch_ds_type_encrypted_chat (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xab7ec0a0: return fetch_ds_constructor_encrypted_chat_empty (T); break; - case 0x3bf703dc: return fetch_ds_constructor_encrypted_chat_waiting (T); break; - case 0xc878527e: return fetch_ds_constructor_encrypted_chat_requested (T); break; - case 0xfa56ce36: return fetch_ds_constructor_encrypted_chat (T); break; - case 0x13d6dd27: return fetch_ds_constructor_encrypted_chat_discarded (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_encrypted_chat *fetch_ds_type_bare_encrypted_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_chat_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_chat_empty (T); } - if (skip_constructor_encrypted_chat_waiting (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_chat_waiting (T); } - if (skip_constructor_encrypted_chat_requested (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_chat_requested (T); } - if (skip_constructor_encrypted_chat (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_chat (T); } - if (skip_constructor_encrypted_chat_discarded (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_chat_discarded (T); } - assert (0); - return NULL; -} -struct tl_ds_encrypted_file *fetch_ds_type_encrypted_file (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc21f497e: return fetch_ds_constructor_encrypted_file_empty (T); break; - case 0x4a70994c: return fetch_ds_constructor_encrypted_file (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_encrypted_file *fetch_ds_type_bare_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_file_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_file_empty (T); } - if (skip_constructor_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_file (T); } - assert (0); - return NULL; -} -struct tl_ds_encrypted_message *fetch_ds_type_encrypted_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xed18c118: return fetch_ds_constructor_encrypted_message (T); break; - case 0x23734b06: return fetch_ds_constructor_encrypted_message_service (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_encrypted_message *fetch_ds_type_bare_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_message (T); } - if (skip_constructor_encrypted_message_service (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_encrypted_message_service (T); } - assert (0); - return NULL; -} -struct tl_ds_error *fetch_ds_type_error (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc4b9f9bb: return fetch_ds_constructor_error (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_error *fetch_ds_type_bare_error (struct paramed_type *T) { - return fetch_ds_constructor_error (T); - assert (0); - return NULL; -} -struct tl_ds_exported_chat_invite *fetch_ds_type_exported_chat_invite (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x69df3769: return fetch_ds_constructor_chat_invite_empty (T); break; - case 0xfc2e05bc: return fetch_ds_constructor_chat_invite_exported (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_exported_chat_invite *fetch_ds_type_bare_exported_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_invite_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_invite_empty (T); } - if (skip_constructor_chat_invite_exported (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_chat_invite_exported (T); } - assert (0); - return NULL; -} -struct tl_ds_file_location *fetch_ds_type_file_location (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x7c596b46: return fetch_ds_constructor_file_location_unavailable (T); break; - case 0x53d69076: return fetch_ds_constructor_file_location (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_file_location *fetch_ds_type_bare_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_file_location_unavailable (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_file_location_unavailable (T); } - if (skip_constructor_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_file_location (T); } - assert (0); - return NULL; -} -struct tl_ds_geo_chat_message *fetch_ds_type_geo_chat_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x60311a9b: return fetch_ds_constructor_geo_chat_message_empty (T); break; - case 0x4505f8e1: return fetch_ds_constructor_geo_chat_message (T); break; - case 0xd34fa24e: return fetch_ds_constructor_geo_chat_message_service (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_geo_chat_message *fetch_ds_type_bare_geo_chat_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geo_chat_message_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_chat_message_empty (T); } - if (skip_constructor_geo_chat_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_chat_message (T); } - if (skip_constructor_geo_chat_message_service (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_chat_message_service (T); } - assert (0); - return NULL; -} -struct tl_ds_geo_point *fetch_ds_type_geo_point (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1117dd5f: return fetch_ds_constructor_geo_point_empty (T); break; - case 0x2049d70c: return fetch_ds_constructor_geo_point (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_geo_point *fetch_ds_type_bare_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geo_point_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_point_empty (T); } - if (skip_constructor_geo_point (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geo_point (T); } - assert (0); - return NULL; -} -struct tl_ds_imported_contact *fetch_ds_type_imported_contact (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xd0028438: return fetch_ds_constructor_imported_contact (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_imported_contact *fetch_ds_type_bare_imported_contact (struct paramed_type *T) { - return fetch_ds_constructor_imported_contact (T); - assert (0); - return NULL; -} -struct tl_ds_input_app_event *fetch_ds_type_input_app_event (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x770656a8: return fetch_ds_constructor_input_app_event (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_app_event *fetch_ds_type_bare_input_app_event (struct paramed_type *T) { - return fetch_ds_constructor_input_app_event (T); - assert (0); - return NULL; -} -struct tl_ds_input_audio *fetch_ds_type_input_audio (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xd95adc84: return fetch_ds_constructor_input_audio_empty (T); break; - case 0x77d440ff: return fetch_ds_constructor_input_audio (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_audio *fetch_ds_type_bare_input_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_audio_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_audio_empty (T); } - if (skip_constructor_input_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_audio (T); } - assert (0); - return NULL; -} -struct tl_ds_input_chat_photo *fetch_ds_type_input_chat_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1ca48f57: return fetch_ds_constructor_input_chat_photo_empty (T); break; - case 0x94254732: return fetch_ds_constructor_input_chat_uploaded_photo (T); break; - case 0xb2e1bf08: return fetch_ds_constructor_input_chat_photo (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_chat_photo *fetch_ds_type_bare_input_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_chat_photo_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_chat_photo_empty (T); } - if (skip_constructor_input_chat_uploaded_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_chat_uploaded_photo (T); } - if (skip_constructor_input_chat_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_chat_photo (T); } - assert (0); - return NULL; -} -struct tl_ds_input_contact *fetch_ds_type_input_contact (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf392b7f4: return fetch_ds_constructor_input_phone_contact (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_contact *fetch_ds_type_bare_input_contact (struct paramed_type *T) { - return fetch_ds_constructor_input_phone_contact (T); - assert (0); - return NULL; -} -struct tl_ds_input_document *fetch_ds_type_input_document (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x72f0eaae: return fetch_ds_constructor_input_document_empty (T); break; - case 0x18798952: return fetch_ds_constructor_input_document (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_document *fetch_ds_type_bare_input_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_document_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_document_empty (T); } - if (skip_constructor_input_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_document (T); } - assert (0); - return NULL; -} -struct tl_ds_input_encrypted_chat *fetch_ds_type_input_encrypted_chat (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf141b5e1: return fetch_ds_constructor_input_encrypted_chat (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_encrypted_chat *fetch_ds_type_bare_input_encrypted_chat (struct paramed_type *T) { - return fetch_ds_constructor_input_encrypted_chat (T); - assert (0); - return NULL; -} -struct tl_ds_input_encrypted_file *fetch_ds_type_input_encrypted_file (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1837c364: return fetch_ds_constructor_input_encrypted_file_empty (T); break; - case 0x64bd0306: return fetch_ds_constructor_input_encrypted_file_uploaded (T); break; - case 0x5a17b5e5: return fetch_ds_constructor_input_encrypted_file (T); break; - case 0x2dc173c8: return fetch_ds_constructor_input_encrypted_file_big_uploaded (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_encrypted_file *fetch_ds_type_bare_input_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_encrypted_file_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_encrypted_file_empty (T); } - if (skip_constructor_input_encrypted_file_uploaded (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_encrypted_file_uploaded (T); } - if (skip_constructor_input_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_encrypted_file (T); } - if (skip_constructor_input_encrypted_file_big_uploaded (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_encrypted_file_big_uploaded (T); } - assert (0); - return NULL; -} -struct tl_ds_input_file *fetch_ds_type_input_file (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf52ff27f: return fetch_ds_constructor_input_file (T); break; - case 0xfa4f0bb5: return fetch_ds_constructor_input_file_big (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_file *fetch_ds_type_bare_input_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_file (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_file (T); } - if (skip_constructor_input_file_big (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_file_big (T); } - assert (0); - return NULL; -} -struct tl_ds_input_file_location *fetch_ds_type_input_file_location (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x14637196: return fetch_ds_constructor_input_file_location (T); break; - case 0x3d0364ec: return fetch_ds_constructor_input_video_file_location (T); break; - case 0xf5235d55: return fetch_ds_constructor_input_encrypted_file_location (T); break; - case 0x74dc404d: return fetch_ds_constructor_input_audio_file_location (T); break; - case 0x4e45abe9: return fetch_ds_constructor_input_document_file_location (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_file_location *fetch_ds_type_bare_input_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_file_location (T); } - if (skip_constructor_input_video_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_video_file_location (T); } - if (skip_constructor_input_encrypted_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_encrypted_file_location (T); } - if (skip_constructor_input_audio_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_audio_file_location (T); } - if (skip_constructor_input_document_file_location (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_document_file_location (T); } - assert (0); - return NULL; -} -struct tl_ds_input_geo_chat *fetch_ds_type_input_geo_chat (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x74d456fa: return fetch_ds_constructor_input_geo_chat (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_geo_chat *fetch_ds_type_bare_input_geo_chat (struct paramed_type *T) { - return fetch_ds_constructor_input_geo_chat (T); - assert (0); - return NULL; -} -struct tl_ds_input_geo_point *fetch_ds_type_input_geo_point (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xe4c123d6: return fetch_ds_constructor_input_geo_point_empty (T); break; - case 0xf3b7acc9: return fetch_ds_constructor_input_geo_point (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_geo_point *fetch_ds_type_bare_input_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_geo_point_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_geo_point_empty (T); } - if (skip_constructor_input_geo_point (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_geo_point (T); } - assert (0); - return NULL; -} -struct tl_ds_input_media *fetch_ds_type_input_media (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x9664f57f: return fetch_ds_constructor_input_media_empty (T); break; - case 0xf7aff1c0: return fetch_ds_constructor_input_media_uploaded_photo (T); break; - case 0xe9bfb4f3: return fetch_ds_constructor_input_media_photo (T); break; - case 0xf9c44144: return fetch_ds_constructor_input_media_geo_point (T); break; - case 0xa6e45987: return fetch_ds_constructor_input_media_contact (T); break; - case 0xe13fd4bc: return fetch_ds_constructor_input_media_uploaded_video (T); break; - case 0x96fb97dc: return fetch_ds_constructor_input_media_uploaded_thumb_video (T); break; - case 0x936a4ebd: return fetch_ds_constructor_input_media_video (T); break; - case 0x4e498cab: return fetch_ds_constructor_input_media_uploaded_audio (T); break; - case 0x89938781: return fetch_ds_constructor_input_media_audio (T); break; - case 0xffe76b78: return fetch_ds_constructor_input_media_uploaded_document (T); break; - case 0x41481486: return fetch_ds_constructor_input_media_uploaded_thumb_document (T); break; - case 0xd184e841: return fetch_ds_constructor_input_media_document (T); break; - case 0x2827a81a: return fetch_ds_constructor_input_media_venue (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_media *fetch_ds_type_bare_input_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_media_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_empty (T); } - if (skip_constructor_input_media_uploaded_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_photo (T); } - if (skip_constructor_input_media_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_photo (T); } - if (skip_constructor_input_media_geo_point (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_geo_point (T); } - if (skip_constructor_input_media_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_contact (T); } - if (skip_constructor_input_media_uploaded_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_video (T); } - if (skip_constructor_input_media_uploaded_thumb_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_thumb_video (T); } - if (skip_constructor_input_media_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_video (T); } - if (skip_constructor_input_media_uploaded_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_audio (T); } - if (skip_constructor_input_media_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_audio (T); } - if (skip_constructor_input_media_uploaded_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_document (T); } - if (skip_constructor_input_media_uploaded_thumb_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_uploaded_thumb_document (T); } - if (skip_constructor_input_media_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_document (T); } - if (skip_constructor_input_media_venue (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_media_venue (T); } - assert (0); - return NULL; -} -struct tl_ds_input_notify_peer *fetch_ds_type_input_notify_peer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb8bc5b0c: return fetch_ds_constructor_input_notify_peer (T); break; - case 0x193b4417: return fetch_ds_constructor_input_notify_users (T); break; - case 0x4a95e84e: return fetch_ds_constructor_input_notify_chats (T); break; - case 0xa429b886: return fetch_ds_constructor_input_notify_all (T); break; - case 0x4d8ddec8: return fetch_ds_constructor_input_notify_geo_chat_peer (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_notify_peer *fetch_ds_type_bare_input_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_notify_peer (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_notify_peer (T); } - if (skip_constructor_input_notify_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_notify_users (T); } - if (skip_constructor_input_notify_chats (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_notify_chats (T); } - if (skip_constructor_input_notify_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_notify_all (T); } - if (skip_constructor_input_notify_geo_chat_peer (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_notify_geo_chat_peer (T); } - assert (0); - return NULL; -} -struct tl_ds_input_peer *fetch_ds_type_input_peer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x7f3b18ea: return fetch_ds_constructor_input_peer_empty (T); break; - case 0x7da07ec9: return fetch_ds_constructor_input_peer_self (T); break; - case 0x1023dbe8: return fetch_ds_constructor_input_peer_contact (T); break; - case 0x9b447325: return fetch_ds_constructor_input_peer_foreign (T); break; - case 0x179be863: return fetch_ds_constructor_input_peer_chat (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_peer *fetch_ds_type_bare_input_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_peer_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_empty (T); } - if (skip_constructor_input_peer_self (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_self (T); } - if (skip_constructor_input_peer_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_contact (T); } - if (skip_constructor_input_peer_foreign (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_foreign (T); } - if (skip_constructor_input_peer_chat (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_chat (T); } - assert (0); - return NULL; -} -struct tl_ds_input_peer_notify_events *fetch_ds_type_input_peer_notify_events (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf03064d8: return fetch_ds_constructor_input_peer_notify_events_empty (T); break; - case 0xe86a2c74: return fetch_ds_constructor_input_peer_notify_events_all (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_peer_notify_events *fetch_ds_type_bare_input_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_peer_notify_events_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_notify_events_empty (T); } - if (skip_constructor_input_peer_notify_events_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_peer_notify_events_all (T); } - assert (0); - return NULL; -} -struct tl_ds_input_peer_notify_settings *fetch_ds_type_input_peer_notify_settings (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x46a2ce98: return fetch_ds_constructor_input_peer_notify_settings (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_peer_notify_settings *fetch_ds_type_bare_input_peer_notify_settings (struct paramed_type *T) { - return fetch_ds_constructor_input_peer_notify_settings (T); - assert (0); - return NULL; -} -struct tl_ds_input_photo *fetch_ds_type_input_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1cd7bf0d: return fetch_ds_constructor_input_photo_empty (T); break; - case 0xfb95c6c4: return fetch_ds_constructor_input_photo (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_photo *fetch_ds_type_bare_input_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_photo_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_photo_empty (T); } - if (skip_constructor_input_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_photo (T); } - assert (0); - return NULL; -} -struct tl_ds_input_photo_crop *fetch_ds_type_input_photo_crop (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xade6b004: return fetch_ds_constructor_input_photo_crop_auto (T); break; - case 0xd9915325: return fetch_ds_constructor_input_photo_crop (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_photo_crop *fetch_ds_type_bare_input_photo_crop (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_photo_crop_auto (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_photo_crop_auto (T); } - if (skip_constructor_input_photo_crop (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_photo_crop (T); } - assert (0); - return NULL; -} -struct tl_ds_input_privacy_key *fetch_ds_type_input_privacy_key (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x4f96cb18: return fetch_ds_constructor_input_privacy_key_status_timestamp (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_privacy_key *fetch_ds_type_bare_input_privacy_key (struct paramed_type *T) { - return fetch_ds_constructor_input_privacy_key_status_timestamp (T); - assert (0); - return NULL; -} -struct tl_ds_input_privacy_rule *fetch_ds_type_input_privacy_rule (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0d09e07b: return fetch_ds_constructor_input_privacy_value_allow_contacts (T); break; - case 0x184b35ce: return fetch_ds_constructor_input_privacy_value_allow_all (T); break; - case 0x131cc67f: return fetch_ds_constructor_input_privacy_value_allow_users (T); break; - case 0x0ba52007: return fetch_ds_constructor_input_privacy_value_disallow_contacts (T); break; - case 0xd66b66c9: return fetch_ds_constructor_input_privacy_value_disallow_all (T); break; - case 0x90110467: return fetch_ds_constructor_input_privacy_value_disallow_users (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_privacy_rule *fetch_ds_type_bare_input_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_privacy_value_allow_contacts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_allow_contacts (T); } - if (skip_constructor_input_privacy_value_allow_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_allow_all (T); } - if (skip_constructor_input_privacy_value_allow_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_allow_users (T); } - if (skip_constructor_input_privacy_value_disallow_contacts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_disallow_contacts (T); } - if (skip_constructor_input_privacy_value_disallow_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_disallow_all (T); } - if (skip_constructor_input_privacy_value_disallow_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_privacy_value_disallow_users (T); } - assert (0); - return NULL; -} -struct tl_ds_input_sticker_set *fetch_ds_type_input_sticker_set (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xffb62b95: return fetch_ds_constructor_input_sticker_set_empty (T); break; - case 0x9de7a269: return fetch_ds_constructor_input_sticker_set_i_d (T); break; - case 0x861cc8a0: return fetch_ds_constructor_input_sticker_set_short_name (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_sticker_set *fetch_ds_type_bare_input_sticker_set (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_sticker_set_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_sticker_set_empty (T); } - if (skip_constructor_input_sticker_set_i_d (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_sticker_set_i_d (T); } - if (skip_constructor_input_sticker_set_short_name (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_sticker_set_short_name (T); } - assert (0); - return NULL; -} -struct tl_ds_input_user *fetch_ds_type_input_user (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb98886cf: return fetch_ds_constructor_input_user_empty (T); break; - case 0xf7c1b13f: return fetch_ds_constructor_input_user_self (T); break; - case 0x86e94f65: return fetch_ds_constructor_input_user_contact (T); break; - case 0x655e74ff: return fetch_ds_constructor_input_user_foreign (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_user *fetch_ds_type_bare_input_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_user_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_user_empty (T); } - if (skip_constructor_input_user_self (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_user_self (T); } - if (skip_constructor_input_user_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_user_contact (T); } - if (skip_constructor_input_user_foreign (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_user_foreign (T); } - assert (0); - return NULL; -} -struct tl_ds_input_video *fetch_ds_type_input_video (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5508ec75: return fetch_ds_constructor_input_video_empty (T); break; - case 0xee579652: return fetch_ds_constructor_input_video (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_input_video *fetch_ds_type_bare_input_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_video_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_video_empty (T); } - if (skip_constructor_input_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_video (T); } - assert (0); - return NULL; -} -int *fetch_ds_type_int (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa8509bda: return fetch_ds_constructor_int (T); break; - default: assert (0); return NULL; - } -} -int *fetch_ds_type_bare_int (struct paramed_type *T) { - return fetch_ds_constructor_int (T); - assert (0); - return NULL; -} -struct tl_ds_int128 *fetch_ds_type_int128 (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x7d36c439: return fetch_ds_constructor_int128 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_int128 *fetch_ds_type_bare_int128 (struct paramed_type *T) { - return fetch_ds_constructor_int128 (T); - assert (0); - return NULL; -} -struct tl_ds_int256 *fetch_ds_type_int256 (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf2c798b3: return fetch_ds_constructor_int256 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_int256 *fetch_ds_type_bare_int256 (struct paramed_type *T) { - return fetch_ds_constructor_int256 (T); - assert (0); - return NULL; -} -struct tl_ds_keyboard_button *fetch_ds_type_keyboard_button (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa2fa4880: return fetch_ds_constructor_keyboard_button (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_keyboard_button *fetch_ds_type_bare_keyboard_button (struct paramed_type *T) { - return fetch_ds_constructor_keyboard_button (T); - assert (0); - return NULL; -} -struct tl_ds_keyboard_button_row *fetch_ds_type_keyboard_button_row (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x77608b83: return fetch_ds_constructor_keyboard_button_row (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_keyboard_button_row *fetch_ds_type_bare_keyboard_button_row (struct paramed_type *T) { - return fetch_ds_constructor_keyboard_button_row (T); - assert (0); - return NULL; -} -long long *fetch_ds_type_long (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x22076cba: return fetch_ds_constructor_long (T); break; - default: assert (0); return NULL; - } -} -long long *fetch_ds_type_bare_long (struct paramed_type *T) { - return fetch_ds_constructor_long (T); - assert (0); - return NULL; -} -struct tl_ds_message *fetch_ds_type_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x83e5de54: return fetch_ds_constructor_message_empty (T); break; - case 0xc3060325: return fetch_ds_constructor_message (T); break; - case 0x1d86f70e: return fetch_ds_constructor_message_service (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_message *fetch_ds_type_bare_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_empty (T); } - if (skip_constructor_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message (T); } - if (skip_constructor_message_service (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_service (T); } - assert (0); - return NULL; -} -struct tl_ds_message_action *fetch_ds_type_message_action (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb6aef7b0: return fetch_ds_constructor_message_action_empty (T); break; - case 0xa6638b9a: return fetch_ds_constructor_message_action_chat_create (T); break; - case 0xb5a1ce5a: return fetch_ds_constructor_message_action_chat_edit_title (T); break; - case 0x7fcb13a8: return fetch_ds_constructor_message_action_chat_edit_photo (T); break; - case 0x95e3fbef: return fetch_ds_constructor_message_action_chat_delete_photo (T); break; - case 0x5e3cfc4b: return fetch_ds_constructor_message_action_chat_add_user (T); break; - case 0xb2ae9b0c: return fetch_ds_constructor_message_action_chat_delete_user (T); break; - case 0x6f038ebc: return fetch_ds_constructor_message_action_geo_chat_create (T); break; - case 0x0c7d53de: return fetch_ds_constructor_message_action_geo_chat_checkin (T); break; - case 0xf89cf5e8: return fetch_ds_constructor_message_action_chat_joined_by_link (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_message_action *fetch_ds_type_bare_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_action_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_empty (T); } - if (skip_constructor_message_action_chat_create (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_create (T); } - if (skip_constructor_message_action_chat_edit_title (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_edit_title (T); } - if (skip_constructor_message_action_chat_edit_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_edit_photo (T); } - if (skip_constructor_message_action_chat_delete_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_delete_photo (T); } - if (skip_constructor_message_action_chat_add_user (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_add_user (T); } - if (skip_constructor_message_action_chat_delete_user (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_delete_user (T); } - if (skip_constructor_message_action_geo_chat_create (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_geo_chat_create (T); } - if (skip_constructor_message_action_geo_chat_checkin (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_geo_chat_checkin (T); } - if (skip_constructor_message_action_chat_joined_by_link (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_action_chat_joined_by_link (T); } - assert (0); - return NULL; -} -struct tl_ds_message_media *fetch_ds_type_message_media (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3ded6320: return fetch_ds_constructor_message_media_empty (T); break; - case 0x3d8ce53d: return fetch_ds_constructor_message_media_photo (T); break; - case 0x5bcf1675: return fetch_ds_constructor_message_media_video (T); break; - case 0x56e0d474: return fetch_ds_constructor_message_media_geo (T); break; - case 0x5e7d2f39: return fetch_ds_constructor_message_media_contact (T); break; - case 0x9f84f49e: return fetch_ds_constructor_message_media_unsupported (T); break; - case 0x2fda2204: return fetch_ds_constructor_message_media_document (T); break; - case 0xc6b68300: return fetch_ds_constructor_message_media_audio (T); break; - case 0xa32dd600: return fetch_ds_constructor_message_media_web_page (T); break; - case 0x7912b71f: return fetch_ds_constructor_message_media_venue (T); break; - case 0xc8c45a2a: return fetch_ds_constructor_message_media_photo_l27 (T); break; - case 0xa2d24290: return fetch_ds_constructor_message_media_video_l27 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_message_media *fetch_ds_type_bare_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_media_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_empty (T); } - if (skip_constructor_message_media_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_photo (T); } - if (skip_constructor_message_media_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_video (T); } - if (skip_constructor_message_media_geo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_geo (T); } - if (skip_constructor_message_media_contact (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_contact (T); } - if (skip_constructor_message_media_unsupported (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_unsupported (T); } - if (skip_constructor_message_media_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_document (T); } - if (skip_constructor_message_media_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_audio (T); } - if (skip_constructor_message_media_web_page (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_web_page (T); } - if (skip_constructor_message_media_venue (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_venue (T); } - if (skip_constructor_message_media_photo_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_photo_l27 (T); } - if (skip_constructor_message_media_video_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_message_media_video_l27 (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_filter *fetch_ds_type_messages_filter (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x57e2f66c: return fetch_ds_constructor_input_messages_filter_empty (T); break; - case 0x9609a51c: return fetch_ds_constructor_input_messages_filter_photos (T); break; - case 0x9fc00e65: return fetch_ds_constructor_input_messages_filter_video (T); break; - case 0x56e9f0e4: return fetch_ds_constructor_input_messages_filter_photo_video (T); break; - case 0xd95e73bb: return fetch_ds_constructor_input_messages_filter_photo_video_documents (T); break; - case 0x9eddf188: return fetch_ds_constructor_input_messages_filter_document (T); break; - case 0xcfc87522: return fetch_ds_constructor_input_messages_filter_audio (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_filter *fetch_ds_type_bare_messages_filter (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_messages_filter_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_empty (T); } - if (skip_constructor_input_messages_filter_photos (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_photos (T); } - if (skip_constructor_input_messages_filter_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_video (T); } - if (skip_constructor_input_messages_filter_photo_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_photo_video (T); } - if (skip_constructor_input_messages_filter_photo_video_documents (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_photo_video_documents (T); } - if (skip_constructor_input_messages_filter_document (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_document (T); } - if (skip_constructor_input_messages_filter_audio (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_input_messages_filter_audio (T); } - assert (0); - return NULL; -} -struct tl_ds_nearest_dc *fetch_ds_type_nearest_dc (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x8e1a1775: return fetch_ds_constructor_nearest_dc (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_nearest_dc *fetch_ds_type_bare_nearest_dc (struct paramed_type *T) { - return fetch_ds_constructor_nearest_dc (T); - assert (0); - return NULL; -} -struct tl_ds_notify_peer *fetch_ds_type_notify_peer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x9fd40bd8: return fetch_ds_constructor_notify_peer (T); break; - case 0xb4c83b4c: return fetch_ds_constructor_notify_users (T); break; - case 0xc007cec3: return fetch_ds_constructor_notify_chats (T); break; - case 0x74d07c60: return fetch_ds_constructor_notify_all (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_notify_peer *fetch_ds_type_bare_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_notify_peer (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_notify_peer (T); } - if (skip_constructor_notify_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_notify_users (T); } - if (skip_constructor_notify_chats (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_notify_chats (T); } - if (skip_constructor_notify_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_notify_all (T); } - assert (0); - return NULL; -} -struct tl_ds_null *fetch_ds_type_null (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x56730bcc: return fetch_ds_constructor_null (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_null *fetch_ds_type_bare_null (struct paramed_type *T) { - return fetch_ds_constructor_null (T); - assert (0); - return NULL; -} -struct tl_ds_p_q_inner_data *fetch_ds_type_p_q_inner_data (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x83c95aec: return fetch_ds_constructor_p_q_inner_data (T); break; - case 0x3c6a84d4: return fetch_ds_constructor_p_q_inner_data_temp (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_p_q_inner_data *fetch_ds_type_bare_p_q_inner_data (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_p_q_inner_data (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_p_q_inner_data (T); } - if (skip_constructor_p_q_inner_data_temp (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_p_q_inner_data_temp (T); } - assert (0); - return NULL; -} -struct tl_ds_peer *fetch_ds_type_peer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x9db1bc6d: return fetch_ds_constructor_peer_user (T); break; - case 0xbad0e5bb: return fetch_ds_constructor_peer_chat (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_peer *fetch_ds_type_bare_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_user (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_user (T); } - if (skip_constructor_peer_chat (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_chat (T); } - assert (0); - return NULL; -} -struct tl_ds_peer_notify_events *fetch_ds_type_peer_notify_events (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xadd53cb3: return fetch_ds_constructor_peer_notify_events_empty (T); break; - case 0x6d1ded88: return fetch_ds_constructor_peer_notify_events_all (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_peer_notify_events *fetch_ds_type_bare_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_notify_events_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_notify_events_empty (T); } - if (skip_constructor_peer_notify_events_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_notify_events_all (T); } - assert (0); - return NULL; -} -struct tl_ds_peer_notify_settings *fetch_ds_type_peer_notify_settings (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x70a68512: return fetch_ds_constructor_peer_notify_settings_empty (T); break; - case 0x8d5e11ee: return fetch_ds_constructor_peer_notify_settings (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_peer_notify_settings *fetch_ds_type_bare_peer_notify_settings (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_notify_settings_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_notify_settings_empty (T); } - if (skip_constructor_peer_notify_settings (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_peer_notify_settings (T); } - assert (0); - return NULL; -} -struct tl_ds_photo *fetch_ds_type_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x2331b22d: return fetch_ds_constructor_photo_empty (T); break; - case 0xc3838076: return fetch_ds_constructor_photo (T); break; - case 0x22b56751: return fetch_ds_constructor_photo_l27 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_photo *fetch_ds_type_bare_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photo_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo_empty (T); } - if (skip_constructor_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo (T); } - if (skip_constructor_photo_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo_l27 (T); } - assert (0); - return NULL; -} -struct tl_ds_photo_size *fetch_ds_type_photo_size (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0e17e23c: return fetch_ds_constructor_photo_size_empty (T); break; - case 0x77bfb61b: return fetch_ds_constructor_photo_size (T); break; - case 0xe9a734fa: return fetch_ds_constructor_photo_cached_size (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_photo_size *fetch_ds_type_bare_photo_size (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photo_size_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo_size_empty (T); } - if (skip_constructor_photo_size (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo_size (T); } - if (skip_constructor_photo_cached_size (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photo_cached_size (T); } - assert (0); - return NULL; -} -struct tl_ds_privacy_key *fetch_ds_type_privacy_key (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xbc2eab30: return fetch_ds_constructor_privacy_key_status_timestamp (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_privacy_key *fetch_ds_type_bare_privacy_key (struct paramed_type *T) { - return fetch_ds_constructor_privacy_key_status_timestamp (T); - assert (0); - return NULL; -} -struct tl_ds_privacy_rule *fetch_ds_type_privacy_rule (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xfffe1bac: return fetch_ds_constructor_privacy_value_allow_contacts (T); break; - case 0x65427b82: return fetch_ds_constructor_privacy_value_allow_all (T); break; - case 0x4d5bbe0c: return fetch_ds_constructor_privacy_value_allow_users (T); break; - case 0xf888fa1a: return fetch_ds_constructor_privacy_value_disallow_contacts (T); break; - case 0x8b73e763: return fetch_ds_constructor_privacy_value_disallow_all (T); break; - case 0x0c7f49b7: return fetch_ds_constructor_privacy_value_disallow_users (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_privacy_rule *fetch_ds_type_bare_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_privacy_value_allow_contacts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_allow_contacts (T); } - if (skip_constructor_privacy_value_allow_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_allow_all (T); } - if (skip_constructor_privacy_value_allow_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_allow_users (T); } - if (skip_constructor_privacy_value_disallow_contacts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_disallow_contacts (T); } - if (skip_constructor_privacy_value_disallow_all (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_disallow_all (T); } - if (skip_constructor_privacy_value_disallow_users (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_privacy_value_disallow_users (T); } - assert (0); - return NULL; -} -struct tl_ds_received_notify_message *fetch_ds_type_received_notify_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa384b779: return fetch_ds_constructor_received_notify_message (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_received_notify_message *fetch_ds_type_bare_received_notify_message (struct paramed_type *T) { - return fetch_ds_constructor_received_notify_message (T); - assert (0); - return NULL; -} -struct tl_ds_reply_markup *fetch_ds_type_reply_markup (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa03e5b85: return fetch_ds_constructor_reply_keyboard_hide (T); break; - case 0xf4108aa0: return fetch_ds_constructor_reply_keyboard_force_reply (T); break; - case 0x3502758c: return fetch_ds_constructor_reply_keyboard_markup (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_reply_markup *fetch_ds_type_bare_reply_markup (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_reply_keyboard_hide (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_reply_keyboard_hide (T); } - if (skip_constructor_reply_keyboard_force_reply (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_reply_keyboard_force_reply (T); } - if (skip_constructor_reply_keyboard_markup (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_reply_keyboard_markup (T); } - assert (0); - return NULL; -} -struct tl_ds_res_p_q *fetch_ds_type_res_p_q (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x05162463: return fetch_ds_constructor_res_p_q (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_res_p_q *fetch_ds_type_bare_res_p_q (struct paramed_type *T) { - return fetch_ds_constructor_res_p_q (T); - assert (0); - return NULL; -} -struct tl_ds_send_message_action *fetch_ds_type_send_message_action (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x16bf744e: return fetch_ds_constructor_send_message_typing_action (T); break; - case 0xfd5ec8f5: return fetch_ds_constructor_send_message_cancel_action (T); break; - case 0xa187d66f: return fetch_ds_constructor_send_message_record_video_action (T); break; - case 0x92042ff7: return fetch_ds_constructor_send_message_upload_video_action_l27 (T); break; - case 0xe9763aec: return fetch_ds_constructor_send_message_upload_video_action (T); break; - case 0xd52f73f7: return fetch_ds_constructor_send_message_record_audio_action (T); break; - case 0xe6ac8a6f: return fetch_ds_constructor_send_message_upload_audio_action_l27 (T); break; - case 0xf351d7ab: return fetch_ds_constructor_send_message_upload_audio_action (T); break; - case 0xd1d34a26: return fetch_ds_constructor_send_message_upload_photo_action (T); break; - case 0x8faee98e: return fetch_ds_constructor_send_message_upload_document_action_l27 (T); break; - case 0xaa0cd9e4: return fetch_ds_constructor_send_message_upload_document_action (T); break; - case 0x176f8ba1: return fetch_ds_constructor_send_message_geo_location_action (T); break; - case 0x628cbc6f: return fetch_ds_constructor_send_message_choose_contact_action (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_send_message_action *fetch_ds_type_bare_send_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_send_message_typing_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_typing_action (T); } - if (skip_constructor_send_message_cancel_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_cancel_action (T); } - if (skip_constructor_send_message_record_video_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_record_video_action (T); } - if (skip_constructor_send_message_upload_video_action_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_video_action_l27 (T); } - if (skip_constructor_send_message_upload_video_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_video_action (T); } - if (skip_constructor_send_message_record_audio_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_record_audio_action (T); } - if (skip_constructor_send_message_upload_audio_action_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_audio_action_l27 (T); } - if (skip_constructor_send_message_upload_audio_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_audio_action (T); } - if (skip_constructor_send_message_upload_photo_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_photo_action (T); } - if (skip_constructor_send_message_upload_document_action_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_document_action_l27 (T); } - if (skip_constructor_send_message_upload_document_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_upload_document_action (T); } - if (skip_constructor_send_message_geo_location_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_geo_location_action (T); } - if (skip_constructor_send_message_choose_contact_action (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_send_message_choose_contact_action (T); } - assert (0); - return NULL; -} -struct tl_ds_server_d_h_params *fetch_ds_type_server_d_h_params (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x79cb045d: return fetch_ds_constructor_server_d_h_params_fail (T); break; - case 0xd0e8075c: return fetch_ds_constructor_server_d_h_params_ok (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_server_d_h_params *fetch_ds_type_bare_server_d_h_params (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_server_d_h_params_fail (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_server_d_h_params_fail (T); } - if (skip_constructor_server_d_h_params_ok (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_server_d_h_params_ok (T); } - assert (0); - return NULL; -} -struct tl_ds_server_d_h_inner_data *fetch_ds_type_server_d_h_inner_data (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb5890dba: return fetch_ds_constructor_server_d_h_inner_data (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_server_d_h_inner_data *fetch_ds_type_bare_server_d_h_inner_data (struct paramed_type *T) { - return fetch_ds_constructor_server_d_h_inner_data (T); - assert (0); - return NULL; -} -struct tl_ds_set_client_d_h_params_answer *fetch_ds_type_set_client_d_h_params_answer (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3bcbf734: return fetch_ds_constructor_dh_gen_ok (T); break; - case 0x46dc1fb9: return fetch_ds_constructor_dh_gen_retry (T); break; - case 0xa69dae02: return fetch_ds_constructor_dh_gen_fail (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_set_client_d_h_params_answer *fetch_ds_type_bare_set_client_d_h_params_answer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_dh_gen_ok (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_dh_gen_ok (T); } - if (skip_constructor_dh_gen_retry (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_dh_gen_retry (T); } - if (skip_constructor_dh_gen_fail (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_dh_gen_fail (T); } - assert (0); - return NULL; -} -struct tl_ds_sticker_pack *fetch_ds_type_sticker_pack (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x12b299d4: return fetch_ds_constructor_sticker_pack (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_sticker_pack *fetch_ds_type_bare_sticker_pack (struct paramed_type *T) { - return fetch_ds_constructor_sticker_pack (T); - assert (0); - return NULL; -} -struct tl_ds_sticker_set *fetch_ds_type_sticker_set (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa7a43b17: return fetch_ds_constructor_sticker_set (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_sticker_set *fetch_ds_type_bare_sticker_set (struct paramed_type *T) { - return fetch_ds_constructor_sticker_set (T); - assert (0); - return NULL; -} -struct tl_ds_string *fetch_ds_type_string (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb5286e24: return fetch_ds_constructor_string (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_string *fetch_ds_type_bare_string (struct paramed_type *T) { - return fetch_ds_constructor_string (T); - assert (0); - return NULL; -} -struct tl_ds_update *fetch_ds_type_update (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1f2b0afd: return fetch_ds_constructor_update_new_message (T); break; - case 0x4e90bfd6: return fetch_ds_constructor_update_message_i_d (T); break; - case 0xa20db0e5: return fetch_ds_constructor_update_delete_messages (T); break; - case 0x5c486927: return fetch_ds_constructor_update_user_typing (T); break; - case 0x9a65ea1f: return fetch_ds_constructor_update_chat_user_typing (T); break; - case 0x07761198: return fetch_ds_constructor_update_chat_participants (T); break; - case 0x1bfbd823: return fetch_ds_constructor_update_user_status (T); break; - case 0xa7332b73: return fetch_ds_constructor_update_user_name (T); break; - case 0x95313b0c: return fetch_ds_constructor_update_user_photo (T); break; - case 0x2575bbb9: return fetch_ds_constructor_update_contact_registered (T); break; - case 0x9d2e67c5: return fetch_ds_constructor_update_contact_link (T); break; - case 0x8f06529a: return fetch_ds_constructor_update_new_authorization (T); break; - case 0x5a68e3f7: return fetch_ds_constructor_update_new_geo_chat_message (T); break; - case 0x12bcbd9a: return fetch_ds_constructor_update_new_encrypted_message (T); break; - case 0x1710f156: return fetch_ds_constructor_update_encrypted_chat_typing (T); break; - case 0xb4a2e88d: return fetch_ds_constructor_update_encryption (T); break; - case 0x38fe25b7: return fetch_ds_constructor_update_encrypted_messages_read (T); break; - case 0x3a0eeb22: return fetch_ds_constructor_update_chat_participant_add (T); break; - case 0x6e5f8c22: return fetch_ds_constructor_update_chat_participant_delete (T); break; - case 0x8e5e9873: return fetch_ds_constructor_update_dc_options (T); break; - case 0x80ece81a: return fetch_ds_constructor_update_user_blocked (T); break; - case 0xbec268ef: return fetch_ds_constructor_update_notify_settings (T); break; - case 0x382dd3e4: return fetch_ds_constructor_update_service_notification (T); break; - case 0xee3b272a: return fetch_ds_constructor_update_privacy (T); break; - case 0x12b9417b: return fetch_ds_constructor_update_user_phone (T); break; - case 0x9961fd5c: return fetch_ds_constructor_update_read_history_inbox (T); break; - case 0x2f2f21bf: return fetch_ds_constructor_update_read_history_outbox (T); break; - case 0x2cc36971: return fetch_ds_constructor_update_web_page (T); break; - case 0x68c13933: return fetch_ds_constructor_update_read_messages_contents (T); break; - case 0x03114739: return fetch_ds_constructor_update_msg_update (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_update *fetch_ds_type_bare_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_update_new_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_new_message (T); } - if (skip_constructor_update_message_i_d (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_message_i_d (T); } - if (skip_constructor_update_delete_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_delete_messages (T); } - if (skip_constructor_update_user_typing (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_typing (T); } - if (skip_constructor_update_chat_user_typing (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_chat_user_typing (T); } - if (skip_constructor_update_chat_participants (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_chat_participants (T); } - if (skip_constructor_update_user_status (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_status (T); } - if (skip_constructor_update_user_name (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_name (T); } - if (skip_constructor_update_user_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_photo (T); } - if (skip_constructor_update_contact_registered (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_contact_registered (T); } - if (skip_constructor_update_contact_link (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_contact_link (T); } - if (skip_constructor_update_new_authorization (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_new_authorization (T); } - if (skip_constructor_update_new_geo_chat_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_new_geo_chat_message (T); } - if (skip_constructor_update_new_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_new_encrypted_message (T); } - if (skip_constructor_update_encrypted_chat_typing (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_encrypted_chat_typing (T); } - if (skip_constructor_update_encryption (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_encryption (T); } - if (skip_constructor_update_encrypted_messages_read (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_encrypted_messages_read (T); } - if (skip_constructor_update_chat_participant_add (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_chat_participant_add (T); } - if (skip_constructor_update_chat_participant_delete (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_chat_participant_delete (T); } - if (skip_constructor_update_dc_options (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_dc_options (T); } - if (skip_constructor_update_user_blocked (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_blocked (T); } - if (skip_constructor_update_notify_settings (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_notify_settings (T); } - if (skip_constructor_update_service_notification (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_service_notification (T); } - if (skip_constructor_update_privacy (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_privacy (T); } - if (skip_constructor_update_user_phone (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_user_phone (T); } - if (skip_constructor_update_read_history_inbox (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_read_history_inbox (T); } - if (skip_constructor_update_read_history_outbox (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_read_history_outbox (T); } - if (skip_constructor_update_web_page (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_web_page (T); } - if (skip_constructor_update_read_messages_contents (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_read_messages_contents (T); } - if (skip_constructor_update_msg_update (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_msg_update (T); } - assert (0); - return NULL; -} -struct tl_ds_updates *fetch_ds_type_updates (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xe317af7e: return fetch_ds_constructor_updates_too_long (T); break; - case 0xed5c2127: return fetch_ds_constructor_update_short_message (T); break; - case 0x52238b3c: return fetch_ds_constructor_update_short_chat_message (T); break; - case 0x78d4dec1: return fetch_ds_constructor_update_short (T); break; - case 0x725b04c3: return fetch_ds_constructor_updates_combined (T); break; - case 0x74ae4240: return fetch_ds_constructor_updates (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_updates *fetch_ds_type_bare_updates (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_updates_too_long (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates_too_long (T); } - if (skip_constructor_update_short_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_short_message (T); } - if (skip_constructor_update_short_chat_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_short_chat_message (T); } - if (skip_constructor_update_short (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_update_short (T); } - if (skip_constructor_updates_combined (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates_combined (T); } - if (skip_constructor_updates (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates (T); } - assert (0); - return NULL; -} -struct tl_ds_user *fetch_ds_type_user (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x200250ba: return fetch_ds_constructor_user_empty (T); break; - case 0x22e49072: return fetch_ds_constructor_user (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_user *fetch_ds_type_bare_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_empty (T); } - if (skip_constructor_user (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user (T); } - assert (0); - return NULL; -} -struct tl_ds_user_full *fetch_ds_type_user_full (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5a89ac5b: return fetch_ds_constructor_user_full (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_user_full *fetch_ds_type_bare_user_full (struct paramed_type *T) { - return fetch_ds_constructor_user_full (T); - assert (0); - return NULL; -} -struct tl_ds_user_profile_photo *fetch_ds_type_user_profile_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x4f11bae1: return fetch_ds_constructor_user_profile_photo_empty (T); break; - case 0xd559d8c8: return fetch_ds_constructor_user_profile_photo (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_user_profile_photo *fetch_ds_type_bare_user_profile_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_profile_photo_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_profile_photo_empty (T); } - if (skip_constructor_user_profile_photo (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_profile_photo (T); } - assert (0); - return NULL; -} -struct tl_ds_user_status *fetch_ds_type_user_status (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x09d05049: return fetch_ds_constructor_user_status_empty (T); break; - case 0xedb93949: return fetch_ds_constructor_user_status_online (T); break; - case 0x008c703f: return fetch_ds_constructor_user_status_offline (T); break; - case 0xe26f42f1: return fetch_ds_constructor_user_status_recently (T); break; - case 0x07bf09fc: return fetch_ds_constructor_user_status_last_week (T); break; - case 0x77ebc742: return fetch_ds_constructor_user_status_last_month (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_user_status *fetch_ds_type_bare_user_status (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_status_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_empty (T); } - if (skip_constructor_user_status_online (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_online (T); } - if (skip_constructor_user_status_offline (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_offline (T); } - if (skip_constructor_user_status_recently (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_recently (T); } - if (skip_constructor_user_status_last_week (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_last_week (T); } - if (skip_constructor_user_status_last_month (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_user_status_last_month (T); } - assert (0); - return NULL; -} -struct tl_ds_vector *fetch_ds_type_vector (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1cb5c415: return fetch_ds_constructor_vector (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_vector *fetch_ds_type_bare_vector (struct paramed_type *T) { - return fetch_ds_constructor_vector (T); - assert (0); - return NULL; -} -struct tl_ds_video *fetch_ds_type_video (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc10658a8: return fetch_ds_constructor_video_empty (T); break; - case 0xee9f4a4d: return fetch_ds_constructor_video (T); break; - case 0x388fa391: return fetch_ds_constructor_video_l27 (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_video *fetch_ds_type_bare_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_video_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_video_empty (T); } - if (skip_constructor_video (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_video (T); } - if (skip_constructor_video_l27 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_video_l27 (T); } - assert (0); - return NULL; -} -struct tl_ds_wall_paper *fetch_ds_type_wall_paper (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xccb03657: return fetch_ds_constructor_wall_paper (T); break; - case 0x63117f24: return fetch_ds_constructor_wall_paper_solid (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_wall_paper *fetch_ds_type_bare_wall_paper (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_wall_paper (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_wall_paper (T); } - if (skip_constructor_wall_paper_solid (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_wall_paper_solid (T); } - assert (0); - return NULL; -} -struct tl_ds_web_page *fetch_ds_type_web_page (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xeb1477e8: return fetch_ds_constructor_web_page_empty (T); break; - case 0xc586da1c: return fetch_ds_constructor_web_page_pending (T); break; - case 0xa31ea0b5: return fetch_ds_constructor_web_page (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_web_page *fetch_ds_type_bare_web_page (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_web_page_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_web_page_empty (T); } - if (skip_constructor_web_page_pending (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_web_page_pending (T); } - if (skip_constructor_web_page (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_web_page (T); } - assert (0); - return NULL; -} -struct tl_ds_account_authorizations *fetch_ds_type_account_authorizations (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1250abde: return fetch_ds_constructor_account_authorizations (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_authorizations *fetch_ds_type_bare_account_authorizations (struct paramed_type *T) { - return fetch_ds_constructor_account_authorizations (T); - assert (0); - return NULL; -} -struct tl_ds_account_password *fetch_ds_type_account_password (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x96dabc18: return fetch_ds_constructor_account_no_password (T); break; - case 0x7c18141c: return fetch_ds_constructor_account_password (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_password *fetch_ds_type_bare_account_password (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_account_no_password (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_account_no_password (T); } - if (skip_constructor_account_password (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_account_password (T); } - assert (0); - return NULL; -} -struct tl_ds_account_password_input_settings *fetch_ds_type_account_password_input_settings (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xbcfc532c: return fetch_ds_constructor_account_password_input_settings (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_password_input_settings *fetch_ds_type_bare_account_password_input_settings (struct paramed_type *T) { - return fetch_ds_constructor_account_password_input_settings (T); - assert (0); - return NULL; -} -struct tl_ds_account_password_settings *fetch_ds_type_account_password_settings (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb7b72ab3: return fetch_ds_constructor_account_password_settings (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_password_settings *fetch_ds_type_bare_account_password_settings (struct paramed_type *T) { - return fetch_ds_constructor_account_password_settings (T); - assert (0); - return NULL; -} -struct tl_ds_account_privacy_rules *fetch_ds_type_account_privacy_rules (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x554abb6f: return fetch_ds_constructor_account_privacy_rules (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_privacy_rules *fetch_ds_type_bare_account_privacy_rules (struct paramed_type *T) { - return fetch_ds_constructor_account_privacy_rules (T); - assert (0); - return NULL; -} -struct tl_ds_account_sent_change_phone_code *fetch_ds_type_account_sent_change_phone_code (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa4f58c4c: return fetch_ds_constructor_account_sent_change_phone_code (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_account_sent_change_phone_code *fetch_ds_type_bare_account_sent_change_phone_code (struct paramed_type *T) { - return fetch_ds_constructor_account_sent_change_phone_code (T); - assert (0); - return NULL; -} -struct tl_ds_auth_authorization *fetch_ds_type_auth_authorization (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xff036af1: return fetch_ds_constructor_auth_authorization (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_auth_authorization *fetch_ds_type_bare_auth_authorization (struct paramed_type *T) { - return fetch_ds_constructor_auth_authorization (T); - assert (0); - return NULL; -} -struct tl_ds_auth_checked_phone *fetch_ds_type_auth_checked_phone (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x811ea28e: return fetch_ds_constructor_auth_checked_phone (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_auth_checked_phone *fetch_ds_type_bare_auth_checked_phone (struct paramed_type *T) { - return fetch_ds_constructor_auth_checked_phone (T); - assert (0); - return NULL; -} -struct tl_ds_auth_exported_authorization *fetch_ds_type_auth_exported_authorization (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xdf969c2d: return fetch_ds_constructor_auth_exported_authorization (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_auth_exported_authorization *fetch_ds_type_bare_auth_exported_authorization (struct paramed_type *T) { - return fetch_ds_constructor_auth_exported_authorization (T); - assert (0); - return NULL; -} -struct tl_ds_auth_password_recovery *fetch_ds_type_auth_password_recovery (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x137948a5: return fetch_ds_constructor_auth_password_recovery (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_auth_password_recovery *fetch_ds_type_bare_auth_password_recovery (struct paramed_type *T) { - return fetch_ds_constructor_auth_password_recovery (T); - assert (0); - return NULL; -} -struct tl_ds_auth_sent_code *fetch_ds_type_auth_sent_code (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xefed51d9: return fetch_ds_constructor_auth_sent_code (T); break; - case 0xe325edcf: return fetch_ds_constructor_auth_sent_app_code (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_auth_sent_code *fetch_ds_type_bare_auth_sent_code (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_auth_sent_code (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_auth_sent_code (T); } - if (skip_constructor_auth_sent_app_code (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_auth_sent_app_code (T); } - assert (0); - return NULL; -} -struct tl_ds_binlog_encr_key *fetch_ds_type_binlog_encr_key (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0377168f: return fetch_ds_constructor_binlog_encr_key (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_binlog_encr_key *fetch_ds_type_bare_binlog_encr_key (struct paramed_type *T) { - return fetch_ds_constructor_binlog_encr_key (T); - assert (0); - return NULL; -} -struct tl_ds_binlog_update *fetch_ds_type_binlog_update (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3b06de69: return fetch_ds_constructor_binlog_start (T); break; - case 0xf96feb32: return fetch_ds_constructor_binlog_dc_option (T); break; - case 0x7c0d22d8: return fetch_ds_constructor_binlog_dc_option_new (T); break; - case 0x71e8c156: return fetch_ds_constructor_binlog_auth_key (T); break; - case 0x9e83dbdc: return fetch_ds_constructor_binlog_default_dc (T); break; - case 0x26451bb5: return fetch_ds_constructor_binlog_dc_signed (T); break; - case 0x68a870e8: return fetch_ds_constructor_binlog_our_id (T); break; - case 0xeaeb7826: return fetch_ds_constructor_binlog_set_dh_params (T); break; - case 0x2ca8c939: return fetch_ds_constructor_binlog_set_pts (T); break; - case 0xd95738ac: return fetch_ds_constructor_binlog_set_qts (T); break; - case 0x1d0f4b52: return fetch_ds_constructor_binlog_set_date (T); break; - case 0x6eeb2989: return fetch_ds_constructor_binlog_set_seq (T); break; - case 0xee1b38e8: return fetch_ds_constructor_binlog_encr_chat_delete (T); break; - case 0x84977251: return fetch_ds_constructor_binlog_encr_chat_new (T); break; - case 0x9d49488d: return fetch_ds_constructor_binlog_encr_chat_exchange_new (T); break; - case 0xac55d447: return fetch_ds_constructor_binlog_user_delete (T); break; - case 0x127cf2f9: return fetch_ds_constructor_binlog_user_new (T); break; - case 0x0a10aa92: return fetch_ds_constructor_binlog_chat_new (T); break; - case 0x535475ea: return fetch_ds_constructor_binlog_chat_add_participant (T); break; - case 0x7dd1a1a2: return fetch_ds_constructor_binlog_chat_del_participant (T); break; - case 0x3c873416: return fetch_ds_constructor_binlog_set_msg_id (T); break; - case 0x847e77b1: return fetch_ds_constructor_binlog_message_delete (T); break; - case 0x427cfcdb: return fetch_ds_constructor_binlog_message_new (T); break; - case 0x6cf7cabc: return fetch_ds_constructor_binlog_message_encr_new (T); break; - case 0x6dd4d85f: return fetch_ds_constructor_binlog_msg_update (T); break; - case 0x83327955: return fetch_ds_constructor_binlog_reset_authorization (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_binlog_update *fetch_ds_type_bare_binlog_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_binlog_start (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_start (T); } - if (skip_constructor_binlog_dc_option (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_dc_option (T); } - if (skip_constructor_binlog_dc_option_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_dc_option_new (T); } - if (skip_constructor_binlog_auth_key (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_auth_key (T); } - if (skip_constructor_binlog_default_dc (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_default_dc (T); } - if (skip_constructor_binlog_dc_signed (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_dc_signed (T); } - if (skip_constructor_binlog_our_id (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_our_id (T); } - if (skip_constructor_binlog_set_dh_params (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_dh_params (T); } - if (skip_constructor_binlog_set_pts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_pts (T); } - if (skip_constructor_binlog_set_qts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_qts (T); } - if (skip_constructor_binlog_set_date (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_date (T); } - if (skip_constructor_binlog_set_seq (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_seq (T); } - if (skip_constructor_binlog_encr_chat_delete (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_encr_chat_delete (T); } - if (skip_constructor_binlog_encr_chat_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_encr_chat_new (T); } - if (skip_constructor_binlog_encr_chat_exchange_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_encr_chat_exchange_new (T); } - if (skip_constructor_binlog_user_delete (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_user_delete (T); } - if (skip_constructor_binlog_user_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_user_new (T); } - if (skip_constructor_binlog_chat_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_chat_new (T); } - if (skip_constructor_binlog_chat_add_participant (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_chat_add_participant (T); } - if (skip_constructor_binlog_chat_del_participant (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_chat_del_participant (T); } - if (skip_constructor_binlog_set_msg_id (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_set_msg_id (T); } - if (skip_constructor_binlog_message_delete (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_message_delete (T); } - if (skip_constructor_binlog_message_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_message_new (T); } - if (skip_constructor_binlog_message_encr_new (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_message_encr_new (T); } - if (skip_constructor_binlog_msg_update (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_msg_update (T); } - if (skip_constructor_binlog_reset_authorization (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_binlog_reset_authorization (T); } - assert (0); - return NULL; -} -struct tl_ds_contacts_blocked *fetch_ds_type_contacts_blocked (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x1c138d15: return fetch_ds_constructor_contacts_blocked (T); break; - case 0x900802a1: return fetch_ds_constructor_contacts_blocked_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_blocked *fetch_ds_type_bare_contacts_blocked (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contacts_blocked (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contacts_blocked (T); } - if (skip_constructor_contacts_blocked_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contacts_blocked_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_contacts_contacts *fetch_ds_type_contacts_contacts (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb74ba9d2: return fetch_ds_constructor_contacts_contacts_not_modified (T); break; - case 0x6f8b8cb2: return fetch_ds_constructor_contacts_contacts (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_contacts *fetch_ds_type_bare_contacts_contacts (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contacts_contacts_not_modified (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contacts_contacts_not_modified (T); } - if (skip_constructor_contacts_contacts (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_contacts_contacts (T); } - assert (0); - return NULL; -} -struct tl_ds_contacts_found *fetch_ds_type_contacts_found (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x0566000e: return fetch_ds_constructor_contacts_found (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_found *fetch_ds_type_bare_contacts_found (struct paramed_type *T) { - return fetch_ds_constructor_contacts_found (T); - assert (0); - return NULL; -} -struct tl_ds_contacts_imported_contacts *fetch_ds_type_contacts_imported_contacts (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xad524315: return fetch_ds_constructor_contacts_imported_contacts (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_imported_contacts *fetch_ds_type_bare_contacts_imported_contacts (struct paramed_type *T) { - return fetch_ds_constructor_contacts_imported_contacts (T); - assert (0); - return NULL; -} -struct tl_ds_contacts_link *fetch_ds_type_contacts_link (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3ace484c: return fetch_ds_constructor_contacts_link (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_link *fetch_ds_type_bare_contacts_link (struct paramed_type *T) { - return fetch_ds_constructor_contacts_link (T); - assert (0); - return NULL; -} -struct tl_ds_contacts_suggested *fetch_ds_type_contacts_suggested (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5649dcc5: return fetch_ds_constructor_contacts_suggested (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_contacts_suggested *fetch_ds_type_bare_contacts_suggested (struct paramed_type *T) { - return fetch_ds_constructor_contacts_suggested (T); - assert (0); - return NULL; -} -struct tl_ds_geochats_located *fetch_ds_type_geochats_located (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x48feb267: return fetch_ds_constructor_geochats_located (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_geochats_located *fetch_ds_type_bare_geochats_located (struct paramed_type *T) { - return fetch_ds_constructor_geochats_located (T); - assert (0); - return NULL; -} -struct tl_ds_geochats_messages *fetch_ds_type_geochats_messages (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xd1526db1: return fetch_ds_constructor_geochats_messages (T); break; - case 0xbc5863e8: return fetch_ds_constructor_geochats_messages_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_geochats_messages *fetch_ds_type_bare_geochats_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geochats_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geochats_messages (T); } - if (skip_constructor_geochats_messages_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_geochats_messages_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_geochats_stated_message *fetch_ds_type_geochats_stated_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x17b1578b: return fetch_ds_constructor_geochats_stated_message (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_geochats_stated_message *fetch_ds_type_bare_geochats_stated_message (struct paramed_type *T) { - return fetch_ds_constructor_geochats_stated_message (T); - assert (0); - return NULL; -} -struct tl_ds_help_app_update *fetch_ds_type_help_app_update (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x8987f311: return fetch_ds_constructor_help_app_update (T); break; - case 0xc45a6536: return fetch_ds_constructor_help_no_app_update (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_help_app_update *fetch_ds_type_bare_help_app_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_help_app_update (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_help_app_update (T); } - if (skip_constructor_help_no_app_update (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_help_no_app_update (T); } - assert (0); - return NULL; -} -struct tl_ds_help_invite_text *fetch_ds_type_help_invite_text (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x18cb9f78: return fetch_ds_constructor_help_invite_text (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_help_invite_text *fetch_ds_type_bare_help_invite_text (struct paramed_type *T) { - return fetch_ds_constructor_help_invite_text (T); - assert (0); - return NULL; -} -struct tl_ds_help_support *fetch_ds_type_help_support (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x17c6b5f6: return fetch_ds_constructor_help_support (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_help_support *fetch_ds_type_bare_help_support (struct paramed_type *T) { - return fetch_ds_constructor_help_support (T); - assert (0); - return NULL; -} -struct tl_ds_messages_affected_history *fetch_ds_type_messages_affected_history (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb45c69d1: return fetch_ds_constructor_messages_affected_history (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_affected_history *fetch_ds_type_bare_messages_affected_history (struct paramed_type *T) { - return fetch_ds_constructor_messages_affected_history (T); - assert (0); - return NULL; -} -struct tl_ds_messages_affected_messages *fetch_ds_type_messages_affected_messages (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x84d19185: return fetch_ds_constructor_messages_affected_messages (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_affected_messages *fetch_ds_type_bare_messages_affected_messages (struct paramed_type *T) { - return fetch_ds_constructor_messages_affected_messages (T); - assert (0); - return NULL; -} -struct tl_ds_messages_all_stickers *fetch_ds_type_messages_all_stickers (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xe86602c3: return fetch_ds_constructor_messages_all_stickers_not_modified (T); break; - case 0x5ce352ec: return fetch_ds_constructor_messages_all_stickers (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_all_stickers *fetch_ds_type_bare_messages_all_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_all_stickers_not_modified (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_all_stickers_not_modified (T); } - if (skip_constructor_messages_all_stickers (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_all_stickers (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_chat_full *fetch_ds_type_messages_chat_full (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xe5d7d19c: return fetch_ds_constructor_messages_chat_full (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_chat_full *fetch_ds_type_bare_messages_chat_full (struct paramed_type *T) { - return fetch_ds_constructor_messages_chat_full (T); - assert (0); - return NULL; -} -struct tl_ds_messages_chats *fetch_ds_type_messages_chats (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x64ff9fd5: return fetch_ds_constructor_messages_chats (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_chats *fetch_ds_type_bare_messages_chats (struct paramed_type *T) { - return fetch_ds_constructor_messages_chats (T); - assert (0); - return NULL; -} -struct tl_ds_messages_dh_config *fetch_ds_type_messages_dh_config (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xc0e24635: return fetch_ds_constructor_messages_dh_config_not_modified (T); break; - case 0x2c221edd: return fetch_ds_constructor_messages_dh_config (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_dh_config *fetch_ds_type_bare_messages_dh_config (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_dh_config_not_modified (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_dh_config_not_modified (T); } - if (skip_constructor_messages_dh_config (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_dh_config (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_dialogs *fetch_ds_type_messages_dialogs (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x15ba6c40: return fetch_ds_constructor_messages_dialogs (T); break; - case 0x71e094f3: return fetch_ds_constructor_messages_dialogs_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_dialogs *fetch_ds_type_bare_messages_dialogs (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_dialogs (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_dialogs (T); } - if (skip_constructor_messages_dialogs_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_dialogs_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_message *fetch_ds_type_messages_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x3f4e0648: return fetch_ds_constructor_messages_message_empty (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_message *fetch_ds_type_bare_messages_message (struct paramed_type *T) { - return fetch_ds_constructor_messages_message_empty (T); - assert (0); - return NULL; -} -struct tl_ds_messages_messages *fetch_ds_type_messages_messages (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x8c718e87: return fetch_ds_constructor_messages_messages (T); break; - case 0x0b446ae3: return fetch_ds_constructor_messages_messages_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_messages *fetch_ds_type_bare_messages_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_messages (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_messages (T); } - if (skip_constructor_messages_messages_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_messages_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_sent_encrypted_message *fetch_ds_type_messages_sent_encrypted_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x560f8935: return fetch_ds_constructor_messages_sent_encrypted_message (T); break; - case 0x9493ff32: return fetch_ds_constructor_messages_sent_encrypted_file (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_sent_encrypted_message *fetch_ds_type_bare_messages_sent_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_sent_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_sent_encrypted_message (T); } - if (skip_constructor_messages_sent_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_sent_encrypted_file (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_sent_message *fetch_ds_type_messages_sent_message (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x4c3d47f3: return fetch_ds_constructor_messages_sent_message (T); break; - case 0x35a1a663: return fetch_ds_constructor_messages_sent_message_link (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_sent_message *fetch_ds_type_bare_messages_sent_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_sent_message (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_sent_message (T); } - if (skip_constructor_messages_sent_message_link (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_sent_message_link (T); } - assert (0); - return NULL; -} -struct tl_ds_messages_sticker_set *fetch_ds_type_messages_sticker_set (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xb60a24a6: return fetch_ds_constructor_messages_sticker_set (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_sticker_set *fetch_ds_type_bare_messages_sticker_set (struct paramed_type *T) { - return fetch_ds_constructor_messages_sticker_set (T); - assert (0); - return NULL; -} -struct tl_ds_messages_stickers *fetch_ds_type_messages_stickers (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xf1749a22: return fetch_ds_constructor_messages_stickers_not_modified (T); break; - case 0x8a8ecd32: return fetch_ds_constructor_messages_stickers (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_messages_stickers *fetch_ds_type_bare_messages_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_stickers_not_modified (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_stickers_not_modified (T); } - if (skip_constructor_messages_stickers (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_messages_stickers (T); } - assert (0); - return NULL; -} -struct tl_ds_photos_photo *fetch_ds_type_photos_photo (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x20212ca8: return fetch_ds_constructor_photos_photo (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_photos_photo *fetch_ds_type_bare_photos_photo (struct paramed_type *T) { - return fetch_ds_constructor_photos_photo (T); - assert (0); - return NULL; -} -struct tl_ds_photos_photos *fetch_ds_type_photos_photos (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x8dca6aa5: return fetch_ds_constructor_photos_photos (T); break; - case 0x15051f54: return fetch_ds_constructor_photos_photos_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_photos_photos *fetch_ds_type_bare_photos_photos (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photos_photos (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photos_photos (T); } - if (skip_constructor_photos_photos_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_photos_photos_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_storage_file_type *fetch_ds_type_storage_file_type (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xaa963b05: return fetch_ds_constructor_storage_file_unknown (T); break; - case 0x007efe0e: return fetch_ds_constructor_storage_file_jpeg (T); break; - case 0xcae1aadf: return fetch_ds_constructor_storage_file_gif (T); break; - case 0x0a4f63c0: return fetch_ds_constructor_storage_file_png (T); break; - case 0xae1e508d: return fetch_ds_constructor_storage_file_pdf (T); break; - case 0x528a0677: return fetch_ds_constructor_storage_file_mp3 (T); break; - case 0x4b09ebbc: return fetch_ds_constructor_storage_file_mov (T); break; - case 0x40bc6f52: return fetch_ds_constructor_storage_file_partial (T); break; - case 0xb3cea0e4: return fetch_ds_constructor_storage_file_mp4 (T); break; - case 0x1081464c: return fetch_ds_constructor_storage_file_webp (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_storage_file_type *fetch_ds_type_bare_storage_file_type (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_storage_file_unknown (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_unknown (T); } - if (skip_constructor_storage_file_jpeg (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_jpeg (T); } - if (skip_constructor_storage_file_gif (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_gif (T); } - if (skip_constructor_storage_file_png (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_png (T); } - if (skip_constructor_storage_file_pdf (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_pdf (T); } - if (skip_constructor_storage_file_mp3 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_mp3 (T); } - if (skip_constructor_storage_file_mov (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_mov (T); } - if (skip_constructor_storage_file_partial (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_partial (T); } - if (skip_constructor_storage_file_mp4 (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_mp4 (T); } - if (skip_constructor_storage_file_webp (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_storage_file_webp (T); } - assert (0); - return NULL; -} -struct tl_ds_updates_difference *fetch_ds_type_updates_difference (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x5d75a138: return fetch_ds_constructor_updates_difference_empty (T); break; - case 0x00f49ca0: return fetch_ds_constructor_updates_difference (T); break; - case 0xa8fb1981: return fetch_ds_constructor_updates_difference_slice (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_updates_difference *fetch_ds_type_bare_updates_difference (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_updates_difference_empty (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates_difference_empty (T); } - if (skip_constructor_updates_difference (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates_difference (T); } - if (skip_constructor_updates_difference_slice (T) >= 0) { in_ptr = save_in_ptr; return fetch_ds_constructor_updates_difference_slice (T); } - assert (0); - return NULL; -} -struct tl_ds_updates_state *fetch_ds_type_updates_state (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0xa56c2a3e: return fetch_ds_constructor_updates_state (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_updates_state *fetch_ds_type_bare_updates_state (struct paramed_type *T) { - return fetch_ds_constructor_updates_state (T); - assert (0); - return NULL; -} -struct tl_ds_upload_file *fetch_ds_type_upload_file (struct paramed_type *T) { - assert (in_remaining () >= 4); - int magic = fetch_int (); - switch (magic) { - case 0x096a18d5: return fetch_ds_constructor_upload_file (T); break; - default: assert (0); return NULL; - } -} -struct tl_ds_upload_file *fetch_ds_type_bare_upload_file (struct paramed_type *T) { - return fetch_ds_constructor_upload_file (T); - assert (0); - return NULL; -} -void *fetch_ds_type_any (struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return fetch_ds_type_account_days_t_t_l (T); - case 0x472f5020: return fetch_ds_type_bare_account_days_t_t_l (T); - case 0x9fc5ec4e: return fetch_ds_type_audio (T); - case 0x603a13b1: return fetch_ds_type_bare_audio (T); - case 0x7bf2e6f6: return fetch_ds_type_authorization (T); - case 0x840d1909: return fetch_ds_type_bare_authorization (T); - case 0x250be282: return fetch_ds_type_bool (T); - case 0xdaf41d7d: return fetch_ds_type_bare_bool (T); - case 0x75e7ea6c: return fetch_ds_type_bot_command (T); - case 0x8a181593: return fetch_ds_type_bare_bot_command (T); - case 0xb2e16f93: return fetch_ds_type_bot_info (T); - case 0x4d1e906c: return fetch_ds_type_bare_bot_info (T); - case 0x0ee1379f: return fetch_ds_type_bytes (T); - case 0xf11ec860: return fetch_ds_type_bare_bytes (T); - case 0x7bd865dc: return fetch_ds_type_chat (T); - case 0x84279a23: return fetch_ds_type_bare_chat (T); - case 0x2e02a614: return fetch_ds_type_chat_full (T); - case 0xd1fd59eb: return fetch_ds_type_bare_chat_full (T); - case 0x94f910b1: return fetch_ds_type_chat_invite (T); - case 0x6b06ef4e: return fetch_ds_type_bare_chat_invite (T); - case 0x3631cf4c: return fetch_ds_type_chat_located (T); - case 0xc9ce30b3: return fetch_ds_type_bare_chat_located (T); - case 0xc8d7493e: return fetch_ds_type_chat_participant (T); - case 0x3728b6c1: return fetch_ds_type_bare_chat_participant (T); - case 0x77930f9f: return fetch_ds_type_chat_participants (T); - case 0x886cf060: return fetch_ds_type_bare_chat_participants (T); - case 0x56922676: return fetch_ds_type_chat_photo (T); - case 0xa96dd989: return fetch_ds_type_bare_chat_photo (T); - case 0x6643b654: return fetch_ds_type_client_d_h_inner_data (T); - case 0x99bc49ab: return fetch_ds_type_bare_client_d_h_inner_data (T); - case 0x4e32b894: return fetch_ds_type_config (T); - case 0xb1cd476b: return fetch_ds_type_bare_config (T); - case 0xf911c994: return fetch_ds_type_contact (T); - case 0x06ee366b: return fetch_ds_type_bare_contact (T); - case 0x561bc879: return fetch_ds_type_contact_blocked (T); - case 0xa9e43786: return fetch_ds_type_bare_contact_blocked (T); - case 0xea879f95: return fetch_ds_type_contact_found (T); - case 0x1578606a: return fetch_ds_type_bare_contact_found (T); - case 0x522fbc63: return fetch_ds_type_contact_link (T); - case 0xadd0439c: return fetch_ds_type_bare_contact_link (T); - case 0xd3680c61: return fetch_ds_type_contact_status (T); - case 0x2c97f39e: return fetch_ds_type_bare_contact_status (T); - case 0x3de191a1: return fetch_ds_type_contact_suggested (T); - case 0xc21e6e5e: return fetch_ds_type_bare_contact_suggested (T); - case 0x2b1a62f0: return fetch_ds_type_dc_option (T); - case 0xd4e59d0f: return fetch_ds_type_bare_dc_option (T); - case 0x535b7918: return fetch_ds_type_decrypted_message (T); - case 0xaca486e7: return fetch_ds_type_bare_decrypted_message (T); - case 0x4e0eefde: return fetch_ds_type_decrypted_message_action (T); - case 0xb1f11021: return fetch_ds_type_bare_decrypted_message_action (T); - case 0x1be31789: return fetch_ds_type_decrypted_message_layer (T); - case 0xe41ce876: return fetch_ds_type_bare_decrypted_message_layer (T); - case 0x34e0d674: return fetch_ds_type_decrypted_message_media (T); - case 0xcb1f298b: return fetch_ds_type_bare_decrypted_message_media (T); - case 0xc1dd804a: return fetch_ds_type_dialog (T); - case 0x3e227fb5: return fetch_ds_type_bare_dialog (T); - case 0xae636f24: return fetch_ds_type_disabled_feature (T); - case 0x519c90db: return fetch_ds_type_bare_disabled_feature (T); - case 0x51a73418: return fetch_ds_type_document (T); - case 0xae58cbe7: return fetch_ds_type_bare_document (T); - case 0x97c637a3: return fetch_ds_type_document_attribute (T); - case 0x6839c85c: return fetch_ds_type_bare_document_attribute (T); - case 0x2210c154: return fetch_ds_type_double (T); - case 0xddef3eab: return fetch_ds_type_bare_double (T); - case 0xb1718213: return fetch_ds_type_encrypted_chat (T); - case 0x4e8e7dec: return fetch_ds_type_bare_encrypted_chat (T); - case 0x886fd032: return fetch_ds_type_encrypted_file (T); - case 0x77902fcd: return fetch_ds_type_bare_encrypted_file (T); - case 0xce6b8a1e: return fetch_ds_type_encrypted_message (T); - case 0x319475e1: return fetch_ds_type_bare_encrypted_message (T); - case 0xc4b9f9bb: return fetch_ds_type_error (T); - case 0x3b460644: return fetch_ds_type_bare_error (T); - case 0x95f132d5: return fetch_ds_type_exported_chat_invite (T); - case 0x6a0ecd2a: return fetch_ds_type_bare_exported_chat_invite (T); - case 0x2f8ffb30: return fetch_ds_type_file_location (T); - case 0xd07004cf: return fetch_ds_type_bare_file_location (T); - case 0xf67b4034: return fetch_ds_type_geo_chat_message (T); - case 0x0984bfcb: return fetch_ds_type_bare_geo_chat_message (T); - case 0x315e0a53: return fetch_ds_type_geo_point (T); - case 0xcea1f5ac: return fetch_ds_type_bare_geo_point (T); - case 0xd0028438: return fetch_ds_type_imported_contact (T); - case 0x2ffd7bc7: return fetch_ds_type_bare_imported_contact (T); - case 0x770656a8: return fetch_ds_type_input_app_event (T); - case 0x88f9a957: return fetch_ds_type_bare_input_app_event (T); - case 0xae8e9c7b: return fetch_ds_type_input_audio (T); - case 0x51716384: return fetch_ds_type_bare_input_audio (T); - case 0x3a60776d: return fetch_ds_type_input_chat_photo (T); - case 0xc59f8892: return fetch_ds_type_bare_input_chat_photo (T); - case 0xf392b7f4: return fetch_ds_type_input_contact (T); - case 0x0c6d480b: return fetch_ds_type_bare_input_contact (T); - case 0x6a8963fc: return fetch_ds_type_input_document (T); - case 0x95769c03: return fetch_ds_type_bare_input_document (T); - case 0xf141b5e1: return fetch_ds_type_input_encrypted_chat (T); - case 0x0ebe4a1e: return fetch_ds_type_bare_input_encrypted_chat (T); - case 0x0b5c064f: return fetch_ds_type_input_encrypted_file (T); - case 0xf4a3f9b0: return fetch_ds_type_bare_input_encrypted_file (T); - case 0x0f60f9ca: return fetch_ds_type_input_file (T); - case 0xf09f0635: return fetch_ds_type_bare_input_file (T); - case 0xe6daa38b: return fetch_ds_type_input_file_location (T); - case 0x19255c74: return fetch_ds_type_bare_input_file_location (T); - case 0x74d456fa: return fetch_ds_type_input_geo_chat (T); - case 0x8b2ba905: return fetch_ds_type_bare_input_geo_chat (T); - case 0x17768f1f: return fetch_ds_type_input_geo_point (T); - case 0xe88970e0: return fetch_ds_type_bare_input_geo_point (T); - case 0xb32c91dd: return fetch_ds_type_input_media (T); - case 0x4cd36e22: return fetch_ds_type_bare_input_media (T); - case 0x02b6911b: return fetch_ds_type_input_notify_peer (T); - case 0xfd496ee4: return fetch_ds_type_bare_input_notify_peer (T); - case 0x9e67268d: return fetch_ds_type_input_peer (T); - case 0x6198d972: return fetch_ds_type_bare_input_peer (T); - case 0x185a48ac: return fetch_ds_type_input_peer_notify_events (T); - case 0xe7a5b753: return fetch_ds_type_bare_input_peer_notify_events (T); - case 0x46a2ce98: return fetch_ds_type_input_peer_notify_settings (T); - case 0xb95d3167: return fetch_ds_type_bare_input_peer_notify_settings (T); - case 0xe74279c9: return fetch_ds_type_input_photo (T); - case 0x18bd8636: return fetch_ds_type_bare_input_photo (T); - case 0x7477e321: return fetch_ds_type_input_photo_crop (T); - case 0x8b881cde: return fetch_ds_type_bare_input_photo_crop (T); - case 0x4f96cb18: return fetch_ds_type_input_privacy_key (T); - case 0xb06934e7: return fetch_ds_type_bare_input_privacy_key (T); - case 0x4b815163: return fetch_ds_type_input_privacy_rule (T); - case 0xb47eae9c: return fetch_ds_type_bare_input_privacy_rule (T); - case 0xe44d415c: return fetch_ds_type_input_sticker_set (T); - case 0x1bb2bea3: return fetch_ds_type_bare_input_sticker_set (T); - case 0xadfe0c6a: return fetch_ds_type_input_user (T); - case 0x5201f395: return fetch_ds_type_bare_input_user (T); - case 0xbb5f7a27: return fetch_ds_type_input_video (T); - case 0x44a085d8: return fetch_ds_type_bare_input_video (T); - case 0xa8509bda: return fetch_ds_type_int (T); - case 0x57af6425: return fetch_ds_type_bare_int (T); - case 0x7d36c439: return fetch_ds_type_int128 (T); - case 0x82c93bc6: return fetch_ds_type_bare_int128 (T); - case 0xf2c798b3: return fetch_ds_type_int256 (T); - case 0x0d38674c: return fetch_ds_type_bare_int256 (T); - case 0xa2fa4880: return fetch_ds_type_keyboard_button (T); - case 0x5d05b77f: return fetch_ds_type_bare_keyboard_button (T); - case 0x77608b83: return fetch_ds_type_keyboard_button_row (T); - case 0x889f747c: return fetch_ds_type_bare_keyboard_button_row (T); - case 0x22076cba: return fetch_ds_type_long (T); - case 0xddf89345: return fetch_ds_type_bare_long (T); - case 0x5d652a7f: return fetch_ds_type_message (T); - case 0xa29ad580: return fetch_ds_type_bare_message (T); - case 0x383415fa: return fetch_ds_type_message_action (T); - case 0xc7cbea05: return fetch_ds_type_bare_message_action (T); - case 0x95f2471a: return fetch_ds_type_message_media (T); - case 0x6a0db8e5: return fetch_ds_type_bare_message_media (T); - case 0x80895ae0: return fetch_ds_type_messages_filter (T); - case 0x7f76a51f: return fetch_ds_type_bare_messages_filter (T); - case 0x8e1a1775: return fetch_ds_type_nearest_dc (T); - case 0x71e5e88a: return fetch_ds_type_bare_nearest_dc (T); - case 0x9fcb8237: return fetch_ds_type_notify_peer (T); - case 0x60347dc8: return fetch_ds_type_bare_notify_peer (T); - case 0x56730bcc: return fetch_ds_type_null (T); - case 0xa98cf433: return fetch_ds_type_bare_null (T); - case 0xbfa3de38: return fetch_ds_type_p_q_inner_data (T); - case 0x405c21c7: return fetch_ds_type_bare_p_q_inner_data (T); - case 0x276159d6: return fetch_ds_type_peer (T); - case 0xd89ea629: return fetch_ds_type_bare_peer (T); - case 0xc0c8d13b: return fetch_ds_type_peer_notify_events (T); - case 0x3f372ec4: return fetch_ds_type_bare_peer_notify_events (T); - case 0xfdf894fc: return fetch_ds_type_peer_notify_settings (T); - case 0x02076b03: return fetch_ds_type_bare_peer_notify_settings (T); - case 0xc207550a: return fetch_ds_type_photo (T); - case 0x3df8aaf5: return fetch_ds_type_bare_photo (T); - case 0x900f60dd: return fetch_ds_type_photo_size (T); - case 0x6ff09f22: return fetch_ds_type_bare_photo_size (T); - case 0xbc2eab30: return fetch_ds_type_privacy_key (T); - case 0x43d154cf: return fetch_ds_type_bare_privacy_key (T); - case 0xa8638aec: return fetch_ds_type_privacy_rule (T); - case 0x579c7513: return fetch_ds_type_bare_privacy_rule (T); - case 0xa384b779: return fetch_ds_type_received_notify_message (T); - case 0x5c7b4886: return fetch_ds_type_bare_received_notify_message (T); - case 0x612ca4a9: return fetch_ds_type_reply_markup (T); - case 0x9ed35b56: return fetch_ds_type_bare_reply_markup (T); - case 0x05162463: return fetch_ds_type_res_p_q (T); - case 0xfae9db9c: return fetch_ds_type_bare_res_p_q (T); - case 0x70541c7e: return fetch_ds_type_send_message_action (T); - case 0x8fabe381: return fetch_ds_type_bare_send_message_action (T); - case 0xa9230301: return fetch_ds_type_server_d_h_params (T); - case 0x56dcfcfe: return fetch_ds_type_bare_server_d_h_params (T); - case 0xb5890dba: return fetch_ds_type_server_d_h_inner_data (T); - case 0x4a76f245: return fetch_ds_type_bare_server_d_h_inner_data (T); - case 0xdb8a468f: return fetch_ds_type_set_client_d_h_params_answer (T); - case 0x2475b970: return fetch_ds_type_bare_set_client_d_h_params_answer (T); - case 0x12b299d4: return fetch_ds_type_sticker_pack (T); - case 0xed4d662b: return fetch_ds_type_bare_sticker_pack (T); - case 0xa7a43b17: return fetch_ds_type_sticker_set (T); - case 0x585bc4e8: return fetch_ds_type_bare_sticker_set (T); - case 0xb5286e24: return fetch_ds_type_string (T); - case 0x4ad791db: return fetch_ds_type_bare_string (T); - case 0x2e02b27e: return fetch_ds_type_update (T); - case 0xd1fd4d81: return fetch_ds_type_bare_update (T); - case 0x22499d27: return fetch_ds_type_updates (T); - case 0xddb662d8: return fetch_ds_type_bare_updates (T); - case 0x02e6c0c8: return fetch_ds_type_user (T); - case 0xfd193f37: return fetch_ds_type_bare_user (T); - case 0x5a89ac5b: return fetch_ds_type_user_full (T); - case 0xa57653a4: return fetch_ds_type_bare_user_full (T); - case 0x9a486229: return fetch_ds_type_user_profile_photo (T); - case 0x65b79dd6: return fetch_ds_type_bare_user_profile_photo (T); - case 0x76de9570: return fetch_ds_type_user_status (T); - case 0x89216a8f: return fetch_ds_type_bare_user_status (T); - case 0x1cb5c415: return fetch_ds_type_vector (T); - case 0xe34a3bea: return fetch_ds_type_bare_vector (T); - case 0x1716b174: return fetch_ds_type_video (T); - case 0xe8e94e8b: return fetch_ds_type_bare_video (T); - case 0xafa14973: return fetch_ds_type_wall_paper (T); - case 0x505eb68c: return fetch_ds_type_bare_wall_paper (T); - case 0x8d8c0d41: return fetch_ds_type_web_page (T); - case 0x7273f2be: return fetch_ds_type_bare_web_page (T); - case 0x1250abde: return fetch_ds_type_account_authorizations (T); - case 0xedaf5421: return fetch_ds_type_bare_account_authorizations (T); - case 0xeac2a804: return fetch_ds_type_account_password (T); - case 0x153d57fb: return fetch_ds_type_bare_account_password (T); - case 0xbcfc532c: return fetch_ds_type_account_password_input_settings (T); - case 0x4303acd3: return fetch_ds_type_bare_account_password_input_settings (T); - case 0xb7b72ab3: return fetch_ds_type_account_password_settings (T); - case 0x4848d54c: return fetch_ds_type_bare_account_password_settings (T); - case 0x554abb6f: return fetch_ds_type_account_privacy_rules (T); - case 0xaab54490: return fetch_ds_type_bare_account_privacy_rules (T); - case 0xa4f58c4c: return fetch_ds_type_account_sent_change_phone_code (T); - case 0x5b0a73b3: return fetch_ds_type_bare_account_sent_change_phone_code (T); - case 0xff036af1: return fetch_ds_type_auth_authorization (T); - case 0x00fc950e: return fetch_ds_type_bare_auth_authorization (T); - case 0x811ea28e: return fetch_ds_type_auth_checked_phone (T); - case 0x7ee15d71: return fetch_ds_type_bare_auth_checked_phone (T); - case 0xdf969c2d: return fetch_ds_type_auth_exported_authorization (T); - case 0x206963d2: return fetch_ds_type_bare_auth_exported_authorization (T); - case 0x137948a5: return fetch_ds_type_auth_password_recovery (T); - case 0xec86b75a: return fetch_ds_type_bare_auth_password_recovery (T); - case 0x0cc8bc16: return fetch_ds_type_auth_sent_code (T); - case 0xf33743e9: return fetch_ds_type_bare_auth_sent_code (T); - case 0x0377168f: return fetch_ds_type_binlog_encr_key (T); - case 0xfc88e970: return fetch_ds_type_bare_binlog_encr_key (T); - case 0x66ff03a6: return fetch_ds_type_binlog_update (T); - case 0x9900fc59: return fetch_ds_type_bare_binlog_update (T); - case 0x8c1b8fb4: return fetch_ds_type_contacts_blocked (T); - case 0x73e4704b: return fetch_ds_type_bare_contacts_blocked (T); - case 0xd8c02560: return fetch_ds_type_contacts_contacts (T); - case 0x273fda9f: return fetch_ds_type_bare_contacts_contacts (T); - case 0x0566000e: return fetch_ds_type_contacts_found (T); - case 0xfa99fff1: return fetch_ds_type_bare_contacts_found (T); - case 0xad524315: return fetch_ds_type_contacts_imported_contacts (T); - case 0x52adbcea: return fetch_ds_type_bare_contacts_imported_contacts (T); - case 0x3ace484c: return fetch_ds_type_contacts_link (T); - case 0xc531b7b3: return fetch_ds_type_bare_contacts_link (T); - case 0x5649dcc5: return fetch_ds_type_contacts_suggested (T); - case 0xa9b6233a: return fetch_ds_type_bare_contacts_suggested (T); - case 0x48feb267: return fetch_ds_type_geochats_located (T); - case 0xb7014d98: return fetch_ds_type_bare_geochats_located (T); - case 0x6d0a0e59: return fetch_ds_type_geochats_messages (T); - case 0x92f5f1a6: return fetch_ds_type_bare_geochats_messages (T); - case 0x17b1578b: return fetch_ds_type_geochats_stated_message (T); - case 0xe84ea874: return fetch_ds_type_bare_geochats_stated_message (T); - case 0x4ddd9627: return fetch_ds_type_help_app_update (T); - case 0xb22269d8: return fetch_ds_type_bare_help_app_update (T); - case 0x18cb9f78: return fetch_ds_type_help_invite_text (T); - case 0xe7346087: return fetch_ds_type_bare_help_invite_text (T); - case 0x17c6b5f6: return fetch_ds_type_help_support (T); - case 0xe8394a09: return fetch_ds_type_bare_help_support (T); - case 0xb45c69d1: return fetch_ds_type_messages_affected_history (T); - case 0x4ba3962e: return fetch_ds_type_bare_messages_affected_history (T); - case 0x84d19185: return fetch_ds_type_messages_affected_messages (T); - case 0x7b2e6e7a: return fetch_ds_type_bare_messages_affected_messages (T); - case 0xb485502f: return fetch_ds_type_messages_all_stickers (T); - case 0x4b7aafd0: return fetch_ds_type_bare_messages_all_stickers (T); - case 0xe5d7d19c: return fetch_ds_type_messages_chat_full (T); - case 0x1a282e63: return fetch_ds_type_bare_messages_chat_full (T); - case 0x64ff9fd5: return fetch_ds_type_messages_chats (T); - case 0x9b00602a: return fetch_ds_type_bare_messages_chats (T); - case 0xecc058e8: return fetch_ds_type_messages_dh_config (T); - case 0x133fa717: return fetch_ds_type_bare_messages_dh_config (T); - case 0x645af8b3: return fetch_ds_type_messages_dialogs (T); - case 0x9ba5074c: return fetch_ds_type_bare_messages_dialogs (T); - case 0x3f4e0648: return fetch_ds_type_messages_message (T); - case 0xc0b1f9b7: return fetch_ds_type_bare_messages_message (T); - case 0x8735e464: return fetch_ds_type_messages_messages (T); - case 0x78ca1b9b: return fetch_ds_type_bare_messages_messages (T); - case 0xc29c7607: return fetch_ds_type_messages_sent_encrypted_message (T); - case 0x3d6389f8: return fetch_ds_type_bare_messages_sent_encrypted_message (T); - case 0x799ce190: return fetch_ds_type_messages_sent_message (T); - case 0x86631e6f: return fetch_ds_type_bare_messages_sent_message (T); - case 0xb60a24a6: return fetch_ds_type_messages_sticker_set (T); - case 0x49f5db59: return fetch_ds_type_bare_messages_sticker_set (T); - case 0x7bfa5710: return fetch_ds_type_messages_stickers (T); - case 0x8405a8ef: return fetch_ds_type_bare_messages_stickers (T); - case 0x20212ca8: return fetch_ds_type_photos_photo (T); - case 0xdfded357: return fetch_ds_type_bare_photos_photo (T); - case 0x98cf75f1: return fetch_ds_type_photos_photos (T); - case 0x67308a0e: return fetch_ds_type_bare_photos_photos (T); - case 0x3e2838a8: return fetch_ds_type_storage_file_type (T); - case 0xc1d7c757: return fetch_ds_type_bare_storage_file_type (T); - case 0xf57a2419: return fetch_ds_type_updates_difference (T); - case 0x0a85dbe6: return fetch_ds_type_bare_updates_difference (T); - case 0xa56c2a3e: return fetch_ds_type_updates_state (T); - case 0x5a93d5c1: return fetch_ds_type_bare_updates_state (T); - case 0x096a18d5: return fetch_ds_type_upload_file (T); - case 0xf695e72a: return fetch_ds_type_bare_upload_file (T); - default: return NULL; } -} diff --git a/libs/tgl/src/auto/auto-fetch-ds.h b/libs/tgl/src/auto/auto-fetch-ds.h deleted file mode 100644 index 6c39473b14..0000000000 --- a/libs/tgl/src/auto/auto-fetch-ds.h +++ /dev/null @@ -1,716 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -#include -#include -struct tgl_state; -struct tl_ds_account_days_t_t_l *fetch_ds_constructor_account_days_t_t_l (struct paramed_type *T); -struct tl_ds_audio *fetch_ds_constructor_audio_empty (struct paramed_type *T); -struct tl_ds_audio *fetch_ds_constructor_audio (struct paramed_type *T); -struct tl_ds_authorization *fetch_ds_constructor_authorization (struct paramed_type *T); -struct tl_ds_bool *fetch_ds_constructor_bool_false (struct paramed_type *T); -struct tl_ds_bool *fetch_ds_constructor_bool_true (struct paramed_type *T); -struct tl_ds_bot_command *fetch_ds_constructor_bot_command (struct paramed_type *T); -struct tl_ds_bot_command *fetch_ds_constructor_bot_command_old (struct paramed_type *T); -struct tl_ds_bot_info *fetch_ds_constructor_bot_info_empty (struct paramed_type *T); -struct tl_ds_bot_info *fetch_ds_constructor_bot_info (struct paramed_type *T); -struct tl_ds_string *fetch_ds_constructor_bytes (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_constructor_chat_empty (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_constructor_chat (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_constructor_chat_forbidden (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_constructor_geo_chat (struct paramed_type *T); -struct tl_ds_chat_full *fetch_ds_constructor_chat_full (struct paramed_type *T); -struct tl_ds_chat_invite *fetch_ds_constructor_chat_invite_already (struct paramed_type *T); -struct tl_ds_chat_invite *fetch_ds_constructor_chat_invite (struct paramed_type *T); -struct tl_ds_chat_located *fetch_ds_constructor_chat_located (struct paramed_type *T); -struct tl_ds_chat_participant *fetch_ds_constructor_chat_participant (struct paramed_type *T); -struct tl_ds_chat_participants *fetch_ds_constructor_chat_participants_forbidden (struct paramed_type *T); -struct tl_ds_chat_participants *fetch_ds_constructor_chat_participants (struct paramed_type *T); -struct tl_ds_chat_photo *fetch_ds_constructor_chat_photo_empty (struct paramed_type *T); -struct tl_ds_chat_photo *fetch_ds_constructor_chat_photo (struct paramed_type *T); -struct tl_ds_client_d_h_inner_data *fetch_ds_constructor_client_d_h_inner_data (struct paramed_type *T); -struct tl_ds_config *fetch_ds_constructor_config (struct paramed_type *T); -struct tl_ds_contact *fetch_ds_constructor_contact (struct paramed_type *T); -struct tl_ds_contact_blocked *fetch_ds_constructor_contact_blocked (struct paramed_type *T); -struct tl_ds_contact_found *fetch_ds_constructor_contact_found (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_unknown (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_none (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_has_phone (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_constructor_contact_link_contact (struct paramed_type *T); -struct tl_ds_contact_status *fetch_ds_constructor_contact_status (struct paramed_type *T); -struct tl_ds_contact_suggested *fetch_ds_constructor_contact_suggested (struct paramed_type *T); -struct tl_ds_dc_option *fetch_ds_constructor_dc_option_l28 (struct paramed_type *T); -struct tl_ds_dc_option *fetch_ds_constructor_dc_option (struct paramed_type *T); -struct tl_ds_decrypted_message *fetch_ds_constructor_decrypted_message (struct paramed_type *T); -struct tl_ds_decrypted_message *fetch_ds_constructor_decrypted_message_service (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_read_messages (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_delete_messages (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_flush_history (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_resend (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_notify_layer (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_typing (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_request_key (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_accept_key (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_abort_key (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_commit_key (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_constructor_decrypted_message_action_noop (struct paramed_type *T); -struct tl_ds_decrypted_message_layer *fetch_ds_constructor_decrypted_message_layer (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_empty (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_photo (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_geo_point (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_contact (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_document (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_video (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_audio (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_external_document (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_video_l12 (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T); -struct tl_ds_dialog *fetch_ds_constructor_dialog (struct paramed_type *T); -struct tl_ds_disabled_feature *fetch_ds_constructor_disabled_feature (struct paramed_type *T); -struct tl_ds_document *fetch_ds_constructor_document_empty (struct paramed_type *T); -struct tl_ds_document *fetch_ds_constructor_document (struct paramed_type *T); -struct tl_ds_document *fetch_ds_constructor_document_l19 (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_image_size (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_animated (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_sticker_l28 (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_sticker (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_video (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_audio (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_constructor_document_attribute_filename (struct paramed_type *T); -double *fetch_ds_constructor_double (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_empty (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_waiting (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_requested (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_constructor_encrypted_chat_discarded (struct paramed_type *T); -struct tl_ds_encrypted_file *fetch_ds_constructor_encrypted_file_empty (struct paramed_type *T); -struct tl_ds_encrypted_file *fetch_ds_constructor_encrypted_file (struct paramed_type *T); -struct tl_ds_encrypted_message *fetch_ds_constructor_encrypted_message (struct paramed_type *T); -struct tl_ds_encrypted_message *fetch_ds_constructor_encrypted_message_service (struct paramed_type *T); -struct tl_ds_error *fetch_ds_constructor_error (struct paramed_type *T); -struct tl_ds_exported_chat_invite *fetch_ds_constructor_chat_invite_empty (struct paramed_type *T); -struct tl_ds_exported_chat_invite *fetch_ds_constructor_chat_invite_exported (struct paramed_type *T); -struct tl_ds_file_location *fetch_ds_constructor_file_location_unavailable (struct paramed_type *T); -struct tl_ds_file_location *fetch_ds_constructor_file_location (struct paramed_type *T); -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message_empty (struct paramed_type *T); -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message (struct paramed_type *T); -struct tl_ds_geo_chat_message *fetch_ds_constructor_geo_chat_message_service (struct paramed_type *T); -struct tl_ds_geo_point *fetch_ds_constructor_geo_point_empty (struct paramed_type *T); -struct tl_ds_geo_point *fetch_ds_constructor_geo_point (struct paramed_type *T); -struct tl_ds_imported_contact *fetch_ds_constructor_imported_contact (struct paramed_type *T); -struct tl_ds_input_app_event *fetch_ds_constructor_input_app_event (struct paramed_type *T); -struct tl_ds_input_audio *fetch_ds_constructor_input_audio_empty (struct paramed_type *T); -struct tl_ds_input_audio *fetch_ds_constructor_input_audio (struct paramed_type *T); -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_photo_empty (struct paramed_type *T); -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_uploaded_photo (struct paramed_type *T); -struct tl_ds_input_chat_photo *fetch_ds_constructor_input_chat_photo (struct paramed_type *T); -struct tl_ds_input_contact *fetch_ds_constructor_input_phone_contact (struct paramed_type *T); -struct tl_ds_input_document *fetch_ds_constructor_input_document_empty (struct paramed_type *T); -struct tl_ds_input_document *fetch_ds_constructor_input_document (struct paramed_type *T); -struct tl_ds_input_encrypted_chat *fetch_ds_constructor_input_encrypted_chat (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_empty (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_uploaded (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T); -struct tl_ds_input_file *fetch_ds_constructor_input_file (struct paramed_type *T); -struct tl_ds_input_file *fetch_ds_constructor_input_file_big (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_constructor_input_file_location (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_constructor_input_video_file_location (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_constructor_input_encrypted_file_location (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_constructor_input_audio_file_location (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_constructor_input_document_file_location (struct paramed_type *T); -struct tl_ds_input_geo_chat *fetch_ds_constructor_input_geo_chat (struct paramed_type *T); -struct tl_ds_input_geo_point *fetch_ds_constructor_input_geo_point_empty (struct paramed_type *T); -struct tl_ds_input_geo_point *fetch_ds_constructor_input_geo_point (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_empty (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_photo (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_photo (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_geo_point (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_contact (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_video (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_thumb_video (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_video (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_audio (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_audio (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_document (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_uploaded_thumb_document (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_document (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_constructor_input_media_venue (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_peer (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_users (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_chats (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_all (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_constructor_input_notify_geo_chat_peer (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_empty (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_self (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_contact (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_foreign (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_constructor_input_peer_chat (struct paramed_type *T); -struct tl_ds_input_peer_notify_events *fetch_ds_constructor_input_peer_notify_events_empty (struct paramed_type *T); -struct tl_ds_input_peer_notify_events *fetch_ds_constructor_input_peer_notify_events_all (struct paramed_type *T); -struct tl_ds_input_peer_notify_settings *fetch_ds_constructor_input_peer_notify_settings (struct paramed_type *T); -struct tl_ds_input_photo *fetch_ds_constructor_input_photo_empty (struct paramed_type *T); -struct tl_ds_input_photo *fetch_ds_constructor_input_photo (struct paramed_type *T); -struct tl_ds_input_photo_crop *fetch_ds_constructor_input_photo_crop_auto (struct paramed_type *T); -struct tl_ds_input_photo_crop *fetch_ds_constructor_input_photo_crop (struct paramed_type *T); -struct tl_ds_input_privacy_key *fetch_ds_constructor_input_privacy_key_status_timestamp (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_contacts (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_all (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_allow_users (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_all (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_constructor_input_privacy_value_disallow_users (struct paramed_type *T); -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_empty (struct paramed_type *T); -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_i_d (struct paramed_type *T); -struct tl_ds_input_sticker_set *fetch_ds_constructor_input_sticker_set_short_name (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_constructor_input_user_empty (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_constructor_input_user_self (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_constructor_input_user_contact (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_constructor_input_user_foreign (struct paramed_type *T); -struct tl_ds_input_video *fetch_ds_constructor_input_video_empty (struct paramed_type *T); -struct tl_ds_input_video *fetch_ds_constructor_input_video (struct paramed_type *T); -int *fetch_ds_constructor_int (struct paramed_type *T); -struct tl_ds_int128 *fetch_ds_constructor_int128 (struct paramed_type *T); -struct tl_ds_int256 *fetch_ds_constructor_int256 (struct paramed_type *T); -struct tl_ds_keyboard_button *fetch_ds_constructor_keyboard_button (struct paramed_type *T); -struct tl_ds_keyboard_button_row *fetch_ds_constructor_keyboard_button_row (struct paramed_type *T); -long long *fetch_ds_constructor_long (struct paramed_type *T); -struct tl_ds_message *fetch_ds_constructor_message_empty (struct paramed_type *T); -struct tl_ds_message *fetch_ds_constructor_message (struct paramed_type *T); -struct tl_ds_message *fetch_ds_constructor_message_service (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_empty (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_create (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_edit_title (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_edit_photo (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_delete_photo (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_add_user (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_delete_user (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_geo_chat_create (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_geo_chat_checkin (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_constructor_message_action_chat_joined_by_link (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_empty (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_photo (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_video (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_geo (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_contact (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_unsupported (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_document (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_audio (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_web_page (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_venue (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_photo_l27 (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_constructor_message_media_video_l27 (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_empty (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photos (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_video (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photo_video (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_document (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_constructor_input_messages_filter_audio (struct paramed_type *T); -struct tl_ds_nearest_dc *fetch_ds_constructor_nearest_dc (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_constructor_notify_peer (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_constructor_notify_users (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_constructor_notify_chats (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_constructor_notify_all (struct paramed_type *T); -struct tl_ds_null *fetch_ds_constructor_null (struct paramed_type *T); -struct tl_ds_p_q_inner_data *fetch_ds_constructor_p_q_inner_data (struct paramed_type *T); -struct tl_ds_p_q_inner_data *fetch_ds_constructor_p_q_inner_data_temp (struct paramed_type *T); -struct tl_ds_peer *fetch_ds_constructor_peer_user (struct paramed_type *T); -struct tl_ds_peer *fetch_ds_constructor_peer_chat (struct paramed_type *T); -struct tl_ds_peer_notify_events *fetch_ds_constructor_peer_notify_events_empty (struct paramed_type *T); -struct tl_ds_peer_notify_events *fetch_ds_constructor_peer_notify_events_all (struct paramed_type *T); -struct tl_ds_peer_notify_settings *fetch_ds_constructor_peer_notify_settings_empty (struct paramed_type *T); -struct tl_ds_peer_notify_settings *fetch_ds_constructor_peer_notify_settings (struct paramed_type *T); -struct tl_ds_photo *fetch_ds_constructor_photo_empty (struct paramed_type *T); -struct tl_ds_photo *fetch_ds_constructor_photo (struct paramed_type *T); -struct tl_ds_photo *fetch_ds_constructor_photo_l27 (struct paramed_type *T); -struct tl_ds_photo_size *fetch_ds_constructor_photo_size_empty (struct paramed_type *T); -struct tl_ds_photo_size *fetch_ds_constructor_photo_size (struct paramed_type *T); -struct tl_ds_photo_size *fetch_ds_constructor_photo_cached_size (struct paramed_type *T); -struct tl_ds_privacy_key *fetch_ds_constructor_privacy_key_status_timestamp (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_contacts (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_all (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_allow_users (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_contacts (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_all (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_constructor_privacy_value_disallow_users (struct paramed_type *T); -struct tl_ds_received_notify_message *fetch_ds_constructor_received_notify_message (struct paramed_type *T); -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_hide (struct paramed_type *T); -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_force_reply (struct paramed_type *T); -struct tl_ds_reply_markup *fetch_ds_constructor_reply_keyboard_markup (struct paramed_type *T); -struct tl_ds_res_p_q *fetch_ds_constructor_res_p_q (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_typing_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_cancel_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_record_video_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_video_action_l27 (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_video_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_record_audio_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_audio_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_photo_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_document_action_l27 (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_upload_document_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_geo_location_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_constructor_send_message_choose_contact_action (struct paramed_type *T); -struct tl_ds_server_d_h_params *fetch_ds_constructor_server_d_h_params_fail (struct paramed_type *T); -struct tl_ds_server_d_h_params *fetch_ds_constructor_server_d_h_params_ok (struct paramed_type *T); -struct tl_ds_server_d_h_inner_data *fetch_ds_constructor_server_d_h_inner_data (struct paramed_type *T); -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_ok (struct paramed_type *T); -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_retry (struct paramed_type *T); -struct tl_ds_set_client_d_h_params_answer *fetch_ds_constructor_dh_gen_fail (struct paramed_type *T); -struct tl_ds_sticker_pack *fetch_ds_constructor_sticker_pack (struct paramed_type *T); -struct tl_ds_sticker_set *fetch_ds_constructor_sticker_set (struct paramed_type *T); -struct tl_ds_string *fetch_ds_constructor_string (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_new_message (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_message_i_d (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_delete_messages (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_typing (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_chat_user_typing (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_chat_participants (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_status (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_name (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_photo (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_contact_registered (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_contact_link (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_new_authorization (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_new_geo_chat_message (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_new_encrypted_message (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_encrypted_chat_typing (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_encryption (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_encrypted_messages_read (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_chat_participant_add (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_chat_participant_delete (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_dc_options (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_blocked (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_notify_settings (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_service_notification (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_privacy (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_user_phone (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_read_history_inbox (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_read_history_outbox (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_web_page (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_read_messages_contents (struct paramed_type *T); -struct tl_ds_update *fetch_ds_constructor_update_msg_update (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_updates_too_long (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_update_short_message (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_update_short_chat_message (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_update_short (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_updates_combined (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_constructor_updates (struct paramed_type *T); -struct tl_ds_user *fetch_ds_constructor_user_empty (struct paramed_type *T); -struct tl_ds_user *fetch_ds_constructor_user (struct paramed_type *T); -struct tl_ds_user_full *fetch_ds_constructor_user_full (struct paramed_type *T); -struct tl_ds_user_profile_photo *fetch_ds_constructor_user_profile_photo_empty (struct paramed_type *T); -struct tl_ds_user_profile_photo *fetch_ds_constructor_user_profile_photo (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_empty (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_online (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_offline (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_recently (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_last_week (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_constructor_user_status_last_month (struct paramed_type *T); -struct tl_ds_vector *fetch_ds_constructor_vector (struct paramed_type *T); -struct tl_ds_video *fetch_ds_constructor_video_empty (struct paramed_type *T); -struct tl_ds_video *fetch_ds_constructor_video (struct paramed_type *T); -struct tl_ds_video *fetch_ds_constructor_video_l27 (struct paramed_type *T); -struct tl_ds_wall_paper *fetch_ds_constructor_wall_paper (struct paramed_type *T); -struct tl_ds_wall_paper *fetch_ds_constructor_wall_paper_solid (struct paramed_type *T); -struct tl_ds_web_page *fetch_ds_constructor_web_page_empty (struct paramed_type *T); -struct tl_ds_web_page *fetch_ds_constructor_web_page_pending (struct paramed_type *T); -struct tl_ds_web_page *fetch_ds_constructor_web_page (struct paramed_type *T); -struct tl_ds_account_authorizations *fetch_ds_constructor_account_authorizations (struct paramed_type *T); -struct tl_ds_account_password *fetch_ds_constructor_account_no_password (struct paramed_type *T); -struct tl_ds_account_password *fetch_ds_constructor_account_password (struct paramed_type *T); -struct tl_ds_account_password_input_settings *fetch_ds_constructor_account_password_input_settings (struct paramed_type *T); -struct tl_ds_account_password_settings *fetch_ds_constructor_account_password_settings (struct paramed_type *T); -struct tl_ds_account_privacy_rules *fetch_ds_constructor_account_privacy_rules (struct paramed_type *T); -struct tl_ds_account_sent_change_phone_code *fetch_ds_constructor_account_sent_change_phone_code (struct paramed_type *T); -struct tl_ds_auth_authorization *fetch_ds_constructor_auth_authorization (struct paramed_type *T); -struct tl_ds_auth_checked_phone *fetch_ds_constructor_auth_checked_phone (struct paramed_type *T); -struct tl_ds_auth_exported_authorization *fetch_ds_constructor_auth_exported_authorization (struct paramed_type *T); -struct tl_ds_auth_password_recovery *fetch_ds_constructor_auth_password_recovery (struct paramed_type *T); -struct tl_ds_auth_sent_code *fetch_ds_constructor_auth_sent_code (struct paramed_type *T); -struct tl_ds_auth_sent_code *fetch_ds_constructor_auth_sent_app_code (struct paramed_type *T); -struct tl_ds_binlog_encr_key *fetch_ds_constructor_binlog_encr_key (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_start (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_option (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_option_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_auth_key (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_default_dc (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_dc_signed (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_our_id (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_dh_params (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_pts (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_qts (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_date (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_seq (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_delete (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_user_delete (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_user_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_add_participant (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_chat_del_participant (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_set_msg_id (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_delete (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_message_encr_new (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_msg_update (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_constructor_binlog_reset_authorization (struct paramed_type *T); -struct tl_ds_contacts_blocked *fetch_ds_constructor_contacts_blocked (struct paramed_type *T); -struct tl_ds_contacts_blocked *fetch_ds_constructor_contacts_blocked_slice (struct paramed_type *T); -struct tl_ds_contacts_contacts *fetch_ds_constructor_contacts_contacts_not_modified (struct paramed_type *T); -struct tl_ds_contacts_contacts *fetch_ds_constructor_contacts_contacts (struct paramed_type *T); -struct tl_ds_contacts_found *fetch_ds_constructor_contacts_found (struct paramed_type *T); -struct tl_ds_contacts_imported_contacts *fetch_ds_constructor_contacts_imported_contacts (struct paramed_type *T); -struct tl_ds_contacts_link *fetch_ds_constructor_contacts_link (struct paramed_type *T); -struct tl_ds_contacts_suggested *fetch_ds_constructor_contacts_suggested (struct paramed_type *T); -struct tl_ds_geochats_located *fetch_ds_constructor_geochats_located (struct paramed_type *T); -struct tl_ds_geochats_messages *fetch_ds_constructor_geochats_messages (struct paramed_type *T); -struct tl_ds_geochats_messages *fetch_ds_constructor_geochats_messages_slice (struct paramed_type *T); -struct tl_ds_geochats_stated_message *fetch_ds_constructor_geochats_stated_message (struct paramed_type *T); -struct tl_ds_help_app_update *fetch_ds_constructor_help_app_update (struct paramed_type *T); -struct tl_ds_help_app_update *fetch_ds_constructor_help_no_app_update (struct paramed_type *T); -struct tl_ds_help_invite_text *fetch_ds_constructor_help_invite_text (struct paramed_type *T); -struct tl_ds_help_support *fetch_ds_constructor_help_support (struct paramed_type *T); -struct tl_ds_messages_affected_history *fetch_ds_constructor_messages_affected_history (struct paramed_type *T); -struct tl_ds_messages_affected_messages *fetch_ds_constructor_messages_affected_messages (struct paramed_type *T); -struct tl_ds_messages_all_stickers *fetch_ds_constructor_messages_all_stickers_not_modified (struct paramed_type *T); -struct tl_ds_messages_all_stickers *fetch_ds_constructor_messages_all_stickers (struct paramed_type *T); -struct tl_ds_messages_chat_full *fetch_ds_constructor_messages_chat_full (struct paramed_type *T); -struct tl_ds_messages_chats *fetch_ds_constructor_messages_chats (struct paramed_type *T); -struct tl_ds_messages_dh_config *fetch_ds_constructor_messages_dh_config_not_modified (struct paramed_type *T); -struct tl_ds_messages_dh_config *fetch_ds_constructor_messages_dh_config (struct paramed_type *T); -struct tl_ds_messages_dialogs *fetch_ds_constructor_messages_dialogs (struct paramed_type *T); -struct tl_ds_messages_dialogs *fetch_ds_constructor_messages_dialogs_slice (struct paramed_type *T); -struct tl_ds_messages_message *fetch_ds_constructor_messages_message_empty (struct paramed_type *T); -struct tl_ds_messages_messages *fetch_ds_constructor_messages_messages (struct paramed_type *T); -struct tl_ds_messages_messages *fetch_ds_constructor_messages_messages_slice (struct paramed_type *T); -struct tl_ds_messages_sent_encrypted_message *fetch_ds_constructor_messages_sent_encrypted_message (struct paramed_type *T); -struct tl_ds_messages_sent_encrypted_message *fetch_ds_constructor_messages_sent_encrypted_file (struct paramed_type *T); -struct tl_ds_messages_sent_message *fetch_ds_constructor_messages_sent_message (struct paramed_type *T); -struct tl_ds_messages_sent_message *fetch_ds_constructor_messages_sent_message_link (struct paramed_type *T); -struct tl_ds_messages_sticker_set *fetch_ds_constructor_messages_sticker_set (struct paramed_type *T); -struct tl_ds_messages_stickers *fetch_ds_constructor_messages_stickers_not_modified (struct paramed_type *T); -struct tl_ds_messages_stickers *fetch_ds_constructor_messages_stickers (struct paramed_type *T); -struct tl_ds_photos_photo *fetch_ds_constructor_photos_photo (struct paramed_type *T); -struct tl_ds_photos_photos *fetch_ds_constructor_photos_photos (struct paramed_type *T); -struct tl_ds_photos_photos *fetch_ds_constructor_photos_photos_slice (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_unknown (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_jpeg (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_gif (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_png (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_pdf (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mp3 (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mov (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_partial (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_mp4 (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_constructor_storage_file_webp (struct paramed_type *T); -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference_empty (struct paramed_type *T); -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference (struct paramed_type *T); -struct tl_ds_updates_difference *fetch_ds_constructor_updates_difference_slice (struct paramed_type *T); -struct tl_ds_updates_state *fetch_ds_constructor_updates_state (struct paramed_type *T); -struct tl_ds_upload_file *fetch_ds_constructor_upload_file (struct paramed_type *T); -struct tl_ds_account_days_t_t_l *fetch_ds_type_account_days_t_t_l (struct paramed_type *T); -struct tl_ds_account_days_t_t_l *fetch_ds_type_bare_account_days_t_t_l (struct paramed_type *T); -struct tl_ds_audio *fetch_ds_type_audio (struct paramed_type *T); -struct tl_ds_audio *fetch_ds_type_bare_audio (struct paramed_type *T); -struct tl_ds_authorization *fetch_ds_type_authorization (struct paramed_type *T); -struct tl_ds_authorization *fetch_ds_type_bare_authorization (struct paramed_type *T); -struct tl_ds_bool *fetch_ds_type_bool (struct paramed_type *T); -struct tl_ds_bool *fetch_ds_type_bare_bool (struct paramed_type *T); -struct tl_ds_bot_command *fetch_ds_type_bot_command (struct paramed_type *T); -struct tl_ds_bot_command *fetch_ds_type_bare_bot_command (struct paramed_type *T); -struct tl_ds_bot_info *fetch_ds_type_bot_info (struct paramed_type *T); -struct tl_ds_bot_info *fetch_ds_type_bare_bot_info (struct paramed_type *T); -struct tl_ds_string *fetch_ds_type_bytes (struct paramed_type *T); -struct tl_ds_string *fetch_ds_type_bare_bytes (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_type_chat (struct paramed_type *T); -struct tl_ds_chat *fetch_ds_type_bare_chat (struct paramed_type *T); -struct tl_ds_chat_full *fetch_ds_type_chat_full (struct paramed_type *T); -struct tl_ds_chat_full *fetch_ds_type_bare_chat_full (struct paramed_type *T); -struct tl_ds_chat_invite *fetch_ds_type_chat_invite (struct paramed_type *T); -struct tl_ds_chat_invite *fetch_ds_type_bare_chat_invite (struct paramed_type *T); -struct tl_ds_chat_located *fetch_ds_type_chat_located (struct paramed_type *T); -struct tl_ds_chat_located *fetch_ds_type_bare_chat_located (struct paramed_type *T); -struct tl_ds_chat_participant *fetch_ds_type_chat_participant (struct paramed_type *T); -struct tl_ds_chat_participant *fetch_ds_type_bare_chat_participant (struct paramed_type *T); -struct tl_ds_chat_participants *fetch_ds_type_chat_participants (struct paramed_type *T); -struct tl_ds_chat_participants *fetch_ds_type_bare_chat_participants (struct paramed_type *T); -struct tl_ds_chat_photo *fetch_ds_type_chat_photo (struct paramed_type *T); -struct tl_ds_chat_photo *fetch_ds_type_bare_chat_photo (struct paramed_type *T); -struct tl_ds_client_d_h_inner_data *fetch_ds_type_client_d_h_inner_data (struct paramed_type *T); -struct tl_ds_client_d_h_inner_data *fetch_ds_type_bare_client_d_h_inner_data (struct paramed_type *T); -struct tl_ds_config *fetch_ds_type_config (struct paramed_type *T); -struct tl_ds_config *fetch_ds_type_bare_config (struct paramed_type *T); -struct tl_ds_contact *fetch_ds_type_contact (struct paramed_type *T); -struct tl_ds_contact *fetch_ds_type_bare_contact (struct paramed_type *T); -struct tl_ds_contact_blocked *fetch_ds_type_contact_blocked (struct paramed_type *T); -struct tl_ds_contact_blocked *fetch_ds_type_bare_contact_blocked (struct paramed_type *T); -struct tl_ds_contact_found *fetch_ds_type_contact_found (struct paramed_type *T); -struct tl_ds_contact_found *fetch_ds_type_bare_contact_found (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_type_contact_link (struct paramed_type *T); -struct tl_ds_contact_link *fetch_ds_type_bare_contact_link (struct paramed_type *T); -struct tl_ds_contact_status *fetch_ds_type_contact_status (struct paramed_type *T); -struct tl_ds_contact_status *fetch_ds_type_bare_contact_status (struct paramed_type *T); -struct tl_ds_contact_suggested *fetch_ds_type_contact_suggested (struct paramed_type *T); -struct tl_ds_contact_suggested *fetch_ds_type_bare_contact_suggested (struct paramed_type *T); -struct tl_ds_dc_option *fetch_ds_type_dc_option (struct paramed_type *T); -struct tl_ds_dc_option *fetch_ds_type_bare_dc_option (struct paramed_type *T); -struct tl_ds_decrypted_message *fetch_ds_type_decrypted_message (struct paramed_type *T); -struct tl_ds_decrypted_message *fetch_ds_type_bare_decrypted_message (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_type_decrypted_message_action (struct paramed_type *T); -struct tl_ds_decrypted_message_action *fetch_ds_type_bare_decrypted_message_action (struct paramed_type *T); -struct tl_ds_decrypted_message_layer *fetch_ds_type_decrypted_message_layer (struct paramed_type *T); -struct tl_ds_decrypted_message_layer *fetch_ds_type_bare_decrypted_message_layer (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_type_decrypted_message_media (struct paramed_type *T); -struct tl_ds_decrypted_message_media *fetch_ds_type_bare_decrypted_message_media (struct paramed_type *T); -struct tl_ds_dialog *fetch_ds_type_dialog (struct paramed_type *T); -struct tl_ds_dialog *fetch_ds_type_bare_dialog (struct paramed_type *T); -struct tl_ds_disabled_feature *fetch_ds_type_disabled_feature (struct paramed_type *T); -struct tl_ds_disabled_feature *fetch_ds_type_bare_disabled_feature (struct paramed_type *T); -struct tl_ds_document *fetch_ds_type_document (struct paramed_type *T); -struct tl_ds_document *fetch_ds_type_bare_document (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_type_document_attribute (struct paramed_type *T); -struct tl_ds_document_attribute *fetch_ds_type_bare_document_attribute (struct paramed_type *T); -double *fetch_ds_type_double (struct paramed_type *T); -double *fetch_ds_type_bare_double (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_type_encrypted_chat (struct paramed_type *T); -struct tl_ds_encrypted_chat *fetch_ds_type_bare_encrypted_chat (struct paramed_type *T); -struct tl_ds_encrypted_file *fetch_ds_type_encrypted_file (struct paramed_type *T); -struct tl_ds_encrypted_file *fetch_ds_type_bare_encrypted_file (struct paramed_type *T); -struct tl_ds_encrypted_message *fetch_ds_type_encrypted_message (struct paramed_type *T); -struct tl_ds_encrypted_message *fetch_ds_type_bare_encrypted_message (struct paramed_type *T); -struct tl_ds_error *fetch_ds_type_error (struct paramed_type *T); -struct tl_ds_error *fetch_ds_type_bare_error (struct paramed_type *T); -struct tl_ds_exported_chat_invite *fetch_ds_type_exported_chat_invite (struct paramed_type *T); -struct tl_ds_exported_chat_invite *fetch_ds_type_bare_exported_chat_invite (struct paramed_type *T); -struct tl_ds_file_location *fetch_ds_type_file_location (struct paramed_type *T); -struct tl_ds_file_location *fetch_ds_type_bare_file_location (struct paramed_type *T); -struct tl_ds_geo_chat_message *fetch_ds_type_geo_chat_message (struct paramed_type *T); -struct tl_ds_geo_chat_message *fetch_ds_type_bare_geo_chat_message (struct paramed_type *T); -struct tl_ds_geo_point *fetch_ds_type_geo_point (struct paramed_type *T); -struct tl_ds_geo_point *fetch_ds_type_bare_geo_point (struct paramed_type *T); -struct tl_ds_imported_contact *fetch_ds_type_imported_contact (struct paramed_type *T); -struct tl_ds_imported_contact *fetch_ds_type_bare_imported_contact (struct paramed_type *T); -struct tl_ds_input_app_event *fetch_ds_type_input_app_event (struct paramed_type *T); -struct tl_ds_input_app_event *fetch_ds_type_bare_input_app_event (struct paramed_type *T); -struct tl_ds_input_audio *fetch_ds_type_input_audio (struct paramed_type *T); -struct tl_ds_input_audio *fetch_ds_type_bare_input_audio (struct paramed_type *T); -struct tl_ds_input_chat_photo *fetch_ds_type_input_chat_photo (struct paramed_type *T); -struct tl_ds_input_chat_photo *fetch_ds_type_bare_input_chat_photo (struct paramed_type *T); -struct tl_ds_input_contact *fetch_ds_type_input_contact (struct paramed_type *T); -struct tl_ds_input_contact *fetch_ds_type_bare_input_contact (struct paramed_type *T); -struct tl_ds_input_document *fetch_ds_type_input_document (struct paramed_type *T); -struct tl_ds_input_document *fetch_ds_type_bare_input_document (struct paramed_type *T); -struct tl_ds_input_encrypted_chat *fetch_ds_type_input_encrypted_chat (struct paramed_type *T); -struct tl_ds_input_encrypted_chat *fetch_ds_type_bare_input_encrypted_chat (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_type_input_encrypted_file (struct paramed_type *T); -struct tl_ds_input_encrypted_file *fetch_ds_type_bare_input_encrypted_file (struct paramed_type *T); -struct tl_ds_input_file *fetch_ds_type_input_file (struct paramed_type *T); -struct tl_ds_input_file *fetch_ds_type_bare_input_file (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_type_input_file_location (struct paramed_type *T); -struct tl_ds_input_file_location *fetch_ds_type_bare_input_file_location (struct paramed_type *T); -struct tl_ds_input_geo_chat *fetch_ds_type_input_geo_chat (struct paramed_type *T); -struct tl_ds_input_geo_chat *fetch_ds_type_bare_input_geo_chat (struct paramed_type *T); -struct tl_ds_input_geo_point *fetch_ds_type_input_geo_point (struct paramed_type *T); -struct tl_ds_input_geo_point *fetch_ds_type_bare_input_geo_point (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_type_input_media (struct paramed_type *T); -struct tl_ds_input_media *fetch_ds_type_bare_input_media (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_type_input_notify_peer (struct paramed_type *T); -struct tl_ds_input_notify_peer *fetch_ds_type_bare_input_notify_peer (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_type_input_peer (struct paramed_type *T); -struct tl_ds_input_peer *fetch_ds_type_bare_input_peer (struct paramed_type *T); -struct tl_ds_input_peer_notify_events *fetch_ds_type_input_peer_notify_events (struct paramed_type *T); -struct tl_ds_input_peer_notify_events *fetch_ds_type_bare_input_peer_notify_events (struct paramed_type *T); -struct tl_ds_input_peer_notify_settings *fetch_ds_type_input_peer_notify_settings (struct paramed_type *T); -struct tl_ds_input_peer_notify_settings *fetch_ds_type_bare_input_peer_notify_settings (struct paramed_type *T); -struct tl_ds_input_photo *fetch_ds_type_input_photo (struct paramed_type *T); -struct tl_ds_input_photo *fetch_ds_type_bare_input_photo (struct paramed_type *T); -struct tl_ds_input_photo_crop *fetch_ds_type_input_photo_crop (struct paramed_type *T); -struct tl_ds_input_photo_crop *fetch_ds_type_bare_input_photo_crop (struct paramed_type *T); -struct tl_ds_input_privacy_key *fetch_ds_type_input_privacy_key (struct paramed_type *T); -struct tl_ds_input_privacy_key *fetch_ds_type_bare_input_privacy_key (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_type_input_privacy_rule (struct paramed_type *T); -struct tl_ds_input_privacy_rule *fetch_ds_type_bare_input_privacy_rule (struct paramed_type *T); -struct tl_ds_input_sticker_set *fetch_ds_type_input_sticker_set (struct paramed_type *T); -struct tl_ds_input_sticker_set *fetch_ds_type_bare_input_sticker_set (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_type_input_user (struct paramed_type *T); -struct tl_ds_input_user *fetch_ds_type_bare_input_user (struct paramed_type *T); -struct tl_ds_input_video *fetch_ds_type_input_video (struct paramed_type *T); -struct tl_ds_input_video *fetch_ds_type_bare_input_video (struct paramed_type *T); -int *fetch_ds_type_int (struct paramed_type *T); -int *fetch_ds_type_bare_int (struct paramed_type *T); -struct tl_ds_int128 *fetch_ds_type_int128 (struct paramed_type *T); -struct tl_ds_int128 *fetch_ds_type_bare_int128 (struct paramed_type *T); -struct tl_ds_int256 *fetch_ds_type_int256 (struct paramed_type *T); -struct tl_ds_int256 *fetch_ds_type_bare_int256 (struct paramed_type *T); -struct tl_ds_keyboard_button *fetch_ds_type_keyboard_button (struct paramed_type *T); -struct tl_ds_keyboard_button *fetch_ds_type_bare_keyboard_button (struct paramed_type *T); -struct tl_ds_keyboard_button_row *fetch_ds_type_keyboard_button_row (struct paramed_type *T); -struct tl_ds_keyboard_button_row *fetch_ds_type_bare_keyboard_button_row (struct paramed_type *T); -long long *fetch_ds_type_long (struct paramed_type *T); -long long *fetch_ds_type_bare_long (struct paramed_type *T); -struct tl_ds_message *fetch_ds_type_message (struct paramed_type *T); -struct tl_ds_message *fetch_ds_type_bare_message (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_type_message_action (struct paramed_type *T); -struct tl_ds_message_action *fetch_ds_type_bare_message_action (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_type_message_media (struct paramed_type *T); -struct tl_ds_message_media *fetch_ds_type_bare_message_media (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_type_messages_filter (struct paramed_type *T); -struct tl_ds_messages_filter *fetch_ds_type_bare_messages_filter (struct paramed_type *T); -struct tl_ds_nearest_dc *fetch_ds_type_nearest_dc (struct paramed_type *T); -struct tl_ds_nearest_dc *fetch_ds_type_bare_nearest_dc (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_type_notify_peer (struct paramed_type *T); -struct tl_ds_notify_peer *fetch_ds_type_bare_notify_peer (struct paramed_type *T); -struct tl_ds_null *fetch_ds_type_null (struct paramed_type *T); -struct tl_ds_null *fetch_ds_type_bare_null (struct paramed_type *T); -struct tl_ds_p_q_inner_data *fetch_ds_type_p_q_inner_data (struct paramed_type *T); -struct tl_ds_p_q_inner_data *fetch_ds_type_bare_p_q_inner_data (struct paramed_type *T); -struct tl_ds_peer *fetch_ds_type_peer (struct paramed_type *T); -struct tl_ds_peer *fetch_ds_type_bare_peer (struct paramed_type *T); -struct tl_ds_peer_notify_events *fetch_ds_type_peer_notify_events (struct paramed_type *T); -struct tl_ds_peer_notify_events *fetch_ds_type_bare_peer_notify_events (struct paramed_type *T); -struct tl_ds_peer_notify_settings *fetch_ds_type_peer_notify_settings (struct paramed_type *T); -struct tl_ds_peer_notify_settings *fetch_ds_type_bare_peer_notify_settings (struct paramed_type *T); -struct tl_ds_photo *fetch_ds_type_photo (struct paramed_type *T); -struct tl_ds_photo *fetch_ds_type_bare_photo (struct paramed_type *T); -struct tl_ds_photo_size *fetch_ds_type_photo_size (struct paramed_type *T); -struct tl_ds_photo_size *fetch_ds_type_bare_photo_size (struct paramed_type *T); -struct tl_ds_privacy_key *fetch_ds_type_privacy_key (struct paramed_type *T); -struct tl_ds_privacy_key *fetch_ds_type_bare_privacy_key (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_type_privacy_rule (struct paramed_type *T); -struct tl_ds_privacy_rule *fetch_ds_type_bare_privacy_rule (struct paramed_type *T); -struct tl_ds_received_notify_message *fetch_ds_type_received_notify_message (struct paramed_type *T); -struct tl_ds_received_notify_message *fetch_ds_type_bare_received_notify_message (struct paramed_type *T); -struct tl_ds_reply_markup *fetch_ds_type_reply_markup (struct paramed_type *T); -struct tl_ds_reply_markup *fetch_ds_type_bare_reply_markup (struct paramed_type *T); -struct tl_ds_res_p_q *fetch_ds_type_res_p_q (struct paramed_type *T); -struct tl_ds_res_p_q *fetch_ds_type_bare_res_p_q (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_type_send_message_action (struct paramed_type *T); -struct tl_ds_send_message_action *fetch_ds_type_bare_send_message_action (struct paramed_type *T); -struct tl_ds_server_d_h_params *fetch_ds_type_server_d_h_params (struct paramed_type *T); -struct tl_ds_server_d_h_params *fetch_ds_type_bare_server_d_h_params (struct paramed_type *T); -struct tl_ds_server_d_h_inner_data *fetch_ds_type_server_d_h_inner_data (struct paramed_type *T); -struct tl_ds_server_d_h_inner_data *fetch_ds_type_bare_server_d_h_inner_data (struct paramed_type *T); -struct tl_ds_set_client_d_h_params_answer *fetch_ds_type_set_client_d_h_params_answer (struct paramed_type *T); -struct tl_ds_set_client_d_h_params_answer *fetch_ds_type_bare_set_client_d_h_params_answer (struct paramed_type *T); -struct tl_ds_sticker_pack *fetch_ds_type_sticker_pack (struct paramed_type *T); -struct tl_ds_sticker_pack *fetch_ds_type_bare_sticker_pack (struct paramed_type *T); -struct tl_ds_sticker_set *fetch_ds_type_sticker_set (struct paramed_type *T); -struct tl_ds_sticker_set *fetch_ds_type_bare_sticker_set (struct paramed_type *T); -struct tl_ds_string *fetch_ds_type_string (struct paramed_type *T); -struct tl_ds_string *fetch_ds_type_bare_string (struct paramed_type *T); -struct tl_ds_update *fetch_ds_type_update (struct paramed_type *T); -struct tl_ds_update *fetch_ds_type_bare_update (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_type_updates (struct paramed_type *T); -struct tl_ds_updates *fetch_ds_type_bare_updates (struct paramed_type *T); -struct tl_ds_user *fetch_ds_type_user (struct paramed_type *T); -struct tl_ds_user *fetch_ds_type_bare_user (struct paramed_type *T); -struct tl_ds_user_full *fetch_ds_type_user_full (struct paramed_type *T); -struct tl_ds_user_full *fetch_ds_type_bare_user_full (struct paramed_type *T); -struct tl_ds_user_profile_photo *fetch_ds_type_user_profile_photo (struct paramed_type *T); -struct tl_ds_user_profile_photo *fetch_ds_type_bare_user_profile_photo (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_type_user_status (struct paramed_type *T); -struct tl_ds_user_status *fetch_ds_type_bare_user_status (struct paramed_type *T); -struct tl_ds_vector *fetch_ds_type_vector (struct paramed_type *T); -struct tl_ds_vector *fetch_ds_type_bare_vector (struct paramed_type *T); -struct tl_ds_video *fetch_ds_type_video (struct paramed_type *T); -struct tl_ds_video *fetch_ds_type_bare_video (struct paramed_type *T); -struct tl_ds_wall_paper *fetch_ds_type_wall_paper (struct paramed_type *T); -struct tl_ds_wall_paper *fetch_ds_type_bare_wall_paper (struct paramed_type *T); -struct tl_ds_web_page *fetch_ds_type_web_page (struct paramed_type *T); -struct tl_ds_web_page *fetch_ds_type_bare_web_page (struct paramed_type *T); -struct tl_ds_account_authorizations *fetch_ds_type_account_authorizations (struct paramed_type *T); -struct tl_ds_account_authorizations *fetch_ds_type_bare_account_authorizations (struct paramed_type *T); -struct tl_ds_account_password *fetch_ds_type_account_password (struct paramed_type *T); -struct tl_ds_account_password *fetch_ds_type_bare_account_password (struct paramed_type *T); -struct tl_ds_account_password_input_settings *fetch_ds_type_account_password_input_settings (struct paramed_type *T); -struct tl_ds_account_password_input_settings *fetch_ds_type_bare_account_password_input_settings (struct paramed_type *T); -struct tl_ds_account_password_settings *fetch_ds_type_account_password_settings (struct paramed_type *T); -struct tl_ds_account_password_settings *fetch_ds_type_bare_account_password_settings (struct paramed_type *T); -struct tl_ds_account_privacy_rules *fetch_ds_type_account_privacy_rules (struct paramed_type *T); -struct tl_ds_account_privacy_rules *fetch_ds_type_bare_account_privacy_rules (struct paramed_type *T); -struct tl_ds_account_sent_change_phone_code *fetch_ds_type_account_sent_change_phone_code (struct paramed_type *T); -struct tl_ds_account_sent_change_phone_code *fetch_ds_type_bare_account_sent_change_phone_code (struct paramed_type *T); -struct tl_ds_auth_authorization *fetch_ds_type_auth_authorization (struct paramed_type *T); -struct tl_ds_auth_authorization *fetch_ds_type_bare_auth_authorization (struct paramed_type *T); -struct tl_ds_auth_checked_phone *fetch_ds_type_auth_checked_phone (struct paramed_type *T); -struct tl_ds_auth_checked_phone *fetch_ds_type_bare_auth_checked_phone (struct paramed_type *T); -struct tl_ds_auth_exported_authorization *fetch_ds_type_auth_exported_authorization (struct paramed_type *T); -struct tl_ds_auth_exported_authorization *fetch_ds_type_bare_auth_exported_authorization (struct paramed_type *T); -struct tl_ds_auth_password_recovery *fetch_ds_type_auth_password_recovery (struct paramed_type *T); -struct tl_ds_auth_password_recovery *fetch_ds_type_bare_auth_password_recovery (struct paramed_type *T); -struct tl_ds_auth_sent_code *fetch_ds_type_auth_sent_code (struct paramed_type *T); -struct tl_ds_auth_sent_code *fetch_ds_type_bare_auth_sent_code (struct paramed_type *T); -struct tl_ds_binlog_encr_key *fetch_ds_type_binlog_encr_key (struct paramed_type *T); -struct tl_ds_binlog_encr_key *fetch_ds_type_bare_binlog_encr_key (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_type_binlog_update (struct paramed_type *T); -struct tl_ds_binlog_update *fetch_ds_type_bare_binlog_update (struct paramed_type *T); -struct tl_ds_contacts_blocked *fetch_ds_type_contacts_blocked (struct paramed_type *T); -struct tl_ds_contacts_blocked *fetch_ds_type_bare_contacts_blocked (struct paramed_type *T); -struct tl_ds_contacts_contacts *fetch_ds_type_contacts_contacts (struct paramed_type *T); -struct tl_ds_contacts_contacts *fetch_ds_type_bare_contacts_contacts (struct paramed_type *T); -struct tl_ds_contacts_found *fetch_ds_type_contacts_found (struct paramed_type *T); -struct tl_ds_contacts_found *fetch_ds_type_bare_contacts_found (struct paramed_type *T); -struct tl_ds_contacts_imported_contacts *fetch_ds_type_contacts_imported_contacts (struct paramed_type *T); -struct tl_ds_contacts_imported_contacts *fetch_ds_type_bare_contacts_imported_contacts (struct paramed_type *T); -struct tl_ds_contacts_link *fetch_ds_type_contacts_link (struct paramed_type *T); -struct tl_ds_contacts_link *fetch_ds_type_bare_contacts_link (struct paramed_type *T); -struct tl_ds_contacts_suggested *fetch_ds_type_contacts_suggested (struct paramed_type *T); -struct tl_ds_contacts_suggested *fetch_ds_type_bare_contacts_suggested (struct paramed_type *T); -struct tl_ds_geochats_located *fetch_ds_type_geochats_located (struct paramed_type *T); -struct tl_ds_geochats_located *fetch_ds_type_bare_geochats_located (struct paramed_type *T); -struct tl_ds_geochats_messages *fetch_ds_type_geochats_messages (struct paramed_type *T); -struct tl_ds_geochats_messages *fetch_ds_type_bare_geochats_messages (struct paramed_type *T); -struct tl_ds_geochats_stated_message *fetch_ds_type_geochats_stated_message (struct paramed_type *T); -struct tl_ds_geochats_stated_message *fetch_ds_type_bare_geochats_stated_message (struct paramed_type *T); -struct tl_ds_help_app_update *fetch_ds_type_help_app_update (struct paramed_type *T); -struct tl_ds_help_app_update *fetch_ds_type_bare_help_app_update (struct paramed_type *T); -struct tl_ds_help_invite_text *fetch_ds_type_help_invite_text (struct paramed_type *T); -struct tl_ds_help_invite_text *fetch_ds_type_bare_help_invite_text (struct paramed_type *T); -struct tl_ds_help_support *fetch_ds_type_help_support (struct paramed_type *T); -struct tl_ds_help_support *fetch_ds_type_bare_help_support (struct paramed_type *T); -struct tl_ds_messages_affected_history *fetch_ds_type_messages_affected_history (struct paramed_type *T); -struct tl_ds_messages_affected_history *fetch_ds_type_bare_messages_affected_history (struct paramed_type *T); -struct tl_ds_messages_affected_messages *fetch_ds_type_messages_affected_messages (struct paramed_type *T); -struct tl_ds_messages_affected_messages *fetch_ds_type_bare_messages_affected_messages (struct paramed_type *T); -struct tl_ds_messages_all_stickers *fetch_ds_type_messages_all_stickers (struct paramed_type *T); -struct tl_ds_messages_all_stickers *fetch_ds_type_bare_messages_all_stickers (struct paramed_type *T); -struct tl_ds_messages_chat_full *fetch_ds_type_messages_chat_full (struct paramed_type *T); -struct tl_ds_messages_chat_full *fetch_ds_type_bare_messages_chat_full (struct paramed_type *T); -struct tl_ds_messages_chats *fetch_ds_type_messages_chats (struct paramed_type *T); -struct tl_ds_messages_chats *fetch_ds_type_bare_messages_chats (struct paramed_type *T); -struct tl_ds_messages_dh_config *fetch_ds_type_messages_dh_config (struct paramed_type *T); -struct tl_ds_messages_dh_config *fetch_ds_type_bare_messages_dh_config (struct paramed_type *T); -struct tl_ds_messages_dialogs *fetch_ds_type_messages_dialogs (struct paramed_type *T); -struct tl_ds_messages_dialogs *fetch_ds_type_bare_messages_dialogs (struct paramed_type *T); -struct tl_ds_messages_message *fetch_ds_type_messages_message (struct paramed_type *T); -struct tl_ds_messages_message *fetch_ds_type_bare_messages_message (struct paramed_type *T); -struct tl_ds_messages_messages *fetch_ds_type_messages_messages (struct paramed_type *T); -struct tl_ds_messages_messages *fetch_ds_type_bare_messages_messages (struct paramed_type *T); -struct tl_ds_messages_sent_encrypted_message *fetch_ds_type_messages_sent_encrypted_message (struct paramed_type *T); -struct tl_ds_messages_sent_encrypted_message *fetch_ds_type_bare_messages_sent_encrypted_message (struct paramed_type *T); -struct tl_ds_messages_sent_message *fetch_ds_type_messages_sent_message (struct paramed_type *T); -struct tl_ds_messages_sent_message *fetch_ds_type_bare_messages_sent_message (struct paramed_type *T); -struct tl_ds_messages_sticker_set *fetch_ds_type_messages_sticker_set (struct paramed_type *T); -struct tl_ds_messages_sticker_set *fetch_ds_type_bare_messages_sticker_set (struct paramed_type *T); -struct tl_ds_messages_stickers *fetch_ds_type_messages_stickers (struct paramed_type *T); -struct tl_ds_messages_stickers *fetch_ds_type_bare_messages_stickers (struct paramed_type *T); -struct tl_ds_photos_photo *fetch_ds_type_photos_photo (struct paramed_type *T); -struct tl_ds_photos_photo *fetch_ds_type_bare_photos_photo (struct paramed_type *T); -struct tl_ds_photos_photos *fetch_ds_type_photos_photos (struct paramed_type *T); -struct tl_ds_photos_photos *fetch_ds_type_bare_photos_photos (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_type_storage_file_type (struct paramed_type *T); -struct tl_ds_storage_file_type *fetch_ds_type_bare_storage_file_type (struct paramed_type *T); -struct tl_ds_updates_difference *fetch_ds_type_updates_difference (struct paramed_type *T); -struct tl_ds_updates_difference *fetch_ds_type_bare_updates_difference (struct paramed_type *T); -struct tl_ds_updates_state *fetch_ds_type_updates_state (struct paramed_type *T); -struct tl_ds_updates_state *fetch_ds_type_bare_updates_state (struct paramed_type *T); -struct tl_ds_upload_file *fetch_ds_type_upload_file (struct paramed_type *T); -struct tl_ds_upload_file *fetch_ds_type_bare_upload_file (struct paramed_type *T); -void *fetch_ds_type_any (struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-fetch.c b/libs/tgl/src/auto/auto-fetch.c deleted file mode 100644 index adb2ef789d..0000000000 --- a/libs/tgl/src/auto/auto-fetch.c +++ /dev/null @@ -1,16330 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-fetch.h" -#include "auto-skip.h" -#include "..\auto-static-fetch.c" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-fetch.h" -#include "auto/auto-skip.h" -#include "auto-static-fetch.c" -#include "mtproto-common.h" -#endif -#include -int fetch_constructor_account_days_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - eprintf (" audioEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - eprintf (" audio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return -1; } - eprintf (" authorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" device_model :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" platform :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" system_version :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" api_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" app_name :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" app_version :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date_created :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date_active :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" country :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" region :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bool_false (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - eprintf (" boolFalse"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bool_true (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - eprintf (" boolTrue"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bot_command (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - eprintf (" botCommand"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" command :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bot_command_old (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - eprintf (" botCommandOld"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" command :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" params :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bot_info_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - eprintf (" botInfoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bot_info (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - eprintf (" botInfo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" share_text :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" commands :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_bytes (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chatEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_photo (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" left :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chatForbidden"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" geoChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_point (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_photo (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants_count :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" checked_in :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return -1; } - eprintf (" chatFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_participants (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer_notify_settings (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exported_invite :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_exported_chat_invite (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_invite_already (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - eprintf (" chatInviteAlready"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_invite (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - eprintf (" chatInvite"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return -1; } - eprintf (" chatLocated"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" distance :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return -1; } - eprintf (" chatParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_participants_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - eprintf (" chatParticipantsForbidden"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - eprintf (" chatParticipants"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - eprintf (" chatPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - eprintf (" chatPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_small :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_big :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_client_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return -1; } - eprintf (" client_DH_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" retry_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_b :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return -1; } - eprintf (" config"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" test_mode :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" this_dc :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_options :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_size_max :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" broadcast_size_max :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" forwarded_count_max :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" online_update_period_ms :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offline_blur_timeout_ms :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offline_idle_timeout_ms :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" online_cloud_timeout_ms :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_cloud_delay_ms :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_default_delay_ms :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field14) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_big_size :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field15) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" push_chat_period_ms :"); } - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field16) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" push_chat_limit :"); } - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field17) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" disabled_features :"); } - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field18) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return -1; } - eprintf (" contact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mutual :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return -1; } - eprintf (" contactBlocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_contact_link_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkUnknown"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_link_none (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkNone"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_link_has_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkHasPhone"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_link_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return -1; } - eprintf (" contactStatus"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_status (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contact_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return -1; } - eprintf (" contactSuggested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mutual_contacts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dc_option_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - eprintf (" dcOptionL28"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hostname :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip_address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - eprintf (" dcOption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip_address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - eprintf (" decryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_decrypted_message_media (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - eprintf (" decryptedMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_decrypted_message_action (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionSetMessageTTL"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl_seconds :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_read_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionReadMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionDeleteMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionScreenshotMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_flush_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionFlushHistory"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_resend (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionResend"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" start_seq_no :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" end_seq_no :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_notify_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionNotifyLayer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_send_message_action (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_request_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionRequestKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_accept_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionAcceptKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_b :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_abort_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionAbortKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_commit_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionCommitKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_action_noop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionNoop"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return -1; } - eprintf (" decryptedMessageLayer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_bytes :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" in_seq_no :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" out_seq_no :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_decrypted_message (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_external_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaExternalDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo_size (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_video_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaVideoL12"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaAudioL12"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dialog (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return -1; } - eprintf (" dialog"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" top_message :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" read_inbox_max_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" unread_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer_notify_settings (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_disabled_feature (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return -1; } - eprintf (" disabledFeature"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" feature :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" documentEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" document"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo_size (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_l19 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" document_l19"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo_size (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_image_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeImageSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_animated (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeAnimated"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_sticker_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeStickerL28"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" alt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_sticker (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeSticker"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" alt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" stickerset :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_sticker_set (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_document_attribute_filename (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeFilename"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_double (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return -1; } - if (in_remaining () < 8) { return -1;} - eprintf (" %lf", fetch_double ()); - return 0; -} -int fetch_constructor_encrypted_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_chat_waiting (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatWaiting"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_chat_requested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatRequested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a_or_b :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_chat_discarded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatDiscarded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - eprintf (" encryptedFileEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - eprintf (" encryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - eprintf (" encryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_encrypted_file (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_encrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - eprintf (" encryptedMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_error (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return -1; } - eprintf (" error"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" code :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" text :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_invite_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - eprintf (" chatInviteEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_chat_invite_exported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - eprintf (" chatInviteExported"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" link :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_file_location_unavailable (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - eprintf (" fileLocationUnavailable"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - eprintf (" fileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_chat_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_chat_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_action (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - eprintf (" geoPointEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - eprintf (" geoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_imported_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return -1; } - eprintf (" importedContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" client_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_app_event (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return -1; } - eprintf (" inputAppEvent"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" time :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" data :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - eprintf (" inputAudioEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - eprintf (" inputAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_chat_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatUploadedPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_photo_crop (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_photo_crop (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_phone_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return -1; } - eprintf (" inputPhoneContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" client_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - eprintf (" inputDocumentEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - eprintf (" inputDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return -1; } - eprintf (" inputEncryptedChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_file_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileUploaded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" md5_checksum :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileBigUploaded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - eprintf (" inputFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" md5_checksum :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_file_big (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - eprintf (" inputFileBig"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_video_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputVideoFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_encrypted_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputEncryptedFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_audio_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputAudioFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_document_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputDocumentFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return -1; } - eprintf (" inputGeoChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - eprintf (" inputGeoPointEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - eprintf (" inputGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_point :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_geo_point (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_thumb_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedThumbVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_video (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" audio_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_audio (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_uploaded_thumb_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedThumbDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_file (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" document_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_document (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaVenue"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_point :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_geo_point (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" provider :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyChats"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_notify_geo_chat_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyGeoChatPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_input_geo_chat (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerSelf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerForeign"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - eprintf (" inputPeerNotifyEventsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - eprintf (" inputPeerNotifyEventsAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return -1; } - eprintf (" inputPeerNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mute_until :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sound :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" show_previews :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" events_mask :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - eprintf (" inputPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - eprintf (" inputPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_photo_crop_auto (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - eprintf (" inputPhotoCropAuto"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_photo_crop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - eprintf (" inputPhotoCrop"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_left :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_top :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_width :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_double (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return -1; } - eprintf (" inputPrivacyKeyStatusTimestamp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_sticker_set_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_sticker_set_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetID"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_sticker_set_short_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetShortName"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" short_name :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_user_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserSelf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_user_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_user_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserForeign"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - eprintf (" inputVideoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - eprintf (" inputVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_int (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return -1; } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", fetch_int ()); - return 0; -} -int fetch_constructor_int128 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return -1; } - eprintf (" int128"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_int256 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return -1; } - eprintf (" int256"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_keyboard_button (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_keyboard_button_row (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return -1; } - if (in_remaining () < 8) { return -1;} - eprintf (" %I64d", fetch_long ()); - return 0; -} -int fetch_constructor_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" messageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" message"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_markup :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_reply_markup (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" messageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_action (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatCreate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_edit_title (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatEditTitle"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_edit_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatEditPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_delete_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatDeletePhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_add_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatAddUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_delete_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatDeleteUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_geo_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionGeoChatCreate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_geo_chat_checkin (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionGeoChatCheckin"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_action_chat_joined_by_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatJoinedByLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_video (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_geo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaGeo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_point (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_unsupported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaUnsupported"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" document :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_document (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" audio :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_audio (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaWebPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" webpage :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_web_page (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVenue"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_point (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" provider :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaPhotoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_message_media_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVideoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_video (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotos"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_photo_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotoVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotoVideoDocuments"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_input_messages_filter_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_nearest_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return -1; } - eprintf (" nearestDc"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" country :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" this_dc :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nearest_dc :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyChats"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_null (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return -1; } - eprintf (" null"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_p_q_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - eprintf (" p_q_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" q :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int256 (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_p_q_inner_data_temp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - eprintf (" p_q_inner_data_temp"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" q :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int256 (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires_in :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - eprintf (" peerUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - eprintf (" peerChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - eprintf (" peerNotifyEventsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - eprintf (" peerNotifyEventsAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_notify_settings_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - eprintf (" peerNotifySettingsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - eprintf (" peerNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mute_until :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sound :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" show_previews :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" events_mask :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_point (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_point (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo_size_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoSizeEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photo_cached_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoCachedSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return -1; } - eprintf (" privacyKeyStatusTimestamp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_received_notify_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return -1; } - eprintf (" receivedNotifyMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_reply_keyboard_hide (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardHide"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_reply_keyboard_force_reply (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardForceReply"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_reply_keyboard_markup (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardMarkup"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rows :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_res_p_q (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return -1; } - eprintf (" resPQ"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_public_key_fingerprints :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_typing_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageTypingAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_cancel_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageCancelAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_record_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageRecordVideoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_video_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadVideoActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadVideoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_record_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageRecordAudioAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadAudioActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadAudioAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_photo_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadPhotoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_document_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadDocumentActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_upload_document_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadDocumentAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_geo_location_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageGeoLocationAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_send_message_choose_contact_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageChooseContactAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_server_d_h_params_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - eprintf (" server_DH_params_fail"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_server_d_h_params_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - eprintf (" server_DH_params_ok"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encrypted_answer :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_server_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return -1; } - eprintf (" server_DH_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dh_prime :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_time :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dh_gen_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_ok"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash1 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dh_gen_retry (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_retry"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash2 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_dh_gen_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_fail"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash3 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int128 (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_sticker_pack (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return -1; } - eprintf (" stickerPack"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" emoticon :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return -1; } - eprintf (" stickerSet"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" short_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_string (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return -1; } - static char buf[1 << 22]; - int l = prefetch_strlen (); - if (l < 0 || (l >= (1 << 22) - 2)) { return -1; } - memcpy (buf, fetch_str (l), l); - buf[l] = 0; - print_escaped_string (buf, l); - return 0; -} -int fetch_constructor_update_new_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_message_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateMessageID"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateDeleteMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_send_message_action (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_chat_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatUserTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_send_message_action (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipants"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_participants (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserStatus"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_status (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserName"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_profile_photo (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" previous :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_contact_registered (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateContactRegistered"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_contact_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateContactLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" my_link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_contact_link (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" foreign_link :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_contact_link (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_new_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" auth_key_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" device :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_new_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewGeoChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_chat_message (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_new_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewEncryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_encrypted_message (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_encrypted_chat_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryptedChatTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_encryption (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_encrypted_chat (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_encrypted_messages_read (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryptedMessagesRead"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_chat_participant_add (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipantAdd"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_chat_participant_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipantDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_dc_options (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateDcOptions"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_options :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserBlocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_notify_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer_notify_settings (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_service_notification (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateServiceNotification"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message_text :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" popup :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_privacy (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updatePrivacy"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_privacy_key (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rules :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_user_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserPhone"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_read_history_inbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadHistoryInbox"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_read_history_outbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadHistoryOutbox"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateWebPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" webpage :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_web_page (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_read_messages_contents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadMessagesContents"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateMsgUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_too_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updatesTooLong"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_update_short_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShortMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_update_short_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShortChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_update_short (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShort"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" update :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_update (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_combined (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updatesCombined"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" updates :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq_start :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updates"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" updates :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - eprintf (" userEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - eprintf (" user"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 4)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_profile_photo (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_status (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 14)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info_version :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_user_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return -1; } - eprintf (" userFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_contacts_link (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" profile_photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_peer_notify_settings (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bot_info (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_profile_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - eprintf (" userProfilePhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_profile_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - eprintf (" userProfilePhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_small :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_big :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_file_location (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_online (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusOnline"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_offline (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusOffline"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" was_online :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_recently (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusRecently"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_last_week (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusLastWeek"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_user_status_last_month (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusLastMonth"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_vector (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return -1; } - if (ODDP(T->params[0])) { return -1; } - struct paramed_type *var0 = T->params[0]; assert (var0); - eprintf (" vector"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var1 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - eprintf (" ["); - if (multiline_output >= 1) { eprintf ("\n"); } - if (multiline_output >= 1) { multiline_offset += multiline_offset_size;} - while (multiplicity3 -- > 0) { - if (multiline_output >= 1) { print_offset (); } - if (fetch_type_any (field3) < 0) { return -1;} - if (multiline_output >= 1) { eprintf ("\n"); } - } - if (multiline_output >= 1) { multiline_offset -= multiline_offset_size; print_offset ();} - eprintf (" ]"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" videoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" video"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo_size (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" videoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo_size (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_wall_paper (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - eprintf (" wallPaper"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" color :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_wall_paper_solid (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - eprintf (" wallPaperSolid"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bg_color :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" color :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_web_page_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_web_page_pending (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPagePending"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" url :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" display_url :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" site_name :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 4)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_url :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_type :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_width :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_height :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 7)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field14) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 8)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" author :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field15) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_account_authorizations (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_account_no_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - eprintf (" account.noPassword"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email_unconfirmed_pattern :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_account_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - eprintf (" account.password"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" current_salt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" has_recovery :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email_unconfirmed_pattern :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_account_password_input_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return -1; } - eprintf (" account.passwordInputSettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_password_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hint :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_account_password_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_account_privacy_rules (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return -1; } - eprintf (" account.privacyRules"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rules :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_account_sent_change_phone_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return -1; } - eprintf (" account.sentChangePhoneCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_auth_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_auth_checked_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_auth_exported_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return -1; } - eprintf (" auth.exportedAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_auth_password_recovery (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_auth_sent_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - eprintf (" auth.sentCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_registered :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" is_password :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_auth_sent_app_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - eprintf (" auth.sentAppCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_registered :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" is_password :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_encr_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return -1; } - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - eprintf (" ["); - if (multiline_output >= 1) { eprintf ("\n"); } - if (multiline_output >= 1) { multiline_offset += multiline_offset_size;} - while (multiplicity1 -- > 0) { - if (multiline_output >= 1) { print_offset (); } - if (fetch_type_any (field1) < 0) { return -1;} - if (multiline_output >= 1) { eprintf ("\n"); } - } - if (multiline_output >= 1) { multiline_offset -= multiline_offset_size; print_offset ();} - eprintf (" ]"); - return 0; -} -int fetch_constructor_binlog_start (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.start"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcOption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_dc_option_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcOptionNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_auth_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.authKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_binlog_encr_key (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_default_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.defaultDc"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_dc_signed (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcSigned"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_our_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.ourId"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_dh_params (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setDhParams"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" root :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" prime :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_binlog_encr_key (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_pts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setPts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_qts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setQts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_date (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setDate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_seq (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setSeq"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_encr_chat_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_encr_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_binlog_encr_key (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_key :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_binlog_encr_key (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" in_seq_no :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_in_seq_no :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" out_seq_no :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field14) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 27)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field15) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatExchangeNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_binlog_encr_key (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_user_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.userDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_user_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.userNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" real_first_name :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" real_last_name :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_photo :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user_profile_photo (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_in :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_out :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bot_info (field14) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_num :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_photo (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_in :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_out :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_chat_add_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatAddParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_chat_del_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatDelParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_set_msg_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setMsgId"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" old_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_message_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_message_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_action (field11) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_id :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field12) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_markup :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_reply_markup (field13) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_message_encr_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageEncrNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - if (in_remaining () < 4) { return -1;} - eprintf (" %d", prefetch_int ()); - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_media :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_decrypted_message_media (field8) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_action :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_decrypted_message_action (field9) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_encrypted_file (field10) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int fetch_constructor_binlog_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.msgUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_long (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_binlog_reset_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.resetAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - eprintf (" contacts.blocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_blocked_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - eprintf (" contacts.blockedSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_contacts_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - eprintf (" contacts.contactsNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - eprintf (" contacts.contacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" contacts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return -1; } - eprintf (" contacts.found"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_imported_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return -1; } - eprintf (" contacts.importedContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" imported :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" retry_contacts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return -1; } - eprintf (" contacts.link"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" my_link :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_contact_link (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" foreign_link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_contact_link (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_contacts_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return -1; } - eprintf (" contacts.suggested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geochats_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return -1; } - eprintf (" geochats.located"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geochats_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - eprintf (" geochats.messages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geochats_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - eprintf (" geochats.messagesSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_geochats_stated_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return -1; } - eprintf (" geochats.statedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_geo_chat_message (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_help_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - eprintf (" help.appUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" critical :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bool (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" url :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" text :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_help_no_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - eprintf (" help.noAppUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_help_invite_text (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_help_support (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return -1; } - eprintf (" help.support"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_user (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_affected_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return -1; } - eprintf (" messages.affectedHistory"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offset :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_affected_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return -1; } - eprintf (" messages.affectedMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_all_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - eprintf (" messages.allStickersNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_all_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - eprintf (" messages.allStickers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" packs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sets :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return -1; } - eprintf (" messages.chatFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" full_chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_chat_full (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - return 0; -} -int fetch_constructor_messages_dh_config_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - eprintf (" messages.dhConfigNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_dh_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - eprintf (" messages.dhConfig"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_dialogs (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - eprintf (" messages.dialogs"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dialogs :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_dialogs_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - eprintf (" messages.dialogsSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dialogs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return -1; } - eprintf (" messages.messageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - eprintf (" messages.messages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - eprintf (" messages.messagesSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_sent_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - eprintf (" messages.sentEncryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_sent_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - eprintf (" messages.sentEncryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_encrypted_file (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_sent_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - eprintf (" messages.sentMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_sent_message_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - eprintf (" messages.sentMessageLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_message_media (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" links :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field7) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return -1; } - eprintf (" messages.stickerSet"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" set :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_sticker_set (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" packs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - eprintf (" messages.stickersNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_messages_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - eprintf (" messages.stickers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_string (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" stickers :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photos_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return -1; } - eprintf (" photos.photo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_photo (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photos_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - eprintf (" photos.photos"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photos :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_photos_photos_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - eprintf (" photos.photosSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photos :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileUnknown"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_jpeg (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileJpeg"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_gif (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileGif"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_png (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePng"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_pdf (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePdf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_mp3 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMp3"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_mov (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMov"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_partial (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePartial"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_mp4 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMp4"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_storage_file_webp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileWebp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_difference_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.differenceEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_difference (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.difference"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_encrypted_messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" other_updates :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_updates_state (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_difference_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.differenceSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_encrypted_messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" other_updates :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (fetch_type_vector (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" intermediate_state :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_updates_state (field6) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_updates_state (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return -1; } - eprintf (" updates.state"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field4) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" unread_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field5) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_constructor_upload_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return -1; } - eprintf (" upload.file"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_storage_file_type (field1) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mtime :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_int (field2) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (fetch_type_bare_bytes (field3) < 0) { return -1;} - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int fetch_type_account_days_t_t_l (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb8d0afdf: res = fetch_constructor_account_days_t_t_l (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_account_days_t_t_l (struct paramed_type *T) { - if (fetch_constructor_account_days_t_t_l (T) >= 0) { return 0; } - return -1; -} -int fetch_type_audio (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x586988d8: res = fetch_constructor_audio_empty (T); break; - case 0xc7ac6496: res = fetch_constructor_audio (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_audio_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_audio_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x7bf2e6f6: res = fetch_constructor_authorization (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_authorization (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_authorization (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_bool (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xbc799737: res = fetch_constructor_bool_false (T); break; - case 0x997275b5: res = fetch_constructor_bool_true (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_bool (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_bool_false (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bool_false (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bool_true (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bool_true (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_bot_command (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc27ac8c7: res = fetch_constructor_bot_command (T); break; - case 0xb79d22ab: res = fetch_constructor_bot_command_old (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_bot_command (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_bot_command (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bot_command (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bot_command_old (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bot_command_old (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_bot_info (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xbb2e37ce: res = fetch_constructor_bot_info_empty (T); break; - case 0x09cf585d: res = fetch_constructor_bot_info (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_bot_info (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_bot_info_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bot_info_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bot_info (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_bot_info (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_bytes (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0ee1379f: res = fetch_constructor_bytes (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_bytes (struct paramed_type *T) { - if (fetch_constructor_bytes (T) >= 0) { return 0; } - return -1; -} -int fetch_type_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x9ba2d800: res = fetch_constructor_chat_empty (T); break; - case 0x6e9c9bc7: res = fetch_constructor_chat (T); break; - case 0xfb0ccc41: res = fetch_constructor_chat_forbidden (T); break; - case 0x75eaea5a: res = fetch_constructor_geo_chat (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_chat_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_forbidden (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_forbidden (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_chat (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_chat_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x2e02a614: res = fetch_constructor_chat_full (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_full (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_chat_full (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_chat_invite (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5a686d7c: res = fetch_constructor_chat_invite_already (T); break; - case 0xce917dcd: res = fetch_constructor_chat_invite (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_chat_invite_already (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_invite_already (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_invite (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_invite (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_chat_located (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3631cf4c: res = fetch_constructor_chat_located (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_located (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_chat_located (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_chat_participant (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc8d7493e: res = fetch_constructor_chat_participant (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_participant (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_chat_participant (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_chat_participants (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0fd2bb8a: res = fetch_constructor_chat_participants_forbidden (T); break; - case 0x7841b415: res = fetch_constructor_chat_participants (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_participants (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_chat_participants_forbidden (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_participants_forbidden (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_participants (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_participants (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_chat_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x37c1011c: res = fetch_constructor_chat_photo_empty (T); break; - case 0x6153276a: res = fetch_constructor_chat_photo (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_chat_photo_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_photo_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_client_d_h_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x6643b654: res = fetch_constructor_client_d_h_inner_data (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_client_d_h_inner_data (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_client_d_h_inner_data (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_config (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x4e32b894: res = fetch_constructor_config (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_config (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_config (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf911c994: res = fetch_constructor_contact (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contact (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contact (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contact_blocked (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x561bc879: res = fetch_constructor_contact_blocked (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contact_blocked (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contact_blocked (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contact_found (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xea879f95: res = fetch_constructor_contact_found (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_contact_found (struct paramed_type *T) { - if (fetch_constructor_contact_found (T) >= 0) { return 0; } - return -1; -} -int fetch_type_contact_link (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5f4f9247: res = fetch_constructor_contact_link_unknown (T); break; - case 0xfeedd3ad: res = fetch_constructor_contact_link_none (T); break; - case 0x268f3f59: res = fetch_constructor_contact_link_has_phone (T); break; - case 0xd502c2d0: res = fetch_constructor_contact_link_contact (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contact_link (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_contact_link_unknown (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contact_link_unknown (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_none (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contact_link_none (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_has_phone (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contact_link_has_phone (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contact_link_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_contact_status (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xd3680c61: res = fetch_constructor_contact_status (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contact_status (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contact_status (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contact_suggested (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3de191a1: res = fetch_constructor_contact_suggested (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contact_suggested (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contact_suggested (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_dc_option (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x2ec2a43c: res = fetch_constructor_dc_option_l28 (T); break; - case 0x05d8c6cc: res = fetch_constructor_dc_option (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_dc_option (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_dc_option_l28 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_dc_option_l28 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dc_option (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_dc_option (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_decrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x204d3878: res = fetch_constructor_decrypted_message (T); break; - case 0x73164160: res = fetch_constructor_decrypted_message_service (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_decrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_decrypted_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_service (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_service (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_decrypted_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa1733aec: res = fetch_constructor_decrypted_message_action_set_message_t_t_l (T); break; - case 0x0c4f40be: res = fetch_constructor_decrypted_message_action_read_messages (T); break; - case 0x65614304: res = fetch_constructor_decrypted_message_action_delete_messages (T); break; - case 0x8ac1f475: res = fetch_constructor_decrypted_message_action_screenshot_messages (T); break; - case 0x6719e45c: res = fetch_constructor_decrypted_message_action_flush_history (T); break; - case 0x511110b0: res = fetch_constructor_decrypted_message_action_resend (T); break; - case 0xf3048883: res = fetch_constructor_decrypted_message_action_notify_layer (T); break; - case 0xccb27641: res = fetch_constructor_decrypted_message_action_typing (T); break; - case 0xf3c9611b: res = fetch_constructor_decrypted_message_action_request_key (T); break; - case 0x6fe1735b: res = fetch_constructor_decrypted_message_action_accept_key (T); break; - case 0xdd05ec6b: res = fetch_constructor_decrypted_message_action_abort_key (T); break; - case 0xec2e0b9b: res = fetch_constructor_decrypted_message_action_commit_key (T); break; - case 0xa82fdd63: res = fetch_constructor_decrypted_message_action_noop (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_decrypted_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_decrypted_message_action_set_message_t_t_l (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_set_message_t_t_l (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_read_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_read_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_delete_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_delete_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_screenshot_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_screenshot_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_flush_history (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_flush_history (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_resend (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_resend (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_notify_layer (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_notify_layer (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_typing (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_typing (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_request_key (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_request_key (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_accept_key (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_accept_key (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_abort_key (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_abort_key (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_commit_key (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_commit_key (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_noop (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_action_noop (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_decrypted_message_layer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1be31789: res = fetch_constructor_decrypted_message_layer (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_decrypted_message_layer (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_decrypted_message_layer (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_decrypted_message_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x089f5c4a: res = fetch_constructor_decrypted_message_media_empty (T); break; - case 0x32798a8c: res = fetch_constructor_decrypted_message_media_photo (T); break; - case 0x35480a59: res = fetch_constructor_decrypted_message_media_geo_point (T); break; - case 0x588a0a97: res = fetch_constructor_decrypted_message_media_contact (T); break; - case 0xb095434b: res = fetch_constructor_decrypted_message_media_document (T); break; - case 0x524a415d: res = fetch_constructor_decrypted_message_media_video (T); break; - case 0x57e0a9cb: res = fetch_constructor_decrypted_message_media_audio (T); break; - case 0xfa95b0dd: res = fetch_constructor_decrypted_message_media_external_document (T); break; - case 0x4cee6ef3: res = fetch_constructor_decrypted_message_media_video_l12 (T); break; - case 0x6080758f: res = fetch_constructor_decrypted_message_media_audio_l12 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_decrypted_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_decrypted_message_media_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_geo_point (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_geo_point (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_external_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_external_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_video_l12 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_video_l12 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_audio_l12 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_decrypted_message_media_audio_l12 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_dialog (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc1dd804a: res = fetch_constructor_dialog (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_dialog (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_dialog (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_disabled_feature (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xae636f24: res = fetch_constructor_disabled_feature (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_disabled_feature (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_disabled_feature (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_document (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x36f8c871: res = fetch_constructor_document_empty (T); break; - case 0xf9a39f4f: res = fetch_constructor_document (T); break; - case 0x9efc6326: res = fetch_constructor_document_l19 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_document_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_l19 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_l19 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_document_attribute (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x6c37c15c: res = fetch_constructor_document_attribute_image_size (T); break; - case 0x11b58939: res = fetch_constructor_document_attribute_animated (T); break; - case 0x994c9882: res = fetch_constructor_document_attribute_sticker_l28 (T); break; - case 0x3a556302: res = fetch_constructor_document_attribute_sticker (T); break; - case 0x5910cccb: res = fetch_constructor_document_attribute_video (T); break; - case 0x051448e5: res = fetch_constructor_document_attribute_audio (T); break; - case 0x15590068: res = fetch_constructor_document_attribute_filename (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_document_attribute (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_document_attribute_image_size (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_image_size (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_animated (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_animated (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_sticker_l28 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_sticker_l28 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_sticker (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_sticker (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_filename (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_document_attribute_filename (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_double (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x2210c154: res = fetch_constructor_double (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_double (struct paramed_type *T) { - if (fetch_constructor_double (T) >= 0) { return 0; } - return -1; -} -int fetch_type_encrypted_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xab7ec0a0: res = fetch_constructor_encrypted_chat_empty (T); break; - case 0x3bf703dc: res = fetch_constructor_encrypted_chat_waiting (T); break; - case 0xc878527e: res = fetch_constructor_encrypted_chat_requested (T); break; - case 0xfa56ce36: res = fetch_constructor_encrypted_chat (T); break; - case 0x13d6dd27: res = fetch_constructor_encrypted_chat_discarded (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_encrypted_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_encrypted_chat_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_chat_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_waiting (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_chat_waiting (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_requested (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_chat_requested (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_chat (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_discarded (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_chat_discarded (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_encrypted_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc21f497e: res = fetch_constructor_encrypted_file_empty (T); break; - case 0x4a70994c: res = fetch_constructor_encrypted_file (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_encrypted_file_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_file_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_file (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_encrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xed18c118: res = fetch_constructor_encrypted_message (T); break; - case 0x23734b06: res = fetch_constructor_encrypted_message_service (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_message_service (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_encrypted_message_service (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_error (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc4b9f9bb: res = fetch_constructor_error (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_error (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_error (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_exported_chat_invite (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x69df3769: res = fetch_constructor_chat_invite_empty (T); break; - case 0xfc2e05bc: res = fetch_constructor_chat_invite_exported (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_exported_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_chat_invite_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_invite_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_invite_exported (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_chat_invite_exported (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_file_location (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x7c596b46: res = fetch_constructor_file_location_unavailable (T); break; - case 0x53d69076: res = fetch_constructor_file_location (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_file_location_unavailable (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_file_location_unavailable (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_geo_chat_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x60311a9b: res = fetch_constructor_geo_chat_message_empty (T); break; - case 0x4505f8e1: res = fetch_constructor_geo_chat_message (T); break; - case 0xd34fa24e: res = fetch_constructor_geo_chat_message_service (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_geo_chat_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_geo_chat_message_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_chat_message_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_chat_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat_message_service (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_chat_message_service (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_geo_point (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1117dd5f: res = fetch_constructor_geo_point_empty (T); break; - case 0x2049d70c: res = fetch_constructor_geo_point (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_geo_point_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_point_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_point (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geo_point (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_imported_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xd0028438: res = fetch_constructor_imported_contact (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_imported_contact (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_imported_contact (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_app_event (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x770656a8: res = fetch_constructor_input_app_event (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_app_event (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_app_event (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_audio (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xd95adc84: res = fetch_constructor_input_audio_empty (T); break; - case 0x77d440ff: res = fetch_constructor_input_audio (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_audio_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_audio_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_chat_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1ca48f57: res = fetch_constructor_input_chat_photo_empty (T); break; - case 0x94254732: res = fetch_constructor_input_chat_uploaded_photo (T); break; - case 0xb2e1bf08: res = fetch_constructor_input_chat_photo (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_chat_photo_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_chat_photo_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_chat_uploaded_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_chat_uploaded_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_chat_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_chat_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf392b7f4: res = fetch_constructor_input_phone_contact (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_contact (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_phone_contact (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_document (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x72f0eaae: res = fetch_constructor_input_document_empty (T); break; - case 0x18798952: res = fetch_constructor_input_document (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_document_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_document_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_encrypted_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf141b5e1: res = fetch_constructor_input_encrypted_chat (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_encrypted_chat (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_encrypted_chat (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_encrypted_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1837c364: res = fetch_constructor_input_encrypted_file_empty (T); break; - case 0x64bd0306: res = fetch_constructor_input_encrypted_file_uploaded (T); break; - case 0x5a17b5e5: res = fetch_constructor_input_encrypted_file (T); break; - case 0x2dc173c8: res = fetch_constructor_input_encrypted_file_big_uploaded (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_encrypted_file_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_encrypted_file_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_uploaded (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_encrypted_file_uploaded (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_encrypted_file (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_big_uploaded (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_encrypted_file_big_uploaded (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf52ff27f: res = fetch_constructor_input_file (T); break; - case 0xfa4f0bb5: res = fetch_constructor_input_file_big (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_file (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_file (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_file_big (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_file_big (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_file_location (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x14637196: res = fetch_constructor_input_file_location (T); break; - case 0x3d0364ec: res = fetch_constructor_input_video_file_location (T); break; - case 0xf5235d55: res = fetch_constructor_input_encrypted_file_location (T); break; - case 0x74dc404d: res = fetch_constructor_input_audio_file_location (T); break; - case 0x4e45abe9: res = fetch_constructor_input_document_file_location (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_video_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_video_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_encrypted_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_audio_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_audio_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_document_file_location (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_document_file_location (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_geo_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x74d456fa: res = fetch_constructor_input_geo_chat (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_geo_chat (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_geo_chat (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_geo_point (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xe4c123d6: res = fetch_constructor_input_geo_point_empty (T); break; - case 0xf3b7acc9: res = fetch_constructor_input_geo_point (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_geo_point_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_geo_point_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_geo_point (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_geo_point (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x9664f57f: res = fetch_constructor_input_media_empty (T); break; - case 0xf7aff1c0: res = fetch_constructor_input_media_uploaded_photo (T); break; - case 0xe9bfb4f3: res = fetch_constructor_input_media_photo (T); break; - case 0xf9c44144: res = fetch_constructor_input_media_geo_point (T); break; - case 0xa6e45987: res = fetch_constructor_input_media_contact (T); break; - case 0xe13fd4bc: res = fetch_constructor_input_media_uploaded_video (T); break; - case 0x96fb97dc: res = fetch_constructor_input_media_uploaded_thumb_video (T); break; - case 0x936a4ebd: res = fetch_constructor_input_media_video (T); break; - case 0x4e498cab: res = fetch_constructor_input_media_uploaded_audio (T); break; - case 0x89938781: res = fetch_constructor_input_media_audio (T); break; - case 0xffe76b78: res = fetch_constructor_input_media_uploaded_document (T); break; - case 0x41481486: res = fetch_constructor_input_media_uploaded_thumb_document (T); break; - case 0xd184e841: res = fetch_constructor_input_media_document (T); break; - case 0x2827a81a: res = fetch_constructor_input_media_venue (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_media_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_geo_point (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_geo_point (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_thumb_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_thumb_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_thumb_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_uploaded_thumb_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_venue (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_media_venue (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_notify_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb8bc5b0c: res = fetch_constructor_input_notify_peer (T); break; - case 0x193b4417: res = fetch_constructor_input_notify_users (T); break; - case 0x4a95e84e: res = fetch_constructor_input_notify_chats (T); break; - case 0xa429b886: res = fetch_constructor_input_notify_all (T); break; - case 0x4d8ddec8: res = fetch_constructor_input_notify_geo_chat_peer (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_notify_peer (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_notify_peer (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_notify_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_chats (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_notify_chats (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_notify_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_geo_chat_peer (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_notify_geo_chat_peer (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x7f3b18ea: res = fetch_constructor_input_peer_empty (T); break; - case 0x7da07ec9: res = fetch_constructor_input_peer_self (T); break; - case 0x1023dbe8: res = fetch_constructor_input_peer_contact (T); break; - case 0x9b447325: res = fetch_constructor_input_peer_foreign (T); break; - case 0x179be863: res = fetch_constructor_input_peer_chat (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_peer_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_self (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_self (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_foreign (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_foreign (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_chat (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_chat (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_peer_notify_events (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf03064d8: res = fetch_constructor_input_peer_notify_events_empty (T); break; - case 0xe86a2c74: res = fetch_constructor_input_peer_notify_events_all (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_peer_notify_events_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_notify_events_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_notify_events_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_peer_notify_events_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_peer_notify_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x46a2ce98: res = fetch_constructor_input_peer_notify_settings (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_peer_notify_settings (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_peer_notify_settings (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1cd7bf0d: res = fetch_constructor_input_photo_empty (T); break; - case 0xfb95c6c4: res = fetch_constructor_input_photo (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_photo_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_photo_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_photo_crop (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xade6b004: res = fetch_constructor_input_photo_crop_auto (T); break; - case 0xd9915325: res = fetch_constructor_input_photo_crop (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_photo_crop (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_photo_crop_auto (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_photo_crop_auto (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_photo_crop (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_photo_crop (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_privacy_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x4f96cb18: res = fetch_constructor_input_privacy_key_status_timestamp (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_privacy_key (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_input_privacy_key_status_timestamp (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_input_privacy_rule (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0d09e07b: res = fetch_constructor_input_privacy_value_allow_contacts (T); break; - case 0x184b35ce: res = fetch_constructor_input_privacy_value_allow_all (T); break; - case 0x131cc67f: res = fetch_constructor_input_privacy_value_allow_users (T); break; - case 0x0ba52007: res = fetch_constructor_input_privacy_value_disallow_contacts (T); break; - case 0xd66b66c9: res = fetch_constructor_input_privacy_value_disallow_all (T); break; - case 0x90110467: res = fetch_constructor_input_privacy_value_disallow_users (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_privacy_value_allow_contacts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_allow_contacts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_allow_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_allow_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_allow_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_allow_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_contacts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_disallow_contacts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_disallow_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_privacy_value_disallow_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xffb62b95: res = fetch_constructor_input_sticker_set_empty (T); break; - case 0x9de7a269: res = fetch_constructor_input_sticker_set_i_d (T); break; - case 0x861cc8a0: res = fetch_constructor_input_sticker_set_short_name (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_sticker_set (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_sticker_set_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_sticker_set_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_sticker_set_i_d (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_sticker_set_i_d (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_sticker_set_short_name (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_sticker_set_short_name (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_user (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb98886cf: res = fetch_constructor_input_user_empty (T); break; - case 0xf7c1b13f: res = fetch_constructor_input_user_self (T); break; - case 0x86e94f65: res = fetch_constructor_input_user_contact (T); break; - case 0x655e74ff: res = fetch_constructor_input_user_foreign (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_user_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_user_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_self (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_user_self (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_user_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_foreign (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_user_foreign (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_input_video (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5508ec75: res = fetch_constructor_input_video_empty (T); break; - case 0xee579652: res = fetch_constructor_input_video (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_input_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_video_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_video_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_int (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa8509bda: res = fetch_constructor_int (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_int (struct paramed_type *T) { - if (fetch_constructor_int (T) >= 0) { return 0; } - return -1; -} -int fetch_type_int128 (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x7d36c439: res = fetch_constructor_int128 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_int128 (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_int128 (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_int256 (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf2c798b3: res = fetch_constructor_int256 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_int256 (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_int256 (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_keyboard_button (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa2fa4880: res = fetch_constructor_keyboard_button (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_keyboard_button (struct paramed_type *T) { - if (fetch_constructor_keyboard_button (T) >= 0) { return 0; } - return -1; -} -int fetch_type_keyboard_button_row (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x77608b83: res = fetch_constructor_keyboard_button_row (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_keyboard_button_row (struct paramed_type *T) { - if (fetch_constructor_keyboard_button_row (T) >= 0) { return 0; } - return -1; -} -int fetch_type_long (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x22076cba: res = fetch_constructor_long (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_long (struct paramed_type *T) { - if (fetch_constructor_long (T) >= 0) { return 0; } - return -1; -} -int fetch_type_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x83e5de54: res = fetch_constructor_message_empty (T); break; - case 0xc3060325: res = fetch_constructor_message (T); break; - case 0x1d86f70e: res = fetch_constructor_message_service (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_message_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_service (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_service (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb6aef7b0: res = fetch_constructor_message_action_empty (T); break; - case 0xa6638b9a: res = fetch_constructor_message_action_chat_create (T); break; - case 0xb5a1ce5a: res = fetch_constructor_message_action_chat_edit_title (T); break; - case 0x7fcb13a8: res = fetch_constructor_message_action_chat_edit_photo (T); break; - case 0x95e3fbef: res = fetch_constructor_message_action_chat_delete_photo (T); break; - case 0x5e3cfc4b: res = fetch_constructor_message_action_chat_add_user (T); break; - case 0xb2ae9b0c: res = fetch_constructor_message_action_chat_delete_user (T); break; - case 0x6f038ebc: res = fetch_constructor_message_action_geo_chat_create (T); break; - case 0x0c7d53de: res = fetch_constructor_message_action_geo_chat_checkin (T); break; - case 0xf89cf5e8: res = fetch_constructor_message_action_chat_joined_by_link (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_message_action_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_create (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_create (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_edit_title (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_edit_title (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_edit_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_edit_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_delete_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_delete_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_add_user (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_add_user (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_delete_user (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_delete_user (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_geo_chat_create (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_geo_chat_create (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_geo_chat_checkin (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_geo_chat_checkin (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_joined_by_link (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_action_chat_joined_by_link (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_message_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3ded6320: res = fetch_constructor_message_media_empty (T); break; - case 0x3d8ce53d: res = fetch_constructor_message_media_photo (T); break; - case 0x5bcf1675: res = fetch_constructor_message_media_video (T); break; - case 0x56e0d474: res = fetch_constructor_message_media_geo (T); break; - case 0x5e7d2f39: res = fetch_constructor_message_media_contact (T); break; - case 0x9f84f49e: res = fetch_constructor_message_media_unsupported (T); break; - case 0x2fda2204: res = fetch_constructor_message_media_document (T); break; - case 0xc6b68300: res = fetch_constructor_message_media_audio (T); break; - case 0xa32dd600: res = fetch_constructor_message_media_web_page (T); break; - case 0x7912b71f: res = fetch_constructor_message_media_venue (T); break; - case 0xc8c45a2a: res = fetch_constructor_message_media_photo_l27 (T); break; - case 0xa2d24290: res = fetch_constructor_message_media_video_l27 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_message_media_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_geo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_geo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_contact (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_contact (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_unsupported (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_unsupported (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_web_page (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_web_page (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_venue (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_venue (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_photo_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_photo_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_video_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_message_media_video_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_filter (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x57e2f66c: res = fetch_constructor_input_messages_filter_empty (T); break; - case 0x9609a51c: res = fetch_constructor_input_messages_filter_photos (T); break; - case 0x9fc00e65: res = fetch_constructor_input_messages_filter_video (T); break; - case 0x56e9f0e4: res = fetch_constructor_input_messages_filter_photo_video (T); break; - case 0xd95e73bb: res = fetch_constructor_input_messages_filter_photo_video_documents (T); break; - case 0x9eddf188: res = fetch_constructor_input_messages_filter_document (T); break; - case 0xcfc87522: res = fetch_constructor_input_messages_filter_audio (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_filter (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_input_messages_filter_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photos (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_photos (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photo_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_photo_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photo_video_documents (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_photo_video_documents (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_document (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_document (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_audio (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_input_messages_filter_audio (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_nearest_dc (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x8e1a1775: res = fetch_constructor_nearest_dc (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_nearest_dc (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_nearest_dc (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_notify_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x9fd40bd8: res = fetch_constructor_notify_peer (T); break; - case 0xb4c83b4c: res = fetch_constructor_notify_users (T); break; - case 0xc007cec3: res = fetch_constructor_notify_chats (T); break; - case 0x74d07c60: res = fetch_constructor_notify_all (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_notify_peer (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_notify_peer (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_notify_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_chats (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_notify_chats (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_notify_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_null (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x56730bcc: res = fetch_constructor_null (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_null (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_null (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_p_q_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x83c95aec: res = fetch_constructor_p_q_inner_data (T); break; - case 0x3c6a84d4: res = fetch_constructor_p_q_inner_data_temp (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_p_q_inner_data (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_p_q_inner_data (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_p_q_inner_data (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_p_q_inner_data_temp (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_p_q_inner_data_temp (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x9db1bc6d: res = fetch_constructor_peer_user (T); break; - case 0xbad0e5bb: res = fetch_constructor_peer_chat (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_peer_user (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_user (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_chat (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_chat (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_peer_notify_events (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xadd53cb3: res = fetch_constructor_peer_notify_events_empty (T); break; - case 0x6d1ded88: res = fetch_constructor_peer_notify_events_all (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_peer_notify_events_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_notify_events_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_notify_events_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_notify_events_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_peer_notify_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x70a68512: res = fetch_constructor_peer_notify_settings_empty (T); break; - case 0x8d5e11ee: res = fetch_constructor_peer_notify_settings (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_peer_notify_settings (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_peer_notify_settings_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_notify_settings_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_notify_settings (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_peer_notify_settings (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x2331b22d: res = fetch_constructor_photo_empty (T); break; - case 0xc3838076: res = fetch_constructor_photo (T); break; - case 0x22b56751: res = fetch_constructor_photo_l27 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_photo_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_photo_size (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0e17e23c: res = fetch_constructor_photo_size_empty (T); break; - case 0x77bfb61b: res = fetch_constructor_photo_size (T); break; - case 0xe9a734fa: res = fetch_constructor_photo_cached_size (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_photo_size (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_photo_size_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo_size_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_size (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo_size (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_cached_size (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photo_cached_size (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_privacy_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xbc2eab30: res = fetch_constructor_privacy_key_status_timestamp (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_privacy_key (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_privacy_key_status_timestamp (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_privacy_rule (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xfffe1bac: res = fetch_constructor_privacy_value_allow_contacts (T); break; - case 0x65427b82: res = fetch_constructor_privacy_value_allow_all (T); break; - case 0x4d5bbe0c: res = fetch_constructor_privacy_value_allow_users (T); break; - case 0xf888fa1a: res = fetch_constructor_privacy_value_disallow_contacts (T); break; - case 0x8b73e763: res = fetch_constructor_privacy_value_disallow_all (T); break; - case 0x0c7f49b7: res = fetch_constructor_privacy_value_disallow_users (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_privacy_value_allow_contacts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_allow_contacts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_allow_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_allow_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_allow_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_allow_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_contacts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_disallow_contacts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_all (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_disallow_all (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_users (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_privacy_value_disallow_users (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_received_notify_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa384b779: res = fetch_constructor_received_notify_message (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_received_notify_message (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_received_notify_message (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_reply_markup (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa03e5b85: res = fetch_constructor_reply_keyboard_hide (T); break; - case 0xf4108aa0: res = fetch_constructor_reply_keyboard_force_reply (T); break; - case 0x3502758c: res = fetch_constructor_reply_keyboard_markup (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_reply_markup (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_reply_keyboard_hide (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_reply_keyboard_hide (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_reply_keyboard_force_reply (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_reply_keyboard_force_reply (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_reply_keyboard_markup (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_reply_keyboard_markup (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_res_p_q (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x05162463: res = fetch_constructor_res_p_q (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_res_p_q (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_res_p_q (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_send_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x16bf744e: res = fetch_constructor_send_message_typing_action (T); break; - case 0xfd5ec8f5: res = fetch_constructor_send_message_cancel_action (T); break; - case 0xa187d66f: res = fetch_constructor_send_message_record_video_action (T); break; - case 0x92042ff7: res = fetch_constructor_send_message_upload_video_action_l27 (T); break; - case 0xe9763aec: res = fetch_constructor_send_message_upload_video_action (T); break; - case 0xd52f73f7: res = fetch_constructor_send_message_record_audio_action (T); break; - case 0xe6ac8a6f: res = fetch_constructor_send_message_upload_audio_action_l27 (T); break; - case 0xf351d7ab: res = fetch_constructor_send_message_upload_audio_action (T); break; - case 0xd1d34a26: res = fetch_constructor_send_message_upload_photo_action (T); break; - case 0x8faee98e: res = fetch_constructor_send_message_upload_document_action_l27 (T); break; - case 0xaa0cd9e4: res = fetch_constructor_send_message_upload_document_action (T); break; - case 0x176f8ba1: res = fetch_constructor_send_message_geo_location_action (T); break; - case 0x628cbc6f: res = fetch_constructor_send_message_choose_contact_action (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_send_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_send_message_typing_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_typing_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_cancel_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_cancel_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_record_video_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_record_video_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_video_action_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_video_action_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_video_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_video_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_record_audio_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_record_audio_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_audio_action_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_audio_action_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_audio_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_audio_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_photo_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_photo_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_document_action_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_document_action_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_document_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_upload_document_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_geo_location_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_geo_location_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_choose_contact_action (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_send_message_choose_contact_action (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_server_d_h_params (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x79cb045d: res = fetch_constructor_server_d_h_params_fail (T); break; - case 0xd0e8075c: res = fetch_constructor_server_d_h_params_ok (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_server_d_h_params (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_server_d_h_params_fail (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_server_d_h_params_fail (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_server_d_h_params_ok (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_server_d_h_params_ok (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_server_d_h_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb5890dba: res = fetch_constructor_server_d_h_inner_data (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_server_d_h_inner_data (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_server_d_h_inner_data (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_set_client_d_h_params_answer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3bcbf734: res = fetch_constructor_dh_gen_ok (T); break; - case 0x46dc1fb9: res = fetch_constructor_dh_gen_retry (T); break; - case 0xa69dae02: res = fetch_constructor_dh_gen_fail (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_set_client_d_h_params_answer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_dh_gen_ok (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_dh_gen_ok (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dh_gen_retry (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_dh_gen_retry (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dh_gen_fail (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_dh_gen_fail (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_sticker_pack (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x12b299d4: res = fetch_constructor_sticker_pack (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_sticker_pack (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_sticker_pack (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa7a43b17: res = fetch_constructor_sticker_set (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_sticker_set (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_sticker_set (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_string (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb5286e24: res = fetch_constructor_string (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_string (struct paramed_type *T) { - if (fetch_constructor_string (T) >= 0) { return 0; } - return -1; -} -int fetch_type_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1f2b0afd: res = fetch_constructor_update_new_message (T); break; - case 0x4e90bfd6: res = fetch_constructor_update_message_i_d (T); break; - case 0xa20db0e5: res = fetch_constructor_update_delete_messages (T); break; - case 0x5c486927: res = fetch_constructor_update_user_typing (T); break; - case 0x9a65ea1f: res = fetch_constructor_update_chat_user_typing (T); break; - case 0x07761198: res = fetch_constructor_update_chat_participants (T); break; - case 0x1bfbd823: res = fetch_constructor_update_user_status (T); break; - case 0xa7332b73: res = fetch_constructor_update_user_name (T); break; - case 0x95313b0c: res = fetch_constructor_update_user_photo (T); break; - case 0x2575bbb9: res = fetch_constructor_update_contact_registered (T); break; - case 0x9d2e67c5: res = fetch_constructor_update_contact_link (T); break; - case 0x8f06529a: res = fetch_constructor_update_new_authorization (T); break; - case 0x5a68e3f7: res = fetch_constructor_update_new_geo_chat_message (T); break; - case 0x12bcbd9a: res = fetch_constructor_update_new_encrypted_message (T); break; - case 0x1710f156: res = fetch_constructor_update_encrypted_chat_typing (T); break; - case 0xb4a2e88d: res = fetch_constructor_update_encryption (T); break; - case 0x38fe25b7: res = fetch_constructor_update_encrypted_messages_read (T); break; - case 0x3a0eeb22: res = fetch_constructor_update_chat_participant_add (T); break; - case 0x6e5f8c22: res = fetch_constructor_update_chat_participant_delete (T); break; - case 0x8e5e9873: res = fetch_constructor_update_dc_options (T); break; - case 0x80ece81a: res = fetch_constructor_update_user_blocked (T); break; - case 0xbec268ef: res = fetch_constructor_update_notify_settings (T); break; - case 0x382dd3e4: res = fetch_constructor_update_service_notification (T); break; - case 0xee3b272a: res = fetch_constructor_update_privacy (T); break; - case 0x12b9417b: res = fetch_constructor_update_user_phone (T); break; - case 0x9961fd5c: res = fetch_constructor_update_read_history_inbox (T); break; - case 0x2f2f21bf: res = fetch_constructor_update_read_history_outbox (T); break; - case 0x2cc36971: res = fetch_constructor_update_web_page (T); break; - case 0x68c13933: res = fetch_constructor_update_read_messages_contents (T); break; - case 0x03114739: res = fetch_constructor_update_msg_update (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_update_new_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_new_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_message_i_d (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_message_i_d (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_delete_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_delete_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_typing (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_typing (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_user_typing (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_chat_user_typing (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participants (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_chat_participants (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_status (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_status (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_name (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_name (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_contact_registered (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_contact_registered (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_contact_link (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_contact_link (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_authorization (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_new_authorization (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_geo_chat_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_new_geo_chat_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_new_encrypted_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encrypted_chat_typing (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_encrypted_chat_typing (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encryption (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_encryption (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encrypted_messages_read (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_encrypted_messages_read (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participant_add (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_chat_participant_add (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participant_delete (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_chat_participant_delete (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_dc_options (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_dc_options (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_blocked (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_blocked (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_notify_settings (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_notify_settings (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_service_notification (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_service_notification (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_privacy (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_privacy (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_phone (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_user_phone (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_history_inbox (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_read_history_inbox (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_history_outbox (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_read_history_outbox (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_web_page (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_web_page (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_messages_contents (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_read_messages_contents (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_msg_update (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_msg_update (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_updates (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xe317af7e: res = fetch_constructor_updates_too_long (T); break; - case 0xed5c2127: res = fetch_constructor_update_short_message (T); break; - case 0x52238b3c: res = fetch_constructor_update_short_chat_message (T); break; - case 0x78d4dec1: res = fetch_constructor_update_short (T); break; - case 0x725b04c3: res = fetch_constructor_updates_combined (T); break; - case 0x74ae4240: res = fetch_constructor_updates (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_updates (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_updates_too_long (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates_too_long (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_short_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short_chat_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_short_chat_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_update_short (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_combined (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates_combined (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_user (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x200250ba: res = fetch_constructor_user_empty (T); break; - case 0x22e49072: res = fetch_constructor_user (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_user_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_user_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5a89ac5b: res = fetch_constructor_user_full (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_user_full (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_user_full (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_user_profile_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x4f11bae1: res = fetch_constructor_user_profile_photo_empty (T); break; - case 0xd559d8c8: res = fetch_constructor_user_profile_photo (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_user_profile_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_user_profile_photo_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_profile_photo_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_profile_photo (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_profile_photo (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_user_status (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x09d05049: res = fetch_constructor_user_status_empty (T); break; - case 0xedb93949: res = fetch_constructor_user_status_online (T); break; - case 0x008c703f: res = fetch_constructor_user_status_offline (T); break; - case 0xe26f42f1: res = fetch_constructor_user_status_recently (T); break; - case 0x07bf09fc: res = fetch_constructor_user_status_last_week (T); break; - case 0x77ebc742: res = fetch_constructor_user_status_last_month (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_user_status (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_user_status_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_online (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_online (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_offline (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_offline (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_recently (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_recently (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_last_week (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_last_week (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_last_month (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_user_status_last_month (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_vector (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1cb5c415: res = fetch_constructor_vector (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_vector (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_vector (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_video (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc10658a8: res = fetch_constructor_video_empty (T); break; - case 0xee9f4a4d: res = fetch_constructor_video (T); break; - case 0x388fa391: res = fetch_constructor_video_l27 (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_video_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_video_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_video (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_video (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_video_l27 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_video_l27 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_wall_paper (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xccb03657: res = fetch_constructor_wall_paper (T); break; - case 0x63117f24: res = fetch_constructor_wall_paper_solid (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_wall_paper (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_wall_paper (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_wall_paper (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_wall_paper_solid (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_wall_paper_solid (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_web_page (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xeb1477e8: res = fetch_constructor_web_page_empty (T); break; - case 0xc586da1c: res = fetch_constructor_web_page_pending (T); break; - case 0xa31ea0b5: res = fetch_constructor_web_page (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_web_page (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_web_page_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_web_page_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_web_page_pending (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_web_page_pending (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_web_page (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_web_page (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_account_authorizations (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1250abde: res = fetch_constructor_account_authorizations (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_account_authorizations (struct paramed_type *T) { - if (fetch_constructor_account_authorizations (T) >= 0) { return 0; } - return -1; -} -int fetch_type_account_password (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x96dabc18: res = fetch_constructor_account_no_password (T); break; - case 0x7c18141c: res = fetch_constructor_account_password (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_account_password (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_account_no_password (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_account_no_password (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_account_password (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_account_password (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_account_password_input_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xbcfc532c: res = fetch_constructor_account_password_input_settings (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_account_password_input_settings (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_account_password_input_settings (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_account_password_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb7b72ab3: res = fetch_constructor_account_password_settings (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_account_password_settings (struct paramed_type *T) { - if (fetch_constructor_account_password_settings (T) >= 0) { return 0; } - return -1; -} -int fetch_type_account_privacy_rules (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x554abb6f: res = fetch_constructor_account_privacy_rules (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_account_privacy_rules (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_account_privacy_rules (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_account_sent_change_phone_code (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa4f58c4c: res = fetch_constructor_account_sent_change_phone_code (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_account_sent_change_phone_code (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_account_sent_change_phone_code (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_auth_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xff036af1: res = fetch_constructor_auth_authorization (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_auth_authorization (struct paramed_type *T) { - if (fetch_constructor_auth_authorization (T) >= 0) { return 0; } - return -1; -} -int fetch_type_auth_checked_phone (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x811ea28e: res = fetch_constructor_auth_checked_phone (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_auth_checked_phone (struct paramed_type *T) { - if (fetch_constructor_auth_checked_phone (T) >= 0) { return 0; } - return -1; -} -int fetch_type_auth_exported_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xdf969c2d: res = fetch_constructor_auth_exported_authorization (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_auth_exported_authorization (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_auth_exported_authorization (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_auth_password_recovery (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x137948a5: res = fetch_constructor_auth_password_recovery (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_auth_password_recovery (struct paramed_type *T) { - if (fetch_constructor_auth_password_recovery (T) >= 0) { return 0; } - return -1; -} -int fetch_type_auth_sent_code (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xefed51d9: res = fetch_constructor_auth_sent_code (T); break; - case 0xe325edcf: res = fetch_constructor_auth_sent_app_code (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_auth_sent_code (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_auth_sent_code (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_auth_sent_code (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_auth_sent_app_code (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_auth_sent_app_code (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_binlog_encr_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0377168f: res = fetch_constructor_binlog_encr_key (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_binlog_encr_key (struct paramed_type *T) { - if (fetch_constructor_binlog_encr_key (T) >= 0) { return 0; } - return -1; -} -int fetch_type_binlog_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3b06de69: res = fetch_constructor_binlog_start (T); break; - case 0xf96feb32: res = fetch_constructor_binlog_dc_option (T); break; - case 0x7c0d22d8: res = fetch_constructor_binlog_dc_option_new (T); break; - case 0x71e8c156: res = fetch_constructor_binlog_auth_key (T); break; - case 0x9e83dbdc: res = fetch_constructor_binlog_default_dc (T); break; - case 0x26451bb5: res = fetch_constructor_binlog_dc_signed (T); break; - case 0x68a870e8: res = fetch_constructor_binlog_our_id (T); break; - case 0xeaeb7826: res = fetch_constructor_binlog_set_dh_params (T); break; - case 0x2ca8c939: res = fetch_constructor_binlog_set_pts (T); break; - case 0xd95738ac: res = fetch_constructor_binlog_set_qts (T); break; - case 0x1d0f4b52: res = fetch_constructor_binlog_set_date (T); break; - case 0x6eeb2989: res = fetch_constructor_binlog_set_seq (T); break; - case 0xee1b38e8: res = fetch_constructor_binlog_encr_chat_delete (T); break; - case 0x84977251: res = fetch_constructor_binlog_encr_chat_new (T); break; - case 0x9d49488d: res = fetch_constructor_binlog_encr_chat_exchange_new (T); break; - case 0xac55d447: res = fetch_constructor_binlog_user_delete (T); break; - case 0x127cf2f9: res = fetch_constructor_binlog_user_new (T); break; - case 0x0a10aa92: res = fetch_constructor_binlog_chat_new (T); break; - case 0x535475ea: res = fetch_constructor_binlog_chat_add_participant (T); break; - case 0x7dd1a1a2: res = fetch_constructor_binlog_chat_del_participant (T); break; - case 0x3c873416: res = fetch_constructor_binlog_set_msg_id (T); break; - case 0x847e77b1: res = fetch_constructor_binlog_message_delete (T); break; - case 0x427cfcdb: res = fetch_constructor_binlog_message_new (T); break; - case 0x6cf7cabc: res = fetch_constructor_binlog_message_encr_new (T); break; - case 0x6dd4d85f: res = fetch_constructor_binlog_msg_update (T); break; - case 0x83327955: res = fetch_constructor_binlog_reset_authorization (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_binlog_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_binlog_start (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_start (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_option (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_dc_option (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_option_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_dc_option_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_auth_key (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_auth_key (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_default_dc (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_default_dc (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_signed (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_dc_signed (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_our_id (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_our_id (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_dh_params (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_dh_params (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_pts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_pts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_qts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_qts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_date (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_date (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_seq (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_seq (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_delete (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_encr_chat_delete (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_encr_chat_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_exchange_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_encr_chat_exchange_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_user_delete (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_user_delete (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_user_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_user_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_chat_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_add_participant (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_chat_add_participant (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_del_participant (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_chat_del_participant (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_msg_id (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_set_msg_id (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_delete (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_message_delete (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_message_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_encr_new (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_message_encr_new (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_msg_update (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_msg_update (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_reset_authorization (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_binlog_reset_authorization (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_contacts_blocked (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x1c138d15: res = fetch_constructor_contacts_blocked (T); break; - case 0x900802a1: res = fetch_constructor_contacts_blocked_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_blocked (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_contacts_blocked (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contacts_blocked (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contacts_blocked_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contacts_blocked_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_contacts_contacts (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb74ba9d2: res = fetch_constructor_contacts_contacts_not_modified (T); break; - case 0x6f8b8cb2: res = fetch_constructor_contacts_contacts (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_contacts (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_contacts_contacts_not_modified (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contacts_contacts_not_modified (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contacts_contacts (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_contacts_contacts (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_contacts_found (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x0566000e: res = fetch_constructor_contacts_found (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_found (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contacts_found (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contacts_imported_contacts (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xad524315: res = fetch_constructor_contacts_imported_contacts (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_imported_contacts (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contacts_imported_contacts (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contacts_link (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3ace484c: res = fetch_constructor_contacts_link (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_link (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contacts_link (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_contacts_suggested (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5649dcc5: res = fetch_constructor_contacts_suggested (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_contacts_suggested (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_contacts_suggested (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_geochats_located (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x48feb267: res = fetch_constructor_geochats_located (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_geochats_located (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_geochats_located (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_geochats_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xd1526db1: res = fetch_constructor_geochats_messages (T); break; - case 0xbc5863e8: res = fetch_constructor_geochats_messages_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_geochats_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_geochats_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geochats_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geochats_messages_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_geochats_messages_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_geochats_stated_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x17b1578b: res = fetch_constructor_geochats_stated_message (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_geochats_stated_message (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_geochats_stated_message (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_help_app_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x8987f311: res = fetch_constructor_help_app_update (T); break; - case 0xc45a6536: res = fetch_constructor_help_no_app_update (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_help_app_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_help_app_update (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_help_app_update (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_help_no_app_update (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_help_no_app_update (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_help_invite_text (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x18cb9f78: res = fetch_constructor_help_invite_text (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_help_invite_text (struct paramed_type *T) { - if (fetch_constructor_help_invite_text (T) >= 0) { return 0; } - return -1; -} -int fetch_type_help_support (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x17c6b5f6: res = fetch_constructor_help_support (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_help_support (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_help_support (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_affected_history (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb45c69d1: res = fetch_constructor_messages_affected_history (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_affected_history (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_messages_affected_history (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_affected_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x84d19185: res = fetch_constructor_messages_affected_messages (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_affected_messages (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_messages_affected_messages (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_all_stickers (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xe86602c3: res = fetch_constructor_messages_all_stickers_not_modified (T); break; - case 0x5ce352ec: res = fetch_constructor_messages_all_stickers (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_all_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_all_stickers_not_modified (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_all_stickers_not_modified (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_all_stickers (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_all_stickers (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_chat_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xe5d7d19c: res = fetch_constructor_messages_chat_full (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_chat_full (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_messages_chat_full (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_chats (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x64ff9fd5: res = fetch_constructor_messages_chats (T); break; - default: return -1; - } - return res; -} -int fetch_type_bare_messages_chats (struct paramed_type *T) { - if (fetch_constructor_messages_chats (T) >= 0) { return 0; } - return -1; -} -int fetch_type_messages_dh_config (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xc0e24635: res = fetch_constructor_messages_dh_config_not_modified (T); break; - case 0x2c221edd: res = fetch_constructor_messages_dh_config (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_dh_config (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_dh_config_not_modified (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_dh_config_not_modified (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_dh_config (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_dh_config (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_dialogs (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x15ba6c40: res = fetch_constructor_messages_dialogs (T); break; - case 0x71e094f3: res = fetch_constructor_messages_dialogs_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_dialogs (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_dialogs (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_dialogs (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_dialogs_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_dialogs_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x3f4e0648: res = fetch_constructor_messages_message_empty (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_message (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_messages_message_empty (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x8c718e87: res = fetch_constructor_messages_messages (T); break; - case 0x0b446ae3: res = fetch_constructor_messages_messages_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_messages (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_messages (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_messages_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_messages_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_sent_encrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x560f8935: res = fetch_constructor_messages_sent_encrypted_message (T); break; - case 0x9493ff32: res = fetch_constructor_messages_sent_encrypted_file (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_sent_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_sent_encrypted_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_sent_encrypted_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_sent_encrypted_file (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_sent_encrypted_file (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_sent_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x4c3d47f3: res = fetch_constructor_messages_sent_message (T); break; - case 0x35a1a663: res = fetch_constructor_messages_sent_message_link (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_sent_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_sent_message (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_sent_message (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_sent_message_link (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_sent_message_link (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_messages_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xb60a24a6: res = fetch_constructor_messages_sticker_set (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_sticker_set (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_messages_sticker_set (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_messages_stickers (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xf1749a22: res = fetch_constructor_messages_stickers_not_modified (T); break; - case 0x8a8ecd32: res = fetch_constructor_messages_stickers (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_messages_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_messages_stickers_not_modified (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_stickers_not_modified (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_stickers (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_messages_stickers (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_photos_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x20212ca8: res = fetch_constructor_photos_photo (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_photos_photo (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_photos_photo (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_photos_photos (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x8dca6aa5: res = fetch_constructor_photos_photos (T); break; - case 0x15051f54: res = fetch_constructor_photos_photos_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_photos_photos (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_photos_photos (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photos_photos (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photos_photos_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_photos_photos_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_storage_file_type (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xaa963b05: res = fetch_constructor_storage_file_unknown (T); break; - case 0x007efe0e: res = fetch_constructor_storage_file_jpeg (T); break; - case 0xcae1aadf: res = fetch_constructor_storage_file_gif (T); break; - case 0x0a4f63c0: res = fetch_constructor_storage_file_png (T); break; - case 0xae1e508d: res = fetch_constructor_storage_file_pdf (T); break; - case 0x528a0677: res = fetch_constructor_storage_file_mp3 (T); break; - case 0x4b09ebbc: res = fetch_constructor_storage_file_mov (T); break; - case 0x40bc6f52: res = fetch_constructor_storage_file_partial (T); break; - case 0xb3cea0e4: res = fetch_constructor_storage_file_mp4 (T); break; - case 0x1081464c: res = fetch_constructor_storage_file_webp (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_storage_file_type (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_storage_file_unknown (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_unknown (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_jpeg (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_jpeg (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_gif (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_gif (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_png (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_png (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_pdf (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_pdf (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mp3 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_mp3 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mov (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_mov (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_partial (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_partial (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mp4 (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_mp4 (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_webp (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_storage_file_webp (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_updates_difference (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x5d75a138: res = fetch_constructor_updates_difference_empty (T); break; - case 0x00f49ca0: res = fetch_constructor_updates_difference (T); break; - case 0xa8fb1981: res = fetch_constructor_updates_difference_slice (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_updates_difference (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - if (skip_constructor_updates_difference_empty (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates_difference_empty (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_difference (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates_difference (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_difference_slice (T) >= 0) { in_ptr = save_in_ptr; eprintf (" ("); assert (!fetch_constructor_updates_difference_slice (T)); if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - in_ptr = save_in_ptr; - return -1; -} -int fetch_type_updates_state (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0xa56c2a3e: res = fetch_constructor_updates_state (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_updates_state (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_updates_state (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_upload_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - int magic = fetch_int (); - int res = -1; - switch (magic) { - case 0x096a18d5: res = fetch_constructor_upload_file (T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int fetch_type_bare_upload_file (struct paramed_type *T) { - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - if (fetch_constructor_upload_file (T) >= 0) { if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } eprintf (" )");return 0; } - return -1; -} -int fetch_type_any (struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return fetch_type_account_days_t_t_l (T); - case 0x472f5020: return fetch_type_bare_account_days_t_t_l (T); - case 0x9fc5ec4e: return fetch_type_audio (T); - case 0x603a13b1: return fetch_type_bare_audio (T); - case 0x7bf2e6f6: return fetch_type_authorization (T); - case 0x840d1909: return fetch_type_bare_authorization (T); - case 0x250be282: return fetch_type_bool (T); - case 0xdaf41d7d: return fetch_type_bare_bool (T); - case 0x75e7ea6c: return fetch_type_bot_command (T); - case 0x8a181593: return fetch_type_bare_bot_command (T); - case 0xb2e16f93: return fetch_type_bot_info (T); - case 0x4d1e906c: return fetch_type_bare_bot_info (T); - case 0x0ee1379f: return fetch_type_bytes (T); - case 0xf11ec860: return fetch_type_bare_bytes (T); - case 0x7bd865dc: return fetch_type_chat (T); - case 0x84279a23: return fetch_type_bare_chat (T); - case 0x2e02a614: return fetch_type_chat_full (T); - case 0xd1fd59eb: return fetch_type_bare_chat_full (T); - case 0x94f910b1: return fetch_type_chat_invite (T); - case 0x6b06ef4e: return fetch_type_bare_chat_invite (T); - case 0x3631cf4c: return fetch_type_chat_located (T); - case 0xc9ce30b3: return fetch_type_bare_chat_located (T); - case 0xc8d7493e: return fetch_type_chat_participant (T); - case 0x3728b6c1: return fetch_type_bare_chat_participant (T); - case 0x77930f9f: return fetch_type_chat_participants (T); - case 0x886cf060: return fetch_type_bare_chat_participants (T); - case 0x56922676: return fetch_type_chat_photo (T); - case 0xa96dd989: return fetch_type_bare_chat_photo (T); - case 0x6643b654: return fetch_type_client_d_h_inner_data (T); - case 0x99bc49ab: return fetch_type_bare_client_d_h_inner_data (T); - case 0x4e32b894: return fetch_type_config (T); - case 0xb1cd476b: return fetch_type_bare_config (T); - case 0xf911c994: return fetch_type_contact (T); - case 0x06ee366b: return fetch_type_bare_contact (T); - case 0x561bc879: return fetch_type_contact_blocked (T); - case 0xa9e43786: return fetch_type_bare_contact_blocked (T); - case 0xea879f95: return fetch_type_contact_found (T); - case 0x1578606a: return fetch_type_bare_contact_found (T); - case 0x522fbc63: return fetch_type_contact_link (T); - case 0xadd0439c: return fetch_type_bare_contact_link (T); - case 0xd3680c61: return fetch_type_contact_status (T); - case 0x2c97f39e: return fetch_type_bare_contact_status (T); - case 0x3de191a1: return fetch_type_contact_suggested (T); - case 0xc21e6e5e: return fetch_type_bare_contact_suggested (T); - case 0x2b1a62f0: return fetch_type_dc_option (T); - case 0xd4e59d0f: return fetch_type_bare_dc_option (T); - case 0x535b7918: return fetch_type_decrypted_message (T); - case 0xaca486e7: return fetch_type_bare_decrypted_message (T); - case 0x4e0eefde: return fetch_type_decrypted_message_action (T); - case 0xb1f11021: return fetch_type_bare_decrypted_message_action (T); - case 0x1be31789: return fetch_type_decrypted_message_layer (T); - case 0xe41ce876: return fetch_type_bare_decrypted_message_layer (T); - case 0x34e0d674: return fetch_type_decrypted_message_media (T); - case 0xcb1f298b: return fetch_type_bare_decrypted_message_media (T); - case 0xc1dd804a: return fetch_type_dialog (T); - case 0x3e227fb5: return fetch_type_bare_dialog (T); - case 0xae636f24: return fetch_type_disabled_feature (T); - case 0x519c90db: return fetch_type_bare_disabled_feature (T); - case 0x51a73418: return fetch_type_document (T); - case 0xae58cbe7: return fetch_type_bare_document (T); - case 0x97c637a3: return fetch_type_document_attribute (T); - case 0x6839c85c: return fetch_type_bare_document_attribute (T); - case 0x2210c154: return fetch_type_double (T); - case 0xddef3eab: return fetch_type_bare_double (T); - case 0xb1718213: return fetch_type_encrypted_chat (T); - case 0x4e8e7dec: return fetch_type_bare_encrypted_chat (T); - case 0x886fd032: return fetch_type_encrypted_file (T); - case 0x77902fcd: return fetch_type_bare_encrypted_file (T); - case 0xce6b8a1e: return fetch_type_encrypted_message (T); - case 0x319475e1: return fetch_type_bare_encrypted_message (T); - case 0xc4b9f9bb: return fetch_type_error (T); - case 0x3b460644: return fetch_type_bare_error (T); - case 0x95f132d5: return fetch_type_exported_chat_invite (T); - case 0x6a0ecd2a: return fetch_type_bare_exported_chat_invite (T); - case 0x2f8ffb30: return fetch_type_file_location (T); - case 0xd07004cf: return fetch_type_bare_file_location (T); - case 0xf67b4034: return fetch_type_geo_chat_message (T); - case 0x0984bfcb: return fetch_type_bare_geo_chat_message (T); - case 0x315e0a53: return fetch_type_geo_point (T); - case 0xcea1f5ac: return fetch_type_bare_geo_point (T); - case 0xd0028438: return fetch_type_imported_contact (T); - case 0x2ffd7bc7: return fetch_type_bare_imported_contact (T); - case 0x770656a8: return fetch_type_input_app_event (T); - case 0x88f9a957: return fetch_type_bare_input_app_event (T); - case 0xae8e9c7b: return fetch_type_input_audio (T); - case 0x51716384: return fetch_type_bare_input_audio (T); - case 0x3a60776d: return fetch_type_input_chat_photo (T); - case 0xc59f8892: return fetch_type_bare_input_chat_photo (T); - case 0xf392b7f4: return fetch_type_input_contact (T); - case 0x0c6d480b: return fetch_type_bare_input_contact (T); - case 0x6a8963fc: return fetch_type_input_document (T); - case 0x95769c03: return fetch_type_bare_input_document (T); - case 0xf141b5e1: return fetch_type_input_encrypted_chat (T); - case 0x0ebe4a1e: return fetch_type_bare_input_encrypted_chat (T); - case 0x0b5c064f: return fetch_type_input_encrypted_file (T); - case 0xf4a3f9b0: return fetch_type_bare_input_encrypted_file (T); - case 0x0f60f9ca: return fetch_type_input_file (T); - case 0xf09f0635: return fetch_type_bare_input_file (T); - case 0xe6daa38b: return fetch_type_input_file_location (T); - case 0x19255c74: return fetch_type_bare_input_file_location (T); - case 0x74d456fa: return fetch_type_input_geo_chat (T); - case 0x8b2ba905: return fetch_type_bare_input_geo_chat (T); - case 0x17768f1f: return fetch_type_input_geo_point (T); - case 0xe88970e0: return fetch_type_bare_input_geo_point (T); - case 0xb32c91dd: return fetch_type_input_media (T); - case 0x4cd36e22: return fetch_type_bare_input_media (T); - case 0x02b6911b: return fetch_type_input_notify_peer (T); - case 0xfd496ee4: return fetch_type_bare_input_notify_peer (T); - case 0x9e67268d: return fetch_type_input_peer (T); - case 0x6198d972: return fetch_type_bare_input_peer (T); - case 0x185a48ac: return fetch_type_input_peer_notify_events (T); - case 0xe7a5b753: return fetch_type_bare_input_peer_notify_events (T); - case 0x46a2ce98: return fetch_type_input_peer_notify_settings (T); - case 0xb95d3167: return fetch_type_bare_input_peer_notify_settings (T); - case 0xe74279c9: return fetch_type_input_photo (T); - case 0x18bd8636: return fetch_type_bare_input_photo (T); - case 0x7477e321: return fetch_type_input_photo_crop (T); - case 0x8b881cde: return fetch_type_bare_input_photo_crop (T); - case 0x4f96cb18: return fetch_type_input_privacy_key (T); - case 0xb06934e7: return fetch_type_bare_input_privacy_key (T); - case 0x4b815163: return fetch_type_input_privacy_rule (T); - case 0xb47eae9c: return fetch_type_bare_input_privacy_rule (T); - case 0xe44d415c: return fetch_type_input_sticker_set (T); - case 0x1bb2bea3: return fetch_type_bare_input_sticker_set (T); - case 0xadfe0c6a: return fetch_type_input_user (T); - case 0x5201f395: return fetch_type_bare_input_user (T); - case 0xbb5f7a27: return fetch_type_input_video (T); - case 0x44a085d8: return fetch_type_bare_input_video (T); - case 0xa8509bda: return fetch_type_int (T); - case 0x57af6425: return fetch_type_bare_int (T); - case 0x7d36c439: return fetch_type_int128 (T); - case 0x82c93bc6: return fetch_type_bare_int128 (T); - case 0xf2c798b3: return fetch_type_int256 (T); - case 0x0d38674c: return fetch_type_bare_int256 (T); - case 0xa2fa4880: return fetch_type_keyboard_button (T); - case 0x5d05b77f: return fetch_type_bare_keyboard_button (T); - case 0x77608b83: return fetch_type_keyboard_button_row (T); - case 0x889f747c: return fetch_type_bare_keyboard_button_row (T); - case 0x22076cba: return fetch_type_long (T); - case 0xddf89345: return fetch_type_bare_long (T); - case 0x5d652a7f: return fetch_type_message (T); - case 0xa29ad580: return fetch_type_bare_message (T); - case 0x383415fa: return fetch_type_message_action (T); - case 0xc7cbea05: return fetch_type_bare_message_action (T); - case 0x95f2471a: return fetch_type_message_media (T); - case 0x6a0db8e5: return fetch_type_bare_message_media (T); - case 0x80895ae0: return fetch_type_messages_filter (T); - case 0x7f76a51f: return fetch_type_bare_messages_filter (T); - case 0x8e1a1775: return fetch_type_nearest_dc (T); - case 0x71e5e88a: return fetch_type_bare_nearest_dc (T); - case 0x9fcb8237: return fetch_type_notify_peer (T); - case 0x60347dc8: return fetch_type_bare_notify_peer (T); - case 0x56730bcc: return fetch_type_null (T); - case 0xa98cf433: return fetch_type_bare_null (T); - case 0xbfa3de38: return fetch_type_p_q_inner_data (T); - case 0x405c21c7: return fetch_type_bare_p_q_inner_data (T); - case 0x276159d6: return fetch_type_peer (T); - case 0xd89ea629: return fetch_type_bare_peer (T); - case 0xc0c8d13b: return fetch_type_peer_notify_events (T); - case 0x3f372ec4: return fetch_type_bare_peer_notify_events (T); - case 0xfdf894fc: return fetch_type_peer_notify_settings (T); - case 0x02076b03: return fetch_type_bare_peer_notify_settings (T); - case 0xc207550a: return fetch_type_photo (T); - case 0x3df8aaf5: return fetch_type_bare_photo (T); - case 0x900f60dd: return fetch_type_photo_size (T); - case 0x6ff09f22: return fetch_type_bare_photo_size (T); - case 0xbc2eab30: return fetch_type_privacy_key (T); - case 0x43d154cf: return fetch_type_bare_privacy_key (T); - case 0xa8638aec: return fetch_type_privacy_rule (T); - case 0x579c7513: return fetch_type_bare_privacy_rule (T); - case 0xa384b779: return fetch_type_received_notify_message (T); - case 0x5c7b4886: return fetch_type_bare_received_notify_message (T); - case 0x612ca4a9: return fetch_type_reply_markup (T); - case 0x9ed35b56: return fetch_type_bare_reply_markup (T); - case 0x05162463: return fetch_type_res_p_q (T); - case 0xfae9db9c: return fetch_type_bare_res_p_q (T); - case 0x70541c7e: return fetch_type_send_message_action (T); - case 0x8fabe381: return fetch_type_bare_send_message_action (T); - case 0xa9230301: return fetch_type_server_d_h_params (T); - case 0x56dcfcfe: return fetch_type_bare_server_d_h_params (T); - case 0xb5890dba: return fetch_type_server_d_h_inner_data (T); - case 0x4a76f245: return fetch_type_bare_server_d_h_inner_data (T); - case 0xdb8a468f: return fetch_type_set_client_d_h_params_answer (T); - case 0x2475b970: return fetch_type_bare_set_client_d_h_params_answer (T); - case 0x12b299d4: return fetch_type_sticker_pack (T); - case 0xed4d662b: return fetch_type_bare_sticker_pack (T); - case 0xa7a43b17: return fetch_type_sticker_set (T); - case 0x585bc4e8: return fetch_type_bare_sticker_set (T); - case 0xb5286e24: return fetch_type_string (T); - case 0x4ad791db: return fetch_type_bare_string (T); - case 0x2e02b27e: return fetch_type_update (T); - case 0xd1fd4d81: return fetch_type_bare_update (T); - case 0x22499d27: return fetch_type_updates (T); - case 0xddb662d8: return fetch_type_bare_updates (T); - case 0x02e6c0c8: return fetch_type_user (T); - case 0xfd193f37: return fetch_type_bare_user (T); - case 0x5a89ac5b: return fetch_type_user_full (T); - case 0xa57653a4: return fetch_type_bare_user_full (T); - case 0x9a486229: return fetch_type_user_profile_photo (T); - case 0x65b79dd6: return fetch_type_bare_user_profile_photo (T); - case 0x76de9570: return fetch_type_user_status (T); - case 0x89216a8f: return fetch_type_bare_user_status (T); - case 0x1cb5c415: return fetch_type_vector (T); - case 0xe34a3bea: return fetch_type_bare_vector (T); - case 0x1716b174: return fetch_type_video (T); - case 0xe8e94e8b: return fetch_type_bare_video (T); - case 0xafa14973: return fetch_type_wall_paper (T); - case 0x505eb68c: return fetch_type_bare_wall_paper (T); - case 0x8d8c0d41: return fetch_type_web_page (T); - case 0x7273f2be: return fetch_type_bare_web_page (T); - case 0x1250abde: return fetch_type_account_authorizations (T); - case 0xedaf5421: return fetch_type_bare_account_authorizations (T); - case 0xeac2a804: return fetch_type_account_password (T); - case 0x153d57fb: return fetch_type_bare_account_password (T); - case 0xbcfc532c: return fetch_type_account_password_input_settings (T); - case 0x4303acd3: return fetch_type_bare_account_password_input_settings (T); - case 0xb7b72ab3: return fetch_type_account_password_settings (T); - case 0x4848d54c: return fetch_type_bare_account_password_settings (T); - case 0x554abb6f: return fetch_type_account_privacy_rules (T); - case 0xaab54490: return fetch_type_bare_account_privacy_rules (T); - case 0xa4f58c4c: return fetch_type_account_sent_change_phone_code (T); - case 0x5b0a73b3: return fetch_type_bare_account_sent_change_phone_code (T); - case 0xff036af1: return fetch_type_auth_authorization (T); - case 0x00fc950e: return fetch_type_bare_auth_authorization (T); - case 0x811ea28e: return fetch_type_auth_checked_phone (T); - case 0x7ee15d71: return fetch_type_bare_auth_checked_phone (T); - case 0xdf969c2d: return fetch_type_auth_exported_authorization (T); - case 0x206963d2: return fetch_type_bare_auth_exported_authorization (T); - case 0x137948a5: return fetch_type_auth_password_recovery (T); - case 0xec86b75a: return fetch_type_bare_auth_password_recovery (T); - case 0x0cc8bc16: return fetch_type_auth_sent_code (T); - case 0xf33743e9: return fetch_type_bare_auth_sent_code (T); - case 0x0377168f: return fetch_type_binlog_encr_key (T); - case 0xfc88e970: return fetch_type_bare_binlog_encr_key (T); - case 0x66ff03a6: return fetch_type_binlog_update (T); - case 0x9900fc59: return fetch_type_bare_binlog_update (T); - case 0x8c1b8fb4: return fetch_type_contacts_blocked (T); - case 0x73e4704b: return fetch_type_bare_contacts_blocked (T); - case 0xd8c02560: return fetch_type_contacts_contacts (T); - case 0x273fda9f: return fetch_type_bare_contacts_contacts (T); - case 0x0566000e: return fetch_type_contacts_found (T); - case 0xfa99fff1: return fetch_type_bare_contacts_found (T); - case 0xad524315: return fetch_type_contacts_imported_contacts (T); - case 0x52adbcea: return fetch_type_bare_contacts_imported_contacts (T); - case 0x3ace484c: return fetch_type_contacts_link (T); - case 0xc531b7b3: return fetch_type_bare_contacts_link (T); - case 0x5649dcc5: return fetch_type_contacts_suggested (T); - case 0xa9b6233a: return fetch_type_bare_contacts_suggested (T); - case 0x48feb267: return fetch_type_geochats_located (T); - case 0xb7014d98: return fetch_type_bare_geochats_located (T); - case 0x6d0a0e59: return fetch_type_geochats_messages (T); - case 0x92f5f1a6: return fetch_type_bare_geochats_messages (T); - case 0x17b1578b: return fetch_type_geochats_stated_message (T); - case 0xe84ea874: return fetch_type_bare_geochats_stated_message (T); - case 0x4ddd9627: return fetch_type_help_app_update (T); - case 0xb22269d8: return fetch_type_bare_help_app_update (T); - case 0x18cb9f78: return fetch_type_help_invite_text (T); - case 0xe7346087: return fetch_type_bare_help_invite_text (T); - case 0x17c6b5f6: return fetch_type_help_support (T); - case 0xe8394a09: return fetch_type_bare_help_support (T); - case 0xb45c69d1: return fetch_type_messages_affected_history (T); - case 0x4ba3962e: return fetch_type_bare_messages_affected_history (T); - case 0x84d19185: return fetch_type_messages_affected_messages (T); - case 0x7b2e6e7a: return fetch_type_bare_messages_affected_messages (T); - case 0xb485502f: return fetch_type_messages_all_stickers (T); - case 0x4b7aafd0: return fetch_type_bare_messages_all_stickers (T); - case 0xe5d7d19c: return fetch_type_messages_chat_full (T); - case 0x1a282e63: return fetch_type_bare_messages_chat_full (T); - case 0x64ff9fd5: return fetch_type_messages_chats (T); - case 0x9b00602a: return fetch_type_bare_messages_chats (T); - case 0xecc058e8: return fetch_type_messages_dh_config (T); - case 0x133fa717: return fetch_type_bare_messages_dh_config (T); - case 0x645af8b3: return fetch_type_messages_dialogs (T); - case 0x9ba5074c: return fetch_type_bare_messages_dialogs (T); - case 0x3f4e0648: return fetch_type_messages_message (T); - case 0xc0b1f9b7: return fetch_type_bare_messages_message (T); - case 0x8735e464: return fetch_type_messages_messages (T); - case 0x78ca1b9b: return fetch_type_bare_messages_messages (T); - case 0xc29c7607: return fetch_type_messages_sent_encrypted_message (T); - case 0x3d6389f8: return fetch_type_bare_messages_sent_encrypted_message (T); - case 0x799ce190: return fetch_type_messages_sent_message (T); - case 0x86631e6f: return fetch_type_bare_messages_sent_message (T); - case 0xb60a24a6: return fetch_type_messages_sticker_set (T); - case 0x49f5db59: return fetch_type_bare_messages_sticker_set (T); - case 0x7bfa5710: return fetch_type_messages_stickers (T); - case 0x8405a8ef: return fetch_type_bare_messages_stickers (T); - case 0x20212ca8: return fetch_type_photos_photo (T); - case 0xdfded357: return fetch_type_bare_photos_photo (T); - case 0x98cf75f1: return fetch_type_photos_photos (T); - case 0x67308a0e: return fetch_type_bare_photos_photos (T); - case 0x3e2838a8: return fetch_type_storage_file_type (T); - case 0xc1d7c757: return fetch_type_bare_storage_file_type (T); - case 0xf57a2419: return fetch_type_updates_difference (T); - case 0x0a85dbe6: return fetch_type_bare_updates_difference (T); - case 0xa56c2a3e: return fetch_type_updates_state (T); - case 0x5a93d5c1: return fetch_type_bare_updates_state (T); - case 0x096a18d5: return fetch_type_upload_file (T); - case 0xf695e72a: return fetch_type_bare_upload_file (T); - default: return -1; } -} diff --git a/libs/tgl/src/auto/auto-fetch.h b/libs/tgl/src/auto/auto-fetch.h deleted file mode 100644 index 803f7b6902..0000000000 --- a/libs/tgl/src/auto/auto-fetch.h +++ /dev/null @@ -1,717 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -#include -#include -struct tgl_state; -char *tglf_extf_fetch (struct tgl_state *TLS, struct paramed_type *T); -int fetch_constructor_account_days_t_t_l (struct paramed_type *T); -int fetch_constructor_audio_empty (struct paramed_type *T); -int fetch_constructor_audio (struct paramed_type *T); -int fetch_constructor_authorization (struct paramed_type *T); -int fetch_constructor_bool_false (struct paramed_type *T); -int fetch_constructor_bool_true (struct paramed_type *T); -int fetch_constructor_bot_command (struct paramed_type *T); -int fetch_constructor_bot_command_old (struct paramed_type *T); -int fetch_constructor_bot_info_empty (struct paramed_type *T); -int fetch_constructor_bot_info (struct paramed_type *T); -int fetch_constructor_bytes (struct paramed_type *T); -int fetch_constructor_chat_empty (struct paramed_type *T); -int fetch_constructor_chat (struct paramed_type *T); -int fetch_constructor_chat_forbidden (struct paramed_type *T); -int fetch_constructor_geo_chat (struct paramed_type *T); -int fetch_constructor_chat_full (struct paramed_type *T); -int fetch_constructor_chat_invite_already (struct paramed_type *T); -int fetch_constructor_chat_invite (struct paramed_type *T); -int fetch_constructor_chat_located (struct paramed_type *T); -int fetch_constructor_chat_participant (struct paramed_type *T); -int fetch_constructor_chat_participants_forbidden (struct paramed_type *T); -int fetch_constructor_chat_participants (struct paramed_type *T); -int fetch_constructor_chat_photo_empty (struct paramed_type *T); -int fetch_constructor_chat_photo (struct paramed_type *T); -int fetch_constructor_client_d_h_inner_data (struct paramed_type *T); -int fetch_constructor_config (struct paramed_type *T); -int fetch_constructor_contact (struct paramed_type *T); -int fetch_constructor_contact_blocked (struct paramed_type *T); -int fetch_constructor_contact_found (struct paramed_type *T); -int fetch_constructor_contact_link_unknown (struct paramed_type *T); -int fetch_constructor_contact_link_none (struct paramed_type *T); -int fetch_constructor_contact_link_has_phone (struct paramed_type *T); -int fetch_constructor_contact_link_contact (struct paramed_type *T); -int fetch_constructor_contact_status (struct paramed_type *T); -int fetch_constructor_contact_suggested (struct paramed_type *T); -int fetch_constructor_dc_option_l28 (struct paramed_type *T); -int fetch_constructor_dc_option (struct paramed_type *T); -int fetch_constructor_decrypted_message (struct paramed_type *T); -int fetch_constructor_decrypted_message_service (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_read_messages (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_delete_messages (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_flush_history (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_resend (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_notify_layer (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_typing (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_request_key (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_accept_key (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_abort_key (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_commit_key (struct paramed_type *T); -int fetch_constructor_decrypted_message_action_noop (struct paramed_type *T); -int fetch_constructor_decrypted_message_layer (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_empty (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_photo (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_geo_point (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_contact (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_document (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_video (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_audio (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_external_document (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_video_l12 (struct paramed_type *T); -int fetch_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T); -int fetch_constructor_dialog (struct paramed_type *T); -int fetch_constructor_disabled_feature (struct paramed_type *T); -int fetch_constructor_document_empty (struct paramed_type *T); -int fetch_constructor_document (struct paramed_type *T); -int fetch_constructor_document_l19 (struct paramed_type *T); -int fetch_constructor_document_attribute_image_size (struct paramed_type *T); -int fetch_constructor_document_attribute_animated (struct paramed_type *T); -int fetch_constructor_document_attribute_sticker_l28 (struct paramed_type *T); -int fetch_constructor_document_attribute_sticker (struct paramed_type *T); -int fetch_constructor_document_attribute_video (struct paramed_type *T); -int fetch_constructor_document_attribute_audio (struct paramed_type *T); -int fetch_constructor_document_attribute_filename (struct paramed_type *T); -int fetch_constructor_double (struct paramed_type *T); -int fetch_constructor_encrypted_chat_empty (struct paramed_type *T); -int fetch_constructor_encrypted_chat_waiting (struct paramed_type *T); -int fetch_constructor_encrypted_chat_requested (struct paramed_type *T); -int fetch_constructor_encrypted_chat (struct paramed_type *T); -int fetch_constructor_encrypted_chat_discarded (struct paramed_type *T); -int fetch_constructor_encrypted_file_empty (struct paramed_type *T); -int fetch_constructor_encrypted_file (struct paramed_type *T); -int fetch_constructor_encrypted_message (struct paramed_type *T); -int fetch_constructor_encrypted_message_service (struct paramed_type *T); -int fetch_constructor_error (struct paramed_type *T); -int fetch_constructor_chat_invite_empty (struct paramed_type *T); -int fetch_constructor_chat_invite_exported (struct paramed_type *T); -int fetch_constructor_file_location_unavailable (struct paramed_type *T); -int fetch_constructor_file_location (struct paramed_type *T); -int fetch_constructor_geo_chat_message_empty (struct paramed_type *T); -int fetch_constructor_geo_chat_message (struct paramed_type *T); -int fetch_constructor_geo_chat_message_service (struct paramed_type *T); -int fetch_constructor_geo_point_empty (struct paramed_type *T); -int fetch_constructor_geo_point (struct paramed_type *T); -int fetch_constructor_imported_contact (struct paramed_type *T); -int fetch_constructor_input_app_event (struct paramed_type *T); -int fetch_constructor_input_audio_empty (struct paramed_type *T); -int fetch_constructor_input_audio (struct paramed_type *T); -int fetch_constructor_input_chat_photo_empty (struct paramed_type *T); -int fetch_constructor_input_chat_uploaded_photo (struct paramed_type *T); -int fetch_constructor_input_chat_photo (struct paramed_type *T); -int fetch_constructor_input_phone_contact (struct paramed_type *T); -int fetch_constructor_input_document_empty (struct paramed_type *T); -int fetch_constructor_input_document (struct paramed_type *T); -int fetch_constructor_input_encrypted_chat (struct paramed_type *T); -int fetch_constructor_input_encrypted_file_empty (struct paramed_type *T); -int fetch_constructor_input_encrypted_file_uploaded (struct paramed_type *T); -int fetch_constructor_input_encrypted_file (struct paramed_type *T); -int fetch_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T); -int fetch_constructor_input_file (struct paramed_type *T); -int fetch_constructor_input_file_big (struct paramed_type *T); -int fetch_constructor_input_file_location (struct paramed_type *T); -int fetch_constructor_input_video_file_location (struct paramed_type *T); -int fetch_constructor_input_encrypted_file_location (struct paramed_type *T); -int fetch_constructor_input_audio_file_location (struct paramed_type *T); -int fetch_constructor_input_document_file_location (struct paramed_type *T); -int fetch_constructor_input_geo_chat (struct paramed_type *T); -int fetch_constructor_input_geo_point_empty (struct paramed_type *T); -int fetch_constructor_input_geo_point (struct paramed_type *T); -int fetch_constructor_input_media_empty (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_photo (struct paramed_type *T); -int fetch_constructor_input_media_photo (struct paramed_type *T); -int fetch_constructor_input_media_geo_point (struct paramed_type *T); -int fetch_constructor_input_media_contact (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_video (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_thumb_video (struct paramed_type *T); -int fetch_constructor_input_media_video (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_audio (struct paramed_type *T); -int fetch_constructor_input_media_audio (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_document (struct paramed_type *T); -int fetch_constructor_input_media_uploaded_thumb_document (struct paramed_type *T); -int fetch_constructor_input_media_document (struct paramed_type *T); -int fetch_constructor_input_media_venue (struct paramed_type *T); -int fetch_constructor_input_notify_peer (struct paramed_type *T); -int fetch_constructor_input_notify_users (struct paramed_type *T); -int fetch_constructor_input_notify_chats (struct paramed_type *T); -int fetch_constructor_input_notify_all (struct paramed_type *T); -int fetch_constructor_input_notify_geo_chat_peer (struct paramed_type *T); -int fetch_constructor_input_peer_empty (struct paramed_type *T); -int fetch_constructor_input_peer_self (struct paramed_type *T); -int fetch_constructor_input_peer_contact (struct paramed_type *T); -int fetch_constructor_input_peer_foreign (struct paramed_type *T); -int fetch_constructor_input_peer_chat (struct paramed_type *T); -int fetch_constructor_input_peer_notify_events_empty (struct paramed_type *T); -int fetch_constructor_input_peer_notify_events_all (struct paramed_type *T); -int fetch_constructor_input_peer_notify_settings (struct paramed_type *T); -int fetch_constructor_input_photo_empty (struct paramed_type *T); -int fetch_constructor_input_photo (struct paramed_type *T); -int fetch_constructor_input_photo_crop_auto (struct paramed_type *T); -int fetch_constructor_input_photo_crop (struct paramed_type *T); -int fetch_constructor_input_privacy_key_status_timestamp (struct paramed_type *T); -int fetch_constructor_input_privacy_value_allow_contacts (struct paramed_type *T); -int fetch_constructor_input_privacy_value_allow_all (struct paramed_type *T); -int fetch_constructor_input_privacy_value_allow_users (struct paramed_type *T); -int fetch_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T); -int fetch_constructor_input_privacy_value_disallow_all (struct paramed_type *T); -int fetch_constructor_input_privacy_value_disallow_users (struct paramed_type *T); -int fetch_constructor_input_sticker_set_empty (struct paramed_type *T); -int fetch_constructor_input_sticker_set_i_d (struct paramed_type *T); -int fetch_constructor_input_sticker_set_short_name (struct paramed_type *T); -int fetch_constructor_input_user_empty (struct paramed_type *T); -int fetch_constructor_input_user_self (struct paramed_type *T); -int fetch_constructor_input_user_contact (struct paramed_type *T); -int fetch_constructor_input_user_foreign (struct paramed_type *T); -int fetch_constructor_input_video_empty (struct paramed_type *T); -int fetch_constructor_input_video (struct paramed_type *T); -int fetch_constructor_int (struct paramed_type *T); -int fetch_constructor_int128 (struct paramed_type *T); -int fetch_constructor_int256 (struct paramed_type *T); -int fetch_constructor_keyboard_button (struct paramed_type *T); -int fetch_constructor_keyboard_button_row (struct paramed_type *T); -int fetch_constructor_long (struct paramed_type *T); -int fetch_constructor_message_empty (struct paramed_type *T); -int fetch_constructor_message (struct paramed_type *T); -int fetch_constructor_message_service (struct paramed_type *T); -int fetch_constructor_message_action_empty (struct paramed_type *T); -int fetch_constructor_message_action_chat_create (struct paramed_type *T); -int fetch_constructor_message_action_chat_edit_title (struct paramed_type *T); -int fetch_constructor_message_action_chat_edit_photo (struct paramed_type *T); -int fetch_constructor_message_action_chat_delete_photo (struct paramed_type *T); -int fetch_constructor_message_action_chat_add_user (struct paramed_type *T); -int fetch_constructor_message_action_chat_delete_user (struct paramed_type *T); -int fetch_constructor_message_action_geo_chat_create (struct paramed_type *T); -int fetch_constructor_message_action_geo_chat_checkin (struct paramed_type *T); -int fetch_constructor_message_action_chat_joined_by_link (struct paramed_type *T); -int fetch_constructor_message_media_empty (struct paramed_type *T); -int fetch_constructor_message_media_photo (struct paramed_type *T); -int fetch_constructor_message_media_video (struct paramed_type *T); -int fetch_constructor_message_media_geo (struct paramed_type *T); -int fetch_constructor_message_media_contact (struct paramed_type *T); -int fetch_constructor_message_media_unsupported (struct paramed_type *T); -int fetch_constructor_message_media_document (struct paramed_type *T); -int fetch_constructor_message_media_audio (struct paramed_type *T); -int fetch_constructor_message_media_web_page (struct paramed_type *T); -int fetch_constructor_message_media_venue (struct paramed_type *T); -int fetch_constructor_message_media_photo_l27 (struct paramed_type *T); -int fetch_constructor_message_media_video_l27 (struct paramed_type *T); -int fetch_constructor_input_messages_filter_empty (struct paramed_type *T); -int fetch_constructor_input_messages_filter_photos (struct paramed_type *T); -int fetch_constructor_input_messages_filter_video (struct paramed_type *T); -int fetch_constructor_input_messages_filter_photo_video (struct paramed_type *T); -int fetch_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T); -int fetch_constructor_input_messages_filter_document (struct paramed_type *T); -int fetch_constructor_input_messages_filter_audio (struct paramed_type *T); -int fetch_constructor_nearest_dc (struct paramed_type *T); -int fetch_constructor_notify_peer (struct paramed_type *T); -int fetch_constructor_notify_users (struct paramed_type *T); -int fetch_constructor_notify_chats (struct paramed_type *T); -int fetch_constructor_notify_all (struct paramed_type *T); -int fetch_constructor_null (struct paramed_type *T); -int fetch_constructor_p_q_inner_data (struct paramed_type *T); -int fetch_constructor_p_q_inner_data_temp (struct paramed_type *T); -int fetch_constructor_peer_user (struct paramed_type *T); -int fetch_constructor_peer_chat (struct paramed_type *T); -int fetch_constructor_peer_notify_events_empty (struct paramed_type *T); -int fetch_constructor_peer_notify_events_all (struct paramed_type *T); -int fetch_constructor_peer_notify_settings_empty (struct paramed_type *T); -int fetch_constructor_peer_notify_settings (struct paramed_type *T); -int fetch_constructor_photo_empty (struct paramed_type *T); -int fetch_constructor_photo (struct paramed_type *T); -int fetch_constructor_photo_l27 (struct paramed_type *T); -int fetch_constructor_photo_size_empty (struct paramed_type *T); -int fetch_constructor_photo_size (struct paramed_type *T); -int fetch_constructor_photo_cached_size (struct paramed_type *T); -int fetch_constructor_privacy_key_status_timestamp (struct paramed_type *T); -int fetch_constructor_privacy_value_allow_contacts (struct paramed_type *T); -int fetch_constructor_privacy_value_allow_all (struct paramed_type *T); -int fetch_constructor_privacy_value_allow_users (struct paramed_type *T); -int fetch_constructor_privacy_value_disallow_contacts (struct paramed_type *T); -int fetch_constructor_privacy_value_disallow_all (struct paramed_type *T); -int fetch_constructor_privacy_value_disallow_users (struct paramed_type *T); -int fetch_constructor_received_notify_message (struct paramed_type *T); -int fetch_constructor_reply_keyboard_hide (struct paramed_type *T); -int fetch_constructor_reply_keyboard_force_reply (struct paramed_type *T); -int fetch_constructor_reply_keyboard_markup (struct paramed_type *T); -int fetch_constructor_res_p_q (struct paramed_type *T); -int fetch_constructor_send_message_typing_action (struct paramed_type *T); -int fetch_constructor_send_message_cancel_action (struct paramed_type *T); -int fetch_constructor_send_message_record_video_action (struct paramed_type *T); -int fetch_constructor_send_message_upload_video_action_l27 (struct paramed_type *T); -int fetch_constructor_send_message_upload_video_action (struct paramed_type *T); -int fetch_constructor_send_message_record_audio_action (struct paramed_type *T); -int fetch_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T); -int fetch_constructor_send_message_upload_audio_action (struct paramed_type *T); -int fetch_constructor_send_message_upload_photo_action (struct paramed_type *T); -int fetch_constructor_send_message_upload_document_action_l27 (struct paramed_type *T); -int fetch_constructor_send_message_upload_document_action (struct paramed_type *T); -int fetch_constructor_send_message_geo_location_action (struct paramed_type *T); -int fetch_constructor_send_message_choose_contact_action (struct paramed_type *T); -int fetch_constructor_server_d_h_params_fail (struct paramed_type *T); -int fetch_constructor_server_d_h_params_ok (struct paramed_type *T); -int fetch_constructor_server_d_h_inner_data (struct paramed_type *T); -int fetch_constructor_dh_gen_ok (struct paramed_type *T); -int fetch_constructor_dh_gen_retry (struct paramed_type *T); -int fetch_constructor_dh_gen_fail (struct paramed_type *T); -int fetch_constructor_sticker_pack (struct paramed_type *T); -int fetch_constructor_sticker_set (struct paramed_type *T); -int fetch_constructor_string (struct paramed_type *T); -int fetch_constructor_update_new_message (struct paramed_type *T); -int fetch_constructor_update_message_i_d (struct paramed_type *T); -int fetch_constructor_update_delete_messages (struct paramed_type *T); -int fetch_constructor_update_user_typing (struct paramed_type *T); -int fetch_constructor_update_chat_user_typing (struct paramed_type *T); -int fetch_constructor_update_chat_participants (struct paramed_type *T); -int fetch_constructor_update_user_status (struct paramed_type *T); -int fetch_constructor_update_user_name (struct paramed_type *T); -int fetch_constructor_update_user_photo (struct paramed_type *T); -int fetch_constructor_update_contact_registered (struct paramed_type *T); -int fetch_constructor_update_contact_link (struct paramed_type *T); -int fetch_constructor_update_new_authorization (struct paramed_type *T); -int fetch_constructor_update_new_geo_chat_message (struct paramed_type *T); -int fetch_constructor_update_new_encrypted_message (struct paramed_type *T); -int fetch_constructor_update_encrypted_chat_typing (struct paramed_type *T); -int fetch_constructor_update_encryption (struct paramed_type *T); -int fetch_constructor_update_encrypted_messages_read (struct paramed_type *T); -int fetch_constructor_update_chat_participant_add (struct paramed_type *T); -int fetch_constructor_update_chat_participant_delete (struct paramed_type *T); -int fetch_constructor_update_dc_options (struct paramed_type *T); -int fetch_constructor_update_user_blocked (struct paramed_type *T); -int fetch_constructor_update_notify_settings (struct paramed_type *T); -int fetch_constructor_update_service_notification (struct paramed_type *T); -int fetch_constructor_update_privacy (struct paramed_type *T); -int fetch_constructor_update_user_phone (struct paramed_type *T); -int fetch_constructor_update_read_history_inbox (struct paramed_type *T); -int fetch_constructor_update_read_history_outbox (struct paramed_type *T); -int fetch_constructor_update_web_page (struct paramed_type *T); -int fetch_constructor_update_read_messages_contents (struct paramed_type *T); -int fetch_constructor_update_msg_update (struct paramed_type *T); -int fetch_constructor_updates_too_long (struct paramed_type *T); -int fetch_constructor_update_short_message (struct paramed_type *T); -int fetch_constructor_update_short_chat_message (struct paramed_type *T); -int fetch_constructor_update_short (struct paramed_type *T); -int fetch_constructor_updates_combined (struct paramed_type *T); -int fetch_constructor_updates (struct paramed_type *T); -int fetch_constructor_user_empty (struct paramed_type *T); -int fetch_constructor_user (struct paramed_type *T); -int fetch_constructor_user_full (struct paramed_type *T); -int fetch_constructor_user_profile_photo_empty (struct paramed_type *T); -int fetch_constructor_user_profile_photo (struct paramed_type *T); -int fetch_constructor_user_status_empty (struct paramed_type *T); -int fetch_constructor_user_status_online (struct paramed_type *T); -int fetch_constructor_user_status_offline (struct paramed_type *T); -int fetch_constructor_user_status_recently (struct paramed_type *T); -int fetch_constructor_user_status_last_week (struct paramed_type *T); -int fetch_constructor_user_status_last_month (struct paramed_type *T); -int fetch_constructor_vector (struct paramed_type *T); -int fetch_constructor_video_empty (struct paramed_type *T); -int fetch_constructor_video (struct paramed_type *T); -int fetch_constructor_video_l27 (struct paramed_type *T); -int fetch_constructor_wall_paper (struct paramed_type *T); -int fetch_constructor_wall_paper_solid (struct paramed_type *T); -int fetch_constructor_web_page_empty (struct paramed_type *T); -int fetch_constructor_web_page_pending (struct paramed_type *T); -int fetch_constructor_web_page (struct paramed_type *T); -int fetch_constructor_account_authorizations (struct paramed_type *T); -int fetch_constructor_account_no_password (struct paramed_type *T); -int fetch_constructor_account_password (struct paramed_type *T); -int fetch_constructor_account_password_input_settings (struct paramed_type *T); -int fetch_constructor_account_password_settings (struct paramed_type *T); -int fetch_constructor_account_privacy_rules (struct paramed_type *T); -int fetch_constructor_account_sent_change_phone_code (struct paramed_type *T); -int fetch_constructor_auth_authorization (struct paramed_type *T); -int fetch_constructor_auth_checked_phone (struct paramed_type *T); -int fetch_constructor_auth_exported_authorization (struct paramed_type *T); -int fetch_constructor_auth_password_recovery (struct paramed_type *T); -int fetch_constructor_auth_sent_code (struct paramed_type *T); -int fetch_constructor_auth_sent_app_code (struct paramed_type *T); -int fetch_constructor_binlog_encr_key (struct paramed_type *T); -int fetch_constructor_binlog_start (struct paramed_type *T); -int fetch_constructor_binlog_dc_option (struct paramed_type *T); -int fetch_constructor_binlog_dc_option_new (struct paramed_type *T); -int fetch_constructor_binlog_auth_key (struct paramed_type *T); -int fetch_constructor_binlog_default_dc (struct paramed_type *T); -int fetch_constructor_binlog_dc_signed (struct paramed_type *T); -int fetch_constructor_binlog_our_id (struct paramed_type *T); -int fetch_constructor_binlog_set_dh_params (struct paramed_type *T); -int fetch_constructor_binlog_set_pts (struct paramed_type *T); -int fetch_constructor_binlog_set_qts (struct paramed_type *T); -int fetch_constructor_binlog_set_date (struct paramed_type *T); -int fetch_constructor_binlog_set_seq (struct paramed_type *T); -int fetch_constructor_binlog_encr_chat_delete (struct paramed_type *T); -int fetch_constructor_binlog_encr_chat_new (struct paramed_type *T); -int fetch_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T); -int fetch_constructor_binlog_user_delete (struct paramed_type *T); -int fetch_constructor_binlog_user_new (struct paramed_type *T); -int fetch_constructor_binlog_chat_new (struct paramed_type *T); -int fetch_constructor_binlog_chat_add_participant (struct paramed_type *T); -int fetch_constructor_binlog_chat_del_participant (struct paramed_type *T); -int fetch_constructor_binlog_set_msg_id (struct paramed_type *T); -int fetch_constructor_binlog_message_delete (struct paramed_type *T); -int fetch_constructor_binlog_message_new (struct paramed_type *T); -int fetch_constructor_binlog_message_encr_new (struct paramed_type *T); -int fetch_constructor_binlog_msg_update (struct paramed_type *T); -int fetch_constructor_binlog_reset_authorization (struct paramed_type *T); -int fetch_constructor_contacts_blocked (struct paramed_type *T); -int fetch_constructor_contacts_blocked_slice (struct paramed_type *T); -int fetch_constructor_contacts_contacts_not_modified (struct paramed_type *T); -int fetch_constructor_contacts_contacts (struct paramed_type *T); -int fetch_constructor_contacts_found (struct paramed_type *T); -int fetch_constructor_contacts_imported_contacts (struct paramed_type *T); -int fetch_constructor_contacts_link (struct paramed_type *T); -int fetch_constructor_contacts_suggested (struct paramed_type *T); -int fetch_constructor_geochats_located (struct paramed_type *T); -int fetch_constructor_geochats_messages (struct paramed_type *T); -int fetch_constructor_geochats_messages_slice (struct paramed_type *T); -int fetch_constructor_geochats_stated_message (struct paramed_type *T); -int fetch_constructor_help_app_update (struct paramed_type *T); -int fetch_constructor_help_no_app_update (struct paramed_type *T); -int fetch_constructor_help_invite_text (struct paramed_type *T); -int fetch_constructor_help_support (struct paramed_type *T); -int fetch_constructor_messages_affected_history (struct paramed_type *T); -int fetch_constructor_messages_affected_messages (struct paramed_type *T); -int fetch_constructor_messages_all_stickers_not_modified (struct paramed_type *T); -int fetch_constructor_messages_all_stickers (struct paramed_type *T); -int fetch_constructor_messages_chat_full (struct paramed_type *T); -int fetch_constructor_messages_chats (struct paramed_type *T); -int fetch_constructor_messages_dh_config_not_modified (struct paramed_type *T); -int fetch_constructor_messages_dh_config (struct paramed_type *T); -int fetch_constructor_messages_dialogs (struct paramed_type *T); -int fetch_constructor_messages_dialogs_slice (struct paramed_type *T); -int fetch_constructor_messages_message_empty (struct paramed_type *T); -int fetch_constructor_messages_messages (struct paramed_type *T); -int fetch_constructor_messages_messages_slice (struct paramed_type *T); -int fetch_constructor_messages_sent_encrypted_message (struct paramed_type *T); -int fetch_constructor_messages_sent_encrypted_file (struct paramed_type *T); -int fetch_constructor_messages_sent_message (struct paramed_type *T); -int fetch_constructor_messages_sent_message_link (struct paramed_type *T); -int fetch_constructor_messages_sticker_set (struct paramed_type *T); -int fetch_constructor_messages_stickers_not_modified (struct paramed_type *T); -int fetch_constructor_messages_stickers (struct paramed_type *T); -int fetch_constructor_photos_photo (struct paramed_type *T); -int fetch_constructor_photos_photos (struct paramed_type *T); -int fetch_constructor_photos_photos_slice (struct paramed_type *T); -int fetch_constructor_storage_file_unknown (struct paramed_type *T); -int fetch_constructor_storage_file_jpeg (struct paramed_type *T); -int fetch_constructor_storage_file_gif (struct paramed_type *T); -int fetch_constructor_storage_file_png (struct paramed_type *T); -int fetch_constructor_storage_file_pdf (struct paramed_type *T); -int fetch_constructor_storage_file_mp3 (struct paramed_type *T); -int fetch_constructor_storage_file_mov (struct paramed_type *T); -int fetch_constructor_storage_file_partial (struct paramed_type *T); -int fetch_constructor_storage_file_mp4 (struct paramed_type *T); -int fetch_constructor_storage_file_webp (struct paramed_type *T); -int fetch_constructor_updates_difference_empty (struct paramed_type *T); -int fetch_constructor_updates_difference (struct paramed_type *T); -int fetch_constructor_updates_difference_slice (struct paramed_type *T); -int fetch_constructor_updates_state (struct paramed_type *T); -int fetch_constructor_upload_file (struct paramed_type *T); -int fetch_type_account_days_t_t_l (struct paramed_type *T); -int fetch_type_bare_account_days_t_t_l (struct paramed_type *T); -int fetch_type_audio (struct paramed_type *T); -int fetch_type_bare_audio (struct paramed_type *T); -int fetch_type_authorization (struct paramed_type *T); -int fetch_type_bare_authorization (struct paramed_type *T); -int fetch_type_bool (struct paramed_type *T); -int fetch_type_bare_bool (struct paramed_type *T); -int fetch_type_bot_command (struct paramed_type *T); -int fetch_type_bare_bot_command (struct paramed_type *T); -int fetch_type_bot_info (struct paramed_type *T); -int fetch_type_bare_bot_info (struct paramed_type *T); -int fetch_type_bytes (struct paramed_type *T); -int fetch_type_bare_bytes (struct paramed_type *T); -int fetch_type_chat (struct paramed_type *T); -int fetch_type_bare_chat (struct paramed_type *T); -int fetch_type_chat_full (struct paramed_type *T); -int fetch_type_bare_chat_full (struct paramed_type *T); -int fetch_type_chat_invite (struct paramed_type *T); -int fetch_type_bare_chat_invite (struct paramed_type *T); -int fetch_type_chat_located (struct paramed_type *T); -int fetch_type_bare_chat_located (struct paramed_type *T); -int fetch_type_chat_participant (struct paramed_type *T); -int fetch_type_bare_chat_participant (struct paramed_type *T); -int fetch_type_chat_participants (struct paramed_type *T); -int fetch_type_bare_chat_participants (struct paramed_type *T); -int fetch_type_chat_photo (struct paramed_type *T); -int fetch_type_bare_chat_photo (struct paramed_type *T); -int fetch_type_client_d_h_inner_data (struct paramed_type *T); -int fetch_type_bare_client_d_h_inner_data (struct paramed_type *T); -int fetch_type_config (struct paramed_type *T); -int fetch_type_bare_config (struct paramed_type *T); -int fetch_type_contact (struct paramed_type *T); -int fetch_type_bare_contact (struct paramed_type *T); -int fetch_type_contact_blocked (struct paramed_type *T); -int fetch_type_bare_contact_blocked (struct paramed_type *T); -int fetch_type_contact_found (struct paramed_type *T); -int fetch_type_bare_contact_found (struct paramed_type *T); -int fetch_type_contact_link (struct paramed_type *T); -int fetch_type_bare_contact_link (struct paramed_type *T); -int fetch_type_contact_status (struct paramed_type *T); -int fetch_type_bare_contact_status (struct paramed_type *T); -int fetch_type_contact_suggested (struct paramed_type *T); -int fetch_type_bare_contact_suggested (struct paramed_type *T); -int fetch_type_dc_option (struct paramed_type *T); -int fetch_type_bare_dc_option (struct paramed_type *T); -int fetch_type_decrypted_message (struct paramed_type *T); -int fetch_type_bare_decrypted_message (struct paramed_type *T); -int fetch_type_decrypted_message_action (struct paramed_type *T); -int fetch_type_bare_decrypted_message_action (struct paramed_type *T); -int fetch_type_decrypted_message_layer (struct paramed_type *T); -int fetch_type_bare_decrypted_message_layer (struct paramed_type *T); -int fetch_type_decrypted_message_media (struct paramed_type *T); -int fetch_type_bare_decrypted_message_media (struct paramed_type *T); -int fetch_type_dialog (struct paramed_type *T); -int fetch_type_bare_dialog (struct paramed_type *T); -int fetch_type_disabled_feature (struct paramed_type *T); -int fetch_type_bare_disabled_feature (struct paramed_type *T); -int fetch_type_document (struct paramed_type *T); -int fetch_type_bare_document (struct paramed_type *T); -int fetch_type_document_attribute (struct paramed_type *T); -int fetch_type_bare_document_attribute (struct paramed_type *T); -int fetch_type_double (struct paramed_type *T); -int fetch_type_bare_double (struct paramed_type *T); -int fetch_type_encrypted_chat (struct paramed_type *T); -int fetch_type_bare_encrypted_chat (struct paramed_type *T); -int fetch_type_encrypted_file (struct paramed_type *T); -int fetch_type_bare_encrypted_file (struct paramed_type *T); -int fetch_type_encrypted_message (struct paramed_type *T); -int fetch_type_bare_encrypted_message (struct paramed_type *T); -int fetch_type_error (struct paramed_type *T); -int fetch_type_bare_error (struct paramed_type *T); -int fetch_type_exported_chat_invite (struct paramed_type *T); -int fetch_type_bare_exported_chat_invite (struct paramed_type *T); -int fetch_type_file_location (struct paramed_type *T); -int fetch_type_bare_file_location (struct paramed_type *T); -int fetch_type_geo_chat_message (struct paramed_type *T); -int fetch_type_bare_geo_chat_message (struct paramed_type *T); -int fetch_type_geo_point (struct paramed_type *T); -int fetch_type_bare_geo_point (struct paramed_type *T); -int fetch_type_imported_contact (struct paramed_type *T); -int fetch_type_bare_imported_contact (struct paramed_type *T); -int fetch_type_input_app_event (struct paramed_type *T); -int fetch_type_bare_input_app_event (struct paramed_type *T); -int fetch_type_input_audio (struct paramed_type *T); -int fetch_type_bare_input_audio (struct paramed_type *T); -int fetch_type_input_chat_photo (struct paramed_type *T); -int fetch_type_bare_input_chat_photo (struct paramed_type *T); -int fetch_type_input_contact (struct paramed_type *T); -int fetch_type_bare_input_contact (struct paramed_type *T); -int fetch_type_input_document (struct paramed_type *T); -int fetch_type_bare_input_document (struct paramed_type *T); -int fetch_type_input_encrypted_chat (struct paramed_type *T); -int fetch_type_bare_input_encrypted_chat (struct paramed_type *T); -int fetch_type_input_encrypted_file (struct paramed_type *T); -int fetch_type_bare_input_encrypted_file (struct paramed_type *T); -int fetch_type_input_file (struct paramed_type *T); -int fetch_type_bare_input_file (struct paramed_type *T); -int fetch_type_input_file_location (struct paramed_type *T); -int fetch_type_bare_input_file_location (struct paramed_type *T); -int fetch_type_input_geo_chat (struct paramed_type *T); -int fetch_type_bare_input_geo_chat (struct paramed_type *T); -int fetch_type_input_geo_point (struct paramed_type *T); -int fetch_type_bare_input_geo_point (struct paramed_type *T); -int fetch_type_input_media (struct paramed_type *T); -int fetch_type_bare_input_media (struct paramed_type *T); -int fetch_type_input_notify_peer (struct paramed_type *T); -int fetch_type_bare_input_notify_peer (struct paramed_type *T); -int fetch_type_input_peer (struct paramed_type *T); -int fetch_type_bare_input_peer (struct paramed_type *T); -int fetch_type_input_peer_notify_events (struct paramed_type *T); -int fetch_type_bare_input_peer_notify_events (struct paramed_type *T); -int fetch_type_input_peer_notify_settings (struct paramed_type *T); -int fetch_type_bare_input_peer_notify_settings (struct paramed_type *T); -int fetch_type_input_photo (struct paramed_type *T); -int fetch_type_bare_input_photo (struct paramed_type *T); -int fetch_type_input_photo_crop (struct paramed_type *T); -int fetch_type_bare_input_photo_crop (struct paramed_type *T); -int fetch_type_input_privacy_key (struct paramed_type *T); -int fetch_type_bare_input_privacy_key (struct paramed_type *T); -int fetch_type_input_privacy_rule (struct paramed_type *T); -int fetch_type_bare_input_privacy_rule (struct paramed_type *T); -int fetch_type_input_sticker_set (struct paramed_type *T); -int fetch_type_bare_input_sticker_set (struct paramed_type *T); -int fetch_type_input_user (struct paramed_type *T); -int fetch_type_bare_input_user (struct paramed_type *T); -int fetch_type_input_video (struct paramed_type *T); -int fetch_type_bare_input_video (struct paramed_type *T); -int fetch_type_int (struct paramed_type *T); -int fetch_type_bare_int (struct paramed_type *T); -int fetch_type_int128 (struct paramed_type *T); -int fetch_type_bare_int128 (struct paramed_type *T); -int fetch_type_int256 (struct paramed_type *T); -int fetch_type_bare_int256 (struct paramed_type *T); -int fetch_type_keyboard_button (struct paramed_type *T); -int fetch_type_bare_keyboard_button (struct paramed_type *T); -int fetch_type_keyboard_button_row (struct paramed_type *T); -int fetch_type_bare_keyboard_button_row (struct paramed_type *T); -int fetch_type_long (struct paramed_type *T); -int fetch_type_bare_long (struct paramed_type *T); -int fetch_type_message (struct paramed_type *T); -int fetch_type_bare_message (struct paramed_type *T); -int fetch_type_message_action (struct paramed_type *T); -int fetch_type_bare_message_action (struct paramed_type *T); -int fetch_type_message_media (struct paramed_type *T); -int fetch_type_bare_message_media (struct paramed_type *T); -int fetch_type_messages_filter (struct paramed_type *T); -int fetch_type_bare_messages_filter (struct paramed_type *T); -int fetch_type_nearest_dc (struct paramed_type *T); -int fetch_type_bare_nearest_dc (struct paramed_type *T); -int fetch_type_notify_peer (struct paramed_type *T); -int fetch_type_bare_notify_peer (struct paramed_type *T); -int fetch_type_null (struct paramed_type *T); -int fetch_type_bare_null (struct paramed_type *T); -int fetch_type_p_q_inner_data (struct paramed_type *T); -int fetch_type_bare_p_q_inner_data (struct paramed_type *T); -int fetch_type_peer (struct paramed_type *T); -int fetch_type_bare_peer (struct paramed_type *T); -int fetch_type_peer_notify_events (struct paramed_type *T); -int fetch_type_bare_peer_notify_events (struct paramed_type *T); -int fetch_type_peer_notify_settings (struct paramed_type *T); -int fetch_type_bare_peer_notify_settings (struct paramed_type *T); -int fetch_type_photo (struct paramed_type *T); -int fetch_type_bare_photo (struct paramed_type *T); -int fetch_type_photo_size (struct paramed_type *T); -int fetch_type_bare_photo_size (struct paramed_type *T); -int fetch_type_privacy_key (struct paramed_type *T); -int fetch_type_bare_privacy_key (struct paramed_type *T); -int fetch_type_privacy_rule (struct paramed_type *T); -int fetch_type_bare_privacy_rule (struct paramed_type *T); -int fetch_type_received_notify_message (struct paramed_type *T); -int fetch_type_bare_received_notify_message (struct paramed_type *T); -int fetch_type_reply_markup (struct paramed_type *T); -int fetch_type_bare_reply_markup (struct paramed_type *T); -int fetch_type_res_p_q (struct paramed_type *T); -int fetch_type_bare_res_p_q (struct paramed_type *T); -int fetch_type_send_message_action (struct paramed_type *T); -int fetch_type_bare_send_message_action (struct paramed_type *T); -int fetch_type_server_d_h_params (struct paramed_type *T); -int fetch_type_bare_server_d_h_params (struct paramed_type *T); -int fetch_type_server_d_h_inner_data (struct paramed_type *T); -int fetch_type_bare_server_d_h_inner_data (struct paramed_type *T); -int fetch_type_set_client_d_h_params_answer (struct paramed_type *T); -int fetch_type_bare_set_client_d_h_params_answer (struct paramed_type *T); -int fetch_type_sticker_pack (struct paramed_type *T); -int fetch_type_bare_sticker_pack (struct paramed_type *T); -int fetch_type_sticker_set (struct paramed_type *T); -int fetch_type_bare_sticker_set (struct paramed_type *T); -int fetch_type_string (struct paramed_type *T); -int fetch_type_bare_string (struct paramed_type *T); -int fetch_type_update (struct paramed_type *T); -int fetch_type_bare_update (struct paramed_type *T); -int fetch_type_updates (struct paramed_type *T); -int fetch_type_bare_updates (struct paramed_type *T); -int fetch_type_user (struct paramed_type *T); -int fetch_type_bare_user (struct paramed_type *T); -int fetch_type_user_full (struct paramed_type *T); -int fetch_type_bare_user_full (struct paramed_type *T); -int fetch_type_user_profile_photo (struct paramed_type *T); -int fetch_type_bare_user_profile_photo (struct paramed_type *T); -int fetch_type_user_status (struct paramed_type *T); -int fetch_type_bare_user_status (struct paramed_type *T); -int fetch_type_vector (struct paramed_type *T); -int fetch_type_bare_vector (struct paramed_type *T); -int fetch_type_video (struct paramed_type *T); -int fetch_type_bare_video (struct paramed_type *T); -int fetch_type_wall_paper (struct paramed_type *T); -int fetch_type_bare_wall_paper (struct paramed_type *T); -int fetch_type_web_page (struct paramed_type *T); -int fetch_type_bare_web_page (struct paramed_type *T); -int fetch_type_account_authorizations (struct paramed_type *T); -int fetch_type_bare_account_authorizations (struct paramed_type *T); -int fetch_type_account_password (struct paramed_type *T); -int fetch_type_bare_account_password (struct paramed_type *T); -int fetch_type_account_password_input_settings (struct paramed_type *T); -int fetch_type_bare_account_password_input_settings (struct paramed_type *T); -int fetch_type_account_password_settings (struct paramed_type *T); -int fetch_type_bare_account_password_settings (struct paramed_type *T); -int fetch_type_account_privacy_rules (struct paramed_type *T); -int fetch_type_bare_account_privacy_rules (struct paramed_type *T); -int fetch_type_account_sent_change_phone_code (struct paramed_type *T); -int fetch_type_bare_account_sent_change_phone_code (struct paramed_type *T); -int fetch_type_auth_authorization (struct paramed_type *T); -int fetch_type_bare_auth_authorization (struct paramed_type *T); -int fetch_type_auth_checked_phone (struct paramed_type *T); -int fetch_type_bare_auth_checked_phone (struct paramed_type *T); -int fetch_type_auth_exported_authorization (struct paramed_type *T); -int fetch_type_bare_auth_exported_authorization (struct paramed_type *T); -int fetch_type_auth_password_recovery (struct paramed_type *T); -int fetch_type_bare_auth_password_recovery (struct paramed_type *T); -int fetch_type_auth_sent_code (struct paramed_type *T); -int fetch_type_bare_auth_sent_code (struct paramed_type *T); -int fetch_type_binlog_encr_key (struct paramed_type *T); -int fetch_type_bare_binlog_encr_key (struct paramed_type *T); -int fetch_type_binlog_update (struct paramed_type *T); -int fetch_type_bare_binlog_update (struct paramed_type *T); -int fetch_type_contacts_blocked (struct paramed_type *T); -int fetch_type_bare_contacts_blocked (struct paramed_type *T); -int fetch_type_contacts_contacts (struct paramed_type *T); -int fetch_type_bare_contacts_contacts (struct paramed_type *T); -int fetch_type_contacts_found (struct paramed_type *T); -int fetch_type_bare_contacts_found (struct paramed_type *T); -int fetch_type_contacts_imported_contacts (struct paramed_type *T); -int fetch_type_bare_contacts_imported_contacts (struct paramed_type *T); -int fetch_type_contacts_link (struct paramed_type *T); -int fetch_type_bare_contacts_link (struct paramed_type *T); -int fetch_type_contacts_suggested (struct paramed_type *T); -int fetch_type_bare_contacts_suggested (struct paramed_type *T); -int fetch_type_geochats_located (struct paramed_type *T); -int fetch_type_bare_geochats_located (struct paramed_type *T); -int fetch_type_geochats_messages (struct paramed_type *T); -int fetch_type_bare_geochats_messages (struct paramed_type *T); -int fetch_type_geochats_stated_message (struct paramed_type *T); -int fetch_type_bare_geochats_stated_message (struct paramed_type *T); -int fetch_type_help_app_update (struct paramed_type *T); -int fetch_type_bare_help_app_update (struct paramed_type *T); -int fetch_type_help_invite_text (struct paramed_type *T); -int fetch_type_bare_help_invite_text (struct paramed_type *T); -int fetch_type_help_support (struct paramed_type *T); -int fetch_type_bare_help_support (struct paramed_type *T); -int fetch_type_messages_affected_history (struct paramed_type *T); -int fetch_type_bare_messages_affected_history (struct paramed_type *T); -int fetch_type_messages_affected_messages (struct paramed_type *T); -int fetch_type_bare_messages_affected_messages (struct paramed_type *T); -int fetch_type_messages_all_stickers (struct paramed_type *T); -int fetch_type_bare_messages_all_stickers (struct paramed_type *T); -int fetch_type_messages_chat_full (struct paramed_type *T); -int fetch_type_bare_messages_chat_full (struct paramed_type *T); -int fetch_type_messages_chats (struct paramed_type *T); -int fetch_type_bare_messages_chats (struct paramed_type *T); -int fetch_type_messages_dh_config (struct paramed_type *T); -int fetch_type_bare_messages_dh_config (struct paramed_type *T); -int fetch_type_messages_dialogs (struct paramed_type *T); -int fetch_type_bare_messages_dialogs (struct paramed_type *T); -int fetch_type_messages_message (struct paramed_type *T); -int fetch_type_bare_messages_message (struct paramed_type *T); -int fetch_type_messages_messages (struct paramed_type *T); -int fetch_type_bare_messages_messages (struct paramed_type *T); -int fetch_type_messages_sent_encrypted_message (struct paramed_type *T); -int fetch_type_bare_messages_sent_encrypted_message (struct paramed_type *T); -int fetch_type_messages_sent_message (struct paramed_type *T); -int fetch_type_bare_messages_sent_message (struct paramed_type *T); -int fetch_type_messages_sticker_set (struct paramed_type *T); -int fetch_type_bare_messages_sticker_set (struct paramed_type *T); -int fetch_type_messages_stickers (struct paramed_type *T); -int fetch_type_bare_messages_stickers (struct paramed_type *T); -int fetch_type_photos_photo (struct paramed_type *T); -int fetch_type_bare_photos_photo (struct paramed_type *T); -int fetch_type_photos_photos (struct paramed_type *T); -int fetch_type_bare_photos_photos (struct paramed_type *T); -int fetch_type_storage_file_type (struct paramed_type *T); -int fetch_type_bare_storage_file_type (struct paramed_type *T); -int fetch_type_updates_difference (struct paramed_type *T); -int fetch_type_bare_updates_difference (struct paramed_type *T); -int fetch_type_updates_state (struct paramed_type *T); -int fetch_type_bare_updates_state (struct paramed_type *T); -int fetch_type_upload_file (struct paramed_type *T); -int fetch_type_bare_upload_file (struct paramed_type *T); -int fetch_type_any (struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-free-ds.c b/libs/tgl/src/auto/auto-free-ds.c deleted file mode 100644 index bf5fcc7f4d..0000000000 --- a/libs/tgl/src/auto/auto-free-ds.c +++ /dev/null @@ -1,9115 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-free-ds.h" -#include "auto-skip.h" -#include "auto-types.h" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-free-ds.h" -#include "auto/auto-skip.h" -#include "auto/auto-types.h" -#include "auto-static-free-ds.c" -#include "mtproto-common.h" -#endif -#include -void free_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->days, field1); -} -void free_ds_constructor_audio_empty (struct tl_ds_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); -} -void free_ds_constructor_audio (struct tl_ds_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field8); -} -void free_ds_constructor_authorization (struct tl_ds_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->device_model, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->platform, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->system_version, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->api_id, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->app_name, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->app_version, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date_created, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date_active, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->ip, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->country, field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->region, field13); -} -void free_ds_constructor_bool_false (struct tl_ds_bool *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return; } -} -void free_ds_constructor_bool_true (struct tl_ds_bool *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return; } -} -void free_ds_constructor_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->command, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->description, field2); -} -void free_ds_constructor_bot_command_old (struct tl_ds_bot_command *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->command, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->params, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->description, field3); -} -void free_ds_constructor_bot_info_empty (struct tl_ds_bot_info *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return; } -} -void free_ds_constructor_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->share_text, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->description, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->commands, field5); -} -void free_ds_constructor_bytes (struct tl_ds_string *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return; } - tfree (D->data, D->len + 1); - tfree (D, sizeof (*D)); -} -void free_ds_constructor_chat_empty (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_chat (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_photo (D->photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->participants_count, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->left, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field7); -} -void free_ds_constructor_chat_forbidden (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); -} -void free_ds_constructor_geo_chat (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->address, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->venue, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_point (D->geo, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_photo (D->photo, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->participants_count, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->checked_in, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field11); -} -void free_ds_constructor_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_participants (D->participants, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->chat_photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer_notify_settings (D->notify_settings, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_exported_chat_invite (D->exported_invite, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->bot_info, field6); -} -void free_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat (D->chat, field1); -} -void free_ds_constructor_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field1); -} -void free_ds_constructor_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->distance, field2); -} -void free_ds_constructor_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->inviter_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); -} -void free_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); -} -void free_ds_constructor_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->participants, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field4); -} -void free_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return; } -} -void free_ds_constructor_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->photo_small, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->photo_big, field2); -} -void free_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->retry_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->g_b, field4); -} -void free_ds_constructor_config (struct tl_ds_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->expires, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->test_mode, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->this_dc, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->dc_options, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_size_max, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->broadcast_size_max, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->forwarded_count_max, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->online_update_period_ms, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->offline_blur_timeout_ms, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->offline_idle_timeout_ms, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->online_cloud_timeout_ms, field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->notify_cloud_delay_ms, field13); - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->notify_default_delay_ms, field14); - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_big_size, field15); - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->push_chat_period_ms, field16); - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->push_chat_limit, field17); - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->disabled_features, field18); -} -void free_ds_constructor_contact (struct tl_ds_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->mutual, field2); -} -void free_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); -} -void free_ds_constructor_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void free_ds_constructor_contact_link_none (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void free_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void free_ds_constructor_contact_link_contact (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void free_ds_constructor_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_status (D->status, field2); -} -void free_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->mutual_contacts, field2); -} -void free_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->hostname, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->ip_address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->port, field4); -} -void free_ds_constructor_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->ip_address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->port, field4); -} -void free_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->ttl, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_decrypted_message_media (D->media, field4); -} -void free_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_decrypted_message_action (D->action, field2); -} -void free_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->ttl_seconds, field1); -} -void free_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->random_ids, field1); -} -void free_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->random_ids, field1); -} -void free_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->random_ids, field1); -} -void free_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } -} -void free_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->start_seq_no, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->end_seq_no, field2); -} -void free_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->layer, field1); -} -void free_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_send_message_action (D->action, field1); -} -void free_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->g_a, field2); -} -void free_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->g_b, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->key_fingerprint, field3); -} -void free_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->exchange_id, field1); -} -void free_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->key_fingerprint, field2); -} -void free_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } -} -void free_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->random_bytes, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->layer, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->in_seq_no, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->out_seq_no, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_decrypted_message (D->message, field5); -} -void free_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } -} -void free_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field8); -} -void free_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->latitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->longitude, field2); -} -void free_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field4); -} -void free_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->file_name, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field8); -} -void free_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field10); -} -void free_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field5); -} -void free_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo_size (D->thumb, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->attributes, field8); -} -void free_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field9); -} -void free_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->key, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->iv, field4); -} -void free_ds_constructor_dialog (struct tl_ds_dialog *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->top_message, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->read_inbox_max_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->unread_count, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer_notify_settings (D->notify_settings, field5); -} -void free_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->feature, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->description, field2); -} -void free_ds_constructor_document_empty (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); -} -void free_ds_constructor_document (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo_size (D->thumb, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->attributes, field8); -} -void free_ds_constructor_document_l19 (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->file_name, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo_size (D->thumb, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field9); -} -void free_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field2); -} -void free_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } -} -void free_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->alt, field1); -} -void free_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->alt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_sticker_set (D->stickerset, field2); -} -void free_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field3); -} -void free_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field1); -} -void free_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->file_name, field1); -} -void free_ds_constructor_double (double *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return; } - tfree (D, sizeof (*D)); -} -void free_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->participant_id, field5); -} -void free_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->participant_id, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->g_a, field6); -} -void free_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->participant_id, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->g_a_or_b, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->key_fingerprint, field7); -} -void free_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return; } -} -void free_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->key_fingerprint, field5); -} -void free_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->bytes, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_encrypted_file (D->file, field5); -} -void free_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->bytes, field4); -} -void free_ds_constructor_error (struct tl_ds_error *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->code, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->text, field2); -} -void free_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return; } -} -void free_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->link, field1); -} -void free_ds_constructor_file_location_unavailable (struct tl_ds_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->volume_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->local_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->secret, field3); -} -void free_ds_constructor_file_location (struct tl_ds_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->volume_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->local_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->secret, field4); -} -void free_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); -} -void free_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field6); -} -void free_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_action (D->action, field5); -} -void free_ds_constructor_geo_point_empty (struct tl_ds_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return; } -} -void free_ds_constructor_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->longitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->latitude, field2); -} -void free_ds_constructor_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->client_id, field2); -} -void free_ds_constructor_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->time, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->peer, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->data, field4); -} -void free_ds_constructor_input_audio_empty (struct tl_ds_input_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return; } -} -void free_ds_constructor_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } -} -void free_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_photo_crop (D->crop, field2); -} -void free_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_photo (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_photo_crop (D->crop, field2); -} -void free_ds_constructor_input_phone_contact (struct tl_ds_input_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->client_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field4); -} -void free_ds_constructor_input_document_empty (struct tl_ds_input_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return; } -} -void free_ds_constructor_input_document (struct tl_ds_input_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } -} -void free_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->md5_checksum, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->key_fingerprint, field4); -} -void free_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->key_fingerprint, field3); -} -void free_ds_constructor_input_file (struct tl_ds_input_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->md5_checksum, field4); -} -void free_ds_constructor_input_file_big (struct tl_ds_input_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->name, field3); -} -void free_ds_constructor_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->volume_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->local_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->secret, field3); -} -void free_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return; } -} -void free_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->latitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->longitude, field2); -} -void free_ds_constructor_input_media_empty (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } -} -void free_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field2); -} -void free_ds_constructor_input_media_photo (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_photo (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field2); -} -void free_ds_constructor_input_media_geo_point (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_geo_point (D->geo_point, field1); -} -void free_ds_constructor_input_media_contact (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field3); -} -void free_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field5); -} -void free_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->thumb, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field6); -} -void free_ds_constructor_input_media_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_video (D->video_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field2); -} -void free_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field3); -} -void free_ds_constructor_input_media_audio (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_audio (D->audio_id, field1); -} -void free_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->attributes, field3); -} -void free_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_file (D->thumb, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->attributes, field4); -} -void free_ds_constructor_input_media_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_document (D->document_id, field1); -} -void free_ds_constructor_input_media_venue (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_geo_point (D->geo_point, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->provider, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->venue_id, field5); -} -void free_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_peer (D->peer, field1); -} -void free_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void free_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void free_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void free_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_input_geo_chat (D->geo_peer, field1); -} -void free_ds_constructor_input_peer_empty (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } -} -void free_ds_constructor_input_peer_self (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } -} -void free_ds_constructor_input_peer_contact (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_peer_chat (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); -} -void free_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return; } -} -void free_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return; } -} -void free_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->mute_until, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->sound, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->show_previews, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->events_mask, field4); -} -void free_ds_constructor_input_photo_empty (struct tl_ds_input_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return; } -} -void free_ds_constructor_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return; } -} -void free_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->crop_left, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->crop_top, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_double (D->crop_width, field3); -} -void free_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return; } -} -void free_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void free_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void free_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field1); -} -void free_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void free_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void free_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field1); -} -void free_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } -} -void free_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->short_name, field1); -} -void free_ds_constructor_input_user_empty (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } -} -void free_ds_constructor_input_user_self (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } -} -void free_ds_constructor_input_user_contact (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_input_user_foreign (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_input_video_empty (struct tl_ds_input_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return; } -} -void free_ds_constructor_input_video (struct tl_ds_input_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); -} -void free_ds_constructor_int (int *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return; } - tfree (D, sizeof (*D)); -} -void free_ds_constructor_int128 (struct tl_ds_int128 *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f0, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f1, field2); -} -void free_ds_constructor_int256 (struct tl_ds_int256 *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f0, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f1, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f2, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->f3, field4); -} -void free_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->text, field1); -} -void free_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->buttons, field1); -} -void free_ds_constructor_long (long long *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return; } - tfree (D, sizeof (*D)); -} -void free_ds_constructor_message_empty (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_message (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->to_id, field4); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_from_id, field5); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_date, field6); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->reply_to_msg_id, field7); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field10); - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_reply_markup (D->reply_markup, field11); - } -} -void free_ds_constructor_message_service (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->to_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_action (D->action, field6); -} -void free_ds_constructor_message_action_empty (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void free_ds_constructor_message_action_chat_create (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field1); -} -void free_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field1); -} -void free_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void free_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->address, field2); -} -void free_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void free_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->inviter_id, field1); -} -void free_ds_constructor_message_media_empty (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } -} -void free_ds_constructor_message_media_photo (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field2); -} -void free_ds_constructor_message_media_video (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_video (D->video, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field2); -} -void free_ds_constructor_message_media_geo (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_point (D->geo, field1); -} -void free_ds_constructor_message_media_contact (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field4); -} -void free_ds_constructor_message_media_unsupported (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } -} -void free_ds_constructor_message_media_document (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_document (D->document, field1); -} -void free_ds_constructor_message_media_audio (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_audio (D->audio, field1); -} -void free_ds_constructor_message_media_web_page (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_web_page (D->webpage, field1); -} -void free_ds_constructor_message_media_venue (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_point (D->geo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->provider, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->venue_id, field5); -} -void free_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field1); -} -void free_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_video (D->video, field1); -} -void free_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void free_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->country, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->this_dc, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->nearest_dc, field3); -} -void free_ds_constructor_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->peer, field1); -} -void free_ds_constructor_notify_users (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void free_ds_constructor_notify_chats (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void free_ds_constructor_notify_all (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void free_ds_constructor_null (struct tl_ds_null *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return; } -} -void free_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->pq, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->q, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int256 (D->new_nonce, field6); -} -void free_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->pq, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->q, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int256 (D->new_nonce, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->expires_in, field7); -} -void free_ds_constructor_peer_user (struct tl_ds_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); -} -void free_ds_constructor_peer_chat (struct tl_ds_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); -} -void free_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return; } -} -void free_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return; } -} -void free_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return; } -} -void free_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->mute_until, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->sound, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->show_previews, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->events_mask, field4); -} -void free_ds_constructor_photo_empty (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); -} -void free_ds_constructor_photo (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_point (D->geo, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->sizes, field6); -} -void free_ds_constructor_photo_l27 (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_point (D->geo, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->sizes, field7); -} -void free_ds_constructor_photo_size_empty (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field1); -} -void free_ds_constructor_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->location, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field5); -} -void free_ds_constructor_photo_cached_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->location, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->bytes, field5); -} -void free_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return; } -} -void free_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void free_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void free_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field1); -} -void free_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void free_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void free_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field1); -} -void free_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field2); -} -void free_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); -} -void free_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); -} -void free_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->rows, field2); -} -void free_ds_constructor_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->pq, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->server_public_key_fingerprints, field4); -} -void free_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->progress, field1); -} -void free_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->progress, field1); -} -void free_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->progress, field1); -} -void free_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->progress, field1); -} -void free_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void free_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->new_nonce_hash, field3); -} -void free_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->encrypted_answer, field3); -} -void free_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->g, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->dh_prime, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->g_a, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->server_time, field6); -} -void free_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->new_nonce_hash1, field3); -} -void free_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->new_nonce_hash2, field3); -} -void free_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int128 (D->new_nonce_hash3, field3); -} -void free_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->emoticon, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->documents, field2); -} -void free_ds_constructor_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->short_name, field4); -} -void free_ds_constructor_string (struct tl_ds_string *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return; } - tfree (D->data, D->len + 1); - tfree (D, sizeof (*D)); -} -void free_ds_constructor_update_new_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message (D->message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field3); -} -void free_ds_constructor_update_message_i_d (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->random_id, field2); -} -void free_ds_constructor_update_delete_messages (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field3); -} -void free_ds_constructor_update_user_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_send_message_action (D->action, field2); -} -void free_ds_constructor_update_chat_user_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_send_message_action (D->action, field3); -} -void free_ds_constructor_update_chat_participants (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_participants (D->participants, field1); -} -void free_ds_constructor_update_user_status (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_status (D->status, field2); -} -void free_ds_constructor_update_user_name (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->username, field4); -} -void free_ds_constructor_update_user_photo (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_profile_photo (D->photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->previous, field4); -} -void free_ds_constructor_update_contact_registered (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); -} -void free_ds_constructor_update_contact_link (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_contact_link (D->my_link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_contact_link (D->foreign_link, field3); -} -void free_ds_constructor_update_new_authorization (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->auth_key_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->device, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->location, field4); -} -void free_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_chat_message (D->geo_message, field1); -} -void free_ds_constructor_update_new_encrypted_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_encrypted_message (D->encr_message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->qts, field2); -} -void free_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); -} -void free_ds_constructor_update_encryption (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_encrypted_chat (D->encr_chat, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); -} -void free_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->max_date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); -} -void free_ds_constructor_update_chat_participant_add (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->inviter_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field4); -} -void free_ds_constructor_update_chat_participant_delete (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field3); -} -void free_ds_constructor_update_dc_options (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->dc_options, field1); -} -void free_ds_constructor_update_user_blocked (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->blocked, field2); -} -void free_ds_constructor_update_notify_settings (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_notify_peer (D->notify_peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer_notify_settings (D->notify_settings, field2); -} -void free_ds_constructor_update_service_notification (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message_text, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->popup, field4); -} -void free_ds_constructor_update_privacy (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_privacy_key (D->key, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->rules, field2); -} -void free_ds_constructor_update_user_phone (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone, field2); -} -void free_ds_constructor_update_read_history_inbox (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->max_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field4); -} -void free_ds_constructor_update_read_history_outbox (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->max_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field4); -} -void free_ds_constructor_update_web_page (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_web_page (D->webpage, field1); -} -void free_ds_constructor_update_read_messages_contents (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field3); -} -void free_ds_constructor_update_msg_update (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field3); -} -void free_ds_constructor_updates_too_long (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } -} -void free_ds_constructor_update_short_message (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field7); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_from_id, field8); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_date, field9); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->reply_to_msg_id, field10); - } -} -void free_ds_constructor_update_short_chat_message (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->chat_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field8); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_from_id, field9); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_date, field10); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->reply_to_msg_id, field11); - } -} -void free_ds_constructor_update_short (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_update (D->update, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); -} -void free_ds_constructor_updates_combined (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->updates, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq_start, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field6); -} -void free_ds_constructor_updates (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->updates, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field5); -} -void free_ds_constructor_user_empty (struct tl_ds_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_user (struct tl_ds_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field4); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field5); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->username, field6); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone, field7); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_profile_photo (D->photo, field8); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_status (D->status, field9); - } - if (PTR2INT (var0) & (1 << 14)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->bot_info_version, field10); - } -} -void free_ds_constructor_user_full (struct tl_ds_user_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user (D->user, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_contacts_link (D->link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->profile_photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_peer_notify_settings (D->notify_settings, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->blocked, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bot_info (D->bot_info, field6); -} -void free_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return; } -} -void free_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->photo_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->photo_small, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_file_location (D->photo_big, field3); -} -void free_ds_constructor_user_status_empty (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void free_ds_constructor_user_status_online (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->expires, field1); -} -void free_ds_constructor_user_status_offline (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->was_online, field1); -} -void free_ds_constructor_user_status_recently (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void free_ds_constructor_user_status_last_week (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void free_ds_constructor_user_status_last_month (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void free_ds_constructor_vector (struct tl_ds_vector *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return; } - if (ODDP(T->params[0])) { return; } - struct paramed_type *var0 = T->params[0]; assert (var0); - struct paramed_type *var1 = INT2PTR (*D->f1); - tfree (D->f1, sizeof (*D->f1)); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - { - int i = 0; - while (i < multiplicity3) { - free_ds_type_any (D->f2[i ++], field3); - } - } - tfree (D->f2, sizeof (void *) * multiplicity3); -} -void free_ds_constructor_video_empty (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); -} -void free_ds_constructor_video (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo_size (D->thumb, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field10); -} -void free_ds_constructor_video_l27 (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->caption, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->mime_type, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->size, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo_size (D->thumb, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc_id, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->w, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->h, field12); -} -void free_ds_constructor_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->sizes, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->color, field4); -} -void free_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->bg_color, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->color, field4); -} -void free_ds_constructor_web_page_empty (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); -} -void free_ds_constructor_web_page_pending (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); -} -void free_ds_constructor_web_page (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->url, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->display_url, field4); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->type, field5); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->site_name, field6); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field7); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->description, field8); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field9); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->embed_url, field10); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->embed_type, field11); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->embed_width, field12); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->embed_height, field13); - } - if (PTR2INT (var0) & (1 << 7)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->duration, field14); - } - if (PTR2INT (var0) & (1 << 8)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->author, field15); - } -} -void free_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->authorizations, field1); -} -void free_ds_constructor_account_no_password (struct tl_ds_account_password *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->new_salt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->email_unconfirmed_pattern, field2); -} -void free_ds_constructor_account_password (struct tl_ds_account_password *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->current_salt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->new_salt, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->hint, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->has_recovery, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->email_unconfirmed_pattern, field5); -} -void free_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->new_salt, field2); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->new_password_hash, field3); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->hint, field4); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->email, field5); - } -} -void free_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->email, field1); -} -void free_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->rules, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_code_hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->send_call_timeout, field2); -} -void free_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user (D->user, field1); -} -void free_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->phone_registered, field1); -} -void free_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->bytes, field2); -} -void free_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->email_pattern, field1); -} -void free_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->phone_registered, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_code_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->send_call_timeout, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->is_password, field4); -} -void free_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->phone_registered, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_code_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->send_call_timeout, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->is_password, field4); -} -void free_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return; } - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - { - int i = 0; - while (i < multiplicity1) { - free_ds_type_any (D->key[i ++], field1); - } - } - tfree (D->key, sizeof (void *) * multiplicity1); -} -void free_ds_constructor_binlog_start (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } -} -void free_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->ip, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->port, field4); -} -void free_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->ip, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->port, field5); -} -void free_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_binlog_encr_key (D->key, field2); -} -void free_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc, field1); -} -void free_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->dc, field1); -} -void free_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->root, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_binlog_encr_key (D->prime, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field3); -} -void free_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field1); -} -void free_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->qts, field1); -} -void free_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field1); -} -void free_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field1); -} -void free_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin, field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field6); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_binlog_encr_key (D->key, field7); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_binlog_encr_key (D->g_key, field8); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->state, field9); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->ttl, field10); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->layer, field11); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->in_seq_no, field12); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->last_in_seq_no, field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->out_seq_no, field14); - } - if (PTR2INT (var0) & (1 << 27)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->key_fingerprint, field15); - } -} -void free_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->exchange_id, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_binlog_encr_key (D->key, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->state, field5); - } -} -void free_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); -} -void free_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->first_name, field4); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->last_name, field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->username, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->real_first_name, field9); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->real_last_name, field10); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user_profile_photo (D->user_photo, field11); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->last_read_in, field12); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->last_read_out, field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bot_info (D->bot_info, field14); - } -} -void free_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->title, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_num, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->participants, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_photo (D->chat_photo, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->admin, field10); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->last_read_in, field11); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->last_read_out, field12); - } -} -void free_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->inviter_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field5); -} -void free_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->user_id, field3); -} -void free_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->old_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->new_id, field2); -} -void free_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->lid, field1); -} -void free_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->lid, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->to_type, field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->to_id, field5); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_from_id, field6); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->fwd_date, field7); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field8); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field9); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field10); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_action (D->action, field11); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->reply_id, field12); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_reply_markup (D->reply_markup, field13); - } -} -void free_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - tfree (D->flags, sizeof (*D->flags)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->lid, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->from_id, field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->to_type, field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->to_id, field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_decrypted_message_media (D->encr_media, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_decrypted_message_action (D->encr_action, field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_encrypted_file (D->file, field10); - } -} -void free_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_long (D->lid, field1); -} -void free_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } -} -void free_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->blocked, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->blocked, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return; } -} -void free_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->contacts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->imported, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->retry_contacts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_contact_link (D->my_link, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_contact_link (D->foreign_link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user (D->user, field3); -} -void free_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field4); -} -void free_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field4); -} -void free_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_geo_chat_message (D->message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field4); -} -void free_ds_constructor_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bool (D->critical, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->url, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->text, field4); -} -void free_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return; } -} -void free_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->message, field1); -} -void free_ds_constructor_help_support (struct tl_ds_help_support *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_user (D->user, field2); -} -void free_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->offset, field3); -} -void free_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field2); -} -void free_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return; } -} -void free_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->packs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->sets, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->documents, field4); -} -void free_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_chat_full (D->full_chat, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field1); -} -void free_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->random, field1); -} -void free_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->g, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->version, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->random, field4); -} -void free_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->dialogs, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field4); -} -void free_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->dialogs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field5); -} -void free_ds_constructor_messages_message_empty (struct tl_ds_messages_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return; } -} -void free_ds_constructor_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field4); -} -void free_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field1); -} -void free_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_encrypted_file (D->file, field2); -} -void free_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field5); -} -void free_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts_count, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->links, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field7); -} -void free_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_sticker_set (D->set, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->packs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->documents, field3); -} -void free_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return; } -} -void free_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_string (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->stickers, field2); -} -void free_ds_constructor_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_photo (D->photo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->photos, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field2); -} -void free_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->photos, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field3); -} -void free_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void free_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field2); -} -void free_ds_constructor_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->new_messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->new_encrypted_messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->other_updates, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_updates_state (D->state, field6); -} -void free_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->new_messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->new_encrypted_messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->other_updates, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - free_ds_type_any (D->users, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_updates_state (D->intermediate_state, field6); -} -void free_ds_constructor_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->qts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->seq, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->unread_count, field5); -} -void free_ds_constructor_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_storage_file_type (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_int (D->mtime, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - free_ds_type_bytes (D->bytes, field3); -} -void free_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T) { - free_ds_constructor_account_days_t_t_l (D, T); return; -} -void free_ds_type_audio (struct tl_ds_audio *D, struct paramed_type *T) { - switch (D->magic) { - case 0x586988d8: free_ds_constructor_audio_empty (D, T); return; - case 0xc7ac6496: free_ds_constructor_audio (D, T); return; - default: assert (0); - } -} -void free_ds_type_authorization (struct tl_ds_authorization *D, struct paramed_type *T) { - free_ds_constructor_authorization (D, T); return; -} -void free_ds_type_bool (struct tl_ds_bool *D, struct paramed_type *T) { - switch (D->magic) { - case 0xbc799737: free_ds_constructor_bool_false (D, T); return; - case 0x997275b5: free_ds_constructor_bool_true (D, T); return; - default: assert (0); - } -} -void free_ds_type_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc27ac8c7: free_ds_constructor_bot_command (D, T); return; - case 0xb79d22ab: free_ds_constructor_bot_command_old (D, T); return; - default: assert (0); - } -} -void free_ds_type_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T) { - switch (D->magic) { - case 0xbb2e37ce: free_ds_constructor_bot_info_empty (D, T); return; - case 0x09cf585d: free_ds_constructor_bot_info (D, T); return; - default: assert (0); - } -} -void free_ds_type_bytes (struct tl_ds_string *D, struct paramed_type *T) { - free_ds_constructor_bytes (D, T); return; -} -void free_ds_type_chat (struct tl_ds_chat *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9ba2d800: free_ds_constructor_chat_empty (D, T); return; - case 0x6e9c9bc7: free_ds_constructor_chat (D, T); return; - case 0xfb0ccc41: free_ds_constructor_chat_forbidden (D, T); return; - case 0x75eaea5a: free_ds_constructor_geo_chat (D, T); return; - default: assert (0); - } -} -void free_ds_type_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T) { - free_ds_constructor_chat_full (D, T); return; -} -void free_ds_type_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5a686d7c: free_ds_constructor_chat_invite_already (D, T); return; - case 0xce917dcd: free_ds_constructor_chat_invite (D, T); return; - default: assert (0); - } -} -void free_ds_type_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T) { - free_ds_constructor_chat_located (D, T); return; -} -void free_ds_type_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T) { - free_ds_constructor_chat_participant (D, T); return; -} -void free_ds_type_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0fd2bb8a: free_ds_constructor_chat_participants_forbidden (D, T); return; - case 0x7841b415: free_ds_constructor_chat_participants (D, T); return; - default: assert (0); - } -} -void free_ds_type_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x37c1011c: free_ds_constructor_chat_photo_empty (D, T); return; - case 0x6153276a: free_ds_constructor_chat_photo (D, T); return; - default: assert (0); - } -} -void free_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T) { - free_ds_constructor_client_d_h_inner_data (D, T); return; -} -void free_ds_type_config (struct tl_ds_config *D, struct paramed_type *T) { - free_ds_constructor_config (D, T); return; -} -void free_ds_type_contact (struct tl_ds_contact *D, struct paramed_type *T) { - free_ds_constructor_contact (D, T); return; -} -void free_ds_type_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T) { - free_ds_constructor_contact_blocked (D, T); return; -} -void free_ds_type_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T) { - free_ds_constructor_contact_found (D, T); return; -} -void free_ds_type_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5f4f9247: free_ds_constructor_contact_link_unknown (D, T); return; - case 0xfeedd3ad: free_ds_constructor_contact_link_none (D, T); return; - case 0x268f3f59: free_ds_constructor_contact_link_has_phone (D, T); return; - case 0xd502c2d0: free_ds_constructor_contact_link_contact (D, T); return; - default: assert (0); - } -} -void free_ds_type_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T) { - free_ds_constructor_contact_status (D, T); return; -} -void free_ds_type_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T) { - free_ds_constructor_contact_suggested (D, T); return; -} -void free_ds_type_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T) { - switch (D->magic) { - case 0x2ec2a43c: free_ds_constructor_dc_option_l28 (D, T); return; - case 0x05d8c6cc: free_ds_constructor_dc_option (D, T); return; - default: assert (0); - } -} -void free_ds_type_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x204d3878: free_ds_constructor_decrypted_message (D, T); return; - case 0x73164160: free_ds_constructor_decrypted_message_service (D, T); return; - default: assert (0); - } -} -void free_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0xa1733aec: free_ds_constructor_decrypted_message_action_set_message_t_t_l (D, T); return; - case 0x0c4f40be: free_ds_constructor_decrypted_message_action_read_messages (D, T); return; - case 0x65614304: free_ds_constructor_decrypted_message_action_delete_messages (D, T); return; - case 0x8ac1f475: free_ds_constructor_decrypted_message_action_screenshot_messages (D, T); return; - case 0x6719e45c: free_ds_constructor_decrypted_message_action_flush_history (D, T); return; - case 0x511110b0: free_ds_constructor_decrypted_message_action_resend (D, T); return; - case 0xf3048883: free_ds_constructor_decrypted_message_action_notify_layer (D, T); return; - case 0xccb27641: free_ds_constructor_decrypted_message_action_typing (D, T); return; - case 0xf3c9611b: free_ds_constructor_decrypted_message_action_request_key (D, T); return; - case 0x6fe1735b: free_ds_constructor_decrypted_message_action_accept_key (D, T); return; - case 0xdd05ec6b: free_ds_constructor_decrypted_message_action_abort_key (D, T); return; - case 0xec2e0b9b: free_ds_constructor_decrypted_message_action_commit_key (D, T); return; - case 0xa82fdd63: free_ds_constructor_decrypted_message_action_noop (D, T); return; - default: assert (0); - } -} -void free_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T) { - free_ds_constructor_decrypted_message_layer (D, T); return; -} -void free_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x089f5c4a: free_ds_constructor_decrypted_message_media_empty (D, T); return; - case 0x32798a8c: free_ds_constructor_decrypted_message_media_photo (D, T); return; - case 0x35480a59: free_ds_constructor_decrypted_message_media_geo_point (D, T); return; - case 0x588a0a97: free_ds_constructor_decrypted_message_media_contact (D, T); return; - case 0xb095434b: free_ds_constructor_decrypted_message_media_document (D, T); return; - case 0x524a415d: free_ds_constructor_decrypted_message_media_video (D, T); return; - case 0x57e0a9cb: free_ds_constructor_decrypted_message_media_audio (D, T); return; - case 0xfa95b0dd: free_ds_constructor_decrypted_message_media_external_document (D, T); return; - case 0x4cee6ef3: free_ds_constructor_decrypted_message_media_video_l12 (D, T); return; - case 0x6080758f: free_ds_constructor_decrypted_message_media_audio_l12 (D, T); return; - default: assert (0); - } -} -void free_ds_type_dialog (struct tl_ds_dialog *D, struct paramed_type *T) { - free_ds_constructor_dialog (D, T); return; -} -void free_ds_type_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T) { - free_ds_constructor_disabled_feature (D, T); return; -} -void free_ds_type_document (struct tl_ds_document *D, struct paramed_type *T) { - switch (D->magic) { - case 0x36f8c871: free_ds_constructor_document_empty (D, T); return; - case 0xf9a39f4f: free_ds_constructor_document (D, T); return; - case 0x9efc6326: free_ds_constructor_document_l19 (D, T); return; - default: assert (0); - } -} -void free_ds_type_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T) { - switch (D->magic) { - case 0x6c37c15c: free_ds_constructor_document_attribute_image_size (D, T); return; - case 0x11b58939: free_ds_constructor_document_attribute_animated (D, T); return; - case 0x994c9882: free_ds_constructor_document_attribute_sticker_l28 (D, T); return; - case 0x3a556302: free_ds_constructor_document_attribute_sticker (D, T); return; - case 0x5910cccb: free_ds_constructor_document_attribute_video (D, T); return; - case 0x051448e5: free_ds_constructor_document_attribute_audio (D, T); return; - case 0x15590068: free_ds_constructor_document_attribute_filename (D, T); return; - default: assert (0); - } -} -void free_ds_type_double (double *D, struct paramed_type *T) { - free_ds_constructor_double (D, T); return; -} -void free_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - switch (D->magic) { - case 0xab7ec0a0: free_ds_constructor_encrypted_chat_empty (D, T); return; - case 0x3bf703dc: free_ds_constructor_encrypted_chat_waiting (D, T); return; - case 0xc878527e: free_ds_constructor_encrypted_chat_requested (D, T); return; - case 0xfa56ce36: free_ds_constructor_encrypted_chat (D, T); return; - case 0x13d6dd27: free_ds_constructor_encrypted_chat_discarded (D, T); return; - default: assert (0); - } -} -void free_ds_type_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc21f497e: free_ds_constructor_encrypted_file_empty (D, T); return; - case 0x4a70994c: free_ds_constructor_encrypted_file (D, T); return; - default: assert (0); - } -} -void free_ds_type_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0xed18c118: free_ds_constructor_encrypted_message (D, T); return; - case 0x23734b06: free_ds_constructor_encrypted_message_service (D, T); return; - default: assert (0); - } -} -void free_ds_type_error (struct tl_ds_error *D, struct paramed_type *T) { - free_ds_constructor_error (D, T); return; -} -void free_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - switch (D->magic) { - case 0x69df3769: free_ds_constructor_chat_invite_empty (D, T); return; - case 0xfc2e05bc: free_ds_constructor_chat_invite_exported (D, T); return; - default: assert (0); - } -} -void free_ds_type_file_location (struct tl_ds_file_location *D, struct paramed_type *T) { - switch (D->magic) { - case 0x7c596b46: free_ds_constructor_file_location_unavailable (D, T); return; - case 0x53d69076: free_ds_constructor_file_location (D, T); return; - default: assert (0); - } -} -void free_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x60311a9b: free_ds_constructor_geo_chat_message_empty (D, T); return; - case 0x4505f8e1: free_ds_constructor_geo_chat_message (D, T); return; - case 0xd34fa24e: free_ds_constructor_geo_chat_message_service (D, T); return; - default: assert (0); - } -} -void free_ds_type_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1117dd5f: free_ds_constructor_geo_point_empty (D, T); return; - case 0x2049d70c: free_ds_constructor_geo_point (D, T); return; - default: assert (0); - } -} -void free_ds_type_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T) { - free_ds_constructor_imported_contact (D, T); return; -} -void free_ds_type_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T) { - free_ds_constructor_input_app_event (D, T); return; -} -void free_ds_type_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T) { - switch (D->magic) { - case 0xd95adc84: free_ds_constructor_input_audio_empty (D, T); return; - case 0x77d440ff: free_ds_constructor_input_audio (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1ca48f57: free_ds_constructor_input_chat_photo_empty (D, T); return; - case 0x94254732: free_ds_constructor_input_chat_uploaded_photo (D, T); return; - case 0xb2e1bf08: free_ds_constructor_input_chat_photo (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T) { - free_ds_constructor_input_phone_contact (D, T); return; -} -void free_ds_type_input_document (struct tl_ds_input_document *D, struct paramed_type *T) { - switch (D->magic) { - case 0x72f0eaae: free_ds_constructor_input_document_empty (D, T); return; - case 0x18798952: free_ds_constructor_input_document (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T) { - free_ds_constructor_input_encrypted_chat (D, T); return; -} -void free_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1837c364: free_ds_constructor_input_encrypted_file_empty (D, T); return; - case 0x64bd0306: free_ds_constructor_input_encrypted_file_uploaded (D, T); return; - case 0x5a17b5e5: free_ds_constructor_input_encrypted_file (D, T); return; - case 0x2dc173c8: free_ds_constructor_input_encrypted_file_big_uploaded (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_file (struct tl_ds_input_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf52ff27f: free_ds_constructor_input_file (D, T); return; - case 0xfa4f0bb5: free_ds_constructor_input_file_big (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - switch (D->magic) { - case 0x14637196: free_ds_constructor_input_file_location (D, T); return; - case 0x3d0364ec: free_ds_constructor_input_video_file_location (D, T); return; - case 0xf5235d55: free_ds_constructor_input_encrypted_file_location (D, T); return; - case 0x74dc404d: free_ds_constructor_input_audio_file_location (D, T); return; - case 0x4e45abe9: free_ds_constructor_input_document_file_location (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T) { - free_ds_constructor_input_geo_chat (D, T); return; -} -void free_ds_type_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe4c123d6: free_ds_constructor_input_geo_point_empty (D, T); return; - case 0xf3b7acc9: free_ds_constructor_input_geo_point (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_media (struct tl_ds_input_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9664f57f: free_ds_constructor_input_media_empty (D, T); return; - case 0xf7aff1c0: free_ds_constructor_input_media_uploaded_photo (D, T); return; - case 0xe9bfb4f3: free_ds_constructor_input_media_photo (D, T); return; - case 0xf9c44144: free_ds_constructor_input_media_geo_point (D, T); return; - case 0xa6e45987: free_ds_constructor_input_media_contact (D, T); return; - case 0xe13fd4bc: free_ds_constructor_input_media_uploaded_video (D, T); return; - case 0x96fb97dc: free_ds_constructor_input_media_uploaded_thumb_video (D, T); return; - case 0x936a4ebd: free_ds_constructor_input_media_video (D, T); return; - case 0x4e498cab: free_ds_constructor_input_media_uploaded_audio (D, T); return; - case 0x89938781: free_ds_constructor_input_media_audio (D, T); return; - case 0xffe76b78: free_ds_constructor_input_media_uploaded_document (D, T); return; - case 0x41481486: free_ds_constructor_input_media_uploaded_thumb_document (D, T); return; - case 0xd184e841: free_ds_constructor_input_media_document (D, T); return; - case 0x2827a81a: free_ds_constructor_input_media_venue (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb8bc5b0c: free_ds_constructor_input_notify_peer (D, T); return; - case 0x193b4417: free_ds_constructor_input_notify_users (D, T); return; - case 0x4a95e84e: free_ds_constructor_input_notify_chats (D, T); return; - case 0xa429b886: free_ds_constructor_input_notify_all (D, T); return; - case 0x4d8ddec8: free_ds_constructor_input_notify_geo_chat_peer (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x7f3b18ea: free_ds_constructor_input_peer_empty (D, T); return; - case 0x7da07ec9: free_ds_constructor_input_peer_self (D, T); return; - case 0x1023dbe8: free_ds_constructor_input_peer_contact (D, T); return; - case 0x9b447325: free_ds_constructor_input_peer_foreign (D, T); return; - case 0x179be863: free_ds_constructor_input_peer_chat (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf03064d8: free_ds_constructor_input_peer_notify_events_empty (D, T); return; - case 0xe86a2c74: free_ds_constructor_input_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T) { - free_ds_constructor_input_peer_notify_settings (D, T); return; -} -void free_ds_type_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1cd7bf0d: free_ds_constructor_input_photo_empty (D, T); return; - case 0xfb95c6c4: free_ds_constructor_input_photo (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - switch (D->magic) { - case 0xade6b004: free_ds_constructor_input_photo_crop_auto (D, T); return; - case 0xd9915325: free_ds_constructor_input_photo_crop (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T) { - free_ds_constructor_input_privacy_key_status_timestamp (D, T); return; -} -void free_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0d09e07b: free_ds_constructor_input_privacy_value_allow_contacts (D, T); return; - case 0x184b35ce: free_ds_constructor_input_privacy_value_allow_all (D, T); return; - case 0x131cc67f: free_ds_constructor_input_privacy_value_allow_users (D, T); return; - case 0x0ba52007: free_ds_constructor_input_privacy_value_disallow_contacts (D, T); return; - case 0xd66b66c9: free_ds_constructor_input_privacy_value_disallow_all (D, T); return; - case 0x90110467: free_ds_constructor_input_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - switch (D->magic) { - case 0xffb62b95: free_ds_constructor_input_sticker_set_empty (D, T); return; - case 0x9de7a269: free_ds_constructor_input_sticker_set_i_d (D, T); return; - case 0x861cc8a0: free_ds_constructor_input_sticker_set_short_name (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_user (struct tl_ds_input_user *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb98886cf: free_ds_constructor_input_user_empty (D, T); return; - case 0xf7c1b13f: free_ds_constructor_input_user_self (D, T); return; - case 0x86e94f65: free_ds_constructor_input_user_contact (D, T); return; - case 0x655e74ff: free_ds_constructor_input_user_foreign (D, T); return; - default: assert (0); - } -} -void free_ds_type_input_video (struct tl_ds_input_video *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5508ec75: free_ds_constructor_input_video_empty (D, T); return; - case 0xee579652: free_ds_constructor_input_video (D, T); return; - default: assert (0); - } -} -void free_ds_type_int (int *D, struct paramed_type *T) { - free_ds_constructor_int (D, T); return; -} -void free_ds_type_int128 (struct tl_ds_int128 *D, struct paramed_type *T) { - free_ds_constructor_int128 (D, T); return; -} -void free_ds_type_int256 (struct tl_ds_int256 *D, struct paramed_type *T) { - free_ds_constructor_int256 (D, T); return; -} -void free_ds_type_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T) { - free_ds_constructor_keyboard_button (D, T); return; -} -void free_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T) { - free_ds_constructor_keyboard_button_row (D, T); return; -} -void free_ds_type_long (long long *D, struct paramed_type *T) { - free_ds_constructor_long (D, T); return; -} -void free_ds_type_message (struct tl_ds_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x83e5de54: free_ds_constructor_message_empty (D, T); return; - case 0xc3060325: free_ds_constructor_message (D, T); return; - case 0x1d86f70e: free_ds_constructor_message_service (D, T); return; - default: assert (0); - } -} -void free_ds_type_message_action (struct tl_ds_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb6aef7b0: free_ds_constructor_message_action_empty (D, T); return; - case 0xa6638b9a: free_ds_constructor_message_action_chat_create (D, T); return; - case 0xb5a1ce5a: free_ds_constructor_message_action_chat_edit_title (D, T); return; - case 0x7fcb13a8: free_ds_constructor_message_action_chat_edit_photo (D, T); return; - case 0x95e3fbef: free_ds_constructor_message_action_chat_delete_photo (D, T); return; - case 0x5e3cfc4b: free_ds_constructor_message_action_chat_add_user (D, T); return; - case 0xb2ae9b0c: free_ds_constructor_message_action_chat_delete_user (D, T); return; - case 0x6f038ebc: free_ds_constructor_message_action_geo_chat_create (D, T); return; - case 0x0c7d53de: free_ds_constructor_message_action_geo_chat_checkin (D, T); return; - case 0xf89cf5e8: free_ds_constructor_message_action_chat_joined_by_link (D, T); return; - default: assert (0); - } -} -void free_ds_type_message_media (struct tl_ds_message_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3ded6320: free_ds_constructor_message_media_empty (D, T); return; - case 0x3d8ce53d: free_ds_constructor_message_media_photo (D, T); return; - case 0x5bcf1675: free_ds_constructor_message_media_video (D, T); return; - case 0x56e0d474: free_ds_constructor_message_media_geo (D, T); return; - case 0x5e7d2f39: free_ds_constructor_message_media_contact (D, T); return; - case 0x9f84f49e: free_ds_constructor_message_media_unsupported (D, T); return; - case 0x2fda2204: free_ds_constructor_message_media_document (D, T); return; - case 0xc6b68300: free_ds_constructor_message_media_audio (D, T); return; - case 0xa32dd600: free_ds_constructor_message_media_web_page (D, T); return; - case 0x7912b71f: free_ds_constructor_message_media_venue (D, T); return; - case 0xc8c45a2a: free_ds_constructor_message_media_photo_l27 (D, T); return; - case 0xa2d24290: free_ds_constructor_message_media_video_l27 (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T) { - switch (D->magic) { - case 0x57e2f66c: free_ds_constructor_input_messages_filter_empty (D, T); return; - case 0x9609a51c: free_ds_constructor_input_messages_filter_photos (D, T); return; - case 0x9fc00e65: free_ds_constructor_input_messages_filter_video (D, T); return; - case 0x56e9f0e4: free_ds_constructor_input_messages_filter_photo_video (D, T); return; - case 0xd95e73bb: free_ds_constructor_input_messages_filter_photo_video_documents (D, T); return; - case 0x9eddf188: free_ds_constructor_input_messages_filter_document (D, T); return; - case 0xcfc87522: free_ds_constructor_input_messages_filter_audio (D, T); return; - default: assert (0); - } -} -void free_ds_type_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T) { - free_ds_constructor_nearest_dc (D, T); return; -} -void free_ds_type_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9fd40bd8: free_ds_constructor_notify_peer (D, T); return; - case 0xb4c83b4c: free_ds_constructor_notify_users (D, T); return; - case 0xc007cec3: free_ds_constructor_notify_chats (D, T); return; - case 0x74d07c60: free_ds_constructor_notify_all (D, T); return; - default: assert (0); - } -} -void free_ds_type_null (struct tl_ds_null *D, struct paramed_type *T) { - free_ds_constructor_null (D, T); return; -} -void free_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - switch (D->magic) { - case 0x83c95aec: free_ds_constructor_p_q_inner_data (D, T); return; - case 0x3c6a84d4: free_ds_constructor_p_q_inner_data_temp (D, T); return; - default: assert (0); - } -} -void free_ds_type_peer (struct tl_ds_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9db1bc6d: free_ds_constructor_peer_user (D, T); return; - case 0xbad0e5bb: free_ds_constructor_peer_chat (D, T); return; - default: assert (0); - } -} -void free_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - switch (D->magic) { - case 0xadd53cb3: free_ds_constructor_peer_notify_events_empty (D, T); return; - case 0x6d1ded88: free_ds_constructor_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void free_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - switch (D->magic) { - case 0x70a68512: free_ds_constructor_peer_notify_settings_empty (D, T); return; - case 0x8d5e11ee: free_ds_constructor_peer_notify_settings (D, T); return; - default: assert (0); - } -} -void free_ds_type_photo (struct tl_ds_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x2331b22d: free_ds_constructor_photo_empty (D, T); return; - case 0xc3838076: free_ds_constructor_photo (D, T); return; - case 0x22b56751: free_ds_constructor_photo_l27 (D, T); return; - default: assert (0); - } -} -void free_ds_type_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0e17e23c: free_ds_constructor_photo_size_empty (D, T); return; - case 0x77bfb61b: free_ds_constructor_photo_size (D, T); return; - case 0xe9a734fa: free_ds_constructor_photo_cached_size (D, T); return; - default: assert (0); - } -} -void free_ds_type_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T) { - free_ds_constructor_privacy_key_status_timestamp (D, T); return; -} -void free_ds_type_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - switch (D->magic) { - case 0xfffe1bac: free_ds_constructor_privacy_value_allow_contacts (D, T); return; - case 0x65427b82: free_ds_constructor_privacy_value_allow_all (D, T); return; - case 0x4d5bbe0c: free_ds_constructor_privacy_value_allow_users (D, T); return; - case 0xf888fa1a: free_ds_constructor_privacy_value_disallow_contacts (D, T); return; - case 0x8b73e763: free_ds_constructor_privacy_value_disallow_all (D, T); return; - case 0x0c7f49b7: free_ds_constructor_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void free_ds_type_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T) { - free_ds_constructor_received_notify_message (D, T); return; -} -void free_ds_type_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T) { - switch (D->magic) { - case 0xa03e5b85: free_ds_constructor_reply_keyboard_hide (D, T); return; - case 0xf4108aa0: free_ds_constructor_reply_keyboard_force_reply (D, T); return; - case 0x3502758c: free_ds_constructor_reply_keyboard_markup (D, T); return; - default: assert (0); - } -} -void free_ds_type_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T) { - free_ds_constructor_res_p_q (D, T); return; -} -void free_ds_type_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0x16bf744e: free_ds_constructor_send_message_typing_action (D, T); return; - case 0xfd5ec8f5: free_ds_constructor_send_message_cancel_action (D, T); return; - case 0xa187d66f: free_ds_constructor_send_message_record_video_action (D, T); return; - case 0x92042ff7: free_ds_constructor_send_message_upload_video_action_l27 (D, T); return; - case 0xe9763aec: free_ds_constructor_send_message_upload_video_action (D, T); return; - case 0xd52f73f7: free_ds_constructor_send_message_record_audio_action (D, T); return; - case 0xe6ac8a6f: free_ds_constructor_send_message_upload_audio_action_l27 (D, T); return; - case 0xf351d7ab: free_ds_constructor_send_message_upload_audio_action (D, T); return; - case 0xd1d34a26: free_ds_constructor_send_message_upload_photo_action (D, T); return; - case 0x8faee98e: free_ds_constructor_send_message_upload_document_action_l27 (D, T); return; - case 0xaa0cd9e4: free_ds_constructor_send_message_upload_document_action (D, T); return; - case 0x176f8ba1: free_ds_constructor_send_message_geo_location_action (D, T); return; - case 0x628cbc6f: free_ds_constructor_send_message_choose_contact_action (D, T); return; - default: assert (0); - } -} -void free_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - switch (D->magic) { - case 0x79cb045d: free_ds_constructor_server_d_h_params_fail (D, T); return; - case 0xd0e8075c: free_ds_constructor_server_d_h_params_ok (D, T); return; - default: assert (0); - } -} -void free_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T) { - free_ds_constructor_server_d_h_inner_data (D, T); return; -} -void free_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3bcbf734: free_ds_constructor_dh_gen_ok (D, T); return; - case 0x46dc1fb9: free_ds_constructor_dh_gen_retry (D, T); return; - case 0xa69dae02: free_ds_constructor_dh_gen_fail (D, T); return; - default: assert (0); - } -} -void free_ds_type_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T) { - free_ds_constructor_sticker_pack (D, T); return; -} -void free_ds_type_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T) { - free_ds_constructor_sticker_set (D, T); return; -} -void free_ds_type_string (struct tl_ds_string *D, struct paramed_type *T) { - free_ds_constructor_string (D, T); return; -} -void free_ds_type_update (struct tl_ds_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1f2b0afd: free_ds_constructor_update_new_message (D, T); return; - case 0x4e90bfd6: free_ds_constructor_update_message_i_d (D, T); return; - case 0xa20db0e5: free_ds_constructor_update_delete_messages (D, T); return; - case 0x5c486927: free_ds_constructor_update_user_typing (D, T); return; - case 0x9a65ea1f: free_ds_constructor_update_chat_user_typing (D, T); return; - case 0x07761198: free_ds_constructor_update_chat_participants (D, T); return; - case 0x1bfbd823: free_ds_constructor_update_user_status (D, T); return; - case 0xa7332b73: free_ds_constructor_update_user_name (D, T); return; - case 0x95313b0c: free_ds_constructor_update_user_photo (D, T); return; - case 0x2575bbb9: free_ds_constructor_update_contact_registered (D, T); return; - case 0x9d2e67c5: free_ds_constructor_update_contact_link (D, T); return; - case 0x8f06529a: free_ds_constructor_update_new_authorization (D, T); return; - case 0x5a68e3f7: free_ds_constructor_update_new_geo_chat_message (D, T); return; - case 0x12bcbd9a: free_ds_constructor_update_new_encrypted_message (D, T); return; - case 0x1710f156: free_ds_constructor_update_encrypted_chat_typing (D, T); return; - case 0xb4a2e88d: free_ds_constructor_update_encryption (D, T); return; - case 0x38fe25b7: free_ds_constructor_update_encrypted_messages_read (D, T); return; - case 0x3a0eeb22: free_ds_constructor_update_chat_participant_add (D, T); return; - case 0x6e5f8c22: free_ds_constructor_update_chat_participant_delete (D, T); return; - case 0x8e5e9873: free_ds_constructor_update_dc_options (D, T); return; - case 0x80ece81a: free_ds_constructor_update_user_blocked (D, T); return; - case 0xbec268ef: free_ds_constructor_update_notify_settings (D, T); return; - case 0x382dd3e4: free_ds_constructor_update_service_notification (D, T); return; - case 0xee3b272a: free_ds_constructor_update_privacy (D, T); return; - case 0x12b9417b: free_ds_constructor_update_user_phone (D, T); return; - case 0x9961fd5c: free_ds_constructor_update_read_history_inbox (D, T); return; - case 0x2f2f21bf: free_ds_constructor_update_read_history_outbox (D, T); return; - case 0x2cc36971: free_ds_constructor_update_web_page (D, T); return; - case 0x68c13933: free_ds_constructor_update_read_messages_contents (D, T); return; - case 0x03114739: free_ds_constructor_update_msg_update (D, T); return; - default: assert (0); - } -} -void free_ds_type_updates (struct tl_ds_updates *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe317af7e: free_ds_constructor_updates_too_long (D, T); return; - case 0xed5c2127: free_ds_constructor_update_short_message (D, T); return; - case 0x52238b3c: free_ds_constructor_update_short_chat_message (D, T); return; - case 0x78d4dec1: free_ds_constructor_update_short (D, T); return; - case 0x725b04c3: free_ds_constructor_updates_combined (D, T); return; - case 0x74ae4240: free_ds_constructor_updates (D, T); return; - default: assert (0); - } -} -void free_ds_type_user (struct tl_ds_user *D, struct paramed_type *T) { - switch (D->magic) { - case 0x200250ba: free_ds_constructor_user_empty (D, T); return; - case 0x22e49072: free_ds_constructor_user (D, T); return; - default: assert (0); - } -} -void free_ds_type_user_full (struct tl_ds_user_full *D, struct paramed_type *T) { - free_ds_constructor_user_full (D, T); return; -} -void free_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x4f11bae1: free_ds_constructor_user_profile_photo_empty (D, T); return; - case 0xd559d8c8: free_ds_constructor_user_profile_photo (D, T); return; - default: assert (0); - } -} -void free_ds_type_user_status (struct tl_ds_user_status *D, struct paramed_type *T) { - switch (D->magic) { - case 0x09d05049: free_ds_constructor_user_status_empty (D, T); return; - case 0xedb93949: free_ds_constructor_user_status_online (D, T); return; - case 0x008c703f: free_ds_constructor_user_status_offline (D, T); return; - case 0xe26f42f1: free_ds_constructor_user_status_recently (D, T); return; - case 0x07bf09fc: free_ds_constructor_user_status_last_week (D, T); return; - case 0x77ebc742: free_ds_constructor_user_status_last_month (D, T); return; - default: assert (0); - } -} -void free_ds_type_vector (struct tl_ds_vector *D, struct paramed_type *T) { - free_ds_constructor_vector (D, T); return; -} -void free_ds_type_video (struct tl_ds_video *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc10658a8: free_ds_constructor_video_empty (D, T); return; - case 0xee9f4a4d: free_ds_constructor_video (D, T); return; - case 0x388fa391: free_ds_constructor_video_l27 (D, T); return; - default: assert (0); - } -} -void free_ds_type_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T) { - switch (D->magic) { - case 0xccb03657: free_ds_constructor_wall_paper (D, T); return; - case 0x63117f24: free_ds_constructor_wall_paper_solid (D, T); return; - default: assert (0); - } -} -void free_ds_type_web_page (struct tl_ds_web_page *D, struct paramed_type *T) { - switch (D->magic) { - case 0xeb1477e8: free_ds_constructor_web_page_empty (D, T); return; - case 0xc586da1c: free_ds_constructor_web_page_pending (D, T); return; - case 0xa31ea0b5: free_ds_constructor_web_page (D, T); return; - default: assert (0); - } -} -void free_ds_type_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T) { - free_ds_constructor_account_authorizations (D, T); return; -} -void free_ds_type_account_password (struct tl_ds_account_password *D, struct paramed_type *T) { - switch (D->magic) { - case 0x96dabc18: free_ds_constructor_account_no_password (D, T); return; - case 0x7c18141c: free_ds_constructor_account_password (D, T); return; - default: assert (0); - } -} -void free_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T) { - free_ds_constructor_account_password_input_settings (D, T); return; -} -void free_ds_type_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T) { - free_ds_constructor_account_password_settings (D, T); return; -} -void free_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T) { - free_ds_constructor_account_privacy_rules (D, T); return; -} -void free_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T) { - free_ds_constructor_account_sent_change_phone_code (D, T); return; -} -void free_ds_type_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T) { - free_ds_constructor_auth_authorization (D, T); return; -} -void free_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T) { - free_ds_constructor_auth_checked_phone (D, T); return; -} -void free_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T) { - free_ds_constructor_auth_exported_authorization (D, T); return; -} -void free_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T) { - free_ds_constructor_auth_password_recovery (D, T); return; -} -void free_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - switch (D->magic) { - case 0xefed51d9: free_ds_constructor_auth_sent_code (D, T); return; - case 0xe325edcf: free_ds_constructor_auth_sent_app_code (D, T); return; - default: assert (0); - } -} -void free_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T) { - free_ds_constructor_binlog_encr_key (D, T); return; -} -void free_ds_type_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3b06de69: free_ds_constructor_binlog_start (D, T); return; - case 0xf96feb32: free_ds_constructor_binlog_dc_option (D, T); return; - case 0x7c0d22d8: free_ds_constructor_binlog_dc_option_new (D, T); return; - case 0x71e8c156: free_ds_constructor_binlog_auth_key (D, T); return; - case 0x9e83dbdc: free_ds_constructor_binlog_default_dc (D, T); return; - case 0x26451bb5: free_ds_constructor_binlog_dc_signed (D, T); return; - case 0x68a870e8: free_ds_constructor_binlog_our_id (D, T); return; - case 0xeaeb7826: free_ds_constructor_binlog_set_dh_params (D, T); return; - case 0x2ca8c939: free_ds_constructor_binlog_set_pts (D, T); return; - case 0xd95738ac: free_ds_constructor_binlog_set_qts (D, T); return; - case 0x1d0f4b52: free_ds_constructor_binlog_set_date (D, T); return; - case 0x6eeb2989: free_ds_constructor_binlog_set_seq (D, T); return; - case 0xee1b38e8: free_ds_constructor_binlog_encr_chat_delete (D, T); return; - case 0x84977251: free_ds_constructor_binlog_encr_chat_new (D, T); return; - case 0x9d49488d: free_ds_constructor_binlog_encr_chat_exchange_new (D, T); return; - case 0xac55d447: free_ds_constructor_binlog_user_delete (D, T); return; - case 0x127cf2f9: free_ds_constructor_binlog_user_new (D, T); return; - case 0x0a10aa92: free_ds_constructor_binlog_chat_new (D, T); return; - case 0x535475ea: free_ds_constructor_binlog_chat_add_participant (D, T); return; - case 0x7dd1a1a2: free_ds_constructor_binlog_chat_del_participant (D, T); return; - case 0x3c873416: free_ds_constructor_binlog_set_msg_id (D, T); return; - case 0x847e77b1: free_ds_constructor_binlog_message_delete (D, T); return; - case 0x427cfcdb: free_ds_constructor_binlog_message_new (D, T); return; - case 0x6cf7cabc: free_ds_constructor_binlog_message_encr_new (D, T); return; - case 0x6dd4d85f: free_ds_constructor_binlog_msg_update (D, T); return; - case 0x83327955: free_ds_constructor_binlog_reset_authorization (D, T); return; - default: assert (0); - } -} -void free_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1c138d15: free_ds_constructor_contacts_blocked (D, T); return; - case 0x900802a1: free_ds_constructor_contacts_blocked_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb74ba9d2: free_ds_constructor_contacts_contacts_not_modified (D, T); return; - case 0x6f8b8cb2: free_ds_constructor_contacts_contacts (D, T); return; - default: assert (0); - } -} -void free_ds_type_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T) { - free_ds_constructor_contacts_found (D, T); return; -} -void free_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T) { - free_ds_constructor_contacts_imported_contacts (D, T); return; -} -void free_ds_type_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T) { - free_ds_constructor_contacts_link (D, T); return; -} -void free_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T) { - free_ds_constructor_contacts_suggested (D, T); return; -} -void free_ds_type_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T) { - free_ds_constructor_geochats_located (D, T); return; -} -void free_ds_type_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - switch (D->magic) { - case 0xd1526db1: free_ds_constructor_geochats_messages (D, T); return; - case 0xbc5863e8: free_ds_constructor_geochats_messages_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T) { - free_ds_constructor_geochats_stated_message (D, T); return; -} -void free_ds_type_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8987f311: free_ds_constructor_help_app_update (D, T); return; - case 0xc45a6536: free_ds_constructor_help_no_app_update (D, T); return; - default: assert (0); - } -} -void free_ds_type_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T) { - free_ds_constructor_help_invite_text (D, T); return; -} -void free_ds_type_help_support (struct tl_ds_help_support *D, struct paramed_type *T) { - free_ds_constructor_help_support (D, T); return; -} -void free_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T) { - free_ds_constructor_messages_affected_history (D, T); return; -} -void free_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T) { - free_ds_constructor_messages_affected_messages (D, T); return; -} -void free_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe86602c3: free_ds_constructor_messages_all_stickers_not_modified (D, T); return; - case 0x5ce352ec: free_ds_constructor_messages_all_stickers (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T) { - free_ds_constructor_messages_chat_full (D, T); return; -} -void free_ds_type_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T) { - free_ds_constructor_messages_chats (D, T); return; -} -void free_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc0e24635: free_ds_constructor_messages_dh_config_not_modified (D, T); return; - case 0x2c221edd: free_ds_constructor_messages_dh_config (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - switch (D->magic) { - case 0x15ba6c40: free_ds_constructor_messages_dialogs (D, T); return; - case 0x71e094f3: free_ds_constructor_messages_dialogs_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T) { - free_ds_constructor_messages_message_empty (D, T); return; -} -void free_ds_type_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8c718e87: free_ds_constructor_messages_messages (D, T); return; - case 0x0b446ae3: free_ds_constructor_messages_messages_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x560f8935: free_ds_constructor_messages_sent_encrypted_message (D, T); return; - case 0x9493ff32: free_ds_constructor_messages_sent_encrypted_file (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x4c3d47f3: free_ds_constructor_messages_sent_message (D, T); return; - case 0x35a1a663: free_ds_constructor_messages_sent_message_link (D, T); return; - default: assert (0); - } -} -void free_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T) { - free_ds_constructor_messages_sticker_set (D, T); return; -} -void free_ds_type_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf1749a22: free_ds_constructor_messages_stickers_not_modified (D, T); return; - case 0x8a8ecd32: free_ds_constructor_messages_stickers (D, T); return; - default: assert (0); - } -} -void free_ds_type_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T) { - free_ds_constructor_photos_photo (D, T); return; -} -void free_ds_type_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8dca6aa5: free_ds_constructor_photos_photos (D, T); return; - case 0x15051f54: free_ds_constructor_photos_photos_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - switch (D->magic) { - case 0xaa963b05: free_ds_constructor_storage_file_unknown (D, T); return; - case 0x007efe0e: free_ds_constructor_storage_file_jpeg (D, T); return; - case 0xcae1aadf: free_ds_constructor_storage_file_gif (D, T); return; - case 0x0a4f63c0: free_ds_constructor_storage_file_png (D, T); return; - case 0xae1e508d: free_ds_constructor_storage_file_pdf (D, T); return; - case 0x528a0677: free_ds_constructor_storage_file_mp3 (D, T); return; - case 0x4b09ebbc: free_ds_constructor_storage_file_mov (D, T); return; - case 0x40bc6f52: free_ds_constructor_storage_file_partial (D, T); return; - case 0xb3cea0e4: free_ds_constructor_storage_file_mp4 (D, T); return; - case 0x1081464c: free_ds_constructor_storage_file_webp (D, T); return; - default: assert (0); - } -} -void free_ds_type_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5d75a138: free_ds_constructor_updates_difference_empty (D, T); return; - case 0x00f49ca0: free_ds_constructor_updates_difference (D, T); return; - case 0xa8fb1981: free_ds_constructor_updates_difference_slice (D, T); return; - default: assert (0); - } -} -void free_ds_type_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T) { - free_ds_constructor_updates_state (D, T); return; -} -void free_ds_type_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T) { - free_ds_constructor_upload_file (D, T); return; -} -void free_ds_type_any (void *D, struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: free_ds_type_account_days_t_t_l (D, T); return; - case 0x472f5020: free_ds_type_account_days_t_t_l (D, T); return; - case 0x9fc5ec4e: free_ds_type_audio (D, T); return; - case 0x603a13b1: free_ds_type_audio (D, T); return; - case 0x7bf2e6f6: free_ds_type_authorization (D, T); return; - case 0x840d1909: free_ds_type_authorization (D, T); return; - case 0x250be282: free_ds_type_bool (D, T); return; - case 0xdaf41d7d: free_ds_type_bool (D, T); return; - case 0x75e7ea6c: free_ds_type_bot_command (D, T); return; - case 0x8a181593: free_ds_type_bot_command (D, T); return; - case 0xb2e16f93: free_ds_type_bot_info (D, T); return; - case 0x4d1e906c: free_ds_type_bot_info (D, T); return; - case 0x0ee1379f: free_ds_type_bytes (D, T); return; - case 0xf11ec860: free_ds_type_bytes (D, T); return; - case 0x7bd865dc: free_ds_type_chat (D, T); return; - case 0x84279a23: free_ds_type_chat (D, T); return; - case 0x2e02a614: free_ds_type_chat_full (D, T); return; - case 0xd1fd59eb: free_ds_type_chat_full (D, T); return; - case 0x94f910b1: free_ds_type_chat_invite (D, T); return; - case 0x6b06ef4e: free_ds_type_chat_invite (D, T); return; - case 0x3631cf4c: free_ds_type_chat_located (D, T); return; - case 0xc9ce30b3: free_ds_type_chat_located (D, T); return; - case 0xc8d7493e: free_ds_type_chat_participant (D, T); return; - case 0x3728b6c1: free_ds_type_chat_participant (D, T); return; - case 0x77930f9f: free_ds_type_chat_participants (D, T); return; - case 0x886cf060: free_ds_type_chat_participants (D, T); return; - case 0x56922676: free_ds_type_chat_photo (D, T); return; - case 0xa96dd989: free_ds_type_chat_photo (D, T); return; - case 0x6643b654: free_ds_type_client_d_h_inner_data (D, T); return; - case 0x99bc49ab: free_ds_type_client_d_h_inner_data (D, T); return; - case 0x4e32b894: free_ds_type_config (D, T); return; - case 0xb1cd476b: free_ds_type_config (D, T); return; - case 0xf911c994: free_ds_type_contact (D, T); return; - case 0x06ee366b: free_ds_type_contact (D, T); return; - case 0x561bc879: free_ds_type_contact_blocked (D, T); return; - case 0xa9e43786: free_ds_type_contact_blocked (D, T); return; - case 0xea879f95: free_ds_type_contact_found (D, T); return; - case 0x1578606a: free_ds_type_contact_found (D, T); return; - case 0x522fbc63: free_ds_type_contact_link (D, T); return; - case 0xadd0439c: free_ds_type_contact_link (D, T); return; - case 0xd3680c61: free_ds_type_contact_status (D, T); return; - case 0x2c97f39e: free_ds_type_contact_status (D, T); return; - case 0x3de191a1: free_ds_type_contact_suggested (D, T); return; - case 0xc21e6e5e: free_ds_type_contact_suggested (D, T); return; - case 0x2b1a62f0: free_ds_type_dc_option (D, T); return; - case 0xd4e59d0f: free_ds_type_dc_option (D, T); return; - case 0x535b7918: free_ds_type_decrypted_message (D, T); return; - case 0xaca486e7: free_ds_type_decrypted_message (D, T); return; - case 0x4e0eefde: free_ds_type_decrypted_message_action (D, T); return; - case 0xb1f11021: free_ds_type_decrypted_message_action (D, T); return; - case 0x1be31789: free_ds_type_decrypted_message_layer (D, T); return; - case 0xe41ce876: free_ds_type_decrypted_message_layer (D, T); return; - case 0x34e0d674: free_ds_type_decrypted_message_media (D, T); return; - case 0xcb1f298b: free_ds_type_decrypted_message_media (D, T); return; - case 0xc1dd804a: free_ds_type_dialog (D, T); return; - case 0x3e227fb5: free_ds_type_dialog (D, T); return; - case 0xae636f24: free_ds_type_disabled_feature (D, T); return; - case 0x519c90db: free_ds_type_disabled_feature (D, T); return; - case 0x51a73418: free_ds_type_document (D, T); return; - case 0xae58cbe7: free_ds_type_document (D, T); return; - case 0x97c637a3: free_ds_type_document_attribute (D, T); return; - case 0x6839c85c: free_ds_type_document_attribute (D, T); return; - case 0x2210c154: free_ds_type_double (D, T); return; - case 0xddef3eab: free_ds_type_double (D, T); return; - case 0xb1718213: free_ds_type_encrypted_chat (D, T); return; - case 0x4e8e7dec: free_ds_type_encrypted_chat (D, T); return; - case 0x886fd032: free_ds_type_encrypted_file (D, T); return; - case 0x77902fcd: free_ds_type_encrypted_file (D, T); return; - case 0xce6b8a1e: free_ds_type_encrypted_message (D, T); return; - case 0x319475e1: free_ds_type_encrypted_message (D, T); return; - case 0xc4b9f9bb: free_ds_type_error (D, T); return; - case 0x3b460644: free_ds_type_error (D, T); return; - case 0x95f132d5: free_ds_type_exported_chat_invite (D, T); return; - case 0x6a0ecd2a: free_ds_type_exported_chat_invite (D, T); return; - case 0x2f8ffb30: free_ds_type_file_location (D, T); return; - case 0xd07004cf: free_ds_type_file_location (D, T); return; - case 0xf67b4034: free_ds_type_geo_chat_message (D, T); return; - case 0x0984bfcb: free_ds_type_geo_chat_message (D, T); return; - case 0x315e0a53: free_ds_type_geo_point (D, T); return; - case 0xcea1f5ac: free_ds_type_geo_point (D, T); return; - case 0xd0028438: free_ds_type_imported_contact (D, T); return; - case 0x2ffd7bc7: free_ds_type_imported_contact (D, T); return; - case 0x770656a8: free_ds_type_input_app_event (D, T); return; - case 0x88f9a957: free_ds_type_input_app_event (D, T); return; - case 0xae8e9c7b: free_ds_type_input_audio (D, T); return; - case 0x51716384: free_ds_type_input_audio (D, T); return; - case 0x3a60776d: free_ds_type_input_chat_photo (D, T); return; - case 0xc59f8892: free_ds_type_input_chat_photo (D, T); return; - case 0xf392b7f4: free_ds_type_input_contact (D, T); return; - case 0x0c6d480b: free_ds_type_input_contact (D, T); return; - case 0x6a8963fc: free_ds_type_input_document (D, T); return; - case 0x95769c03: free_ds_type_input_document (D, T); return; - case 0xf141b5e1: free_ds_type_input_encrypted_chat (D, T); return; - case 0x0ebe4a1e: free_ds_type_input_encrypted_chat (D, T); return; - case 0x0b5c064f: free_ds_type_input_encrypted_file (D, T); return; - case 0xf4a3f9b0: free_ds_type_input_encrypted_file (D, T); return; - case 0x0f60f9ca: free_ds_type_input_file (D, T); return; - case 0xf09f0635: free_ds_type_input_file (D, T); return; - case 0xe6daa38b: free_ds_type_input_file_location (D, T); return; - case 0x19255c74: free_ds_type_input_file_location (D, T); return; - case 0x74d456fa: free_ds_type_input_geo_chat (D, T); return; - case 0x8b2ba905: free_ds_type_input_geo_chat (D, T); return; - case 0x17768f1f: free_ds_type_input_geo_point (D, T); return; - case 0xe88970e0: free_ds_type_input_geo_point (D, T); return; - case 0xb32c91dd: free_ds_type_input_media (D, T); return; - case 0x4cd36e22: free_ds_type_input_media (D, T); return; - case 0x02b6911b: free_ds_type_input_notify_peer (D, T); return; - case 0xfd496ee4: free_ds_type_input_notify_peer (D, T); return; - case 0x9e67268d: free_ds_type_input_peer (D, T); return; - case 0x6198d972: free_ds_type_input_peer (D, T); return; - case 0x185a48ac: free_ds_type_input_peer_notify_events (D, T); return; - case 0xe7a5b753: free_ds_type_input_peer_notify_events (D, T); return; - case 0x46a2ce98: free_ds_type_input_peer_notify_settings (D, T); return; - case 0xb95d3167: free_ds_type_input_peer_notify_settings (D, T); return; - case 0xe74279c9: free_ds_type_input_photo (D, T); return; - case 0x18bd8636: free_ds_type_input_photo (D, T); return; - case 0x7477e321: free_ds_type_input_photo_crop (D, T); return; - case 0x8b881cde: free_ds_type_input_photo_crop (D, T); return; - case 0x4f96cb18: free_ds_type_input_privacy_key (D, T); return; - case 0xb06934e7: free_ds_type_input_privacy_key (D, T); return; - case 0x4b815163: free_ds_type_input_privacy_rule (D, T); return; - case 0xb47eae9c: free_ds_type_input_privacy_rule (D, T); return; - case 0xe44d415c: free_ds_type_input_sticker_set (D, T); return; - case 0x1bb2bea3: free_ds_type_input_sticker_set (D, T); return; - case 0xadfe0c6a: free_ds_type_input_user (D, T); return; - case 0x5201f395: free_ds_type_input_user (D, T); return; - case 0xbb5f7a27: free_ds_type_input_video (D, T); return; - case 0x44a085d8: free_ds_type_input_video (D, T); return; - case 0xa8509bda: free_ds_type_int (D, T); return; - case 0x57af6425: free_ds_type_int (D, T); return; - case 0x7d36c439: free_ds_type_int128 (D, T); return; - case 0x82c93bc6: free_ds_type_int128 (D, T); return; - case 0xf2c798b3: free_ds_type_int256 (D, T); return; - case 0x0d38674c: free_ds_type_int256 (D, T); return; - case 0xa2fa4880: free_ds_type_keyboard_button (D, T); return; - case 0x5d05b77f: free_ds_type_keyboard_button (D, T); return; - case 0x77608b83: free_ds_type_keyboard_button_row (D, T); return; - case 0x889f747c: free_ds_type_keyboard_button_row (D, T); return; - case 0x22076cba: free_ds_type_long (D, T); return; - case 0xddf89345: free_ds_type_long (D, T); return; - case 0x5d652a7f: free_ds_type_message (D, T); return; - case 0xa29ad580: free_ds_type_message (D, T); return; - case 0x383415fa: free_ds_type_message_action (D, T); return; - case 0xc7cbea05: free_ds_type_message_action (D, T); return; - case 0x95f2471a: free_ds_type_message_media (D, T); return; - case 0x6a0db8e5: free_ds_type_message_media (D, T); return; - case 0x80895ae0: free_ds_type_messages_filter (D, T); return; - case 0x7f76a51f: free_ds_type_messages_filter (D, T); return; - case 0x8e1a1775: free_ds_type_nearest_dc (D, T); return; - case 0x71e5e88a: free_ds_type_nearest_dc (D, T); return; - case 0x9fcb8237: free_ds_type_notify_peer (D, T); return; - case 0x60347dc8: free_ds_type_notify_peer (D, T); return; - case 0x56730bcc: free_ds_type_null (D, T); return; - case 0xa98cf433: free_ds_type_null (D, T); return; - case 0xbfa3de38: free_ds_type_p_q_inner_data (D, T); return; - case 0x405c21c7: free_ds_type_p_q_inner_data (D, T); return; - case 0x276159d6: free_ds_type_peer (D, T); return; - case 0xd89ea629: free_ds_type_peer (D, T); return; - case 0xc0c8d13b: free_ds_type_peer_notify_events (D, T); return; - case 0x3f372ec4: free_ds_type_peer_notify_events (D, T); return; - case 0xfdf894fc: free_ds_type_peer_notify_settings (D, T); return; - case 0x02076b03: free_ds_type_peer_notify_settings (D, T); return; - case 0xc207550a: free_ds_type_photo (D, T); return; - case 0x3df8aaf5: free_ds_type_photo (D, T); return; - case 0x900f60dd: free_ds_type_photo_size (D, T); return; - case 0x6ff09f22: free_ds_type_photo_size (D, T); return; - case 0xbc2eab30: free_ds_type_privacy_key (D, T); return; - case 0x43d154cf: free_ds_type_privacy_key (D, T); return; - case 0xa8638aec: free_ds_type_privacy_rule (D, T); return; - case 0x579c7513: free_ds_type_privacy_rule (D, T); return; - case 0xa384b779: free_ds_type_received_notify_message (D, T); return; - case 0x5c7b4886: free_ds_type_received_notify_message (D, T); return; - case 0x612ca4a9: free_ds_type_reply_markup (D, T); return; - case 0x9ed35b56: free_ds_type_reply_markup (D, T); return; - case 0x05162463: free_ds_type_res_p_q (D, T); return; - case 0xfae9db9c: free_ds_type_res_p_q (D, T); return; - case 0x70541c7e: free_ds_type_send_message_action (D, T); return; - case 0x8fabe381: free_ds_type_send_message_action (D, T); return; - case 0xa9230301: free_ds_type_server_d_h_params (D, T); return; - case 0x56dcfcfe: free_ds_type_server_d_h_params (D, T); return; - case 0xb5890dba: free_ds_type_server_d_h_inner_data (D, T); return; - case 0x4a76f245: free_ds_type_server_d_h_inner_data (D, T); return; - case 0xdb8a468f: free_ds_type_set_client_d_h_params_answer (D, T); return; - case 0x2475b970: free_ds_type_set_client_d_h_params_answer (D, T); return; - case 0x12b299d4: free_ds_type_sticker_pack (D, T); return; - case 0xed4d662b: free_ds_type_sticker_pack (D, T); return; - case 0xa7a43b17: free_ds_type_sticker_set (D, T); return; - case 0x585bc4e8: free_ds_type_sticker_set (D, T); return; - case 0xb5286e24: free_ds_type_string (D, T); return; - case 0x4ad791db: free_ds_type_string (D, T); return; - case 0x2e02b27e: free_ds_type_update (D, T); return; - case 0xd1fd4d81: free_ds_type_update (D, T); return; - case 0x22499d27: free_ds_type_updates (D, T); return; - case 0xddb662d8: free_ds_type_updates (D, T); return; - case 0x02e6c0c8: free_ds_type_user (D, T); return; - case 0xfd193f37: free_ds_type_user (D, T); return; - case 0x5a89ac5b: free_ds_type_user_full (D, T); return; - case 0xa57653a4: free_ds_type_user_full (D, T); return; - case 0x9a486229: free_ds_type_user_profile_photo (D, T); return; - case 0x65b79dd6: free_ds_type_user_profile_photo (D, T); return; - case 0x76de9570: free_ds_type_user_status (D, T); return; - case 0x89216a8f: free_ds_type_user_status (D, T); return; - case 0x1cb5c415: free_ds_type_vector (D, T); return; - case 0xe34a3bea: free_ds_type_vector (D, T); return; - case 0x1716b174: free_ds_type_video (D, T); return; - case 0xe8e94e8b: free_ds_type_video (D, T); return; - case 0xafa14973: free_ds_type_wall_paper (D, T); return; - case 0x505eb68c: free_ds_type_wall_paper (D, T); return; - case 0x8d8c0d41: free_ds_type_web_page (D, T); return; - case 0x7273f2be: free_ds_type_web_page (D, T); return; - case 0x1250abde: free_ds_type_account_authorizations (D, T); return; - case 0xedaf5421: free_ds_type_account_authorizations (D, T); return; - case 0xeac2a804: free_ds_type_account_password (D, T); return; - case 0x153d57fb: free_ds_type_account_password (D, T); return; - case 0xbcfc532c: free_ds_type_account_password_input_settings (D, T); return; - case 0x4303acd3: free_ds_type_account_password_input_settings (D, T); return; - case 0xb7b72ab3: free_ds_type_account_password_settings (D, T); return; - case 0x4848d54c: free_ds_type_account_password_settings (D, T); return; - case 0x554abb6f: free_ds_type_account_privacy_rules (D, T); return; - case 0xaab54490: free_ds_type_account_privacy_rules (D, T); return; - case 0xa4f58c4c: free_ds_type_account_sent_change_phone_code (D, T); return; - case 0x5b0a73b3: free_ds_type_account_sent_change_phone_code (D, T); return; - case 0xff036af1: free_ds_type_auth_authorization (D, T); return; - case 0x00fc950e: free_ds_type_auth_authorization (D, T); return; - case 0x811ea28e: free_ds_type_auth_checked_phone (D, T); return; - case 0x7ee15d71: free_ds_type_auth_checked_phone (D, T); return; - case 0xdf969c2d: free_ds_type_auth_exported_authorization (D, T); return; - case 0x206963d2: free_ds_type_auth_exported_authorization (D, T); return; - case 0x137948a5: free_ds_type_auth_password_recovery (D, T); return; - case 0xec86b75a: free_ds_type_auth_password_recovery (D, T); return; - case 0x0cc8bc16: free_ds_type_auth_sent_code (D, T); return; - case 0xf33743e9: free_ds_type_auth_sent_code (D, T); return; - case 0x0377168f: free_ds_type_binlog_encr_key (D, T); return; - case 0xfc88e970: free_ds_type_binlog_encr_key (D, T); return; - case 0x66ff03a6: free_ds_type_binlog_update (D, T); return; - case 0x9900fc59: free_ds_type_binlog_update (D, T); return; - case 0x8c1b8fb4: free_ds_type_contacts_blocked (D, T); return; - case 0x73e4704b: free_ds_type_contacts_blocked (D, T); return; - case 0xd8c02560: free_ds_type_contacts_contacts (D, T); return; - case 0x273fda9f: free_ds_type_contacts_contacts (D, T); return; - case 0x0566000e: free_ds_type_contacts_found (D, T); return; - case 0xfa99fff1: free_ds_type_contacts_found (D, T); return; - case 0xad524315: free_ds_type_contacts_imported_contacts (D, T); return; - case 0x52adbcea: free_ds_type_contacts_imported_contacts (D, T); return; - case 0x3ace484c: free_ds_type_contacts_link (D, T); return; - case 0xc531b7b3: free_ds_type_contacts_link (D, T); return; - case 0x5649dcc5: free_ds_type_contacts_suggested (D, T); return; - case 0xa9b6233a: free_ds_type_contacts_suggested (D, T); return; - case 0x48feb267: free_ds_type_geochats_located (D, T); return; - case 0xb7014d98: free_ds_type_geochats_located (D, T); return; - case 0x6d0a0e59: free_ds_type_geochats_messages (D, T); return; - case 0x92f5f1a6: free_ds_type_geochats_messages (D, T); return; - case 0x17b1578b: free_ds_type_geochats_stated_message (D, T); return; - case 0xe84ea874: free_ds_type_geochats_stated_message (D, T); return; - case 0x4ddd9627: free_ds_type_help_app_update (D, T); return; - case 0xb22269d8: free_ds_type_help_app_update (D, T); return; - case 0x18cb9f78: free_ds_type_help_invite_text (D, T); return; - case 0xe7346087: free_ds_type_help_invite_text (D, T); return; - case 0x17c6b5f6: free_ds_type_help_support (D, T); return; - case 0xe8394a09: free_ds_type_help_support (D, T); return; - case 0xb45c69d1: free_ds_type_messages_affected_history (D, T); return; - case 0x4ba3962e: free_ds_type_messages_affected_history (D, T); return; - case 0x84d19185: free_ds_type_messages_affected_messages (D, T); return; - case 0x7b2e6e7a: free_ds_type_messages_affected_messages (D, T); return; - case 0xb485502f: free_ds_type_messages_all_stickers (D, T); return; - case 0x4b7aafd0: free_ds_type_messages_all_stickers (D, T); return; - case 0xe5d7d19c: free_ds_type_messages_chat_full (D, T); return; - case 0x1a282e63: free_ds_type_messages_chat_full (D, T); return; - case 0x64ff9fd5: free_ds_type_messages_chats (D, T); return; - case 0x9b00602a: free_ds_type_messages_chats (D, T); return; - case 0xecc058e8: free_ds_type_messages_dh_config (D, T); return; - case 0x133fa717: free_ds_type_messages_dh_config (D, T); return; - case 0x645af8b3: free_ds_type_messages_dialogs (D, T); return; - case 0x9ba5074c: free_ds_type_messages_dialogs (D, T); return; - case 0x3f4e0648: free_ds_type_messages_message (D, T); return; - case 0xc0b1f9b7: free_ds_type_messages_message (D, T); return; - case 0x8735e464: free_ds_type_messages_messages (D, T); return; - case 0x78ca1b9b: free_ds_type_messages_messages (D, T); return; - case 0xc29c7607: free_ds_type_messages_sent_encrypted_message (D, T); return; - case 0x3d6389f8: free_ds_type_messages_sent_encrypted_message (D, T); return; - case 0x799ce190: free_ds_type_messages_sent_message (D, T); return; - case 0x86631e6f: free_ds_type_messages_sent_message (D, T); return; - case 0xb60a24a6: free_ds_type_messages_sticker_set (D, T); return; - case 0x49f5db59: free_ds_type_messages_sticker_set (D, T); return; - case 0x7bfa5710: free_ds_type_messages_stickers (D, T); return; - case 0x8405a8ef: free_ds_type_messages_stickers (D, T); return; - case 0x20212ca8: free_ds_type_photos_photo (D, T); return; - case 0xdfded357: free_ds_type_photos_photo (D, T); return; - case 0x98cf75f1: free_ds_type_photos_photos (D, T); return; - case 0x67308a0e: free_ds_type_photos_photos (D, T); return; - case 0x3e2838a8: free_ds_type_storage_file_type (D, T); return; - case 0xc1d7c757: free_ds_type_storage_file_type (D, T); return; - case 0xf57a2419: free_ds_type_updates_difference (D, T); return; - case 0x0a85dbe6: free_ds_type_updates_difference (D, T); return; - case 0xa56c2a3e: free_ds_type_updates_state (D, T); return; - case 0x5a93d5c1: free_ds_type_updates_state (D, T); return; - case 0x096a18d5: free_ds_type_upload_file (D, T); return; - case 0xf695e72a: free_ds_type_upload_file (D, T); return; - default: return; } -} diff --git a/libs/tgl/src/auto/auto-free-ds.h b/libs/tgl/src/auto/auto-free-ds.h deleted file mode 100644 index 7785aa0141..0000000000 --- a/libs/tgl/src/auto/auto-free-ds.h +++ /dev/null @@ -1,569 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-types.h" -#else -#include "auto.h" -#include "auto/auto-types.h" -#endif -#include -#include -struct tgl_state; -void free_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T); -void free_ds_constructor_audio_empty (struct tl_ds_audio *D, struct paramed_type *T); -void free_ds_constructor_audio (struct tl_ds_audio *D, struct paramed_type *T); -void free_ds_constructor_authorization (struct tl_ds_authorization *D, struct paramed_type *T); -void free_ds_constructor_bool_false (struct tl_ds_bool *D, struct paramed_type *T); -void free_ds_constructor_bool_true (struct tl_ds_bool *D, struct paramed_type *T); -void free_ds_constructor_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T); -void free_ds_constructor_bot_command_old (struct tl_ds_bot_command *D, struct paramed_type *T); -void free_ds_constructor_bot_info_empty (struct tl_ds_bot_info *D, struct paramed_type *T); -void free_ds_constructor_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T); -void free_ds_constructor_bytes (struct tl_ds_string *D, struct paramed_type *T); -void free_ds_constructor_chat_empty (struct tl_ds_chat *D, struct paramed_type *T); -void free_ds_constructor_chat (struct tl_ds_chat *D, struct paramed_type *T); -void free_ds_constructor_chat_forbidden (struct tl_ds_chat *D, struct paramed_type *T); -void free_ds_constructor_geo_chat (struct tl_ds_chat *D, struct paramed_type *T); -void free_ds_constructor_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T); -void free_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *D, struct paramed_type *T); -void free_ds_constructor_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T); -void free_ds_constructor_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T); -void free_ds_constructor_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T); -void free_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *D, struct paramed_type *T); -void free_ds_constructor_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T); -void free_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *D, struct paramed_type *T); -void free_ds_constructor_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T); -void free_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T); -void free_ds_constructor_config (struct tl_ds_config *D, struct paramed_type *T); -void free_ds_constructor_contact (struct tl_ds_contact *D, struct paramed_type *T); -void free_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T); -void free_ds_constructor_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T); -void free_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *D, struct paramed_type *T); -void free_ds_constructor_contact_link_none (struct tl_ds_contact_link *D, struct paramed_type *T); -void free_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *D, struct paramed_type *T); -void free_ds_constructor_contact_link_contact (struct tl_ds_contact_link *D, struct paramed_type *T); -void free_ds_constructor_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T); -void free_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T); -void free_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *D, struct paramed_type *T); -void free_ds_constructor_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_constructor_dialog (struct tl_ds_dialog *D, struct paramed_type *T); -void free_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T); -void free_ds_constructor_document_empty (struct tl_ds_document *D, struct paramed_type *T); -void free_ds_constructor_document (struct tl_ds_document *D, struct paramed_type *T); -void free_ds_constructor_document_l19 (struct tl_ds_document *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_constructor_double (double *D, struct paramed_type *T); -void free_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void free_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void free_ds_constructor_error (struct tl_ds_error *D, struct paramed_type *T); -void free_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void free_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void free_ds_constructor_file_location_unavailable (struct tl_ds_file_location *D, struct paramed_type *T); -void free_ds_constructor_file_location (struct tl_ds_file_location *D, struct paramed_type *T); -void free_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void free_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void free_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void free_ds_constructor_geo_point_empty (struct tl_ds_geo_point *D, struct paramed_type *T); -void free_ds_constructor_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T); -void free_ds_constructor_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T); -void free_ds_constructor_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T); -void free_ds_constructor_input_audio_empty (struct tl_ds_input_audio *D, struct paramed_type *T); -void free_ds_constructor_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T); -void free_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void free_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void free_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void free_ds_constructor_input_phone_contact (struct tl_ds_input_contact *D, struct paramed_type *T); -void free_ds_constructor_input_document_empty (struct tl_ds_input_document *D, struct paramed_type *T); -void free_ds_constructor_input_document (struct tl_ds_input_document *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void free_ds_constructor_input_file (struct tl_ds_input_file *D, struct paramed_type *T); -void free_ds_constructor_input_file_big (struct tl_ds_input_file *D, struct paramed_type *T); -void free_ds_constructor_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T); -void free_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void free_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void free_ds_constructor_input_media_empty (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_photo (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_geo_point (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_contact (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_video (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_audio (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_document (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_media_venue (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_empty (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_self (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_contact (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_chat (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void free_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void free_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T); -void free_ds_constructor_input_photo_empty (struct tl_ds_input_photo *D, struct paramed_type *T); -void free_ds_constructor_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T); -void free_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void free_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void free_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void free_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void free_ds_constructor_input_user_empty (struct tl_ds_input_user *D, struct paramed_type *T); -void free_ds_constructor_input_user_self (struct tl_ds_input_user *D, struct paramed_type *T); -void free_ds_constructor_input_user_contact (struct tl_ds_input_user *D, struct paramed_type *T); -void free_ds_constructor_input_user_foreign (struct tl_ds_input_user *D, struct paramed_type *T); -void free_ds_constructor_input_video_empty (struct tl_ds_input_video *D, struct paramed_type *T); -void free_ds_constructor_input_video (struct tl_ds_input_video *D, struct paramed_type *T); -void free_ds_constructor_int (int *D, struct paramed_type *T); -void free_ds_constructor_int128 (struct tl_ds_int128 *D, struct paramed_type *T); -void free_ds_constructor_int256 (struct tl_ds_int256 *D, struct paramed_type *T); -void free_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T); -void free_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T); -void free_ds_constructor_long (long long *D, struct paramed_type *T); -void free_ds_constructor_message_empty (struct tl_ds_message *D, struct paramed_type *T); -void free_ds_constructor_message (struct tl_ds_message *D, struct paramed_type *T); -void free_ds_constructor_message_service (struct tl_ds_message *D, struct paramed_type *T); -void free_ds_constructor_message_action_empty (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_create (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_constructor_message_media_empty (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_photo (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_video (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_geo (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_contact (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_unsupported (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_document (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_audio (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_web_page (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_venue (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T); -void free_ds_constructor_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_notify_users (struct tl_ds_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_notify_chats (struct tl_ds_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_notify_all (struct tl_ds_notify_peer *D, struct paramed_type *T); -void free_ds_constructor_null (struct tl_ds_null *D, struct paramed_type *T); -void free_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void free_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void free_ds_constructor_peer_user (struct tl_ds_peer *D, struct paramed_type *T); -void free_ds_constructor_peer_chat (struct tl_ds_peer *D, struct paramed_type *T); -void free_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void free_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void free_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void free_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void free_ds_constructor_photo_empty (struct tl_ds_photo *D, struct paramed_type *T); -void free_ds_constructor_photo (struct tl_ds_photo *D, struct paramed_type *T); -void free_ds_constructor_photo_l27 (struct tl_ds_photo *D, struct paramed_type *T); -void free_ds_constructor_photo_size_empty (struct tl_ds_photo_size *D, struct paramed_type *T); -void free_ds_constructor_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void free_ds_constructor_photo_cached_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void free_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T); -void free_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *D, struct paramed_type *T); -void free_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *D, struct paramed_type *T); -void free_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *D, struct paramed_type *T); -void free_ds_constructor_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T); -void free_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void free_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void free_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T); -void free_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void free_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void free_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void free_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T); -void free_ds_constructor_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T); -void free_ds_constructor_string (struct tl_ds_string *D, struct paramed_type *T); -void free_ds_constructor_update_new_message (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_message_i_d (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_delete_messages (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_typing (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_chat_user_typing (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_chat_participants (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_status (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_name (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_photo (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_contact_registered (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_contact_link (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_new_authorization (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_new_encrypted_message (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_encryption (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_chat_participant_add (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_chat_participant_delete (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_dc_options (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_blocked (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_notify_settings (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_service_notification (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_privacy (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_user_phone (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_read_history_inbox (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_read_history_outbox (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_web_page (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_read_messages_contents (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_update_msg_update (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_constructor_updates_too_long (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_update_short_message (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_update_short_chat_message (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_update_short (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_updates_combined (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_updates (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_constructor_user_empty (struct tl_ds_user *D, struct paramed_type *T); -void free_ds_constructor_user (struct tl_ds_user *D, struct paramed_type *T); -void free_ds_constructor_user_full (struct tl_ds_user_full *D, struct paramed_type *T); -void free_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void free_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void free_ds_constructor_user_status_empty (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_user_status_online (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_user_status_offline (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_user_status_recently (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_user_status_last_week (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_user_status_last_month (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_constructor_vector (struct tl_ds_vector *D, struct paramed_type *T); -void free_ds_constructor_video_empty (struct tl_ds_video *D, struct paramed_type *T); -void free_ds_constructor_video (struct tl_ds_video *D, struct paramed_type *T); -void free_ds_constructor_video_l27 (struct tl_ds_video *D, struct paramed_type *T); -void free_ds_constructor_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T); -void free_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *D, struct paramed_type *T); -void free_ds_constructor_web_page_empty (struct tl_ds_web_page *D, struct paramed_type *T); -void free_ds_constructor_web_page_pending (struct tl_ds_web_page *D, struct paramed_type *T); -void free_ds_constructor_web_page (struct tl_ds_web_page *D, struct paramed_type *T); -void free_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T); -void free_ds_constructor_account_no_password (struct tl_ds_account_password *D, struct paramed_type *T); -void free_ds_constructor_account_password (struct tl_ds_account_password *D, struct paramed_type *T); -void free_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T); -void free_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T); -void free_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T); -void free_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T); -void free_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T); -void free_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T); -void free_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T); -void free_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T); -void free_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void free_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void free_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T); -void free_ds_constructor_binlog_start (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void free_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void free_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void free_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void free_ds_constructor_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T); -void free_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T); -void free_ds_constructor_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T); -void free_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T); -void free_ds_constructor_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T); -void free_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void free_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void free_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T); -void free_ds_constructor_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void free_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void free_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T); -void free_ds_constructor_help_support (struct tl_ds_help_support *D, struct paramed_type *T); -void free_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T); -void free_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T); -void free_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void free_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void free_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T); -void free_ds_constructor_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T); -void free_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void free_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void free_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void free_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void free_ds_constructor_messages_message_empty (struct tl_ds_messages_message *D, struct paramed_type *T); -void free_ds_constructor_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T); -void free_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *D, struct paramed_type *T); -void free_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void free_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void free_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void free_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void free_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T); -void free_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void free_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void free_ds_constructor_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T); -void free_ds_constructor_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T); -void free_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *D, struct paramed_type *T); -void free_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *D, struct paramed_type *T); -void free_ds_constructor_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T); -void free_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *D, struct paramed_type *T); -void free_ds_constructor_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T); -void free_ds_constructor_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T); -void free_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T); -void free_ds_type_audio (struct tl_ds_audio *D, struct paramed_type *T); -void free_ds_type_authorization (struct tl_ds_authorization *D, struct paramed_type *T); -void free_ds_type_bool (struct tl_ds_bool *D, struct paramed_type *T); -void free_ds_type_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T); -void free_ds_type_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T); -void free_ds_type_bytes (struct tl_ds_string *D, struct paramed_type *T); -void free_ds_type_chat (struct tl_ds_chat *D, struct paramed_type *T); -void free_ds_type_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T); -void free_ds_type_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T); -void free_ds_type_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T); -void free_ds_type_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T); -void free_ds_type_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T); -void free_ds_type_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T); -void free_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T); -void free_ds_type_config (struct tl_ds_config *D, struct paramed_type *T); -void free_ds_type_contact (struct tl_ds_contact *D, struct paramed_type *T); -void free_ds_type_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T); -void free_ds_type_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T); -void free_ds_type_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T); -void free_ds_type_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T); -void free_ds_type_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T); -void free_ds_type_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T); -void free_ds_type_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void free_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void free_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T); -void free_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void free_ds_type_dialog (struct tl_ds_dialog *D, struct paramed_type *T); -void free_ds_type_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T); -void free_ds_type_document (struct tl_ds_document *D, struct paramed_type *T); -void free_ds_type_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T); -void free_ds_type_double (double *D, struct paramed_type *T); -void free_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void free_ds_type_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void free_ds_type_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void free_ds_type_error (struct tl_ds_error *D, struct paramed_type *T); -void free_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void free_ds_type_file_location (struct tl_ds_file_location *D, struct paramed_type *T); -void free_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void free_ds_type_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T); -void free_ds_type_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T); -void free_ds_type_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T); -void free_ds_type_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T); -void free_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void free_ds_type_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T); -void free_ds_type_input_document (struct tl_ds_input_document *D, struct paramed_type *T); -void free_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T); -void free_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void free_ds_type_input_file (struct tl_ds_input_file *D, struct paramed_type *T); -void free_ds_type_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void free_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T); -void free_ds_type_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void free_ds_type_input_media (struct tl_ds_input_media *D, struct paramed_type *T); -void free_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void free_ds_type_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T); -void free_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void free_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T); -void free_ds_type_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T); -void free_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void free_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T); -void free_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void free_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void free_ds_type_input_user (struct tl_ds_input_user *D, struct paramed_type *T); -void free_ds_type_input_video (struct tl_ds_input_video *D, struct paramed_type *T); -void free_ds_type_int (int *D, struct paramed_type *T); -void free_ds_type_int128 (struct tl_ds_int128 *D, struct paramed_type *T); -void free_ds_type_int256 (struct tl_ds_int256 *D, struct paramed_type *T); -void free_ds_type_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T); -void free_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T); -void free_ds_type_long (long long *D, struct paramed_type *T); -void free_ds_type_message (struct tl_ds_message *D, struct paramed_type *T); -void free_ds_type_message_action (struct tl_ds_message_action *D, struct paramed_type *T); -void free_ds_type_message_media (struct tl_ds_message_media *D, struct paramed_type *T); -void free_ds_type_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T); -void free_ds_type_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T); -void free_ds_type_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T); -void free_ds_type_null (struct tl_ds_null *D, struct paramed_type *T); -void free_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void free_ds_type_peer (struct tl_ds_peer *D, struct paramed_type *T); -void free_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void free_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void free_ds_type_photo (struct tl_ds_photo *D, struct paramed_type *T); -void free_ds_type_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void free_ds_type_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T); -void free_ds_type_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void free_ds_type_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T); -void free_ds_type_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T); -void free_ds_type_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T); -void free_ds_type_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void free_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void free_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T); -void free_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void free_ds_type_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T); -void free_ds_type_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T); -void free_ds_type_string (struct tl_ds_string *D, struct paramed_type *T); -void free_ds_type_update (struct tl_ds_update *D, struct paramed_type *T); -void free_ds_type_updates (struct tl_ds_updates *D, struct paramed_type *T); -void free_ds_type_user (struct tl_ds_user *D, struct paramed_type *T); -void free_ds_type_user_full (struct tl_ds_user_full *D, struct paramed_type *T); -void free_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void free_ds_type_user_status (struct tl_ds_user_status *D, struct paramed_type *T); -void free_ds_type_vector (struct tl_ds_vector *D, struct paramed_type *T); -void free_ds_type_video (struct tl_ds_video *D, struct paramed_type *T); -void free_ds_type_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T); -void free_ds_type_web_page (struct tl_ds_web_page *D, struct paramed_type *T); -void free_ds_type_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T); -void free_ds_type_account_password (struct tl_ds_account_password *D, struct paramed_type *T); -void free_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T); -void free_ds_type_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T); -void free_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T); -void free_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T); -void free_ds_type_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T); -void free_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T); -void free_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T); -void free_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T); -void free_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void free_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T); -void free_ds_type_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T); -void free_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void free_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void free_ds_type_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T); -void free_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T); -void free_ds_type_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T); -void free_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T); -void free_ds_type_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T); -void free_ds_type_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void free_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T); -void free_ds_type_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void free_ds_type_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T); -void free_ds_type_help_support (struct tl_ds_help_support *D, struct paramed_type *T); -void free_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T); -void free_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T); -void free_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void free_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T); -void free_ds_type_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T); -void free_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void free_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void free_ds_type_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T); -void free_ds_type_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T); -void free_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void free_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void free_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T); -void free_ds_type_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void free_ds_type_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T); -void free_ds_type_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T); -void free_ds_type_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void free_ds_type_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T); -void free_ds_type_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T); -void free_ds_type_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T); -void free_ds_type_any (void *D, struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-print-ds.c b/libs/tgl/src/auto/auto-print-ds.c deleted file mode 100644 index 6ca075d912..0000000000 --- a/libs/tgl/src/auto/auto-print-ds.c +++ /dev/null @@ -1,16382 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-print-ds.h" -#include "auto-skip.h" -#include "..\auto-static-print-ds.c" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-print-ds.h" -#include "auto/auto-skip.h" -#include "auto-static-print-ds.c" -#include "mtproto-common.h" -#endif -#include -int print_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->days, field1); - return 0; -} -int print_ds_constructor_audio_empty (struct tl_ds_audio *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - eprintf (" audioEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_audio (struct tl_ds_audio *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - eprintf (" audio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_authorization (struct tl_ds_authorization *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return -1; } - eprintf (" authorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->hash, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" device_model :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->device_model, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" platform :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->platform, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" system_version :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->system_version, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" api_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->api_id, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" app_name :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->app_name, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" app_version :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->app_version, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date_created :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date_created, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date_active :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date_active, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->ip, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" country :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->country, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" region :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->region, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bool_false (struct tl_ds_bool *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - eprintf (" boolFalse"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bool_true (struct tl_ds_bool *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - eprintf (" boolTrue"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - eprintf (" botCommand"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" command :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->command, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->description, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bot_command_old (struct tl_ds_bot_command *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - eprintf (" botCommandOld"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" command :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->command, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" params :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->params, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->description, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bot_info_empty (struct tl_ds_bot_info *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - eprintf (" botInfoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - eprintf (" botInfo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" share_text :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->share_text, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->description, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" commands :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->commands, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_bytes (struct tl_ds_string *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return -1; } - print_escaped_string (DS->data, DS->len); - return 0; -} -int print_ds_constructor_chat_empty (struct tl_ds_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chatEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat (struct tl_ds_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_photo (DS->photo, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->participants_count, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" left :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->left, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_forbidden (struct tl_ds_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" chatForbidden"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_chat (struct tl_ds_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - eprintf (" geoChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->address, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->venue, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_point (DS->geo, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_photo (DS->photo, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants_count :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->participants_count, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" checked_in :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->checked_in, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return -1; } - eprintf (" chatFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_participants (DS->participants, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->chat_photo, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer_notify_settings (DS->notify_settings, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exported_invite :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_exported_chat_invite (DS->exported_invite, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->bot_info, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - eprintf (" chatInviteAlready"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat (DS->chat, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - eprintf (" chatInvite"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return -1; } - eprintf (" chatLocated"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" distance :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->distance, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return -1; } - eprintf (" chatParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->inviter_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - eprintf (" chatParticipantsForbidden"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - eprintf (" chatParticipants"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->participants, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - eprintf (" chatPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - eprintf (" chatPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_small :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->photo_small, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_big :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->photo_big, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return -1; } - eprintf (" client_DH_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" retry_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->retry_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_b :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->g_b, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_config (struct tl_ds_config *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return -1; } - eprintf (" config"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->expires, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" test_mode :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->test_mode, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" this_dc :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->this_dc, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_options :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->dc_options, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_size_max :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_size_max, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" broadcast_size_max :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->broadcast_size_max, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" forwarded_count_max :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->forwarded_count_max, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" online_update_period_ms :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->online_update_period_ms, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offline_blur_timeout_ms :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->offline_blur_timeout_ms, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offline_idle_timeout_ms :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->offline_idle_timeout_ms, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" online_cloud_timeout_ms :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->online_cloud_timeout_ms, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_cloud_delay_ms :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->notify_cloud_delay_ms, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_default_delay_ms :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->notify_default_delay_ms, field14); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_big_size :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_big_size, field15); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" push_chat_period_ms :"); } - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->push_chat_period_ms, field16); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" push_chat_limit :"); } - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->push_chat_limit, field17); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" disabled_features :"); } - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->disabled_features, field18); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact (struct tl_ds_contact *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return -1; } - eprintf (" contact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mutual :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->mutual, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return -1; } - eprintf (" contactBlocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - return 0; -} -int print_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkUnknown"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_link_none (struct tl_ds_contact_link *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkNone"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkHasPhone"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_link_contact (struct tl_ds_contact_link *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - eprintf (" contactLinkContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return -1; } - eprintf (" contactStatus"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_status (DS->status, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return -1; } - eprintf (" contactSuggested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mutual_contacts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->mutual_contacts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - eprintf (" dcOptionL28"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hostname :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->hostname, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip_address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->ip_address, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->port, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - eprintf (" dcOption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip_address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->ip_address, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->port, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - eprintf (" decryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->random_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->ttl, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_decrypted_message_media (DS->media, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - eprintf (" decryptedMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->random_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_decrypted_message_action (DS->action, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionSetMessageTTL"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl_seconds :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->ttl_seconds, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionReadMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->random_ids, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionDeleteMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->random_ids, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionScreenshotMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_ids :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->random_ids, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionFlushHistory"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionResend"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" start_seq_no :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->start_seq_no, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" end_seq_no :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->end_seq_no, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionNotifyLayer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->layer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_send_message_action (DS->action, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionRequestKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->exchange_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->g_a, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionAcceptKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->exchange_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_b :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->g_b, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->key_fingerprint, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionAbortKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->exchange_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionCommitKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->exchange_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->key_fingerprint, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - eprintf (" decryptedMessageActionNoop"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return -1; } - eprintf (" decryptedMessageLayer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_bytes :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->random_bytes, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->layer, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" in_seq_no :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->in_seq_no, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" out_seq_no :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->out_seq_no, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_decrypted_message (DS->message, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->str_thumb, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_w, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_h, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->latitude, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->longitude, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_number, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->str_thumb, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_w, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_h, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->file_name, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->str_thumb, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_w, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_h, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaExternalDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo_size (DS->thumb, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->attributes, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaVideoL12"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" str_thumb :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->str_thumb, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_w, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb_h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->thumb_h, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - eprintf (" decryptedMessageMediaAudioL12"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->key, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" iv :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->iv, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dialog (struct tl_ds_dialog *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return -1; } - eprintf (" dialog"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" top_message :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->top_message, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" read_inbox_max_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->read_inbox_max_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" unread_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->unread_count, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer_notify_settings (DS->notify_settings, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return -1; } - eprintf (" disabledFeature"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" feature :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->feature, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->description, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_empty (struct tl_ds_document *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" documentEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document (struct tl_ds_document *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" document"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo_size (DS->thumb, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->attributes, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_l19 (struct tl_ds_document *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - eprintf (" document_l19"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->file_name, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo_size (DS->thumb, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeImageSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeAnimated"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeStickerL28"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" alt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->alt, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeSticker"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" alt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->alt, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" stickerset :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_sticker_set (DS->stickerset, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - eprintf (" documentAttributeFilename"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file_name :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->file_name, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_double (double *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return -1; } - eprintf (" %lf", *DS); - return 0; -} -int print_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatWaiting"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->participant_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatRequested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->participant_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->g_a, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participant_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->participant_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a_or_b :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->g_a_or_b, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->key_fingerprint, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - eprintf (" encryptedChatDiscarded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - eprintf (" encryptedFileEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - eprintf (" encryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->key_fingerprint, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - eprintf (" encryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->random_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->bytes, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_encrypted_file (DS->file, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - eprintf (" encryptedMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->random_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->bytes, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_error (struct tl_ds_error *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return -1; } - eprintf (" error"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" code :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->code, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" text :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->text, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - eprintf (" chatInviteEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - eprintf (" chatInviteExported"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" link :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->link, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_file_location_unavailable (struct tl_ds_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - eprintf (" fileLocationUnavailable"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->volume_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->local_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->secret, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_file_location (struct tl_ds_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - eprintf (" fileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->volume_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->local_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->secret, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - eprintf (" geoChatMessageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_action (DS->action, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_point_empty (struct tl_ds_geo_point *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - eprintf (" geoPointEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - eprintf (" geoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->longitude, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->latitude, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return -1; } - eprintf (" importedContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" client_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->client_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return -1; } - eprintf (" inputAppEvent"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" time :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->time, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->peer, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" data :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->data, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_audio_empty (struct tl_ds_input_audio *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - eprintf (" inputAudioEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - eprintf (" inputAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatUploadedPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_photo_crop (DS->crop, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - eprintf (" inputChatPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_photo (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_photo_crop (DS->crop, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_phone_contact (struct tl_ds_input_contact *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return -1; } - eprintf (" inputPhoneContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" client_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->client_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_document_empty (struct tl_ds_input_document *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - eprintf (" inputDocumentEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_document (struct tl_ds_input_document *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - eprintf (" inputDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return -1; } - eprintf (" inputEncryptedChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileUploaded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->parts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" md5_checksum :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->md5_checksum, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->key_fingerprint, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - eprintf (" inputEncryptedFileBigUploaded"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->parts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->key_fingerprint, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_file (struct tl_ds_input_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - eprintf (" inputFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->parts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" md5_checksum :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->md5_checksum, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_file_big (struct tl_ds_input_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - eprintf (" inputFileBig"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" parts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->parts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" volume_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->volume_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" local_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->local_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" secret :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->secret, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputVideoFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputEncryptedFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputAudioFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - eprintf (" inputDocumentFileLocation"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return -1; } - eprintf (" inputGeoChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - eprintf (" inputGeoPointEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - eprintf (" inputGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" latitude :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->latitude, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" longitude :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->longitude, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_empty (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_photo (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_photo (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_geo_point (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaGeoPoint"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_point :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_geo_point (DS->geo_point, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_contact (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_number, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedThumbVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->thumb, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_video (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_video (DS->video_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_audio (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" audio_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_audio (DS->audio_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->attributes, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaUploadedThumbDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->file, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_file (DS->thumb, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" attributes :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->attributes, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_document (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" document_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_document (DS->document_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_media_venue (struct tl_ds_input_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - eprintf (" inputMediaVenue"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_point :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_geo_point (DS->geo_point, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->address, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" provider :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->provider, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->venue_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_peer (DS->peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyChats"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - eprintf (" inputNotifyGeoChatPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_input_geo_chat (DS->geo_peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_empty (struct tl_ds_input_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_self (struct tl_ds_input_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerSelf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_contact (struct tl_ds_input_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerForeign"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_chat (struct tl_ds_input_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - eprintf (" inputPeerChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - eprintf (" inputPeerNotifyEventsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - eprintf (" inputPeerNotifyEventsAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return -1; } - eprintf (" inputPeerNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mute_until :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->mute_until, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sound :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->sound, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" show_previews :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->show_previews, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" events_mask :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->events_mask, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_photo_empty (struct tl_ds_input_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - eprintf (" inputPhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - eprintf (" inputPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - eprintf (" inputPhotoCropAuto"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - eprintf (" inputPhotoCrop"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_left :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->crop_left, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_top :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->crop_top, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" crop_width :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_double (DS->crop_width, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return -1; } - eprintf (" inputPrivacyKeyStatusTimestamp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueAllowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - eprintf (" inputPrivacyValueDisallowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetID"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - eprintf (" inputStickerSetShortName"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" short_name :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->short_name, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_user_empty (struct tl_ds_input_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_user_self (struct tl_ds_input_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserSelf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_user_contact (struct tl_ds_input_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_user_foreign (struct tl_ds_input_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - eprintf (" inputUserForeign"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_video_empty (struct tl_ds_input_video *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - eprintf (" inputVideoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_video (struct tl_ds_input_video *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - eprintf (" inputVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_int (int *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return -1; } - eprintf (" %d", *DS); - return 0; -} -int print_ds_constructor_int128 (struct tl_ds_int128 *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return -1; } - eprintf (" int128"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f0, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f1, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_int256 (struct tl_ds_int256 *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return -1; } - eprintf (" int256"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f0, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f1, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f2, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->f3, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->text, field1); - return 0; -} -int print_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->buttons, field1); - return 0; -} -int print_ds_constructor_long (long long *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return -1; } - eprintf (" %I64d", *DS); - return 0; -} -int print_ds_constructor_message_empty (struct tl_ds_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" messageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message (struct tl_ds_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" message"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->to_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_from_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_date, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->reply_to_msg_id, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_markup :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_reply_markup (DS->reply_markup, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_message_service (struct tl_ds_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - eprintf (" messageService"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->to_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_action (DS->action, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_empty (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_create (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatCreate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatEditTitle"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatEditPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatDeletePhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatAddUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatDeleteUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionGeoChatCreate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->address, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionGeoChatCheckin"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - eprintf (" messageActionChatJoinedByLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->inviter_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_empty (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_photo (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_video (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_video (DS->video, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_geo (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaGeo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_point (DS->geo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_contact (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaContact"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_number, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_unsupported (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaUnsupported"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_document (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" document :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_document (DS->document, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_audio (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" audio :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_audio (DS->audio, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_web_page (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaWebPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" webpage :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_web_page (DS->webpage, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_venue (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVenue"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_point (DS->geo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" address :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->address, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" provider :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->provider, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" venue_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->venue_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaPhotoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - eprintf (" messageMediaVideoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" video :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_video (DS->video, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotos"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotoVideo"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterPhotoVideoDocuments"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterDocument"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - eprintf (" inputMessagesFilterAudio"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return -1; } - eprintf (" nearestDc"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" country :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->country, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" this_dc :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->this_dc, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nearest_dc :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->nearest_dc, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyPeer"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_notify_users (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_notify_chats (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyChats"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_notify_all (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - eprintf (" notifyAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_null (struct tl_ds_null *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return -1; } - eprintf (" null"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - eprintf (" p_q_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->pq, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->p, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" q :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->q, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int256 (DS->new_nonce, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - eprintf (" p_q_inner_data_temp"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->pq, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->p, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" q :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->q, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int256 (DS->new_nonce, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires_in :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->expires_in, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_user (struct tl_ds_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - eprintf (" peerUser"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_chat (struct tl_ds_peer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - eprintf (" peerChat"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - eprintf (" peerNotifyEventsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - eprintf (" peerNotifyEventsAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - eprintf (" peerNotifySettingsEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - eprintf (" peerNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mute_until :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->mute_until, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sound :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->sound, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" show_previews :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->show_previews, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" events_mask :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->events_mask, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo_empty (struct tl_ds_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo (struct tl_ds_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_point (DS->geo, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->sizes, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo_l27 (struct tl_ds_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - eprintf (" photoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_point (DS->geo, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->sizes, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo_size_empty (struct tl_ds_photo_size *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoSizeEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->location, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photo_cached_size (struct tl_ds_photo_size *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - eprintf (" photoCachedSize"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->location, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->bytes, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return -1; } - eprintf (" privacyKeyStatusTimestamp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueAllowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowAll"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - eprintf (" privacyValueDisallowUsers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return -1; } - eprintf (" receivedNotifyMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardHide"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardForceReply"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - eprintf (" replyKeyboardMarkup"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rows :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->rows, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return -1; } - eprintf (" resPQ"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pq :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->pq, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_public_key_fingerprints :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->server_public_key_fingerprints, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageTypingAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageCancelAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageRecordVideoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadVideoActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadVideoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->progress, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageRecordAudioAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadAudioActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadAudioAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->progress, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadPhotoAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->progress, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadDocumentActionL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageUploadDocumentAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" progress :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->progress, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageGeoLocationAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - eprintf (" sendMessageChooseContactAction"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - eprintf (" server_DH_params_fail"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->new_nonce_hash, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - eprintf (" server_DH_params_ok"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encrypted_answer :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->encrypted_answer, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return -1; } - eprintf (" server_DH_inner_data"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->g, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dh_prime :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->dh_prime, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_a :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->g_a, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_time :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->server_time, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_ok"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash1 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->new_nonce_hash1, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_retry"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash2 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->new_nonce_hash2, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - eprintf (" dh_gen_fail"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" nonce :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->nonce, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" server_nonce :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->server_nonce, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_nonce_hash3 :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int128 (DS->new_nonce_hash3, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return -1; } - eprintf (" stickerPack"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" emoticon :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->emoticon, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->documents, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return -1; } - eprintf (" stickerSet"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" short_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->short_name, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_string (struct tl_ds_string *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return -1; } - print_escaped_string (DS->data, DS->len); - return 0; -} -int print_ds_constructor_update_new_message (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message (DS->message, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_message_i_d (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateMessageID"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->random_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_delete_messages (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateDeleteMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_typing (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_send_message_action (DS->action, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_chat_user_typing (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatUserTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_send_message_action (DS->action, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_chat_participants (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipants"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_participants (DS->participants, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_status (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserStatus"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_status (DS->status, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_name (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserName"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->username, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_photo (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserPhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_profile_photo (DS->photo, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" previous :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->previous, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_contact_registered (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateContactRegistered"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_contact_link (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateContactLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" my_link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_contact_link (DS->my_link, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" foreign_link :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_contact_link (DS->foreign_link, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_new_authorization (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" auth_key_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->auth_key_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" device :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->device, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" location :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->location, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewGeoChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" geo_message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_chat_message (DS->geo_message, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_new_encrypted_message (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNewEncryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_encrypted_message (DS->encr_message, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->qts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryptedChatTyping"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_encryption (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_encrypted_chat (DS->encr_chat, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateEncryptedMessagesRead"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->max_date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_chat_participant_add (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipantAdd"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->inviter_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_chat_participant_delete (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateChatParticipantDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_dc_options (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateDcOptions"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_options :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->dc_options, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_blocked (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserBlocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->blocked, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_notify_settings (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateNotifySettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_notify_peer (DS->notify_peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer_notify_settings (DS->notify_settings, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_service_notification (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateServiceNotification"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message_text :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message_text, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" popup :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->popup, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_privacy (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updatePrivacy"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_privacy_key (DS->key, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rules :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->rules, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_user_phone (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateUserPhone"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_read_history_inbox (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadHistoryInbox"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->max_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_read_history_outbox (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadHistoryOutbox"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" peer :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer (DS->peer, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" max_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->max_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_web_page (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateWebPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" webpage :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_web_page (DS->webpage, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_read_messages_contents (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateReadMessagesContents"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_msg_update (struct tl_ds_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - eprintf (" updateMsgUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_too_long (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updatesTooLong"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_update_short_message (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShortMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_from_id, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_date, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->reply_to_msg_id, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_update_short_chat_message (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShortChatMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->chat_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_from_id, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_date, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_to_msg_id :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->reply_to_msg_id, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_update_short (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updateShort"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" update :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_update (DS->update, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_combined (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updatesCombined"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" updates :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->updates, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq_start :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq_start, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates (struct tl_ds_updates *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - eprintf (" updates"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" updates :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->updates, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_empty (struct tl_ds_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - eprintf (" userEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user (struct tl_ds_user *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - eprintf (" user"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->username, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 4)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_profile_photo (DS->photo, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" status :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_status (DS->status, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 14)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info_version :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->bot_info_version, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_user_full (struct tl_ds_user_full *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return -1; } - eprintf (" userFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user (DS->user, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_contacts_link (DS->link, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" profile_photo :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->profile_photo, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" notify_settings :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_peer_notify_settings (DS->notify_settings, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->blocked, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bot_info (DS->bot_info, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - eprintf (" userProfilePhotoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - eprintf (" userProfilePhoto"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->photo_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_small :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->photo_small, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo_big :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_file_location (DS->photo_big, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_empty (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_online (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusOnline"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" expires :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->expires, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_offline (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusOffline"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" was_online :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->was_online, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_recently (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusRecently"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_last_week (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusLastWeek"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_user_status_last_month (struct tl_ds_user_status *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - eprintf (" userStatusLastMonth"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_vector (struct tl_ds_vector *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return -1; } - if (ODDP(T->params[0])) { return -1; } - struct paramed_type *var0 = T->params[0]; assert (var0); - eprintf (" vector"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - struct paramed_type *var1 = INT2PTR (*DS->f1); - eprintf (" %d", (int)PTR2INT (var1)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - eprintf (" ["); - if (multiline_output >= 1) { eprintf ("\n"); } - if (multiline_output >= 1) { multiline_offset += multiline_offset_size;} - { - int i = 0; - while (i < multiplicity3) { - if (multiline_output >= 1) { print_offset (); } - print_ds_type_any (DS->f2[i ++], field3); - if (multiline_output >= 1) { eprintf ("\n"); } - } - } - if (multiline_output >= 1) { multiline_offset -= multiline_offset_size; print_offset ();} - eprintf (" ]"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_video_empty (struct tl_ds_video *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" videoEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_video (struct tl_ds_video *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" video"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo_size (DS->thumb, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_video_l27 (struct tl_ds_video *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - eprintf (" videoL27"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" caption :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->caption, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mime_type :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->mime_type, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" size :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->size, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" thumb :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo_size (DS->thumb, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc_id :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc_id, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" w :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->w, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" h :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->h, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - eprintf (" wallPaper"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sizes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->sizes, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" color :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->color, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - eprintf (" wallPaperSolid"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bg_color :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->bg_color, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" color :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->color, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_web_page_empty (struct tl_ds_web_page *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_web_page_pending (struct tl_ds_web_page *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPagePending"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_web_page (struct tl_ds_web_page *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - eprintf (" webPage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" url :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->url, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" display_url :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->display_url, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->type, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" site_name :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->site_name, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 2)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 3)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" description :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->description, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 4)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_url :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->embed_url, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 5)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_type :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->embed_type, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_width :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->embed_width, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 6)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" embed_height :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->embed_height, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 7)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" duration :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->duration, field14); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 8)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" author :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->author, field15); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->authorizations, field1); - return 0; -} -int print_ds_constructor_account_no_password (struct tl_ds_account_password *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - eprintf (" account.noPassword"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->new_salt, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email_unconfirmed_pattern :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->email_unconfirmed_pattern, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_account_password (struct tl_ds_account_password *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - eprintf (" account.password"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" current_salt :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->current_salt, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->new_salt, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hint :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->hint, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" has_recovery :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->has_recovery, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email_unconfirmed_pattern :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->email_unconfirmed_pattern, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return -1; } - eprintf (" account.passwordInputSettings"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_salt :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->new_salt, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_password_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->new_password_hash, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 0)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hint :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->hint, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 1)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" email :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->email, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->email, field1); - return 0; -} -int print_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return -1; } - eprintf (" account.privacyRules"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" rules :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->rules, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return -1; } - eprintf (" account.sentChangePhoneCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_code_hash, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->send_call_timeout, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user (DS->user, field1); - return 0; -} -int print_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->phone_registered, field1); - return 0; -} -int print_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return -1; } - eprintf (" auth.exportedAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->bytes, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->email_pattern, field1); - return 0; -} -int print_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - eprintf (" auth.sentCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_registered :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->phone_registered, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_code_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->send_call_timeout, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" is_password :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->is_password, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - eprintf (" auth.sentAppCode"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_registered :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->phone_registered, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_code_hash :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_code_hash, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" send_call_timeout :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->send_call_timeout, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" is_password :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->is_password, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return -1; } - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - eprintf (" ["); - if (multiline_output >= 1) { eprintf ("\n"); } - if (multiline_output >= 1) { multiline_offset += multiline_offset_size;} - { - int i = 0; - while (i < multiplicity1) { - if (multiline_output >= 1) { print_offset (); } - print_ds_type_any (DS->key[i ++], field1); - if (multiline_output >= 1) { eprintf ("\n"); } - } - } - if (multiline_output >= 1) { multiline_offset -= multiline_offset_size; print_offset ();} - eprintf (" ]"); - return 0; -} -int print_ds_constructor_binlog_start (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.start"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcOption"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->name, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->ip, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->port, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcOptionNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->flags, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" name :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->name, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ip :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->ip, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" port :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->port, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.authKey"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_binlog_encr_key (DS->key, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.defaultDc"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.dcSigned"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dc :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->dc, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.ourId"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setDhParams"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" root :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->root, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" prime :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_binlog_encr_key (DS->prime, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setPts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setQts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->qts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setDate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setSeq"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_binlog_encr_key (DS->key, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g_key :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_binlog_encr_key (DS->g_key, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->state, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" ttl :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->ttl, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" layer :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->layer, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" in_seq_no :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->in_seq_no, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_in_seq_no :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->last_in_seq_no, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" out_seq_no :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->out_seq_no, field14); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 27)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key_fingerprint :"); } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->key_fingerprint, field15); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.encrChatExchangeNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" exchange_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->exchange_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" key :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_binlog_encr_key (DS->key, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->state, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.userDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.userNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" access_hash :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->access_hash, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" first_name :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->first_name, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_name :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->last_name, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" username :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->username, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" real_first_name :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->real_first_name, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" real_last_name :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->real_last_name, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_photo :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user_profile_photo (DS->user_photo, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_in :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->last_read_in, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_out :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->last_read_out, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 26)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bot_info :"); } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bot_info (DS->bot_info, field14); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" title :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->title, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_num :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_num, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" participants :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->participants, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chat_photo :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_photo (DS->chat_photo, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" admin :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->admin, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_in :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->last_read_in, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 25)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" last_read_out :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->last_read_out, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatAddParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" inviter_id :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->inviter_id, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.chatDelParticipant"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->user_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.setMsgId"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" old_id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->old_id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_id :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->new_id, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageDelete"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->lid, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->lid, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->to_type, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->to_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_from_id :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_from_id, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 18)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" fwd_date :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->fwd_date, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" action :"); } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_action (DS->action, field11); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_id :"); } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->reply_id, field12); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 24)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" reply_markup :"); } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_reply_markup (DS->reply_markup, field13); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.messageEncrNew"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" flags :"); } - struct paramed_type *var0 = INT2PTR (*DS->flags); - eprintf (" %d", (int)PTR2INT (var0)); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->lid, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" from_id :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->from_id, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_type :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->to_type, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 17)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" to_id :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->to_id, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 19)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 20)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 21)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_media :"); } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_decrypted_message_media (DS->encr_media, field8); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 22)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" encr_action :"); } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_decrypted_message_action (DS->encr_action, field9); - if (multiline_output >= 2) { eprintf ("\n"); } - } - if (PTR2INT (var0) & (1 << 23)) { - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_encrypted_file (DS->file, field10); - if (multiline_output >= 2) { eprintf ("\n"); } - } - return 0; -} -int print_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.msgUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" lid :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_long (DS->lid, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - eprintf (" binlog.resetAuthorization"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - eprintf (" contacts.blocked"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->blocked, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - eprintf (" contacts.blockedSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->count, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" blocked :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->blocked, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - eprintf (" contacts.contactsNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - eprintf (" contacts.contacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" contacts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->contacts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return -1; } - eprintf (" contacts.found"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->results, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return -1; } - eprintf (" contacts.importedContacts"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" imported :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->imported, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" retry_contacts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->retry_contacts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return -1; } - eprintf (" contacts.link"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" my_link :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_contact_link (DS->my_link, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" foreign_link :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_contact_link (DS->foreign_link, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user (DS->user, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return -1; } - eprintf (" contacts.suggested"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->results, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return -1; } - eprintf (" geochats.located"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" results :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->results, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - eprintf (" geochats.messages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - eprintf (" geochats.messagesSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->count, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return -1; } - eprintf (" geochats.statedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" message :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_geo_chat_message (DS->message, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - eprintf (" help.appUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" critical :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bool (DS->critical, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" url :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->url, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" text :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->text, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - eprintf (" help.noAppUpdate"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->message, field1); - return 0; -} -int print_ds_constructor_help_support (struct tl_ds_help_support *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return -1; } - eprintf (" help.support"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" phone_number :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->phone_number, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" user :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_user (DS->user, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return -1; } - eprintf (" messages.affectedHistory"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" offset :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->offset, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return -1; } - eprintf (" messages.affectedMessages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - eprintf (" messages.allStickersNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - eprintf (" messages.allStickers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->hash, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" packs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->packs, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" sets :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->sets, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->documents, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return -1; } - eprintf (" messages.chatFull"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" full_chat :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_chat_full (DS->full_chat, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field1); - return 0; -} -int print_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - eprintf (" messages.dhConfigNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->random, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - eprintf (" messages.dhConfig"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" g :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->g, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" p :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->p, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" version :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->version, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" random :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->random, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - eprintf (" messages.dialogs"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dialogs :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->dialogs, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - eprintf (" messages.dialogsSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->count, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" dialogs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->dialogs, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_message_empty (struct tl_ds_messages_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return -1; } - eprintf (" messages.messageEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - eprintf (" messages.messages"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - eprintf (" messages.messagesSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->count, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - eprintf (" messages.sentEncryptedMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - eprintf (" messages.sentEncryptedFile"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" file :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_encrypted_file (DS->file, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - eprintf (" messages.sentMessage"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - eprintf (" messages.sentMessageLink"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" id :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->id, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" media :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_message_media (DS->media, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts_count, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" links :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->links, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field7); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return -1; } - eprintf (" messages.stickerSet"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" set :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_sticker_set (DS->set, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" packs :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->packs, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" documents :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->documents, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - eprintf (" messages.stickersNotModified"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - eprintf (" messages.stickers"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" hash :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_string (DS->hash, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" stickers :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->stickers, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return -1; } - eprintf (" photos.photo"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photo :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_photo (DS->photo, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - eprintf (" photos.photos"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photos :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->photos, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - eprintf (" photos.photosSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" count :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->count, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" photos :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->photos, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileUnknown"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileJpeg"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileGif"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePng"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePdf"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMp3"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMov"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.filePartial"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileMp4"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - eprintf (" storage.fileWebp"); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.differenceEmpty"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.difference"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->new_messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_encrypted_messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->new_encrypted_messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" other_updates :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->other_updates, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" state :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_updates_state (DS->state, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - eprintf (" updates.differenceSlice"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_messages :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->new_messages, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" new_encrypted_messages :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->new_encrypted_messages, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" other_updates :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->other_updates, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" chats :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->chats, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" users :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - print_ds_type_vector ((void *)DS->users, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" intermediate_state :"); } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_updates_state (DS->intermediate_state, field6); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return -1; } - eprintf (" updates.state"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" pts :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->pts, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" qts :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->qts, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" date :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->date, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" seq :"); } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->seq, field4); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" unread_count :"); } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->unread_count, field5); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_constructor_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return -1; } - eprintf (" upload.file"); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" type :"); } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_storage_file_type (DS->type, field1); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" mtime :"); } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_int (DS->mtime, field2); - if (multiline_output >= 2) { eprintf ("\n"); } - if (multiline_output >= 2) { print_offset (); } - if (!disable_field_names) { eprintf (" bytes :"); } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - print_ds_type_bare_bytes (DS->bytes, field3); - if (multiline_output >= 2) { eprintf ("\n"); } - return 0; -} -int print_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_days_t_t_l (DS, T); - return res; -} -int print_ds_type_bare_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_days_t_t_l (DS, T); - return res; -} -int print_ds_type_audio (struct tl_ds_audio *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x586988d8: res = print_ds_constructor_audio_empty (DS, T); break; - case 0xc7ac6496: res = print_ds_constructor_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_audio (struct tl_ds_audio *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x586988d8: res = print_ds_constructor_audio_empty (DS, T); break; - case 0xc7ac6496: res = print_ds_constructor_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_authorization (struct tl_ds_authorization *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_authorization (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_authorization (struct tl_ds_authorization *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_authorization (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bool (struct tl_ds_bool *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xbc799737: res = print_ds_constructor_bool_false (DS, T); break; - case 0x997275b5: res = print_ds_constructor_bool_true (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_bool (struct tl_ds_bool *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xbc799737: res = print_ds_constructor_bool_false (DS, T); break; - case 0x997275b5: res = print_ds_constructor_bool_true (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc27ac8c7: res = print_ds_constructor_bot_command (DS, T); break; - case 0xb79d22ab: res = print_ds_constructor_bot_command_old (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc27ac8c7: res = print_ds_constructor_bot_command (DS, T); break; - case 0xb79d22ab: res = print_ds_constructor_bot_command_old (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xbb2e37ce: res = print_ds_constructor_bot_info_empty (DS, T); break; - case 0x09cf585d: res = print_ds_constructor_bot_info (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xbb2e37ce: res = print_ds_constructor_bot_info_empty (DS, T); break; - case 0x09cf585d: res = print_ds_constructor_bot_info (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bytes (struct tl_ds_string *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_bytes (DS, T); - return res; -} -int print_ds_type_bare_bytes (struct tl_ds_string *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_bytes (DS, T); - return res; -} -int print_ds_type_chat (struct tl_ds_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9ba2d800: res = print_ds_constructor_chat_empty (DS, T); break; - case 0x6e9c9bc7: res = print_ds_constructor_chat (DS, T); break; - case 0xfb0ccc41: res = print_ds_constructor_chat_forbidden (DS, T); break; - case 0x75eaea5a: res = print_ds_constructor_geo_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat (struct tl_ds_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9ba2d800: res = print_ds_constructor_chat_empty (DS, T); break; - case 0x6e9c9bc7: res = print_ds_constructor_chat (DS, T); break; - case 0xfb0ccc41: res = print_ds_constructor_chat_forbidden (DS, T); break; - case 0x75eaea5a: res = print_ds_constructor_geo_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5a686d7c: res = print_ds_constructor_chat_invite_already (DS, T); break; - case 0xce917dcd: res = print_ds_constructor_chat_invite (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5a686d7c: res = print_ds_constructor_chat_invite_already (DS, T); break; - case 0xce917dcd: res = print_ds_constructor_chat_invite (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_located (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_located (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_participant (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_chat_participant (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0fd2bb8a: res = print_ds_constructor_chat_participants_forbidden (DS, T); break; - case 0x7841b415: res = print_ds_constructor_chat_participants (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0fd2bb8a: res = print_ds_constructor_chat_participants_forbidden (DS, T); break; - case 0x7841b415: res = print_ds_constructor_chat_participants (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x37c1011c: res = print_ds_constructor_chat_photo_empty (DS, T); break; - case 0x6153276a: res = print_ds_constructor_chat_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x37c1011c: res = print_ds_constructor_chat_photo_empty (DS, T); break; - case 0x6153276a: res = print_ds_constructor_chat_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_client_d_h_inner_data (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_client_d_h_inner_data (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_config (struct tl_ds_config *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_config (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_config (struct tl_ds_config *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_config (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contact (struct tl_ds_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contact (struct tl_ds_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_blocked (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_blocked (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_contact_found (DS, T); - return res; -} -int print_ds_type_bare_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_contact_found (DS, T); - return res; -} -int print_ds_type_contact_link (struct tl_ds_contact_link *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5f4f9247: res = print_ds_constructor_contact_link_unknown (DS, T); break; - case 0xfeedd3ad: res = print_ds_constructor_contact_link_none (DS, T); break; - case 0x268f3f59: res = print_ds_constructor_contact_link_has_phone (DS, T); break; - case 0xd502c2d0: res = print_ds_constructor_contact_link_contact (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contact_link (struct tl_ds_contact_link *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5f4f9247: res = print_ds_constructor_contact_link_unknown (DS, T); break; - case 0xfeedd3ad: res = print_ds_constructor_contact_link_none (DS, T); break; - case 0x268f3f59: res = print_ds_constructor_contact_link_has_phone (DS, T); break; - case 0xd502c2d0: res = print_ds_constructor_contact_link_contact (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_status (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_status (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_suggested (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contact_suggested (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x2ec2a43c: res = print_ds_constructor_dc_option_l28 (DS, T); break; - case 0x05d8c6cc: res = print_ds_constructor_dc_option (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x2ec2a43c: res = print_ds_constructor_dc_option_l28 (DS, T); break; - case 0x05d8c6cc: res = print_ds_constructor_dc_option (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x204d3878: res = print_ds_constructor_decrypted_message (DS, T); break; - case 0x73164160: res = print_ds_constructor_decrypted_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x204d3878: res = print_ds_constructor_decrypted_message (DS, T); break; - case 0x73164160: res = print_ds_constructor_decrypted_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xa1733aec: res = print_ds_constructor_decrypted_message_action_set_message_t_t_l (DS, T); break; - case 0x0c4f40be: res = print_ds_constructor_decrypted_message_action_read_messages (DS, T); break; - case 0x65614304: res = print_ds_constructor_decrypted_message_action_delete_messages (DS, T); break; - case 0x8ac1f475: res = print_ds_constructor_decrypted_message_action_screenshot_messages (DS, T); break; - case 0x6719e45c: res = print_ds_constructor_decrypted_message_action_flush_history (DS, T); break; - case 0x511110b0: res = print_ds_constructor_decrypted_message_action_resend (DS, T); break; - case 0xf3048883: res = print_ds_constructor_decrypted_message_action_notify_layer (DS, T); break; - case 0xccb27641: res = print_ds_constructor_decrypted_message_action_typing (DS, T); break; - case 0xf3c9611b: res = print_ds_constructor_decrypted_message_action_request_key (DS, T); break; - case 0x6fe1735b: res = print_ds_constructor_decrypted_message_action_accept_key (DS, T); break; - case 0xdd05ec6b: res = print_ds_constructor_decrypted_message_action_abort_key (DS, T); break; - case 0xec2e0b9b: res = print_ds_constructor_decrypted_message_action_commit_key (DS, T); break; - case 0xa82fdd63: res = print_ds_constructor_decrypted_message_action_noop (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_decrypted_message_action (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xa1733aec: res = print_ds_constructor_decrypted_message_action_set_message_t_t_l (DS, T); break; - case 0x0c4f40be: res = print_ds_constructor_decrypted_message_action_read_messages (DS, T); break; - case 0x65614304: res = print_ds_constructor_decrypted_message_action_delete_messages (DS, T); break; - case 0x8ac1f475: res = print_ds_constructor_decrypted_message_action_screenshot_messages (DS, T); break; - case 0x6719e45c: res = print_ds_constructor_decrypted_message_action_flush_history (DS, T); break; - case 0x511110b0: res = print_ds_constructor_decrypted_message_action_resend (DS, T); break; - case 0xf3048883: res = print_ds_constructor_decrypted_message_action_notify_layer (DS, T); break; - case 0xccb27641: res = print_ds_constructor_decrypted_message_action_typing (DS, T); break; - case 0xf3c9611b: res = print_ds_constructor_decrypted_message_action_request_key (DS, T); break; - case 0x6fe1735b: res = print_ds_constructor_decrypted_message_action_accept_key (DS, T); break; - case 0xdd05ec6b: res = print_ds_constructor_decrypted_message_action_abort_key (DS, T); break; - case 0xec2e0b9b: res = print_ds_constructor_decrypted_message_action_commit_key (DS, T); break; - case 0xa82fdd63: res = print_ds_constructor_decrypted_message_action_noop (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_decrypted_message_layer (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_decrypted_message_layer (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x089f5c4a: res = print_ds_constructor_decrypted_message_media_empty (DS, T); break; - case 0x32798a8c: res = print_ds_constructor_decrypted_message_media_photo (DS, T); break; - case 0x35480a59: res = print_ds_constructor_decrypted_message_media_geo_point (DS, T); break; - case 0x588a0a97: res = print_ds_constructor_decrypted_message_media_contact (DS, T); break; - case 0xb095434b: res = print_ds_constructor_decrypted_message_media_document (DS, T); break; - case 0x524a415d: res = print_ds_constructor_decrypted_message_media_video (DS, T); break; - case 0x57e0a9cb: res = print_ds_constructor_decrypted_message_media_audio (DS, T); break; - case 0xfa95b0dd: res = print_ds_constructor_decrypted_message_media_external_document (DS, T); break; - case 0x4cee6ef3: res = print_ds_constructor_decrypted_message_media_video_l12 (DS, T); break; - case 0x6080758f: res = print_ds_constructor_decrypted_message_media_audio_l12 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_decrypted_message_media (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x089f5c4a: res = print_ds_constructor_decrypted_message_media_empty (DS, T); break; - case 0x32798a8c: res = print_ds_constructor_decrypted_message_media_photo (DS, T); break; - case 0x35480a59: res = print_ds_constructor_decrypted_message_media_geo_point (DS, T); break; - case 0x588a0a97: res = print_ds_constructor_decrypted_message_media_contact (DS, T); break; - case 0xb095434b: res = print_ds_constructor_decrypted_message_media_document (DS, T); break; - case 0x524a415d: res = print_ds_constructor_decrypted_message_media_video (DS, T); break; - case 0x57e0a9cb: res = print_ds_constructor_decrypted_message_media_audio (DS, T); break; - case 0xfa95b0dd: res = print_ds_constructor_decrypted_message_media_external_document (DS, T); break; - case 0x4cee6ef3: res = print_ds_constructor_decrypted_message_media_video_l12 (DS, T); break; - case 0x6080758f: res = print_ds_constructor_decrypted_message_media_audio_l12 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_dialog (struct tl_ds_dialog *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_dialog (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_dialog (struct tl_ds_dialog *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_dialog (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_disabled_feature (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_disabled_feature (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_document (struct tl_ds_document *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x36f8c871: res = print_ds_constructor_document_empty (DS, T); break; - case 0xf9a39f4f: res = print_ds_constructor_document (DS, T); break; - case 0x9efc6326: res = print_ds_constructor_document_l19 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_document (struct tl_ds_document *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x36f8c871: res = print_ds_constructor_document_empty (DS, T); break; - case 0xf9a39f4f: res = print_ds_constructor_document (DS, T); break; - case 0x9efc6326: res = print_ds_constructor_document_l19 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_document_attribute (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x6c37c15c: res = print_ds_constructor_document_attribute_image_size (DS, T); break; - case 0x11b58939: res = print_ds_constructor_document_attribute_animated (DS, T); break; - case 0x994c9882: res = print_ds_constructor_document_attribute_sticker_l28 (DS, T); break; - case 0x3a556302: res = print_ds_constructor_document_attribute_sticker (DS, T); break; - case 0x5910cccb: res = print_ds_constructor_document_attribute_video (DS, T); break; - case 0x051448e5: res = print_ds_constructor_document_attribute_audio (DS, T); break; - case 0x15590068: res = print_ds_constructor_document_attribute_filename (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_document_attribute (struct tl_ds_document_attribute *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x6c37c15c: res = print_ds_constructor_document_attribute_image_size (DS, T); break; - case 0x11b58939: res = print_ds_constructor_document_attribute_animated (DS, T); break; - case 0x994c9882: res = print_ds_constructor_document_attribute_sticker_l28 (DS, T); break; - case 0x3a556302: res = print_ds_constructor_document_attribute_sticker (DS, T); break; - case 0x5910cccb: res = print_ds_constructor_document_attribute_video (DS, T); break; - case 0x051448e5: res = print_ds_constructor_document_attribute_audio (DS, T); break; - case 0x15590068: res = print_ds_constructor_document_attribute_filename (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_double (double *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_double (DS, T); - return res; -} -int print_ds_type_bare_double (double *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_double (DS, T); - return res; -} -int print_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xab7ec0a0: res = print_ds_constructor_encrypted_chat_empty (DS, T); break; - case 0x3bf703dc: res = print_ds_constructor_encrypted_chat_waiting (DS, T); break; - case 0xc878527e: res = print_ds_constructor_encrypted_chat_requested (DS, T); break; - case 0xfa56ce36: res = print_ds_constructor_encrypted_chat (DS, T); break; - case 0x13d6dd27: res = print_ds_constructor_encrypted_chat_discarded (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xab7ec0a0: res = print_ds_constructor_encrypted_chat_empty (DS, T); break; - case 0x3bf703dc: res = print_ds_constructor_encrypted_chat_waiting (DS, T); break; - case 0xc878527e: res = print_ds_constructor_encrypted_chat_requested (DS, T); break; - case 0xfa56ce36: res = print_ds_constructor_encrypted_chat (DS, T); break; - case 0x13d6dd27: res = print_ds_constructor_encrypted_chat_discarded (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc21f497e: res = print_ds_constructor_encrypted_file_empty (DS, T); break; - case 0x4a70994c: res = print_ds_constructor_encrypted_file (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc21f497e: res = print_ds_constructor_encrypted_file_empty (DS, T); break; - case 0x4a70994c: res = print_ds_constructor_encrypted_file (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xed18c118: res = print_ds_constructor_encrypted_message (DS, T); break; - case 0x23734b06: res = print_ds_constructor_encrypted_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xed18c118: res = print_ds_constructor_encrypted_message (DS, T); break; - case 0x23734b06: res = print_ds_constructor_encrypted_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_error (struct tl_ds_error *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_error (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_error (struct tl_ds_error *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_error (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x69df3769: res = print_ds_constructor_chat_invite_empty (DS, T); break; - case 0xfc2e05bc: res = print_ds_constructor_chat_invite_exported (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_exported_chat_invite (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x69df3769: res = print_ds_constructor_chat_invite_empty (DS, T); break; - case 0xfc2e05bc: res = print_ds_constructor_chat_invite_exported (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_file_location (struct tl_ds_file_location *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x7c596b46: res = print_ds_constructor_file_location_unavailable (DS, T); break; - case 0x53d69076: res = print_ds_constructor_file_location (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_file_location (struct tl_ds_file_location *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x7c596b46: res = print_ds_constructor_file_location_unavailable (DS, T); break; - case 0x53d69076: res = print_ds_constructor_file_location (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x60311a9b: res = print_ds_constructor_geo_chat_message_empty (DS, T); break; - case 0x4505f8e1: res = print_ds_constructor_geo_chat_message (DS, T); break; - case 0xd34fa24e: res = print_ds_constructor_geo_chat_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x60311a9b: res = print_ds_constructor_geo_chat_message_empty (DS, T); break; - case 0x4505f8e1: res = print_ds_constructor_geo_chat_message (DS, T); break; - case 0xd34fa24e: res = print_ds_constructor_geo_chat_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1117dd5f: res = print_ds_constructor_geo_point_empty (DS, T); break; - case 0x2049d70c: res = print_ds_constructor_geo_point (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1117dd5f: res = print_ds_constructor_geo_point_empty (DS, T); break; - case 0x2049d70c: res = print_ds_constructor_geo_point (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_imported_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_imported_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_app_event (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_app_event (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xd95adc84: res = print_ds_constructor_input_audio_empty (DS, T); break; - case 0x77d440ff: res = print_ds_constructor_input_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xd95adc84: res = print_ds_constructor_input_audio_empty (DS, T); break; - case 0x77d440ff: res = print_ds_constructor_input_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1ca48f57: res = print_ds_constructor_input_chat_photo_empty (DS, T); break; - case 0x94254732: res = print_ds_constructor_input_chat_uploaded_photo (DS, T); break; - case 0xb2e1bf08: res = print_ds_constructor_input_chat_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1ca48f57: res = print_ds_constructor_input_chat_photo_empty (DS, T); break; - case 0x94254732: res = print_ds_constructor_input_chat_uploaded_photo (DS, T); break; - case 0xb2e1bf08: res = print_ds_constructor_input_chat_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_contact (struct tl_ds_input_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_phone_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_contact (struct tl_ds_input_contact *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_phone_contact (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_document (struct tl_ds_input_document *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x72f0eaae: res = print_ds_constructor_input_document_empty (DS, T); break; - case 0x18798952: res = print_ds_constructor_input_document (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_document (struct tl_ds_input_document *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x72f0eaae: res = print_ds_constructor_input_document_empty (DS, T); break; - case 0x18798952: res = print_ds_constructor_input_document (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_encrypted_chat (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_encrypted_chat (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1837c364: res = print_ds_constructor_input_encrypted_file_empty (DS, T); break; - case 0x64bd0306: res = print_ds_constructor_input_encrypted_file_uploaded (DS, T); break; - case 0x5a17b5e5: res = print_ds_constructor_input_encrypted_file (DS, T); break; - case 0x2dc173c8: res = print_ds_constructor_input_encrypted_file_big_uploaded (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1837c364: res = print_ds_constructor_input_encrypted_file_empty (DS, T); break; - case 0x64bd0306: res = print_ds_constructor_input_encrypted_file_uploaded (DS, T); break; - case 0x5a17b5e5: res = print_ds_constructor_input_encrypted_file (DS, T); break; - case 0x2dc173c8: res = print_ds_constructor_input_encrypted_file_big_uploaded (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_file (struct tl_ds_input_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf52ff27f: res = print_ds_constructor_input_file (DS, T); break; - case 0xfa4f0bb5: res = print_ds_constructor_input_file_big (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_file (struct tl_ds_input_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf52ff27f: res = print_ds_constructor_input_file (DS, T); break; - case 0xfa4f0bb5: res = print_ds_constructor_input_file_big (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x14637196: res = print_ds_constructor_input_file_location (DS, T); break; - case 0x3d0364ec: res = print_ds_constructor_input_video_file_location (DS, T); break; - case 0xf5235d55: res = print_ds_constructor_input_encrypted_file_location (DS, T); break; - case 0x74dc404d: res = print_ds_constructor_input_audio_file_location (DS, T); break; - case 0x4e45abe9: res = print_ds_constructor_input_document_file_location (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x14637196: res = print_ds_constructor_input_file_location (DS, T); break; - case 0x3d0364ec: res = print_ds_constructor_input_video_file_location (DS, T); break; - case 0xf5235d55: res = print_ds_constructor_input_encrypted_file_location (DS, T); break; - case 0x74dc404d: res = print_ds_constructor_input_audio_file_location (DS, T); break; - case 0x4e45abe9: res = print_ds_constructor_input_document_file_location (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_geo_chat (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_geo_chat (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe4c123d6: res = print_ds_constructor_input_geo_point_empty (DS, T); break; - case 0xf3b7acc9: res = print_ds_constructor_input_geo_point (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe4c123d6: res = print_ds_constructor_input_geo_point_empty (DS, T); break; - case 0xf3b7acc9: res = print_ds_constructor_input_geo_point (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_media (struct tl_ds_input_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9664f57f: res = print_ds_constructor_input_media_empty (DS, T); break; - case 0xf7aff1c0: res = print_ds_constructor_input_media_uploaded_photo (DS, T); break; - case 0xe9bfb4f3: res = print_ds_constructor_input_media_photo (DS, T); break; - case 0xf9c44144: res = print_ds_constructor_input_media_geo_point (DS, T); break; - case 0xa6e45987: res = print_ds_constructor_input_media_contact (DS, T); break; - case 0xe13fd4bc: res = print_ds_constructor_input_media_uploaded_video (DS, T); break; - case 0x96fb97dc: res = print_ds_constructor_input_media_uploaded_thumb_video (DS, T); break; - case 0x936a4ebd: res = print_ds_constructor_input_media_video (DS, T); break; - case 0x4e498cab: res = print_ds_constructor_input_media_uploaded_audio (DS, T); break; - case 0x89938781: res = print_ds_constructor_input_media_audio (DS, T); break; - case 0xffe76b78: res = print_ds_constructor_input_media_uploaded_document (DS, T); break; - case 0x41481486: res = print_ds_constructor_input_media_uploaded_thumb_document (DS, T); break; - case 0xd184e841: res = print_ds_constructor_input_media_document (DS, T); break; - case 0x2827a81a: res = print_ds_constructor_input_media_venue (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_media (struct tl_ds_input_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9664f57f: res = print_ds_constructor_input_media_empty (DS, T); break; - case 0xf7aff1c0: res = print_ds_constructor_input_media_uploaded_photo (DS, T); break; - case 0xe9bfb4f3: res = print_ds_constructor_input_media_photo (DS, T); break; - case 0xf9c44144: res = print_ds_constructor_input_media_geo_point (DS, T); break; - case 0xa6e45987: res = print_ds_constructor_input_media_contact (DS, T); break; - case 0xe13fd4bc: res = print_ds_constructor_input_media_uploaded_video (DS, T); break; - case 0x96fb97dc: res = print_ds_constructor_input_media_uploaded_thumb_video (DS, T); break; - case 0x936a4ebd: res = print_ds_constructor_input_media_video (DS, T); break; - case 0x4e498cab: res = print_ds_constructor_input_media_uploaded_audio (DS, T); break; - case 0x89938781: res = print_ds_constructor_input_media_audio (DS, T); break; - case 0xffe76b78: res = print_ds_constructor_input_media_uploaded_document (DS, T); break; - case 0x41481486: res = print_ds_constructor_input_media_uploaded_thumb_document (DS, T); break; - case 0xd184e841: res = print_ds_constructor_input_media_document (DS, T); break; - case 0x2827a81a: res = print_ds_constructor_input_media_venue (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb8bc5b0c: res = print_ds_constructor_input_notify_peer (DS, T); break; - case 0x193b4417: res = print_ds_constructor_input_notify_users (DS, T); break; - case 0x4a95e84e: res = print_ds_constructor_input_notify_chats (DS, T); break; - case 0xa429b886: res = print_ds_constructor_input_notify_all (DS, T); break; - case 0x4d8ddec8: res = print_ds_constructor_input_notify_geo_chat_peer (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb8bc5b0c: res = print_ds_constructor_input_notify_peer (DS, T); break; - case 0x193b4417: res = print_ds_constructor_input_notify_users (DS, T); break; - case 0x4a95e84e: res = print_ds_constructor_input_notify_chats (DS, T); break; - case 0xa429b886: res = print_ds_constructor_input_notify_all (DS, T); break; - case 0x4d8ddec8: res = print_ds_constructor_input_notify_geo_chat_peer (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_peer (struct tl_ds_input_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x7f3b18ea: res = print_ds_constructor_input_peer_empty (DS, T); break; - case 0x7da07ec9: res = print_ds_constructor_input_peer_self (DS, T); break; - case 0x1023dbe8: res = print_ds_constructor_input_peer_contact (DS, T); break; - case 0x9b447325: res = print_ds_constructor_input_peer_foreign (DS, T); break; - case 0x179be863: res = print_ds_constructor_input_peer_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_peer (struct tl_ds_input_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x7f3b18ea: res = print_ds_constructor_input_peer_empty (DS, T); break; - case 0x7da07ec9: res = print_ds_constructor_input_peer_self (DS, T); break; - case 0x1023dbe8: res = print_ds_constructor_input_peer_contact (DS, T); break; - case 0x9b447325: res = print_ds_constructor_input_peer_foreign (DS, T); break; - case 0x179be863: res = print_ds_constructor_input_peer_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf03064d8: res = print_ds_constructor_input_peer_notify_events_empty (DS, T); break; - case 0xe86a2c74: res = print_ds_constructor_input_peer_notify_events_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_peer_notify_events (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf03064d8: res = print_ds_constructor_input_peer_notify_events_empty (DS, T); break; - case 0xe86a2c74: res = print_ds_constructor_input_peer_notify_events_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_peer_notify_settings (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_peer_notify_settings (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1cd7bf0d: res = print_ds_constructor_input_photo_empty (DS, T); break; - case 0xfb95c6c4: res = print_ds_constructor_input_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1cd7bf0d: res = print_ds_constructor_input_photo_empty (DS, T); break; - case 0xfb95c6c4: res = print_ds_constructor_input_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xade6b004: res = print_ds_constructor_input_photo_crop_auto (DS, T); break; - case 0xd9915325: res = print_ds_constructor_input_photo_crop (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xade6b004: res = print_ds_constructor_input_photo_crop_auto (DS, T); break; - case 0xd9915325: res = print_ds_constructor_input_photo_crop (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_privacy_key_status_timestamp (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_privacy_key (struct tl_ds_input_privacy_key *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_input_privacy_key_status_timestamp (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0d09e07b: res = print_ds_constructor_input_privacy_value_allow_contacts (DS, T); break; - case 0x184b35ce: res = print_ds_constructor_input_privacy_value_allow_all (DS, T); break; - case 0x131cc67f: res = print_ds_constructor_input_privacy_value_allow_users (DS, T); break; - case 0x0ba52007: res = print_ds_constructor_input_privacy_value_disallow_contacts (DS, T); break; - case 0xd66b66c9: res = print_ds_constructor_input_privacy_value_disallow_all (DS, T); break; - case 0x90110467: res = print_ds_constructor_input_privacy_value_disallow_users (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_privacy_rule (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0d09e07b: res = print_ds_constructor_input_privacy_value_allow_contacts (DS, T); break; - case 0x184b35ce: res = print_ds_constructor_input_privacy_value_allow_all (DS, T); break; - case 0x131cc67f: res = print_ds_constructor_input_privacy_value_allow_users (DS, T); break; - case 0x0ba52007: res = print_ds_constructor_input_privacy_value_disallow_contacts (DS, T); break; - case 0xd66b66c9: res = print_ds_constructor_input_privacy_value_disallow_all (DS, T); break; - case 0x90110467: res = print_ds_constructor_input_privacy_value_disallow_users (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xffb62b95: res = print_ds_constructor_input_sticker_set_empty (DS, T); break; - case 0x9de7a269: res = print_ds_constructor_input_sticker_set_i_d (DS, T); break; - case 0x861cc8a0: res = print_ds_constructor_input_sticker_set_short_name (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_sticker_set (struct tl_ds_input_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xffb62b95: res = print_ds_constructor_input_sticker_set_empty (DS, T); break; - case 0x9de7a269: res = print_ds_constructor_input_sticker_set_i_d (DS, T); break; - case 0x861cc8a0: res = print_ds_constructor_input_sticker_set_short_name (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_user (struct tl_ds_input_user *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb98886cf: res = print_ds_constructor_input_user_empty (DS, T); break; - case 0xf7c1b13f: res = print_ds_constructor_input_user_self (DS, T); break; - case 0x86e94f65: res = print_ds_constructor_input_user_contact (DS, T); break; - case 0x655e74ff: res = print_ds_constructor_input_user_foreign (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_user (struct tl_ds_input_user *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb98886cf: res = print_ds_constructor_input_user_empty (DS, T); break; - case 0xf7c1b13f: res = print_ds_constructor_input_user_self (DS, T); break; - case 0x86e94f65: res = print_ds_constructor_input_user_contact (DS, T); break; - case 0x655e74ff: res = print_ds_constructor_input_user_foreign (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_input_video (struct tl_ds_input_video *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5508ec75: res = print_ds_constructor_input_video_empty (DS, T); break; - case 0xee579652: res = print_ds_constructor_input_video (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_input_video (struct tl_ds_input_video *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5508ec75: res = print_ds_constructor_input_video_empty (DS, T); break; - case 0xee579652: res = print_ds_constructor_input_video (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_int (int *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_int (DS, T); - return res; -} -int print_ds_type_bare_int (int *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_int (DS, T); - return res; -} -int print_ds_type_int128 (struct tl_ds_int128 *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_int128 (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_int128 (struct tl_ds_int128 *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_int128 (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_int256 (struct tl_ds_int256 *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_int256 (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_int256 (struct tl_ds_int256 *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_int256 (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_keyboard_button (DS, T); - return res; -} -int print_ds_type_bare_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_keyboard_button (DS, T); - return res; -} -int print_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_keyboard_button_row (DS, T); - return res; -} -int print_ds_type_bare_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_keyboard_button_row (DS, T); - return res; -} -int print_ds_type_long (long long *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_long (DS, T); - return res; -} -int print_ds_type_bare_long (long long *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_long (DS, T); - return res; -} -int print_ds_type_message (struct tl_ds_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x83e5de54: res = print_ds_constructor_message_empty (DS, T); break; - case 0xc3060325: res = print_ds_constructor_message (DS, T); break; - case 0x1d86f70e: res = print_ds_constructor_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_message (struct tl_ds_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x83e5de54: res = print_ds_constructor_message_empty (DS, T); break; - case 0xc3060325: res = print_ds_constructor_message (DS, T); break; - case 0x1d86f70e: res = print_ds_constructor_message_service (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_message_action (struct tl_ds_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb6aef7b0: res = print_ds_constructor_message_action_empty (DS, T); break; - case 0xa6638b9a: res = print_ds_constructor_message_action_chat_create (DS, T); break; - case 0xb5a1ce5a: res = print_ds_constructor_message_action_chat_edit_title (DS, T); break; - case 0x7fcb13a8: res = print_ds_constructor_message_action_chat_edit_photo (DS, T); break; - case 0x95e3fbef: res = print_ds_constructor_message_action_chat_delete_photo (DS, T); break; - case 0x5e3cfc4b: res = print_ds_constructor_message_action_chat_add_user (DS, T); break; - case 0xb2ae9b0c: res = print_ds_constructor_message_action_chat_delete_user (DS, T); break; - case 0x6f038ebc: res = print_ds_constructor_message_action_geo_chat_create (DS, T); break; - case 0x0c7d53de: res = print_ds_constructor_message_action_geo_chat_checkin (DS, T); break; - case 0xf89cf5e8: res = print_ds_constructor_message_action_chat_joined_by_link (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_message_action (struct tl_ds_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb6aef7b0: res = print_ds_constructor_message_action_empty (DS, T); break; - case 0xa6638b9a: res = print_ds_constructor_message_action_chat_create (DS, T); break; - case 0xb5a1ce5a: res = print_ds_constructor_message_action_chat_edit_title (DS, T); break; - case 0x7fcb13a8: res = print_ds_constructor_message_action_chat_edit_photo (DS, T); break; - case 0x95e3fbef: res = print_ds_constructor_message_action_chat_delete_photo (DS, T); break; - case 0x5e3cfc4b: res = print_ds_constructor_message_action_chat_add_user (DS, T); break; - case 0xb2ae9b0c: res = print_ds_constructor_message_action_chat_delete_user (DS, T); break; - case 0x6f038ebc: res = print_ds_constructor_message_action_geo_chat_create (DS, T); break; - case 0x0c7d53de: res = print_ds_constructor_message_action_geo_chat_checkin (DS, T); break; - case 0xf89cf5e8: res = print_ds_constructor_message_action_chat_joined_by_link (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_message_media (struct tl_ds_message_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3ded6320: res = print_ds_constructor_message_media_empty (DS, T); break; - case 0x3d8ce53d: res = print_ds_constructor_message_media_photo (DS, T); break; - case 0x5bcf1675: res = print_ds_constructor_message_media_video (DS, T); break; - case 0x56e0d474: res = print_ds_constructor_message_media_geo (DS, T); break; - case 0x5e7d2f39: res = print_ds_constructor_message_media_contact (DS, T); break; - case 0x9f84f49e: res = print_ds_constructor_message_media_unsupported (DS, T); break; - case 0x2fda2204: res = print_ds_constructor_message_media_document (DS, T); break; - case 0xc6b68300: res = print_ds_constructor_message_media_audio (DS, T); break; - case 0xa32dd600: res = print_ds_constructor_message_media_web_page (DS, T); break; - case 0x7912b71f: res = print_ds_constructor_message_media_venue (DS, T); break; - case 0xc8c45a2a: res = print_ds_constructor_message_media_photo_l27 (DS, T); break; - case 0xa2d24290: res = print_ds_constructor_message_media_video_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_message_media (struct tl_ds_message_media *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3ded6320: res = print_ds_constructor_message_media_empty (DS, T); break; - case 0x3d8ce53d: res = print_ds_constructor_message_media_photo (DS, T); break; - case 0x5bcf1675: res = print_ds_constructor_message_media_video (DS, T); break; - case 0x56e0d474: res = print_ds_constructor_message_media_geo (DS, T); break; - case 0x5e7d2f39: res = print_ds_constructor_message_media_contact (DS, T); break; - case 0x9f84f49e: res = print_ds_constructor_message_media_unsupported (DS, T); break; - case 0x2fda2204: res = print_ds_constructor_message_media_document (DS, T); break; - case 0xc6b68300: res = print_ds_constructor_message_media_audio (DS, T); break; - case 0xa32dd600: res = print_ds_constructor_message_media_web_page (DS, T); break; - case 0x7912b71f: res = print_ds_constructor_message_media_venue (DS, T); break; - case 0xc8c45a2a: res = print_ds_constructor_message_media_photo_l27 (DS, T); break; - case 0xa2d24290: res = print_ds_constructor_message_media_video_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_filter (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x57e2f66c: res = print_ds_constructor_input_messages_filter_empty (DS, T); break; - case 0x9609a51c: res = print_ds_constructor_input_messages_filter_photos (DS, T); break; - case 0x9fc00e65: res = print_ds_constructor_input_messages_filter_video (DS, T); break; - case 0x56e9f0e4: res = print_ds_constructor_input_messages_filter_photo_video (DS, T); break; - case 0xd95e73bb: res = print_ds_constructor_input_messages_filter_photo_video_documents (DS, T); break; - case 0x9eddf188: res = print_ds_constructor_input_messages_filter_document (DS, T); break; - case 0xcfc87522: res = print_ds_constructor_input_messages_filter_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_filter (struct tl_ds_messages_filter *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x57e2f66c: res = print_ds_constructor_input_messages_filter_empty (DS, T); break; - case 0x9609a51c: res = print_ds_constructor_input_messages_filter_photos (DS, T); break; - case 0x9fc00e65: res = print_ds_constructor_input_messages_filter_video (DS, T); break; - case 0x56e9f0e4: res = print_ds_constructor_input_messages_filter_photo_video (DS, T); break; - case 0xd95e73bb: res = print_ds_constructor_input_messages_filter_photo_video_documents (DS, T); break; - case 0x9eddf188: res = print_ds_constructor_input_messages_filter_document (DS, T); break; - case 0xcfc87522: res = print_ds_constructor_input_messages_filter_audio (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_nearest_dc (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_nearest_dc (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9fd40bd8: res = print_ds_constructor_notify_peer (DS, T); break; - case 0xb4c83b4c: res = print_ds_constructor_notify_users (DS, T); break; - case 0xc007cec3: res = print_ds_constructor_notify_chats (DS, T); break; - case 0x74d07c60: res = print_ds_constructor_notify_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9fd40bd8: res = print_ds_constructor_notify_peer (DS, T); break; - case 0xb4c83b4c: res = print_ds_constructor_notify_users (DS, T); break; - case 0xc007cec3: res = print_ds_constructor_notify_chats (DS, T); break; - case 0x74d07c60: res = print_ds_constructor_notify_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_null (struct tl_ds_null *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_null (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_null (struct tl_ds_null *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_null (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x83c95aec: res = print_ds_constructor_p_q_inner_data (DS, T); break; - case 0x3c6a84d4: res = print_ds_constructor_p_q_inner_data_temp (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x83c95aec: res = print_ds_constructor_p_q_inner_data (DS, T); break; - case 0x3c6a84d4: res = print_ds_constructor_p_q_inner_data_temp (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_peer (struct tl_ds_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9db1bc6d: res = print_ds_constructor_peer_user (DS, T); break; - case 0xbad0e5bb: res = print_ds_constructor_peer_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_peer (struct tl_ds_peer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x9db1bc6d: res = print_ds_constructor_peer_user (DS, T); break; - case 0xbad0e5bb: res = print_ds_constructor_peer_chat (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xadd53cb3: res = print_ds_constructor_peer_notify_events_empty (DS, T); break; - case 0x6d1ded88: res = print_ds_constructor_peer_notify_events_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_peer_notify_events (struct tl_ds_peer_notify_events *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xadd53cb3: res = print_ds_constructor_peer_notify_events_empty (DS, T); break; - case 0x6d1ded88: res = print_ds_constructor_peer_notify_events_all (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x70a68512: res = print_ds_constructor_peer_notify_settings_empty (DS, T); break; - case 0x8d5e11ee: res = print_ds_constructor_peer_notify_settings (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x70a68512: res = print_ds_constructor_peer_notify_settings_empty (DS, T); break; - case 0x8d5e11ee: res = print_ds_constructor_peer_notify_settings (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_photo (struct tl_ds_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x2331b22d: res = print_ds_constructor_photo_empty (DS, T); break; - case 0xc3838076: res = print_ds_constructor_photo (DS, T); break; - case 0x22b56751: res = print_ds_constructor_photo_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_photo (struct tl_ds_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x2331b22d: res = print_ds_constructor_photo_empty (DS, T); break; - case 0xc3838076: res = print_ds_constructor_photo (DS, T); break; - case 0x22b56751: res = print_ds_constructor_photo_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0e17e23c: res = print_ds_constructor_photo_size_empty (DS, T); break; - case 0x77bfb61b: res = print_ds_constructor_photo_size (DS, T); break; - case 0xe9a734fa: res = print_ds_constructor_photo_cached_size (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x0e17e23c: res = print_ds_constructor_photo_size_empty (DS, T); break; - case 0x77bfb61b: res = print_ds_constructor_photo_size (DS, T); break; - case 0xe9a734fa: res = print_ds_constructor_photo_cached_size (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_privacy_key (struct tl_ds_privacy_key *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_privacy_key_status_timestamp (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_privacy_key (struct tl_ds_privacy_key *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_privacy_key_status_timestamp (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_privacy_rule (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xfffe1bac: res = print_ds_constructor_privacy_value_allow_contacts (DS, T); break; - case 0x65427b82: res = print_ds_constructor_privacy_value_allow_all (DS, T); break; - case 0x4d5bbe0c: res = print_ds_constructor_privacy_value_allow_users (DS, T); break; - case 0xf888fa1a: res = print_ds_constructor_privacy_value_disallow_contacts (DS, T); break; - case 0x8b73e763: res = print_ds_constructor_privacy_value_disallow_all (DS, T); break; - case 0x0c7f49b7: res = print_ds_constructor_privacy_value_disallow_users (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_privacy_rule (struct tl_ds_privacy_rule *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xfffe1bac: res = print_ds_constructor_privacy_value_allow_contacts (DS, T); break; - case 0x65427b82: res = print_ds_constructor_privacy_value_allow_all (DS, T); break; - case 0x4d5bbe0c: res = print_ds_constructor_privacy_value_allow_users (DS, T); break; - case 0xf888fa1a: res = print_ds_constructor_privacy_value_disallow_contacts (DS, T); break; - case 0x8b73e763: res = print_ds_constructor_privacy_value_disallow_all (DS, T); break; - case 0x0c7f49b7: res = print_ds_constructor_privacy_value_disallow_users (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_received_notify_message (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_received_notify_message (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_reply_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xa03e5b85: res = print_ds_constructor_reply_keyboard_hide (DS, T); break; - case 0xf4108aa0: res = print_ds_constructor_reply_keyboard_force_reply (DS, T); break; - case 0x3502758c: res = print_ds_constructor_reply_keyboard_markup (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_reply_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xa03e5b85: res = print_ds_constructor_reply_keyboard_hide (DS, T); break; - case 0xf4108aa0: res = print_ds_constructor_reply_keyboard_force_reply (DS, T); break; - case 0x3502758c: res = print_ds_constructor_reply_keyboard_markup (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_res_p_q (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_res_p_q (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_send_message_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x16bf744e: res = print_ds_constructor_send_message_typing_action (DS, T); break; - case 0xfd5ec8f5: res = print_ds_constructor_send_message_cancel_action (DS, T); break; - case 0xa187d66f: res = print_ds_constructor_send_message_record_video_action (DS, T); break; - case 0x92042ff7: res = print_ds_constructor_send_message_upload_video_action_l27 (DS, T); break; - case 0xe9763aec: res = print_ds_constructor_send_message_upload_video_action (DS, T); break; - case 0xd52f73f7: res = print_ds_constructor_send_message_record_audio_action (DS, T); break; - case 0xe6ac8a6f: res = print_ds_constructor_send_message_upload_audio_action_l27 (DS, T); break; - case 0xf351d7ab: res = print_ds_constructor_send_message_upload_audio_action (DS, T); break; - case 0xd1d34a26: res = print_ds_constructor_send_message_upload_photo_action (DS, T); break; - case 0x8faee98e: res = print_ds_constructor_send_message_upload_document_action_l27 (DS, T); break; - case 0xaa0cd9e4: res = print_ds_constructor_send_message_upload_document_action (DS, T); break; - case 0x176f8ba1: res = print_ds_constructor_send_message_geo_location_action (DS, T); break; - case 0x628cbc6f: res = print_ds_constructor_send_message_choose_contact_action (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_send_message_action (struct tl_ds_send_message_action *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x16bf744e: res = print_ds_constructor_send_message_typing_action (DS, T); break; - case 0xfd5ec8f5: res = print_ds_constructor_send_message_cancel_action (DS, T); break; - case 0xa187d66f: res = print_ds_constructor_send_message_record_video_action (DS, T); break; - case 0x92042ff7: res = print_ds_constructor_send_message_upload_video_action_l27 (DS, T); break; - case 0xe9763aec: res = print_ds_constructor_send_message_upload_video_action (DS, T); break; - case 0xd52f73f7: res = print_ds_constructor_send_message_record_audio_action (DS, T); break; - case 0xe6ac8a6f: res = print_ds_constructor_send_message_upload_audio_action_l27 (DS, T); break; - case 0xf351d7ab: res = print_ds_constructor_send_message_upload_audio_action (DS, T); break; - case 0xd1d34a26: res = print_ds_constructor_send_message_upload_photo_action (DS, T); break; - case 0x8faee98e: res = print_ds_constructor_send_message_upload_document_action_l27 (DS, T); break; - case 0xaa0cd9e4: res = print_ds_constructor_send_message_upload_document_action (DS, T); break; - case 0x176f8ba1: res = print_ds_constructor_send_message_geo_location_action (DS, T); break; - case 0x628cbc6f: res = print_ds_constructor_send_message_choose_contact_action (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x79cb045d: res = print_ds_constructor_server_d_h_params_fail (DS, T); break; - case 0xd0e8075c: res = print_ds_constructor_server_d_h_params_ok (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_server_d_h_params (struct tl_ds_server_d_h_params *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x79cb045d: res = print_ds_constructor_server_d_h_params_fail (DS, T); break; - case 0xd0e8075c: res = print_ds_constructor_server_d_h_params_ok (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_server_d_h_inner_data (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_server_d_h_inner_data (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3bcbf734: res = print_ds_constructor_dh_gen_ok (DS, T); break; - case 0x46dc1fb9: res = print_ds_constructor_dh_gen_retry (DS, T); break; - case 0xa69dae02: res = print_ds_constructor_dh_gen_fail (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3bcbf734: res = print_ds_constructor_dh_gen_ok (DS, T); break; - case 0x46dc1fb9: res = print_ds_constructor_dh_gen_retry (DS, T); break; - case 0xa69dae02: res = print_ds_constructor_dh_gen_fail (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_sticker_pack (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_sticker_pack (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_sticker_set (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_sticker_set (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_string (struct tl_ds_string *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_string (DS, T); - return res; -} -int print_ds_type_bare_string (struct tl_ds_string *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_string (DS, T); - return res; -} -int print_ds_type_update (struct tl_ds_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1f2b0afd: res = print_ds_constructor_update_new_message (DS, T); break; - case 0x4e90bfd6: res = print_ds_constructor_update_message_i_d (DS, T); break; - case 0xa20db0e5: res = print_ds_constructor_update_delete_messages (DS, T); break; - case 0x5c486927: res = print_ds_constructor_update_user_typing (DS, T); break; - case 0x9a65ea1f: res = print_ds_constructor_update_chat_user_typing (DS, T); break; - case 0x07761198: res = print_ds_constructor_update_chat_participants (DS, T); break; - case 0x1bfbd823: res = print_ds_constructor_update_user_status (DS, T); break; - case 0xa7332b73: res = print_ds_constructor_update_user_name (DS, T); break; - case 0x95313b0c: res = print_ds_constructor_update_user_photo (DS, T); break; - case 0x2575bbb9: res = print_ds_constructor_update_contact_registered (DS, T); break; - case 0x9d2e67c5: res = print_ds_constructor_update_contact_link (DS, T); break; - case 0x8f06529a: res = print_ds_constructor_update_new_authorization (DS, T); break; - case 0x5a68e3f7: res = print_ds_constructor_update_new_geo_chat_message (DS, T); break; - case 0x12bcbd9a: res = print_ds_constructor_update_new_encrypted_message (DS, T); break; - case 0x1710f156: res = print_ds_constructor_update_encrypted_chat_typing (DS, T); break; - case 0xb4a2e88d: res = print_ds_constructor_update_encryption (DS, T); break; - case 0x38fe25b7: res = print_ds_constructor_update_encrypted_messages_read (DS, T); break; - case 0x3a0eeb22: res = print_ds_constructor_update_chat_participant_add (DS, T); break; - case 0x6e5f8c22: res = print_ds_constructor_update_chat_participant_delete (DS, T); break; - case 0x8e5e9873: res = print_ds_constructor_update_dc_options (DS, T); break; - case 0x80ece81a: res = print_ds_constructor_update_user_blocked (DS, T); break; - case 0xbec268ef: res = print_ds_constructor_update_notify_settings (DS, T); break; - case 0x382dd3e4: res = print_ds_constructor_update_service_notification (DS, T); break; - case 0xee3b272a: res = print_ds_constructor_update_privacy (DS, T); break; - case 0x12b9417b: res = print_ds_constructor_update_user_phone (DS, T); break; - case 0x9961fd5c: res = print_ds_constructor_update_read_history_inbox (DS, T); break; - case 0x2f2f21bf: res = print_ds_constructor_update_read_history_outbox (DS, T); break; - case 0x2cc36971: res = print_ds_constructor_update_web_page (DS, T); break; - case 0x68c13933: res = print_ds_constructor_update_read_messages_contents (DS, T); break; - case 0x03114739: res = print_ds_constructor_update_msg_update (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_update (struct tl_ds_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1f2b0afd: res = print_ds_constructor_update_new_message (DS, T); break; - case 0x4e90bfd6: res = print_ds_constructor_update_message_i_d (DS, T); break; - case 0xa20db0e5: res = print_ds_constructor_update_delete_messages (DS, T); break; - case 0x5c486927: res = print_ds_constructor_update_user_typing (DS, T); break; - case 0x9a65ea1f: res = print_ds_constructor_update_chat_user_typing (DS, T); break; - case 0x07761198: res = print_ds_constructor_update_chat_participants (DS, T); break; - case 0x1bfbd823: res = print_ds_constructor_update_user_status (DS, T); break; - case 0xa7332b73: res = print_ds_constructor_update_user_name (DS, T); break; - case 0x95313b0c: res = print_ds_constructor_update_user_photo (DS, T); break; - case 0x2575bbb9: res = print_ds_constructor_update_contact_registered (DS, T); break; - case 0x9d2e67c5: res = print_ds_constructor_update_contact_link (DS, T); break; - case 0x8f06529a: res = print_ds_constructor_update_new_authorization (DS, T); break; - case 0x5a68e3f7: res = print_ds_constructor_update_new_geo_chat_message (DS, T); break; - case 0x12bcbd9a: res = print_ds_constructor_update_new_encrypted_message (DS, T); break; - case 0x1710f156: res = print_ds_constructor_update_encrypted_chat_typing (DS, T); break; - case 0xb4a2e88d: res = print_ds_constructor_update_encryption (DS, T); break; - case 0x38fe25b7: res = print_ds_constructor_update_encrypted_messages_read (DS, T); break; - case 0x3a0eeb22: res = print_ds_constructor_update_chat_participant_add (DS, T); break; - case 0x6e5f8c22: res = print_ds_constructor_update_chat_participant_delete (DS, T); break; - case 0x8e5e9873: res = print_ds_constructor_update_dc_options (DS, T); break; - case 0x80ece81a: res = print_ds_constructor_update_user_blocked (DS, T); break; - case 0xbec268ef: res = print_ds_constructor_update_notify_settings (DS, T); break; - case 0x382dd3e4: res = print_ds_constructor_update_service_notification (DS, T); break; - case 0xee3b272a: res = print_ds_constructor_update_privacy (DS, T); break; - case 0x12b9417b: res = print_ds_constructor_update_user_phone (DS, T); break; - case 0x9961fd5c: res = print_ds_constructor_update_read_history_inbox (DS, T); break; - case 0x2f2f21bf: res = print_ds_constructor_update_read_history_outbox (DS, T); break; - case 0x2cc36971: res = print_ds_constructor_update_web_page (DS, T); break; - case 0x68c13933: res = print_ds_constructor_update_read_messages_contents (DS, T); break; - case 0x03114739: res = print_ds_constructor_update_msg_update (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_updates (struct tl_ds_updates *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe317af7e: res = print_ds_constructor_updates_too_long (DS, T); break; - case 0xed5c2127: res = print_ds_constructor_update_short_message (DS, T); break; - case 0x52238b3c: res = print_ds_constructor_update_short_chat_message (DS, T); break; - case 0x78d4dec1: res = print_ds_constructor_update_short (DS, T); break; - case 0x725b04c3: res = print_ds_constructor_updates_combined (DS, T); break; - case 0x74ae4240: res = print_ds_constructor_updates (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_updates (struct tl_ds_updates *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe317af7e: res = print_ds_constructor_updates_too_long (DS, T); break; - case 0xed5c2127: res = print_ds_constructor_update_short_message (DS, T); break; - case 0x52238b3c: res = print_ds_constructor_update_short_chat_message (DS, T); break; - case 0x78d4dec1: res = print_ds_constructor_update_short (DS, T); break; - case 0x725b04c3: res = print_ds_constructor_updates_combined (DS, T); break; - case 0x74ae4240: res = print_ds_constructor_updates (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_user (struct tl_ds_user *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x200250ba: res = print_ds_constructor_user_empty (DS, T); break; - case 0x22e49072: res = print_ds_constructor_user (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_user (struct tl_ds_user *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x200250ba: res = print_ds_constructor_user_empty (DS, T); break; - case 0x22e49072: res = print_ds_constructor_user (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_user_full (struct tl_ds_user_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_user_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_user_full (struct tl_ds_user_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_user_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x4f11bae1: res = print_ds_constructor_user_profile_photo_empty (DS, T); break; - case 0xd559d8c8: res = print_ds_constructor_user_profile_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x4f11bae1: res = print_ds_constructor_user_profile_photo_empty (DS, T); break; - case 0xd559d8c8: res = print_ds_constructor_user_profile_photo (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_user_status (struct tl_ds_user_status *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x09d05049: res = print_ds_constructor_user_status_empty (DS, T); break; - case 0xedb93949: res = print_ds_constructor_user_status_online (DS, T); break; - case 0x008c703f: res = print_ds_constructor_user_status_offline (DS, T); break; - case 0xe26f42f1: res = print_ds_constructor_user_status_recently (DS, T); break; - case 0x07bf09fc: res = print_ds_constructor_user_status_last_week (DS, T); break; - case 0x77ebc742: res = print_ds_constructor_user_status_last_month (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_user_status (struct tl_ds_user_status *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x09d05049: res = print_ds_constructor_user_status_empty (DS, T); break; - case 0xedb93949: res = print_ds_constructor_user_status_online (DS, T); break; - case 0x008c703f: res = print_ds_constructor_user_status_offline (DS, T); break; - case 0xe26f42f1: res = print_ds_constructor_user_status_recently (DS, T); break; - case 0x07bf09fc: res = print_ds_constructor_user_status_last_week (DS, T); break; - case 0x77ebc742: res = print_ds_constructor_user_status_last_month (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_vector (struct tl_ds_vector *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_vector (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_vector (struct tl_ds_vector *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_vector (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_video (struct tl_ds_video *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc10658a8: res = print_ds_constructor_video_empty (DS, T); break; - case 0xee9f4a4d: res = print_ds_constructor_video (DS, T); break; - case 0x388fa391: res = print_ds_constructor_video_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_video (struct tl_ds_video *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc10658a8: res = print_ds_constructor_video_empty (DS, T); break; - case 0xee9f4a4d: res = print_ds_constructor_video (DS, T); break; - case 0x388fa391: res = print_ds_constructor_video_l27 (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xccb03657: res = print_ds_constructor_wall_paper (DS, T); break; - case 0x63117f24: res = print_ds_constructor_wall_paper_solid (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xccb03657: res = print_ds_constructor_wall_paper (DS, T); break; - case 0x63117f24: res = print_ds_constructor_wall_paper_solid (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_web_page (struct tl_ds_web_page *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xeb1477e8: res = print_ds_constructor_web_page_empty (DS, T); break; - case 0xc586da1c: res = print_ds_constructor_web_page_pending (DS, T); break; - case 0xa31ea0b5: res = print_ds_constructor_web_page (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_web_page (struct tl_ds_web_page *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xeb1477e8: res = print_ds_constructor_web_page_empty (DS, T); break; - case 0xc586da1c: res = print_ds_constructor_web_page_pending (DS, T); break; - case 0xa31ea0b5: res = print_ds_constructor_web_page (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_authorizations (DS, T); - return res; -} -int print_ds_type_bare_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_authorizations (DS, T); - return res; -} -int print_ds_type_account_password (struct tl_ds_account_password *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x96dabc18: res = print_ds_constructor_account_no_password (DS, T); break; - case 0x7c18141c: res = print_ds_constructor_account_password (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_account_password (struct tl_ds_account_password *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x96dabc18: res = print_ds_constructor_account_no_password (DS, T); break; - case 0x7c18141c: res = print_ds_constructor_account_password (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_password_input_settings (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_password_input_settings (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_password_settings (DS, T); - return res; -} -int print_ds_type_bare_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_account_password_settings (DS, T); - return res; -} -int print_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_privacy_rules (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_privacy_rules (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_sent_change_phone_code (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_account_sent_change_phone_code (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_authorization (DS, T); - return res; -} -int print_ds_type_bare_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_authorization (DS, T); - return res; -} -int print_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_checked_phone (DS, T); - return res; -} -int print_ds_type_bare_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_checked_phone (DS, T); - return res; -} -int print_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_auth_exported_authorization (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_auth_exported_authorization (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_password_recovery (DS, T); - return res; -} -int print_ds_type_bare_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_auth_password_recovery (DS, T); - return res; -} -int print_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xefed51d9: res = print_ds_constructor_auth_sent_code (DS, T); break; - case 0xe325edcf: res = print_ds_constructor_auth_sent_app_code (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xefed51d9: res = print_ds_constructor_auth_sent_code (DS, T); break; - case 0xe325edcf: res = print_ds_constructor_auth_sent_app_code (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_binlog_encr_key (DS, T); - return res; -} -int print_ds_type_bare_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_binlog_encr_key (DS, T); - return res; -} -int print_ds_type_binlog_update (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3b06de69: res = print_ds_constructor_binlog_start (DS, T); break; - case 0xf96feb32: res = print_ds_constructor_binlog_dc_option (DS, T); break; - case 0x7c0d22d8: res = print_ds_constructor_binlog_dc_option_new (DS, T); break; - case 0x71e8c156: res = print_ds_constructor_binlog_auth_key (DS, T); break; - case 0x9e83dbdc: res = print_ds_constructor_binlog_default_dc (DS, T); break; - case 0x26451bb5: res = print_ds_constructor_binlog_dc_signed (DS, T); break; - case 0x68a870e8: res = print_ds_constructor_binlog_our_id (DS, T); break; - case 0xeaeb7826: res = print_ds_constructor_binlog_set_dh_params (DS, T); break; - case 0x2ca8c939: res = print_ds_constructor_binlog_set_pts (DS, T); break; - case 0xd95738ac: res = print_ds_constructor_binlog_set_qts (DS, T); break; - case 0x1d0f4b52: res = print_ds_constructor_binlog_set_date (DS, T); break; - case 0x6eeb2989: res = print_ds_constructor_binlog_set_seq (DS, T); break; - case 0xee1b38e8: res = print_ds_constructor_binlog_encr_chat_delete (DS, T); break; - case 0x84977251: res = print_ds_constructor_binlog_encr_chat_new (DS, T); break; - case 0x9d49488d: res = print_ds_constructor_binlog_encr_chat_exchange_new (DS, T); break; - case 0xac55d447: res = print_ds_constructor_binlog_user_delete (DS, T); break; - case 0x127cf2f9: res = print_ds_constructor_binlog_user_new (DS, T); break; - case 0x0a10aa92: res = print_ds_constructor_binlog_chat_new (DS, T); break; - case 0x535475ea: res = print_ds_constructor_binlog_chat_add_participant (DS, T); break; - case 0x7dd1a1a2: res = print_ds_constructor_binlog_chat_del_participant (DS, T); break; - case 0x3c873416: res = print_ds_constructor_binlog_set_msg_id (DS, T); break; - case 0x847e77b1: res = print_ds_constructor_binlog_message_delete (DS, T); break; - case 0x427cfcdb: res = print_ds_constructor_binlog_message_new (DS, T); break; - case 0x6cf7cabc: res = print_ds_constructor_binlog_message_encr_new (DS, T); break; - case 0x6dd4d85f: res = print_ds_constructor_binlog_msg_update (DS, T); break; - case 0x83327955: res = print_ds_constructor_binlog_reset_authorization (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_binlog_update (struct tl_ds_binlog_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x3b06de69: res = print_ds_constructor_binlog_start (DS, T); break; - case 0xf96feb32: res = print_ds_constructor_binlog_dc_option (DS, T); break; - case 0x7c0d22d8: res = print_ds_constructor_binlog_dc_option_new (DS, T); break; - case 0x71e8c156: res = print_ds_constructor_binlog_auth_key (DS, T); break; - case 0x9e83dbdc: res = print_ds_constructor_binlog_default_dc (DS, T); break; - case 0x26451bb5: res = print_ds_constructor_binlog_dc_signed (DS, T); break; - case 0x68a870e8: res = print_ds_constructor_binlog_our_id (DS, T); break; - case 0xeaeb7826: res = print_ds_constructor_binlog_set_dh_params (DS, T); break; - case 0x2ca8c939: res = print_ds_constructor_binlog_set_pts (DS, T); break; - case 0xd95738ac: res = print_ds_constructor_binlog_set_qts (DS, T); break; - case 0x1d0f4b52: res = print_ds_constructor_binlog_set_date (DS, T); break; - case 0x6eeb2989: res = print_ds_constructor_binlog_set_seq (DS, T); break; - case 0xee1b38e8: res = print_ds_constructor_binlog_encr_chat_delete (DS, T); break; - case 0x84977251: res = print_ds_constructor_binlog_encr_chat_new (DS, T); break; - case 0x9d49488d: res = print_ds_constructor_binlog_encr_chat_exchange_new (DS, T); break; - case 0xac55d447: res = print_ds_constructor_binlog_user_delete (DS, T); break; - case 0x127cf2f9: res = print_ds_constructor_binlog_user_new (DS, T); break; - case 0x0a10aa92: res = print_ds_constructor_binlog_chat_new (DS, T); break; - case 0x535475ea: res = print_ds_constructor_binlog_chat_add_participant (DS, T); break; - case 0x7dd1a1a2: res = print_ds_constructor_binlog_chat_del_participant (DS, T); break; - case 0x3c873416: res = print_ds_constructor_binlog_set_msg_id (DS, T); break; - case 0x847e77b1: res = print_ds_constructor_binlog_message_delete (DS, T); break; - case 0x427cfcdb: res = print_ds_constructor_binlog_message_new (DS, T); break; - case 0x6cf7cabc: res = print_ds_constructor_binlog_message_encr_new (DS, T); break; - case 0x6dd4d85f: res = print_ds_constructor_binlog_msg_update (DS, T); break; - case 0x83327955: res = print_ds_constructor_binlog_reset_authorization (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1c138d15: res = print_ds_constructor_contacts_blocked (DS, T); break; - case 0x900802a1: res = print_ds_constructor_contacts_blocked_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x1c138d15: res = print_ds_constructor_contacts_blocked (DS, T); break; - case 0x900802a1: res = print_ds_constructor_contacts_blocked_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb74ba9d2: res = print_ds_constructor_contacts_contacts_not_modified (DS, T); break; - case 0x6f8b8cb2: res = print_ds_constructor_contacts_contacts (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xb74ba9d2: res = print_ds_constructor_contacts_contacts_not_modified (DS, T); break; - case 0x6f8b8cb2: res = print_ds_constructor_contacts_contacts (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_found (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_found (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_imported_contacts (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_imported_contacts (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_link (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_link (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_suggested (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_contacts_suggested (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_geochats_located (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_geochats_located (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xd1526db1: res = print_ds_constructor_geochats_messages (DS, T); break; - case 0xbc5863e8: res = print_ds_constructor_geochats_messages_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xd1526db1: res = print_ds_constructor_geochats_messages (DS, T); break; - case 0xbc5863e8: res = print_ds_constructor_geochats_messages_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_geochats_stated_message (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_geochats_stated_message (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8987f311: res = print_ds_constructor_help_app_update (DS, T); break; - case 0xc45a6536: res = print_ds_constructor_help_no_app_update (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8987f311: res = print_ds_constructor_help_app_update (DS, T); break; - case 0xc45a6536: res = print_ds_constructor_help_no_app_update (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_help_invite_text (DS, T); - return res; -} -int print_ds_type_bare_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_help_invite_text (DS, T); - return res; -} -int print_ds_type_help_support (struct tl_ds_help_support *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_help_support (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_help_support (struct tl_ds_help_support *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_help_support (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_affected_history (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_affected_history (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_affected_messages (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_affected_messages (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe86602c3: res = print_ds_constructor_messages_all_stickers_not_modified (DS, T); break; - case 0x5ce352ec: res = print_ds_constructor_messages_all_stickers (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xe86602c3: res = print_ds_constructor_messages_all_stickers_not_modified (DS, T); break; - case 0x5ce352ec: res = print_ds_constructor_messages_all_stickers (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_chat_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_chat_full (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_messages_chats (DS, T); - return res; -} -int print_ds_type_bare_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T) { - int res; - res = print_ds_constructor_messages_chats (DS, T); - return res; -} -int print_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc0e24635: res = print_ds_constructor_messages_dh_config_not_modified (DS, T); break; - case 0x2c221edd: res = print_ds_constructor_messages_dh_config (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xc0e24635: res = print_ds_constructor_messages_dh_config_not_modified (DS, T); break; - case 0x2c221edd: res = print_ds_constructor_messages_dh_config (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x15ba6c40: res = print_ds_constructor_messages_dialogs (DS, T); break; - case 0x71e094f3: res = print_ds_constructor_messages_dialogs_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x15ba6c40: res = print_ds_constructor_messages_dialogs (DS, T); break; - case 0x71e094f3: res = print_ds_constructor_messages_dialogs_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_message (struct tl_ds_messages_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_message_empty (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_message (struct tl_ds_messages_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_message_empty (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8c718e87: res = print_ds_constructor_messages_messages (DS, T); break; - case 0x0b446ae3: res = print_ds_constructor_messages_messages_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8c718e87: res = print_ds_constructor_messages_messages (DS, T); break; - case 0x0b446ae3: res = print_ds_constructor_messages_messages_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x560f8935: res = print_ds_constructor_messages_sent_encrypted_message (DS, T); break; - case 0x9493ff32: res = print_ds_constructor_messages_sent_encrypted_file (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x560f8935: res = print_ds_constructor_messages_sent_encrypted_message (DS, T); break; - case 0x9493ff32: res = print_ds_constructor_messages_sent_encrypted_file (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x4c3d47f3: res = print_ds_constructor_messages_sent_message (DS, T); break; - case 0x35a1a663: res = print_ds_constructor_messages_sent_message_link (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x4c3d47f3: res = print_ds_constructor_messages_sent_message (DS, T); break; - case 0x35a1a663: res = print_ds_constructor_messages_sent_message_link (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_sticker_set (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_messages_sticker_set (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf1749a22: res = print_ds_constructor_messages_stickers_not_modified (DS, T); break; - case 0x8a8ecd32: res = print_ds_constructor_messages_stickers (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xf1749a22: res = print_ds_constructor_messages_stickers_not_modified (DS, T); break; - case 0x8a8ecd32: res = print_ds_constructor_messages_stickers (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_photos_photo (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_photos_photo (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8dca6aa5: res = print_ds_constructor_photos_photos (DS, T); break; - case 0x15051f54: res = print_ds_constructor_photos_photos_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x8dca6aa5: res = print_ds_constructor_photos_photos (DS, T); break; - case 0x15051f54: res = print_ds_constructor_photos_photos_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_storage_file_type (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xaa963b05: res = print_ds_constructor_storage_file_unknown (DS, T); break; - case 0x007efe0e: res = print_ds_constructor_storage_file_jpeg (DS, T); break; - case 0xcae1aadf: res = print_ds_constructor_storage_file_gif (DS, T); break; - case 0x0a4f63c0: res = print_ds_constructor_storage_file_png (DS, T); break; - case 0xae1e508d: res = print_ds_constructor_storage_file_pdf (DS, T); break; - case 0x528a0677: res = print_ds_constructor_storage_file_mp3 (DS, T); break; - case 0x4b09ebbc: res = print_ds_constructor_storage_file_mov (DS, T); break; - case 0x40bc6f52: res = print_ds_constructor_storage_file_partial (DS, T); break; - case 0xb3cea0e4: res = print_ds_constructor_storage_file_mp4 (DS, T); break; - case 0x1081464c: res = print_ds_constructor_storage_file_webp (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_storage_file_type (struct tl_ds_storage_file_type *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0xaa963b05: res = print_ds_constructor_storage_file_unknown (DS, T); break; - case 0x007efe0e: res = print_ds_constructor_storage_file_jpeg (DS, T); break; - case 0xcae1aadf: res = print_ds_constructor_storage_file_gif (DS, T); break; - case 0x0a4f63c0: res = print_ds_constructor_storage_file_png (DS, T); break; - case 0xae1e508d: res = print_ds_constructor_storage_file_pdf (DS, T); break; - case 0x528a0677: res = print_ds_constructor_storage_file_mp3 (DS, T); break; - case 0x4b09ebbc: res = print_ds_constructor_storage_file_mov (DS, T); break; - case 0x40bc6f52: res = print_ds_constructor_storage_file_partial (DS, T); break; - case 0xb3cea0e4: res = print_ds_constructor_storage_file_mp4 (DS, T); break; - case 0x1081464c: res = print_ds_constructor_storage_file_webp (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5d75a138: res = print_ds_constructor_updates_difference_empty (DS, T); break; - case 0x00f49ca0: res = print_ds_constructor_updates_difference (DS, T); break; - case 0xa8fb1981: res = print_ds_constructor_updates_difference_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - switch (DS->magic) { - case 0x5d75a138: res = print_ds_constructor_updates_difference_empty (DS, T); break; - case 0x00f49ca0: res = print_ds_constructor_updates_difference (DS, T); break; - case 0xa8fb1981: res = print_ds_constructor_updates_difference_slice (DS, T); break; - default: return -1; - } - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_updates_state (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_updates_state (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_upload_file (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_bare_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T) { - int res; - if (multiline_output >= 2) { multiline_offset += multiline_offset_size; } - eprintf (" ("); - res = print_ds_constructor_upload_file (DS, T); - if (res >= 0) { - if (multiline_output >= 2) { multiline_offset -= multiline_offset_size; print_offset (); } - eprintf (" )"); - } - return res; -} -int print_ds_type_any (void *DS, struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return print_ds_type_account_days_t_t_l (DS, T); - case 0x472f5020: return print_ds_type_bare_account_days_t_t_l (DS, T); - case 0x9fc5ec4e: return print_ds_type_audio (DS, T); - case 0x603a13b1: return print_ds_type_bare_audio (DS, T); - case 0x7bf2e6f6: return print_ds_type_authorization (DS, T); - case 0x840d1909: return print_ds_type_bare_authorization (DS, T); - case 0x250be282: return print_ds_type_bool (DS, T); - case 0xdaf41d7d: return print_ds_type_bare_bool (DS, T); - case 0x75e7ea6c: return print_ds_type_bot_command (DS, T); - case 0x8a181593: return print_ds_type_bare_bot_command (DS, T); - case 0xb2e16f93: return print_ds_type_bot_info (DS, T); - case 0x4d1e906c: return print_ds_type_bare_bot_info (DS, T); - case 0x0ee1379f: return print_ds_type_bytes (DS, T); - case 0xf11ec860: return print_ds_type_bare_bytes (DS, T); - case 0x7bd865dc: return print_ds_type_chat (DS, T); - case 0x84279a23: return print_ds_type_bare_chat (DS, T); - case 0x2e02a614: return print_ds_type_chat_full (DS, T); - case 0xd1fd59eb: return print_ds_type_bare_chat_full (DS, T); - case 0x94f910b1: return print_ds_type_chat_invite (DS, T); - case 0x6b06ef4e: return print_ds_type_bare_chat_invite (DS, T); - case 0x3631cf4c: return print_ds_type_chat_located (DS, T); - case 0xc9ce30b3: return print_ds_type_bare_chat_located (DS, T); - case 0xc8d7493e: return print_ds_type_chat_participant (DS, T); - case 0x3728b6c1: return print_ds_type_bare_chat_participant (DS, T); - case 0x77930f9f: return print_ds_type_chat_participants (DS, T); - case 0x886cf060: return print_ds_type_bare_chat_participants (DS, T); - case 0x56922676: return print_ds_type_chat_photo (DS, T); - case 0xa96dd989: return print_ds_type_bare_chat_photo (DS, T); - case 0x6643b654: return print_ds_type_client_d_h_inner_data (DS, T); - case 0x99bc49ab: return print_ds_type_bare_client_d_h_inner_data (DS, T); - case 0x4e32b894: return print_ds_type_config (DS, T); - case 0xb1cd476b: return print_ds_type_bare_config (DS, T); - case 0xf911c994: return print_ds_type_contact (DS, T); - case 0x06ee366b: return print_ds_type_bare_contact (DS, T); - case 0x561bc879: return print_ds_type_contact_blocked (DS, T); - case 0xa9e43786: return print_ds_type_bare_contact_blocked (DS, T); - case 0xea879f95: return print_ds_type_contact_found (DS, T); - case 0x1578606a: return print_ds_type_bare_contact_found (DS, T); - case 0x522fbc63: return print_ds_type_contact_link (DS, T); - case 0xadd0439c: return print_ds_type_bare_contact_link (DS, T); - case 0xd3680c61: return print_ds_type_contact_status (DS, T); - case 0x2c97f39e: return print_ds_type_bare_contact_status (DS, T); - case 0x3de191a1: return print_ds_type_contact_suggested (DS, T); - case 0xc21e6e5e: return print_ds_type_bare_contact_suggested (DS, T); - case 0x2b1a62f0: return print_ds_type_dc_option (DS, T); - case 0xd4e59d0f: return print_ds_type_bare_dc_option (DS, T); - case 0x535b7918: return print_ds_type_decrypted_message (DS, T); - case 0xaca486e7: return print_ds_type_bare_decrypted_message (DS, T); - case 0x4e0eefde: return print_ds_type_decrypted_message_action (DS, T); - case 0xb1f11021: return print_ds_type_bare_decrypted_message_action (DS, T); - case 0x1be31789: return print_ds_type_decrypted_message_layer (DS, T); - case 0xe41ce876: return print_ds_type_bare_decrypted_message_layer (DS, T); - case 0x34e0d674: return print_ds_type_decrypted_message_media (DS, T); - case 0xcb1f298b: return print_ds_type_bare_decrypted_message_media (DS, T); - case 0xc1dd804a: return print_ds_type_dialog (DS, T); - case 0x3e227fb5: return print_ds_type_bare_dialog (DS, T); - case 0xae636f24: return print_ds_type_disabled_feature (DS, T); - case 0x519c90db: return print_ds_type_bare_disabled_feature (DS, T); - case 0x51a73418: return print_ds_type_document (DS, T); - case 0xae58cbe7: return print_ds_type_bare_document (DS, T); - case 0x97c637a3: return print_ds_type_document_attribute (DS, T); - case 0x6839c85c: return print_ds_type_bare_document_attribute (DS, T); - case 0x2210c154: return print_ds_type_double (DS, T); - case 0xddef3eab: return print_ds_type_bare_double (DS, T); - case 0xb1718213: return print_ds_type_encrypted_chat (DS, T); - case 0x4e8e7dec: return print_ds_type_bare_encrypted_chat (DS, T); - case 0x886fd032: return print_ds_type_encrypted_file (DS, T); - case 0x77902fcd: return print_ds_type_bare_encrypted_file (DS, T); - case 0xce6b8a1e: return print_ds_type_encrypted_message (DS, T); - case 0x319475e1: return print_ds_type_bare_encrypted_message (DS, T); - case 0xc4b9f9bb: return print_ds_type_error (DS, T); - case 0x3b460644: return print_ds_type_bare_error (DS, T); - case 0x95f132d5: return print_ds_type_exported_chat_invite (DS, T); - case 0x6a0ecd2a: return print_ds_type_bare_exported_chat_invite (DS, T); - case 0x2f8ffb30: return print_ds_type_file_location (DS, T); - case 0xd07004cf: return print_ds_type_bare_file_location (DS, T); - case 0xf67b4034: return print_ds_type_geo_chat_message (DS, T); - case 0x0984bfcb: return print_ds_type_bare_geo_chat_message (DS, T); - case 0x315e0a53: return print_ds_type_geo_point (DS, T); - case 0xcea1f5ac: return print_ds_type_bare_geo_point (DS, T); - case 0xd0028438: return print_ds_type_imported_contact (DS, T); - case 0x2ffd7bc7: return print_ds_type_bare_imported_contact (DS, T); - case 0x770656a8: return print_ds_type_input_app_event (DS, T); - case 0x88f9a957: return print_ds_type_bare_input_app_event (DS, T); - case 0xae8e9c7b: return print_ds_type_input_audio (DS, T); - case 0x51716384: return print_ds_type_bare_input_audio (DS, T); - case 0x3a60776d: return print_ds_type_input_chat_photo (DS, T); - case 0xc59f8892: return print_ds_type_bare_input_chat_photo (DS, T); - case 0xf392b7f4: return print_ds_type_input_contact (DS, T); - case 0x0c6d480b: return print_ds_type_bare_input_contact (DS, T); - case 0x6a8963fc: return print_ds_type_input_document (DS, T); - case 0x95769c03: return print_ds_type_bare_input_document (DS, T); - case 0xf141b5e1: return print_ds_type_input_encrypted_chat (DS, T); - case 0x0ebe4a1e: return print_ds_type_bare_input_encrypted_chat (DS, T); - case 0x0b5c064f: return print_ds_type_input_encrypted_file (DS, T); - case 0xf4a3f9b0: return print_ds_type_bare_input_encrypted_file (DS, T); - case 0x0f60f9ca: return print_ds_type_input_file (DS, T); - case 0xf09f0635: return print_ds_type_bare_input_file (DS, T); - case 0xe6daa38b: return print_ds_type_input_file_location (DS, T); - case 0x19255c74: return print_ds_type_bare_input_file_location (DS, T); - case 0x74d456fa: return print_ds_type_input_geo_chat (DS, T); - case 0x8b2ba905: return print_ds_type_bare_input_geo_chat (DS, T); - case 0x17768f1f: return print_ds_type_input_geo_point (DS, T); - case 0xe88970e0: return print_ds_type_bare_input_geo_point (DS, T); - case 0xb32c91dd: return print_ds_type_input_media (DS, T); - case 0x4cd36e22: return print_ds_type_bare_input_media (DS, T); - case 0x02b6911b: return print_ds_type_input_notify_peer (DS, T); - case 0xfd496ee4: return print_ds_type_bare_input_notify_peer (DS, T); - case 0x9e67268d: return print_ds_type_input_peer (DS, T); - case 0x6198d972: return print_ds_type_bare_input_peer (DS, T); - case 0x185a48ac: return print_ds_type_input_peer_notify_events (DS, T); - case 0xe7a5b753: return print_ds_type_bare_input_peer_notify_events (DS, T); - case 0x46a2ce98: return print_ds_type_input_peer_notify_settings (DS, T); - case 0xb95d3167: return print_ds_type_bare_input_peer_notify_settings (DS, T); - case 0xe74279c9: return print_ds_type_input_photo (DS, T); - case 0x18bd8636: return print_ds_type_bare_input_photo (DS, T); - case 0x7477e321: return print_ds_type_input_photo_crop (DS, T); - case 0x8b881cde: return print_ds_type_bare_input_photo_crop (DS, T); - case 0x4f96cb18: return print_ds_type_input_privacy_key (DS, T); - case 0xb06934e7: return print_ds_type_bare_input_privacy_key (DS, T); - case 0x4b815163: return print_ds_type_input_privacy_rule (DS, T); - case 0xb47eae9c: return print_ds_type_bare_input_privacy_rule (DS, T); - case 0xe44d415c: return print_ds_type_input_sticker_set (DS, T); - case 0x1bb2bea3: return print_ds_type_bare_input_sticker_set (DS, T); - case 0xadfe0c6a: return print_ds_type_input_user (DS, T); - case 0x5201f395: return print_ds_type_bare_input_user (DS, T); - case 0xbb5f7a27: return print_ds_type_input_video (DS, T); - case 0x44a085d8: return print_ds_type_bare_input_video (DS, T); - case 0xa8509bda: return print_ds_type_int (DS, T); - case 0x57af6425: return print_ds_type_bare_int (DS, T); - case 0x7d36c439: return print_ds_type_int128 (DS, T); - case 0x82c93bc6: return print_ds_type_bare_int128 (DS, T); - case 0xf2c798b3: return print_ds_type_int256 (DS, T); - case 0x0d38674c: return print_ds_type_bare_int256 (DS, T); - case 0xa2fa4880: return print_ds_type_keyboard_button (DS, T); - case 0x5d05b77f: return print_ds_type_bare_keyboard_button (DS, T); - case 0x77608b83: return print_ds_type_keyboard_button_row (DS, T); - case 0x889f747c: return print_ds_type_bare_keyboard_button_row (DS, T); - case 0x22076cba: return print_ds_type_long (DS, T); - case 0xddf89345: return print_ds_type_bare_long (DS, T); - case 0x5d652a7f: return print_ds_type_message (DS, T); - case 0xa29ad580: return print_ds_type_bare_message (DS, T); - case 0x383415fa: return print_ds_type_message_action (DS, T); - case 0xc7cbea05: return print_ds_type_bare_message_action (DS, T); - case 0x95f2471a: return print_ds_type_message_media (DS, T); - case 0x6a0db8e5: return print_ds_type_bare_message_media (DS, T); - case 0x80895ae0: return print_ds_type_messages_filter (DS, T); - case 0x7f76a51f: return print_ds_type_bare_messages_filter (DS, T); - case 0x8e1a1775: return print_ds_type_nearest_dc (DS, T); - case 0x71e5e88a: return print_ds_type_bare_nearest_dc (DS, T); - case 0x9fcb8237: return print_ds_type_notify_peer (DS, T); - case 0x60347dc8: return print_ds_type_bare_notify_peer (DS, T); - case 0x56730bcc: return print_ds_type_null (DS, T); - case 0xa98cf433: return print_ds_type_bare_null (DS, T); - case 0xbfa3de38: return print_ds_type_p_q_inner_data (DS, T); - case 0x405c21c7: return print_ds_type_bare_p_q_inner_data (DS, T); - case 0x276159d6: return print_ds_type_peer (DS, T); - case 0xd89ea629: return print_ds_type_bare_peer (DS, T); - case 0xc0c8d13b: return print_ds_type_peer_notify_events (DS, T); - case 0x3f372ec4: return print_ds_type_bare_peer_notify_events (DS, T); - case 0xfdf894fc: return print_ds_type_peer_notify_settings (DS, T); - case 0x02076b03: return print_ds_type_bare_peer_notify_settings (DS, T); - case 0xc207550a: return print_ds_type_photo (DS, T); - case 0x3df8aaf5: return print_ds_type_bare_photo (DS, T); - case 0x900f60dd: return print_ds_type_photo_size (DS, T); - case 0x6ff09f22: return print_ds_type_bare_photo_size (DS, T); - case 0xbc2eab30: return print_ds_type_privacy_key (DS, T); - case 0x43d154cf: return print_ds_type_bare_privacy_key (DS, T); - case 0xa8638aec: return print_ds_type_privacy_rule (DS, T); - case 0x579c7513: return print_ds_type_bare_privacy_rule (DS, T); - case 0xa384b779: return print_ds_type_received_notify_message (DS, T); - case 0x5c7b4886: return print_ds_type_bare_received_notify_message (DS, T); - case 0x612ca4a9: return print_ds_type_reply_markup (DS, T); - case 0x9ed35b56: return print_ds_type_bare_reply_markup (DS, T); - case 0x05162463: return print_ds_type_res_p_q (DS, T); - case 0xfae9db9c: return print_ds_type_bare_res_p_q (DS, T); - case 0x70541c7e: return print_ds_type_send_message_action (DS, T); - case 0x8fabe381: return print_ds_type_bare_send_message_action (DS, T); - case 0xa9230301: return print_ds_type_server_d_h_params (DS, T); - case 0x56dcfcfe: return print_ds_type_bare_server_d_h_params (DS, T); - case 0xb5890dba: return print_ds_type_server_d_h_inner_data (DS, T); - case 0x4a76f245: return print_ds_type_bare_server_d_h_inner_data (DS, T); - case 0xdb8a468f: return print_ds_type_set_client_d_h_params_answer (DS, T); - case 0x2475b970: return print_ds_type_bare_set_client_d_h_params_answer (DS, T); - case 0x12b299d4: return print_ds_type_sticker_pack (DS, T); - case 0xed4d662b: return print_ds_type_bare_sticker_pack (DS, T); - case 0xa7a43b17: return print_ds_type_sticker_set (DS, T); - case 0x585bc4e8: return print_ds_type_bare_sticker_set (DS, T); - case 0xb5286e24: return print_ds_type_string (DS, T); - case 0x4ad791db: return print_ds_type_bare_string (DS, T); - case 0x2e02b27e: return print_ds_type_update (DS, T); - case 0xd1fd4d81: return print_ds_type_bare_update (DS, T); - case 0x22499d27: return print_ds_type_updates (DS, T); - case 0xddb662d8: return print_ds_type_bare_updates (DS, T); - case 0x02e6c0c8: return print_ds_type_user (DS, T); - case 0xfd193f37: return print_ds_type_bare_user (DS, T); - case 0x5a89ac5b: return print_ds_type_user_full (DS, T); - case 0xa57653a4: return print_ds_type_bare_user_full (DS, T); - case 0x9a486229: return print_ds_type_user_profile_photo (DS, T); - case 0x65b79dd6: return print_ds_type_bare_user_profile_photo (DS, T); - case 0x76de9570: return print_ds_type_user_status (DS, T); - case 0x89216a8f: return print_ds_type_bare_user_status (DS, T); - case 0x1cb5c415: return print_ds_type_vector (DS, T); - case 0xe34a3bea: return print_ds_type_bare_vector (DS, T); - case 0x1716b174: return print_ds_type_video (DS, T); - case 0xe8e94e8b: return print_ds_type_bare_video (DS, T); - case 0xafa14973: return print_ds_type_wall_paper (DS, T); - case 0x505eb68c: return print_ds_type_bare_wall_paper (DS, T); - case 0x8d8c0d41: return print_ds_type_web_page (DS, T); - case 0x7273f2be: return print_ds_type_bare_web_page (DS, T); - case 0x1250abde: return print_ds_type_account_authorizations (DS, T); - case 0xedaf5421: return print_ds_type_bare_account_authorizations (DS, T); - case 0xeac2a804: return print_ds_type_account_password (DS, T); - case 0x153d57fb: return print_ds_type_bare_account_password (DS, T); - case 0xbcfc532c: return print_ds_type_account_password_input_settings (DS, T); - case 0x4303acd3: return print_ds_type_bare_account_password_input_settings (DS, T); - case 0xb7b72ab3: return print_ds_type_account_password_settings (DS, T); - case 0x4848d54c: return print_ds_type_bare_account_password_settings (DS, T); - case 0x554abb6f: return print_ds_type_account_privacy_rules (DS, T); - case 0xaab54490: return print_ds_type_bare_account_privacy_rules (DS, T); - case 0xa4f58c4c: return print_ds_type_account_sent_change_phone_code (DS, T); - case 0x5b0a73b3: return print_ds_type_bare_account_sent_change_phone_code (DS, T); - case 0xff036af1: return print_ds_type_auth_authorization (DS, T); - case 0x00fc950e: return print_ds_type_bare_auth_authorization (DS, T); - case 0x811ea28e: return print_ds_type_auth_checked_phone (DS, T); - case 0x7ee15d71: return print_ds_type_bare_auth_checked_phone (DS, T); - case 0xdf969c2d: return print_ds_type_auth_exported_authorization (DS, T); - case 0x206963d2: return print_ds_type_bare_auth_exported_authorization (DS, T); - case 0x137948a5: return print_ds_type_auth_password_recovery (DS, T); - case 0xec86b75a: return print_ds_type_bare_auth_password_recovery (DS, T); - case 0x0cc8bc16: return print_ds_type_auth_sent_code (DS, T); - case 0xf33743e9: return print_ds_type_bare_auth_sent_code (DS, T); - case 0x0377168f: return print_ds_type_binlog_encr_key (DS, T); - case 0xfc88e970: return print_ds_type_bare_binlog_encr_key (DS, T); - case 0x66ff03a6: return print_ds_type_binlog_update (DS, T); - case 0x9900fc59: return print_ds_type_bare_binlog_update (DS, T); - case 0x8c1b8fb4: return print_ds_type_contacts_blocked (DS, T); - case 0x73e4704b: return print_ds_type_bare_contacts_blocked (DS, T); - case 0xd8c02560: return print_ds_type_contacts_contacts (DS, T); - case 0x273fda9f: return print_ds_type_bare_contacts_contacts (DS, T); - case 0x0566000e: return print_ds_type_contacts_found (DS, T); - case 0xfa99fff1: return print_ds_type_bare_contacts_found (DS, T); - case 0xad524315: return print_ds_type_contacts_imported_contacts (DS, T); - case 0x52adbcea: return print_ds_type_bare_contacts_imported_contacts (DS, T); - case 0x3ace484c: return print_ds_type_contacts_link (DS, T); - case 0xc531b7b3: return print_ds_type_bare_contacts_link (DS, T); - case 0x5649dcc5: return print_ds_type_contacts_suggested (DS, T); - case 0xa9b6233a: return print_ds_type_bare_contacts_suggested (DS, T); - case 0x48feb267: return print_ds_type_geochats_located (DS, T); - case 0xb7014d98: return print_ds_type_bare_geochats_located (DS, T); - case 0x6d0a0e59: return print_ds_type_geochats_messages (DS, T); - case 0x92f5f1a6: return print_ds_type_bare_geochats_messages (DS, T); - case 0x17b1578b: return print_ds_type_geochats_stated_message (DS, T); - case 0xe84ea874: return print_ds_type_bare_geochats_stated_message (DS, T); - case 0x4ddd9627: return print_ds_type_help_app_update (DS, T); - case 0xb22269d8: return print_ds_type_bare_help_app_update (DS, T); - case 0x18cb9f78: return print_ds_type_help_invite_text (DS, T); - case 0xe7346087: return print_ds_type_bare_help_invite_text (DS, T); - case 0x17c6b5f6: return print_ds_type_help_support (DS, T); - case 0xe8394a09: return print_ds_type_bare_help_support (DS, T); - case 0xb45c69d1: return print_ds_type_messages_affected_history (DS, T); - case 0x4ba3962e: return print_ds_type_bare_messages_affected_history (DS, T); - case 0x84d19185: return print_ds_type_messages_affected_messages (DS, T); - case 0x7b2e6e7a: return print_ds_type_bare_messages_affected_messages (DS, T); - case 0xb485502f: return print_ds_type_messages_all_stickers (DS, T); - case 0x4b7aafd0: return print_ds_type_bare_messages_all_stickers (DS, T); - case 0xe5d7d19c: return print_ds_type_messages_chat_full (DS, T); - case 0x1a282e63: return print_ds_type_bare_messages_chat_full (DS, T); - case 0x64ff9fd5: return print_ds_type_messages_chats (DS, T); - case 0x9b00602a: return print_ds_type_bare_messages_chats (DS, T); - case 0xecc058e8: return print_ds_type_messages_dh_config (DS, T); - case 0x133fa717: return print_ds_type_bare_messages_dh_config (DS, T); - case 0x645af8b3: return print_ds_type_messages_dialogs (DS, T); - case 0x9ba5074c: return print_ds_type_bare_messages_dialogs (DS, T); - case 0x3f4e0648: return print_ds_type_messages_message (DS, T); - case 0xc0b1f9b7: return print_ds_type_bare_messages_message (DS, T); - case 0x8735e464: return print_ds_type_messages_messages (DS, T); - case 0x78ca1b9b: return print_ds_type_bare_messages_messages (DS, T); - case 0xc29c7607: return print_ds_type_messages_sent_encrypted_message (DS, T); - case 0x3d6389f8: return print_ds_type_bare_messages_sent_encrypted_message (DS, T); - case 0x799ce190: return print_ds_type_messages_sent_message (DS, T); - case 0x86631e6f: return print_ds_type_bare_messages_sent_message (DS, T); - case 0xb60a24a6: return print_ds_type_messages_sticker_set (DS, T); - case 0x49f5db59: return print_ds_type_bare_messages_sticker_set (DS, T); - case 0x7bfa5710: return print_ds_type_messages_stickers (DS, T); - case 0x8405a8ef: return print_ds_type_bare_messages_stickers (DS, T); - case 0x20212ca8: return print_ds_type_photos_photo (DS, T); - case 0xdfded357: return print_ds_type_bare_photos_photo (DS, T); - case 0x98cf75f1: return print_ds_type_photos_photos (DS, T); - case 0x67308a0e: return print_ds_type_bare_photos_photos (DS, T); - case 0x3e2838a8: return print_ds_type_storage_file_type (DS, T); - case 0xc1d7c757: return print_ds_type_bare_storage_file_type (DS, T); - case 0xf57a2419: return print_ds_type_updates_difference (DS, T); - case 0x0a85dbe6: return print_ds_type_bare_updates_difference (DS, T); - case 0xa56c2a3e: return print_ds_type_updates_state (DS, T); - case 0x5a93d5c1: return print_ds_type_bare_updates_state (DS, T); - case 0x096a18d5: return print_ds_type_upload_file (DS, T); - case 0xf695e72a: return print_ds_type_bare_upload_file (DS, T); - default: return -1; } -} diff --git a/libs/tgl/src/auto/auto-print-ds.h b/libs/tgl/src/auto/auto-print-ds.h deleted file mode 100644 index 2f74cd9f17..0000000000 --- a/libs/tgl/src/auto/auto-print-ds.h +++ /dev/null @@ -1,719 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-types.h" -#else -#include "auto.h" -#include "auto-types.h" -#endif -#include -#include -struct tgl_state; -char *tglf_extf_print_ds (struct tgl_state *TLS, void *DS, struct paramed_type *T); -int print_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T); -int print_ds_constructor_audio_empty (struct tl_ds_audio *DS, struct paramed_type *T); -int print_ds_constructor_audio (struct tl_ds_audio *DS, struct paramed_type *T); -int print_ds_constructor_authorization (struct tl_ds_authorization *DS, struct paramed_type *T); -int print_ds_constructor_bool_false (struct tl_ds_bool *DS, struct paramed_type *T); -int print_ds_constructor_bool_true (struct tl_ds_bool *DS, struct paramed_type *T); -int print_ds_constructor_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T); -int print_ds_constructor_bot_command_old (struct tl_ds_bot_command *DS, struct paramed_type *T); -int print_ds_constructor_bot_info_empty (struct tl_ds_bot_info *DS, struct paramed_type *T); -int print_ds_constructor_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T); -int print_ds_constructor_bytes (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_constructor_chat_empty (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_constructor_chat (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_constructor_chat_forbidden (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_constructor_geo_chat (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_constructor_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T); -int print_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *DS, struct paramed_type *T); -int print_ds_constructor_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T); -int print_ds_constructor_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T); -int print_ds_constructor_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T); -int print_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *DS, struct paramed_type *T); -int print_ds_constructor_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T); -int print_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *DS, struct paramed_type *T); -int print_ds_constructor_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T); -int print_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_constructor_config (struct tl_ds_config *DS, struct paramed_type *T); -int print_ds_constructor_contact (struct tl_ds_contact *DS, struct paramed_type *T); -int print_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T); -int print_ds_constructor_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T); -int print_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_constructor_contact_link_none (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_constructor_contact_link_contact (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_constructor_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T); -int print_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T); -int print_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *DS, struct paramed_type *T); -int print_ds_constructor_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_constructor_dialog (struct tl_ds_dialog *DS, struct paramed_type *T); -int print_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T); -int print_ds_constructor_document_empty (struct tl_ds_document *DS, struct paramed_type *T); -int print_ds_constructor_document (struct tl_ds_document *DS, struct paramed_type *T); -int print_ds_constructor_document_l19 (struct tl_ds_document *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_constructor_double (double *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_error (struct tl_ds_error *DS, struct paramed_type *T); -int print_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T); -int print_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T); -int print_ds_constructor_file_location_unavailable (struct tl_ds_file_location *DS, struct paramed_type *T); -int print_ds_constructor_file_location (struct tl_ds_file_location *DS, struct paramed_type *T); -int print_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *DS, struct paramed_type *T); -int print_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T); -int print_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *DS, struct paramed_type *T); -int print_ds_constructor_geo_point_empty (struct tl_ds_geo_point *DS, struct paramed_type *T); -int print_ds_constructor_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T); -int print_ds_constructor_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T); -int print_ds_constructor_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T); -int print_ds_constructor_input_audio_empty (struct tl_ds_input_audio *DS, struct paramed_type *T); -int print_ds_constructor_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T); -int print_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *DS, struct paramed_type *T); -int print_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T); -int print_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T); -int print_ds_constructor_input_phone_contact (struct tl_ds_input_contact *DS, struct paramed_type *T); -int print_ds_constructor_input_document_empty (struct tl_ds_input_document *DS, struct paramed_type *T); -int print_ds_constructor_input_document (struct tl_ds_input_document *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_constructor_input_file (struct tl_ds_input_file *DS, struct paramed_type *T); -int print_ds_constructor_input_file_big (struct tl_ds_input_file *DS, struct paramed_type *T); -int print_ds_constructor_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T); -int print_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *DS, struct paramed_type *T); -int print_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T); -int print_ds_constructor_input_media_empty (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_photo (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_geo_point (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_contact (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_video (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_audio (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_document (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_media_venue (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_empty (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_self (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_contact (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_chat (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T); -int print_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_constructor_input_photo_empty (struct tl_ds_input_photo *DS, struct paramed_type *T); -int print_ds_constructor_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T); -int print_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *DS, struct paramed_type *T); -int print_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *DS, struct paramed_type *T); -int print_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *DS, struct paramed_type *T); -int print_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *DS, struct paramed_type *T); -int print_ds_constructor_input_user_empty (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_constructor_input_user_self (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_constructor_input_user_contact (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_constructor_input_user_foreign (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_constructor_input_video_empty (struct tl_ds_input_video *DS, struct paramed_type *T); -int print_ds_constructor_input_video (struct tl_ds_input_video *DS, struct paramed_type *T); -int print_ds_constructor_int (int *DS, struct paramed_type *T); -int print_ds_constructor_int128 (struct tl_ds_int128 *DS, struct paramed_type *T); -int print_ds_constructor_int256 (struct tl_ds_int256 *DS, struct paramed_type *T); -int print_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T); -int print_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T); -int print_ds_constructor_long (long long *DS, struct paramed_type *T); -int print_ds_constructor_message_empty (struct tl_ds_message *DS, struct paramed_type *T); -int print_ds_constructor_message (struct tl_ds_message *DS, struct paramed_type *T); -int print_ds_constructor_message_service (struct tl_ds_message *DS, struct paramed_type *T); -int print_ds_constructor_message_action_empty (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_create (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_constructor_message_media_empty (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_photo (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_video (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_geo (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_contact (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_unsupported (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_document (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_audio (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_web_page (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_venue (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T); -int print_ds_constructor_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_notify_users (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_notify_chats (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_notify_all (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_constructor_null (struct tl_ds_null *DS, struct paramed_type *T); -int print_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T); -int print_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T); -int print_ds_constructor_peer_user (struct tl_ds_peer *DS, struct paramed_type *T); -int print_ds_constructor_peer_chat (struct tl_ds_peer *DS, struct paramed_type *T); -int print_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *DS, struct paramed_type *T); -int print_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *DS, struct paramed_type *T); -int print_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_constructor_photo_empty (struct tl_ds_photo *DS, struct paramed_type *T); -int print_ds_constructor_photo (struct tl_ds_photo *DS, struct paramed_type *T); -int print_ds_constructor_photo_l27 (struct tl_ds_photo *DS, struct paramed_type *T); -int print_ds_constructor_photo_size_empty (struct tl_ds_photo_size *DS, struct paramed_type *T); -int print_ds_constructor_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T); -int print_ds_constructor_photo_cached_size (struct tl_ds_photo_size *DS, struct paramed_type *T); -int print_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T); -int print_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *DS, struct paramed_type *T); -int print_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *DS, struct paramed_type *T); -int print_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T); -int print_ds_constructor_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T); -int print_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *DS, struct paramed_type *T); -int print_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *DS, struct paramed_type *T); -int print_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T); -int print_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T); -int print_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T); -int print_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T); -int print_ds_constructor_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T); -int print_ds_constructor_string (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_constructor_update_new_message (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_message_i_d (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_delete_messages (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_typing (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_chat_user_typing (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_chat_participants (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_status (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_name (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_photo (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_contact_registered (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_contact_link (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_new_authorization (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_new_encrypted_message (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_encryption (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_chat_participant_add (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_chat_participant_delete (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_dc_options (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_blocked (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_notify_settings (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_service_notification (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_privacy (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_user_phone (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_read_history_inbox (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_read_history_outbox (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_web_page (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_read_messages_contents (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_update_msg_update (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_constructor_updates_too_long (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_update_short_message (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_update_short_chat_message (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_update_short (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_updates_combined (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_updates (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_constructor_user_empty (struct tl_ds_user *DS, struct paramed_type *T); -int print_ds_constructor_user (struct tl_ds_user *DS, struct paramed_type *T); -int print_ds_constructor_user_full (struct tl_ds_user_full *DS, struct paramed_type *T); -int print_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *DS, struct paramed_type *T); -int print_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T); -int print_ds_constructor_user_status_empty (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_user_status_online (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_user_status_offline (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_user_status_recently (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_user_status_last_week (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_user_status_last_month (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_constructor_vector (struct tl_ds_vector *DS, struct paramed_type *T); -int print_ds_constructor_video_empty (struct tl_ds_video *DS, struct paramed_type *T); -int print_ds_constructor_video (struct tl_ds_video *DS, struct paramed_type *T); -int print_ds_constructor_video_l27 (struct tl_ds_video *DS, struct paramed_type *T); -int print_ds_constructor_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T); -int print_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *DS, struct paramed_type *T); -int print_ds_constructor_web_page_empty (struct tl_ds_web_page *DS, struct paramed_type *T); -int print_ds_constructor_web_page_pending (struct tl_ds_web_page *DS, struct paramed_type *T); -int print_ds_constructor_web_page (struct tl_ds_web_page *DS, struct paramed_type *T); -int print_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T); -int print_ds_constructor_account_no_password (struct tl_ds_account_password *DS, struct paramed_type *T); -int print_ds_constructor_account_password (struct tl_ds_account_password *DS, struct paramed_type *T); -int print_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T); -int print_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T); -int print_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T); -int print_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T); -int print_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T); -int print_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T); -int print_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T); -int print_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T); -int print_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T); -int print_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T); -int print_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T); -int print_ds_constructor_binlog_start (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T); -int print_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *DS, struct paramed_type *T); -int print_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *DS, struct paramed_type *T); -int print_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T); -int print_ds_constructor_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T); -int print_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T); -int print_ds_constructor_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T); -int print_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T); -int print_ds_constructor_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T); -int print_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T); -int print_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *DS, struct paramed_type *T); -int print_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T); -int print_ds_constructor_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T); -int print_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T); -int print_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T); -int print_ds_constructor_help_support (struct tl_ds_help_support *DS, struct paramed_type *T); -int print_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T); -int print_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T); -int print_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T); -int print_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T); -int print_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T); -int print_ds_constructor_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T); -int print_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *DS, struct paramed_type *T); -int print_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T); -int print_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T); -int print_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *DS, struct paramed_type *T); -int print_ds_constructor_messages_message_empty (struct tl_ds_messages_message *DS, struct paramed_type *T); -int print_ds_constructor_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T); -int print_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *DS, struct paramed_type *T); -int print_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T); -int print_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T); -int print_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *DS, struct paramed_type *T); -int print_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T); -int print_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *DS, struct paramed_type *T); -int print_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T); -int print_ds_constructor_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T); -int print_ds_constructor_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T); -int print_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *DS, struct paramed_type *T); -int print_ds_constructor_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T); -int print_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *DS, struct paramed_type *T); -int print_ds_constructor_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T); -int print_ds_constructor_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T); -int print_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T); -int print_ds_type_bare_account_days_t_t_l (struct tl_ds_account_days_t_t_l *DS, struct paramed_type *T); -int print_ds_type_audio (struct tl_ds_audio *DS, struct paramed_type *T); -int print_ds_type_bare_audio (struct tl_ds_audio *DS, struct paramed_type *T); -int print_ds_type_authorization (struct tl_ds_authorization *DS, struct paramed_type *T); -int print_ds_type_bare_authorization (struct tl_ds_authorization *DS, struct paramed_type *T); -int print_ds_type_bool (struct tl_ds_bool *DS, struct paramed_type *T); -int print_ds_type_bare_bool (struct tl_ds_bool *DS, struct paramed_type *T); -int print_ds_type_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T); -int print_ds_type_bare_bot_command (struct tl_ds_bot_command *DS, struct paramed_type *T); -int print_ds_type_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T); -int print_ds_type_bare_bot_info (struct tl_ds_bot_info *DS, struct paramed_type *T); -int print_ds_type_bytes (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_type_bare_bytes (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_type_chat (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_type_bare_chat (struct tl_ds_chat *DS, struct paramed_type *T); -int print_ds_type_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T); -int print_ds_type_bare_chat_full (struct tl_ds_chat_full *DS, struct paramed_type *T); -int print_ds_type_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T); -int print_ds_type_bare_chat_invite (struct tl_ds_chat_invite *DS, struct paramed_type *T); -int print_ds_type_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T); -int print_ds_type_bare_chat_located (struct tl_ds_chat_located *DS, struct paramed_type *T); -int print_ds_type_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T); -int print_ds_type_bare_chat_participant (struct tl_ds_chat_participant *DS, struct paramed_type *T); -int print_ds_type_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T); -int print_ds_type_bare_chat_participants (struct tl_ds_chat_participants *DS, struct paramed_type *T); -int print_ds_type_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T); -int print_ds_type_bare_chat_photo (struct tl_ds_chat_photo *DS, struct paramed_type *T); -int print_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_type_bare_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_type_config (struct tl_ds_config *DS, struct paramed_type *T); -int print_ds_type_bare_config (struct tl_ds_config *DS, struct paramed_type *T); -int print_ds_type_contact (struct tl_ds_contact *DS, struct paramed_type *T); -int print_ds_type_bare_contact (struct tl_ds_contact *DS, struct paramed_type *T); -int print_ds_type_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T); -int print_ds_type_bare_contact_blocked (struct tl_ds_contact_blocked *DS, struct paramed_type *T); -int print_ds_type_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T); -int print_ds_type_bare_contact_found (struct tl_ds_contact_found *DS, struct paramed_type *T); -int print_ds_type_contact_link (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_type_bare_contact_link (struct tl_ds_contact_link *DS, struct paramed_type *T); -int print_ds_type_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T); -int print_ds_type_bare_contact_status (struct tl_ds_contact_status *DS, struct paramed_type *T); -int print_ds_type_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T); -int print_ds_type_bare_contact_suggested (struct tl_ds_contact_suggested *DS, struct paramed_type *T); -int print_ds_type_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T); -int print_ds_type_bare_dc_option (struct tl_ds_dc_option *DS, struct paramed_type *T); -int print_ds_type_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T); -int print_ds_type_bare_decrypted_message (struct tl_ds_decrypted_message *DS, struct paramed_type *T); -int print_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_type_bare_decrypted_message_action (struct tl_ds_decrypted_message_action *DS, struct paramed_type *T); -int print_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T); -int print_ds_type_bare_decrypted_message_layer (struct tl_ds_decrypted_message_layer *DS, struct paramed_type *T); -int print_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_type_bare_decrypted_message_media (struct tl_ds_decrypted_message_media *DS, struct paramed_type *T); -int print_ds_type_dialog (struct tl_ds_dialog *DS, struct paramed_type *T); -int print_ds_type_bare_dialog (struct tl_ds_dialog *DS, struct paramed_type *T); -int print_ds_type_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T); -int print_ds_type_bare_disabled_feature (struct tl_ds_disabled_feature *DS, struct paramed_type *T); -int print_ds_type_document (struct tl_ds_document *DS, struct paramed_type *T); -int print_ds_type_bare_document (struct tl_ds_document *DS, struct paramed_type *T); -int print_ds_type_document_attribute (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_type_bare_document_attribute (struct tl_ds_document_attribute *DS, struct paramed_type *T); -int print_ds_type_double (double *DS, struct paramed_type *T); -int print_ds_type_bare_double (double *DS, struct paramed_type *T); -int print_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_type_bare_encrypted_chat (struct tl_ds_encrypted_chat *DS, struct paramed_type *T); -int print_ds_type_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T); -int print_ds_type_bare_encrypted_file (struct tl_ds_encrypted_file *DS, struct paramed_type *T); -int print_ds_type_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T); -int print_ds_type_bare_encrypted_message (struct tl_ds_encrypted_message *DS, struct paramed_type *T); -int print_ds_type_error (struct tl_ds_error *DS, struct paramed_type *T); -int print_ds_type_bare_error (struct tl_ds_error *DS, struct paramed_type *T); -int print_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T); -int print_ds_type_bare_exported_chat_invite (struct tl_ds_exported_chat_invite *DS, struct paramed_type *T); -int print_ds_type_file_location (struct tl_ds_file_location *DS, struct paramed_type *T); -int print_ds_type_bare_file_location (struct tl_ds_file_location *DS, struct paramed_type *T); -int print_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T); -int print_ds_type_bare_geo_chat_message (struct tl_ds_geo_chat_message *DS, struct paramed_type *T); -int print_ds_type_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T); -int print_ds_type_bare_geo_point (struct tl_ds_geo_point *DS, struct paramed_type *T); -int print_ds_type_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T); -int print_ds_type_bare_imported_contact (struct tl_ds_imported_contact *DS, struct paramed_type *T); -int print_ds_type_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T); -int print_ds_type_bare_input_app_event (struct tl_ds_input_app_event *DS, struct paramed_type *T); -int print_ds_type_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T); -int print_ds_type_bare_input_audio (struct tl_ds_input_audio *DS, struct paramed_type *T); -int print_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T); -int print_ds_type_bare_input_chat_photo (struct tl_ds_input_chat_photo *DS, struct paramed_type *T); -int print_ds_type_input_contact (struct tl_ds_input_contact *DS, struct paramed_type *T); -int print_ds_type_bare_input_contact (struct tl_ds_input_contact *DS, struct paramed_type *T); -int print_ds_type_input_document (struct tl_ds_input_document *DS, struct paramed_type *T); -int print_ds_type_bare_input_document (struct tl_ds_input_document *DS, struct paramed_type *T); -int print_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T); -int print_ds_type_bare_input_encrypted_chat (struct tl_ds_input_encrypted_chat *DS, struct paramed_type *T); -int print_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_type_bare_input_encrypted_file (struct tl_ds_input_encrypted_file *DS, struct paramed_type *T); -int print_ds_type_input_file (struct tl_ds_input_file *DS, struct paramed_type *T); -int print_ds_type_bare_input_file (struct tl_ds_input_file *DS, struct paramed_type *T); -int print_ds_type_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_type_bare_input_file_location (struct tl_ds_input_file_location *DS, struct paramed_type *T); -int print_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T); -int print_ds_type_bare_input_geo_chat (struct tl_ds_input_geo_chat *DS, struct paramed_type *T); -int print_ds_type_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T); -int print_ds_type_bare_input_geo_point (struct tl_ds_input_geo_point *DS, struct paramed_type *T); -int print_ds_type_input_media (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_type_bare_input_media (struct tl_ds_input_media *DS, struct paramed_type *T); -int print_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_type_bare_input_notify_peer (struct tl_ds_input_notify_peer *DS, struct paramed_type *T); -int print_ds_type_input_peer (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_type_bare_input_peer (struct tl_ds_input_peer *DS, struct paramed_type *T); -int print_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T); -int print_ds_type_bare_input_peer_notify_events (struct tl_ds_input_peer_notify_events *DS, struct paramed_type *T); -int print_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_type_bare_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_type_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T); -int print_ds_type_bare_input_photo (struct tl_ds_input_photo *DS, struct paramed_type *T); -int print_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T); -int print_ds_type_bare_input_photo_crop (struct tl_ds_input_photo_crop *DS, struct paramed_type *T); -int print_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *DS, struct paramed_type *T); -int print_ds_type_bare_input_privacy_key (struct tl_ds_input_privacy_key *DS, struct paramed_type *T); -int print_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_type_bare_input_privacy_rule (struct tl_ds_input_privacy_rule *DS, struct paramed_type *T); -int print_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *DS, struct paramed_type *T); -int print_ds_type_bare_input_sticker_set (struct tl_ds_input_sticker_set *DS, struct paramed_type *T); -int print_ds_type_input_user (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_type_bare_input_user (struct tl_ds_input_user *DS, struct paramed_type *T); -int print_ds_type_input_video (struct tl_ds_input_video *DS, struct paramed_type *T); -int print_ds_type_bare_input_video (struct tl_ds_input_video *DS, struct paramed_type *T); -int print_ds_type_int (int *DS, struct paramed_type *T); -int print_ds_type_bare_int (int *DS, struct paramed_type *T); -int print_ds_type_int128 (struct tl_ds_int128 *DS, struct paramed_type *T); -int print_ds_type_bare_int128 (struct tl_ds_int128 *DS, struct paramed_type *T); -int print_ds_type_int256 (struct tl_ds_int256 *DS, struct paramed_type *T); -int print_ds_type_bare_int256 (struct tl_ds_int256 *DS, struct paramed_type *T); -int print_ds_type_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T); -int print_ds_type_bare_keyboard_button (struct tl_ds_keyboard_button *DS, struct paramed_type *T); -int print_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T); -int print_ds_type_bare_keyboard_button_row (struct tl_ds_keyboard_button_row *DS, struct paramed_type *T); -int print_ds_type_long (long long *DS, struct paramed_type *T); -int print_ds_type_bare_long (long long *DS, struct paramed_type *T); -int print_ds_type_message (struct tl_ds_message *DS, struct paramed_type *T); -int print_ds_type_bare_message (struct tl_ds_message *DS, struct paramed_type *T); -int print_ds_type_message_action (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_type_bare_message_action (struct tl_ds_message_action *DS, struct paramed_type *T); -int print_ds_type_message_media (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_type_bare_message_media (struct tl_ds_message_media *DS, struct paramed_type *T); -int print_ds_type_messages_filter (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_type_bare_messages_filter (struct tl_ds_messages_filter *DS, struct paramed_type *T); -int print_ds_type_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T); -int print_ds_type_bare_nearest_dc (struct tl_ds_nearest_dc *DS, struct paramed_type *T); -int print_ds_type_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_type_bare_notify_peer (struct tl_ds_notify_peer *DS, struct paramed_type *T); -int print_ds_type_null (struct tl_ds_null *DS, struct paramed_type *T); -int print_ds_type_bare_null (struct tl_ds_null *DS, struct paramed_type *T); -int print_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T); -int print_ds_type_bare_p_q_inner_data (struct tl_ds_p_q_inner_data *DS, struct paramed_type *T); -int print_ds_type_peer (struct tl_ds_peer *DS, struct paramed_type *T); -int print_ds_type_bare_peer (struct tl_ds_peer *DS, struct paramed_type *T); -int print_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *DS, struct paramed_type *T); -int print_ds_type_bare_peer_notify_events (struct tl_ds_peer_notify_events *DS, struct paramed_type *T); -int print_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_type_bare_peer_notify_settings (struct tl_ds_peer_notify_settings *DS, struct paramed_type *T); -int print_ds_type_photo (struct tl_ds_photo *DS, struct paramed_type *T); -int print_ds_type_bare_photo (struct tl_ds_photo *DS, struct paramed_type *T); -int print_ds_type_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T); -int print_ds_type_bare_photo_size (struct tl_ds_photo_size *DS, struct paramed_type *T); -int print_ds_type_privacy_key (struct tl_ds_privacy_key *DS, struct paramed_type *T); -int print_ds_type_bare_privacy_key (struct tl_ds_privacy_key *DS, struct paramed_type *T); -int print_ds_type_privacy_rule (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_type_bare_privacy_rule (struct tl_ds_privacy_rule *DS, struct paramed_type *T); -int print_ds_type_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T); -int print_ds_type_bare_received_notify_message (struct tl_ds_received_notify_message *DS, struct paramed_type *T); -int print_ds_type_reply_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T); -int print_ds_type_bare_reply_markup (struct tl_ds_reply_markup *DS, struct paramed_type *T); -int print_ds_type_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T); -int print_ds_type_bare_res_p_q (struct tl_ds_res_p_q *DS, struct paramed_type *T); -int print_ds_type_send_message_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_type_bare_send_message_action (struct tl_ds_send_message_action *DS, struct paramed_type *T); -int print_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *DS, struct paramed_type *T); -int print_ds_type_bare_server_d_h_params (struct tl_ds_server_d_h_params *DS, struct paramed_type *T); -int print_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_type_bare_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *DS, struct paramed_type *T); -int print_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T); -int print_ds_type_bare_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *DS, struct paramed_type *T); -int print_ds_type_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T); -int print_ds_type_bare_sticker_pack (struct tl_ds_sticker_pack *DS, struct paramed_type *T); -int print_ds_type_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T); -int print_ds_type_bare_sticker_set (struct tl_ds_sticker_set *DS, struct paramed_type *T); -int print_ds_type_string (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_type_bare_string (struct tl_ds_string *DS, struct paramed_type *T); -int print_ds_type_update (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_type_bare_update (struct tl_ds_update *DS, struct paramed_type *T); -int print_ds_type_updates (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_type_bare_updates (struct tl_ds_updates *DS, struct paramed_type *T); -int print_ds_type_user (struct tl_ds_user *DS, struct paramed_type *T); -int print_ds_type_bare_user (struct tl_ds_user *DS, struct paramed_type *T); -int print_ds_type_user_full (struct tl_ds_user_full *DS, struct paramed_type *T); -int print_ds_type_bare_user_full (struct tl_ds_user_full *DS, struct paramed_type *T); -int print_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T); -int print_ds_type_bare_user_profile_photo (struct tl_ds_user_profile_photo *DS, struct paramed_type *T); -int print_ds_type_user_status (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_type_bare_user_status (struct tl_ds_user_status *DS, struct paramed_type *T); -int print_ds_type_vector (struct tl_ds_vector *DS, struct paramed_type *T); -int print_ds_type_bare_vector (struct tl_ds_vector *DS, struct paramed_type *T); -int print_ds_type_video (struct tl_ds_video *DS, struct paramed_type *T); -int print_ds_type_bare_video (struct tl_ds_video *DS, struct paramed_type *T); -int print_ds_type_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T); -int print_ds_type_bare_wall_paper (struct tl_ds_wall_paper *DS, struct paramed_type *T); -int print_ds_type_web_page (struct tl_ds_web_page *DS, struct paramed_type *T); -int print_ds_type_bare_web_page (struct tl_ds_web_page *DS, struct paramed_type *T); -int print_ds_type_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T); -int print_ds_type_bare_account_authorizations (struct tl_ds_account_authorizations *DS, struct paramed_type *T); -int print_ds_type_account_password (struct tl_ds_account_password *DS, struct paramed_type *T); -int print_ds_type_bare_account_password (struct tl_ds_account_password *DS, struct paramed_type *T); -int print_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T); -int print_ds_type_bare_account_password_input_settings (struct tl_ds_account_password_input_settings *DS, struct paramed_type *T); -int print_ds_type_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T); -int print_ds_type_bare_account_password_settings (struct tl_ds_account_password_settings *DS, struct paramed_type *T); -int print_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T); -int print_ds_type_bare_account_privacy_rules (struct tl_ds_account_privacy_rules *DS, struct paramed_type *T); -int print_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T); -int print_ds_type_bare_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *DS, struct paramed_type *T); -int print_ds_type_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T); -int print_ds_type_bare_auth_authorization (struct tl_ds_auth_authorization *DS, struct paramed_type *T); -int print_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T); -int print_ds_type_bare_auth_checked_phone (struct tl_ds_auth_checked_phone *DS, struct paramed_type *T); -int print_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T); -int print_ds_type_bare_auth_exported_authorization (struct tl_ds_auth_exported_authorization *DS, struct paramed_type *T); -int print_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T); -int print_ds_type_bare_auth_password_recovery (struct tl_ds_auth_password_recovery *DS, struct paramed_type *T); -int print_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T); -int print_ds_type_bare_auth_sent_code (struct tl_ds_auth_sent_code *DS, struct paramed_type *T); -int print_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T); -int print_ds_type_bare_binlog_encr_key (struct tl_ds_binlog_encr_key *DS, struct paramed_type *T); -int print_ds_type_binlog_update (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_type_bare_binlog_update (struct tl_ds_binlog_update *DS, struct paramed_type *T); -int print_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_blocked (struct tl_ds_contacts_blocked *DS, struct paramed_type *T); -int print_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_contacts (struct tl_ds_contacts_contacts *DS, struct paramed_type *T); -int print_ds_type_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_found (struct tl_ds_contacts_found *DS, struct paramed_type *T); -int print_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *DS, struct paramed_type *T); -int print_ds_type_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_link (struct tl_ds_contacts_link *DS, struct paramed_type *T); -int print_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T); -int print_ds_type_bare_contacts_suggested (struct tl_ds_contacts_suggested *DS, struct paramed_type *T); -int print_ds_type_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T); -int print_ds_type_bare_geochats_located (struct tl_ds_geochats_located *DS, struct paramed_type *T); -int print_ds_type_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T); -int print_ds_type_bare_geochats_messages (struct tl_ds_geochats_messages *DS, struct paramed_type *T); -int print_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T); -int print_ds_type_bare_geochats_stated_message (struct tl_ds_geochats_stated_message *DS, struct paramed_type *T); -int print_ds_type_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T); -int print_ds_type_bare_help_app_update (struct tl_ds_help_app_update *DS, struct paramed_type *T); -int print_ds_type_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T); -int print_ds_type_bare_help_invite_text (struct tl_ds_help_invite_text *DS, struct paramed_type *T); -int print_ds_type_help_support (struct tl_ds_help_support *DS, struct paramed_type *T); -int print_ds_type_bare_help_support (struct tl_ds_help_support *DS, struct paramed_type *T); -int print_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T); -int print_ds_type_bare_messages_affected_history (struct tl_ds_messages_affected_history *DS, struct paramed_type *T); -int print_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T); -int print_ds_type_bare_messages_affected_messages (struct tl_ds_messages_affected_messages *DS, struct paramed_type *T); -int print_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T); -int print_ds_type_bare_messages_all_stickers (struct tl_ds_messages_all_stickers *DS, struct paramed_type *T); -int print_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T); -int print_ds_type_bare_messages_chat_full (struct tl_ds_messages_chat_full *DS, struct paramed_type *T); -int print_ds_type_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T); -int print_ds_type_bare_messages_chats (struct tl_ds_messages_chats *DS, struct paramed_type *T); -int print_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T); -int print_ds_type_bare_messages_dh_config (struct tl_ds_messages_dh_config *DS, struct paramed_type *T); -int print_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T); -int print_ds_type_bare_messages_dialogs (struct tl_ds_messages_dialogs *DS, struct paramed_type *T); -int print_ds_type_messages_message (struct tl_ds_messages_message *DS, struct paramed_type *T); -int print_ds_type_bare_messages_message (struct tl_ds_messages_message *DS, struct paramed_type *T); -int print_ds_type_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T); -int print_ds_type_bare_messages_messages (struct tl_ds_messages_messages *DS, struct paramed_type *T); -int print_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T); -int print_ds_type_bare_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *DS, struct paramed_type *T); -int print_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T); -int print_ds_type_bare_messages_sent_message (struct tl_ds_messages_sent_message *DS, struct paramed_type *T); -int print_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T); -int print_ds_type_bare_messages_sticker_set (struct tl_ds_messages_sticker_set *DS, struct paramed_type *T); -int print_ds_type_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T); -int print_ds_type_bare_messages_stickers (struct tl_ds_messages_stickers *DS, struct paramed_type *T); -int print_ds_type_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T); -int print_ds_type_bare_photos_photo (struct tl_ds_photos_photo *DS, struct paramed_type *T); -int print_ds_type_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T); -int print_ds_type_bare_photos_photos (struct tl_ds_photos_photos *DS, struct paramed_type *T); -int print_ds_type_storage_file_type (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_type_bare_storage_file_type (struct tl_ds_storage_file_type *DS, struct paramed_type *T); -int print_ds_type_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T); -int print_ds_type_bare_updates_difference (struct tl_ds_updates_difference *DS, struct paramed_type *T); -int print_ds_type_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T); -int print_ds_type_bare_updates_state (struct tl_ds_updates_state *DS, struct paramed_type *T); -int print_ds_type_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T); -int print_ds_type_bare_upload_file (struct tl_ds_upload_file *DS, struct paramed_type *T); -int print_ds_type_any (void *DS, struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-skip.c b/libs/tgl/src/auto/auto-skip.c deleted file mode 100644 index fe91ddde00..0000000000 --- a/libs/tgl/src/auto/auto-skip.c +++ /dev/null @@ -1,11301 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-skip.h" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-skip.h" -#include "auto-static-skip.c" -#include "mtproto-common.h" -#endif -#include -int skip_constructor_account_days_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - return 0; -} -int skip_constructor_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field11) < 0) { return -1;} - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field12) < 0) { return -1;} - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field13) < 0) { return -1;} - return 0; -} -int skip_constructor_bool_false (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int skip_constructor_bool_true (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int skip_constructor_bot_command (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_bot_command_old (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_bot_info_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - return 0; -} -int skip_constructor_bot_info (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_bytes (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_photo (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_point (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_photo (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field10) < 0) { return -1;} - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_participants (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer_notify_settings (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_exported_chat_invite (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_invite_already (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_invite (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_participants_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - return 0; -} -int skip_constructor_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_client_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field13) < 0) { return -1;} - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field14) < 0) { return -1;} - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field15) < 0) { return -1;} - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field16) < 0) { return -1;} - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field17) < 0) { return -1;} - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field18) < 0) { return -1;} - return 0; -} -int skip_constructor_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contact_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contact_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_contact_link_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int skip_constructor_contact_link_none (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int skip_constructor_contact_link_has_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int skip_constructor_contact_link_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int skip_constructor_contact_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_status (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contact_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_dc_option_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_decrypted_message_media (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_decrypted_message_action (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_read_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_flush_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int skip_constructor_decrypted_message_action_resend (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_notify_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_send_message_action (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_request_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_accept_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_abort_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_commit_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_action_noop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int skip_constructor_decrypted_message_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_decrypted_message (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - return 0; -} -int skip_constructor_decrypted_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field10) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_external_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo_size (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field8) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_video_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field9) < 0) { return -1;} - return 0; -} -int skip_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_dialog (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer_notify_settings (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_disabled_feature (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo_size (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field8) < 0) { return -1;} - return 0; -} -int skip_constructor_document_l19 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo_size (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_image_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_animated (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - return 0; -} -int skip_constructor_document_attribute_sticker_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_sticker (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_sticker_set (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_document_attribute_filename (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_double (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return -1; } - if (in_remaining () < 8) { return -1;} - fetch_double (); - return 0; -} -int skip_constructor_encrypted_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_chat_waiting (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_chat_requested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field7) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_chat_discarded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - return 0; -} -int skip_constructor_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_encrypted_file (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_encrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_error (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_chat_invite_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - return 0; -} -int skip_constructor_chat_invite_exported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_file_location_unavailable (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_geo_chat_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_geo_chat_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_action (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - return 0; -} -int skip_constructor_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_imported_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_app_event (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - return 0; -} -int skip_constructor_input_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - return 0; -} -int skip_constructor_input_chat_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_photo (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_phone_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - return 0; -} -int skip_constructor_input_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - return 0; -} -int skip_constructor_input_encrypted_file_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_file_big (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_video_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_encrypted_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_audio_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_document_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - return 0; -} -int skip_constructor_input_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - return 0; -} -int skip_constructor_input_media_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_photo (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_geo_point (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_uploaded_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_uploaded_thumb_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_video (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_uploaded_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_audio (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_uploaded_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_uploaded_thumb_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_file (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_document (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_geo_point (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_input_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_peer (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int skip_constructor_input_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int skip_constructor_input_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int skip_constructor_input_notify_geo_chat_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_input_geo_chat (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_peer_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int skip_constructor_input_peer_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int skip_constructor_input_peer_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_peer_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int skip_constructor_input_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int skip_constructor_input_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_input_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - return 0; -} -int skip_constructor_input_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_photo_crop_auto (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - return 0; -} -int skip_constructor_input_photo_crop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_double (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_input_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return -1; } - return 0; -} -int skip_constructor_input_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int skip_constructor_input_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int skip_constructor_input_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int skip_constructor_input_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int skip_constructor_input_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_sticker_set_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - return 0; -} -int skip_constructor_input_sticker_set_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_sticker_set_short_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int skip_constructor_input_user_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int skip_constructor_input_user_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_user_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_input_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - return 0; -} -int skip_constructor_input_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_int (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return -1; } - if (in_remaining () < 4) { return -1;} - fetch_int (); - return 0; -} -int skip_constructor_int128 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_int256 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_keyboard_button (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_keyboard_button_row (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return -1; } - if (in_remaining () < 8) { return -1;} - fetch_long (); - return 0; -} -int skip_constructor_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field10) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_reply_markup (field11) < 0) { return -1;} - } - return 0; -} -int skip_constructor_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_action (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int skip_constructor_message_action_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_chat_edit_title (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_chat_edit_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_chat_delete_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int skip_constructor_message_action_chat_add_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_chat_delete_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_geo_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_message_action_geo_chat_checkin (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int skip_constructor_message_action_chat_joined_by_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int skip_constructor_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_video (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_geo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_point (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_unsupported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int skip_constructor_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_document (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_audio (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_web_page (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_point (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_message_media_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_video (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_input_messages_filter_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_photo_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_input_messages_filter_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int skip_constructor_nearest_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int skip_constructor_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int skip_constructor_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int skip_constructor_null (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return -1; } - return 0; -} -int skip_constructor_p_q_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int256 (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_p_q_inner_data_temp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int256 (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int skip_constructor_peer_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int skip_constructor_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int skip_constructor_peer_notify_settings_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - return 0; -} -int skip_constructor_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_point (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_point (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field7) < 0) { return -1;} - return 0; -} -int skip_constructor_photo_size_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_photo_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_photo_cached_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return -1; } - return 0; -} -int skip_constructor_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int skip_constructor_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int skip_constructor_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int skip_constructor_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int skip_constructor_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_received_notify_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_reply_keyboard_hide (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_reply_keyboard_force_reply (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_reply_keyboard_markup (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_res_p_q (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_send_message_typing_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_cancel_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_record_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_upload_video_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_upload_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_send_message_record_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_upload_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_send_message_upload_photo_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_send_message_upload_document_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_upload_document_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_send_message_geo_location_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_send_message_choose_contact_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int skip_constructor_server_d_h_params_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_server_d_h_params_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_server_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_dh_gen_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_dh_gen_retry (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_dh_gen_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_sticker_pack (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_string (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return -1; } - int l = prefetch_strlen (); - if (l < 0) { return -1;} - fetch_str (l); - return 0; -} -int skip_constructor_update_new_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_message_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_send_message_action (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_chat_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_send_message_action (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_participants (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_status (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_profile_photo (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_contact_registered (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_contact_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_contact_link (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_contact_link (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_new_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_new_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_chat_message (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_update_new_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_encrypted_message (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_encrypted_chat_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_update_encryption (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_encrypted_chat (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_encrypted_messages_read (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_chat_participant_add (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_chat_participant_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_dc_options (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_notify_peer (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer_notify_settings (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_service_notification (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_privacy (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_privacy_key (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_user_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_update_read_history_inbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_read_history_outbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_update_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_web_page (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_update_read_messages_contents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_update_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_updates_too_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - return 0; -} -int skip_constructor_update_short_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int skip_constructor_update_short_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - } - return 0; -} -int skip_constructor_update_short (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_update (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_updates_combined (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_updates (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_profile_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_status (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 14)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int skip_constructor_user_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_contacts_link (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_peer_notify_settings (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bot_info (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_user_profile_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - return 0; -} -int skip_constructor_user_profile_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_file_location (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_user_status_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int skip_constructor_user_status_online (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_user_status_offline (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_user_status_recently (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int skip_constructor_user_status_last_week (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int skip_constructor_user_status_last_month (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int skip_constructor_vector (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return -1; } - if (ODDP(T->params[0])) { return -1; } - struct paramed_type *var0 = T->params[0]; assert (var0); - if (in_remaining () < 4) { return -1;} - struct paramed_type *var1 = INT2PTR (fetch_int ()); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - while (multiplicity3 -- > 0) { - if (skip_type_any (field3) < 0) { return -1;} - } - return 0; -} -int skip_constructor_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo_size (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - return 0; -} -int skip_constructor_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo_size (field9) < 0) { return -1;} - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - return 0; -} -int skip_constructor_wall_paper (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_wall_paper_solid (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_web_page_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_web_page_pending (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 7)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 8)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field15) < 0) { return -1;} - } - return 0; -} -int skip_constructor_account_authorizations (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_account_no_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_account_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_account_password_input_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - } - return 0; -} -int skip_constructor_account_password_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_account_privacy_rules (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_account_sent_change_phone_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_checked_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_exported_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_password_recovery (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_sent_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_auth_sent_app_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_encr_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return -1; } - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - while (multiplicity1 -- > 0) { - if (skip_type_any (field1) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_start (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int skip_constructor_binlog_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_dc_option_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_auth_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_binlog_encr_key (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_default_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_dc_signed (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_our_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_dh_params (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_binlog_encr_key (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_pts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_qts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_date (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_seq (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_encr_chat_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_encr_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_binlog_encr_key (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_binlog_encr_key (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 27)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field15) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_binlog_encr_key (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_user_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_user_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user_profile_photo (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bot_info (field14) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_chat_add_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_chat_del_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_set_msg_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_message_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_message_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_action (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_reply_markup (field13) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_message_encr_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (in_remaining () < 4) { return -1;} - struct paramed_type *var0 = INT2PTR (fetch_int ()); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_decrypted_message_media (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_decrypted_message_action (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_encrypted_file (field10) < 0) { return -1;} - } - return 0; -} -int skip_constructor_binlog_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_binlog_reset_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int skip_constructor_contacts_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_blocked_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_contacts_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - return 0; -} -int skip_constructor_contacts_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_imported_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_contact_link (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_contact_link (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_contacts_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_geochats_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_geochats_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_geochats_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_geochats_stated_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_geo_chat_message (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_help_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bool (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_help_no_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - return 0; -} -int skip_constructor_help_invite_text (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_help_support (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_user (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_affected_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_affected_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_all_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - return 0; -} -int skip_constructor_messages_all_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_chat_full (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_dh_config_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_dh_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_dialogs (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_dialogs_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return -1; } - return 0; -} -int skip_constructor_messages_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_sent_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_sent_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_encrypted_file (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_sent_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_sent_message_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_message_media (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field6) < 0) { return -1;} - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_sticker_set (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_messages_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - return 0; -} -int skip_constructor_messages_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_string (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_photos_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_photo (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_photos_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_photos_photos_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - return 0; -} -int skip_constructor_storage_file_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_jpeg (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_gif (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_png (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_pdf (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_mp3 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_mov (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_partial (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_mp4 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_storage_file_webp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int skip_constructor_updates_difference_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int skip_constructor_updates_difference (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_updates_difference_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (skip_type_vector (field5) < 0) { return -1;} - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int skip_constructor_updates_state (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field4) < 0) { return -1;} - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int skip_constructor_upload_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_storage_file_type (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_int (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (skip_type_bare_bytes (field3) < 0) { return -1;} - return 0; -} -int skip_type_account_days_t_t_l (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb8d0afdf: return skip_constructor_account_days_t_t_l (T); - default: return -1; - } -} -int skip_type_bare_account_days_t_t_l (struct paramed_type *T) { - if (skip_constructor_account_days_t_t_l (T) >= 0) { return 0; } - return -1; -} -int skip_type_audio (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x586988d8: return skip_constructor_audio_empty (T); - case 0xc7ac6496: return skip_constructor_audio (T); - default: return -1; - } -} -int skip_type_bare_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_audio_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x7bf2e6f6: return skip_constructor_authorization (T); - default: return -1; - } -} -int skip_type_bare_authorization (struct paramed_type *T) { - if (skip_constructor_authorization (T) >= 0) { return 0; } - return -1; -} -int skip_type_bool (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xbc799737: return skip_constructor_bool_false (T); - case 0x997275b5: return skip_constructor_bool_true (T); - default: return -1; - } -} -int skip_type_bare_bool (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bool_false (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bool_true (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_bot_command (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc27ac8c7: return skip_constructor_bot_command (T); - case 0xb79d22ab: return skip_constructor_bot_command_old (T); - default: return -1; - } -} -int skip_type_bare_bot_command (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bot_command (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bot_command_old (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_bot_info (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xbb2e37ce: return skip_constructor_bot_info_empty (T); - case 0x09cf585d: return skip_constructor_bot_info (T); - default: return -1; - } -} -int skip_type_bare_bot_info (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_bot_info_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_bot_info (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_bytes (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0ee1379f: return skip_constructor_bytes (T); - default: return -1; - } -} -int skip_type_bare_bytes (struct paramed_type *T) { - if (skip_constructor_bytes (T) >= 0) { return 0; } - return -1; -} -int skip_type_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x9ba2d800: return skip_constructor_chat_empty (T); - case 0x6e9c9bc7: return skip_constructor_chat (T); - case 0xfb0ccc41: return skip_constructor_chat_forbidden (T); - case 0x75eaea5a: return skip_constructor_geo_chat (T); - default: return -1; - } -} -int skip_type_bare_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_forbidden (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_chat_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x2e02a614: return skip_constructor_chat_full (T); - default: return -1; - } -} -int skip_type_bare_chat_full (struct paramed_type *T) { - if (skip_constructor_chat_full (T) >= 0) { return 0; } - return -1; -} -int skip_type_chat_invite (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5a686d7c: return skip_constructor_chat_invite_already (T); - case 0xce917dcd: return skip_constructor_chat_invite (T); - default: return -1; - } -} -int skip_type_bare_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_invite_already (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_invite (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_chat_located (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3631cf4c: return skip_constructor_chat_located (T); - default: return -1; - } -} -int skip_type_bare_chat_located (struct paramed_type *T) { - if (skip_constructor_chat_located (T) >= 0) { return 0; } - return -1; -} -int skip_type_chat_participant (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc8d7493e: return skip_constructor_chat_participant (T); - default: return -1; - } -} -int skip_type_bare_chat_participant (struct paramed_type *T) { - if (skip_constructor_chat_participant (T) >= 0) { return 0; } - return -1; -} -int skip_type_chat_participants (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0fd2bb8a: return skip_constructor_chat_participants_forbidden (T); - case 0x7841b415: return skip_constructor_chat_participants (T); - default: return -1; - } -} -int skip_type_bare_chat_participants (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_participants_forbidden (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_participants (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_chat_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x37c1011c: return skip_constructor_chat_photo_empty (T); - case 0x6153276a: return skip_constructor_chat_photo (T); - default: return -1; - } -} -int skip_type_bare_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_photo_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_client_d_h_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x6643b654: return skip_constructor_client_d_h_inner_data (T); - default: return -1; - } -} -int skip_type_bare_client_d_h_inner_data (struct paramed_type *T) { - if (skip_constructor_client_d_h_inner_data (T) >= 0) { return 0; } - return -1; -} -int skip_type_config (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x4e32b894: return skip_constructor_config (T); - default: return -1; - } -} -int skip_type_bare_config (struct paramed_type *T) { - if (skip_constructor_config (T) >= 0) { return 0; } - return -1; -} -int skip_type_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf911c994: return skip_constructor_contact (T); - default: return -1; - } -} -int skip_type_bare_contact (struct paramed_type *T) { - if (skip_constructor_contact (T) >= 0) { return 0; } - return -1; -} -int skip_type_contact_blocked (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x561bc879: return skip_constructor_contact_blocked (T); - default: return -1; - } -} -int skip_type_bare_contact_blocked (struct paramed_type *T) { - if (skip_constructor_contact_blocked (T) >= 0) { return 0; } - return -1; -} -int skip_type_contact_found (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xea879f95: return skip_constructor_contact_found (T); - default: return -1; - } -} -int skip_type_bare_contact_found (struct paramed_type *T) { - if (skip_constructor_contact_found (T) >= 0) { return 0; } - return -1; -} -int skip_type_contact_link (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5f4f9247: return skip_constructor_contact_link_unknown (T); - case 0xfeedd3ad: return skip_constructor_contact_link_none (T); - case 0x268f3f59: return skip_constructor_contact_link_has_phone (T); - case 0xd502c2d0: return skip_constructor_contact_link_contact (T); - default: return -1; - } -} -int skip_type_bare_contact_link (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contact_link_unknown (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_none (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_has_phone (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contact_link_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_contact_status (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xd3680c61: return skip_constructor_contact_status (T); - default: return -1; - } -} -int skip_type_bare_contact_status (struct paramed_type *T) { - if (skip_constructor_contact_status (T) >= 0) { return 0; } - return -1; -} -int skip_type_contact_suggested (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3de191a1: return skip_constructor_contact_suggested (T); - default: return -1; - } -} -int skip_type_bare_contact_suggested (struct paramed_type *T) { - if (skip_constructor_contact_suggested (T) >= 0) { return 0; } - return -1; -} -int skip_type_dc_option (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x2ec2a43c: return skip_constructor_dc_option_l28 (T); - case 0x05d8c6cc: return skip_constructor_dc_option (T); - default: return -1; - } -} -int skip_type_bare_dc_option (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_dc_option_l28 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dc_option (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_decrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x204d3878: return skip_constructor_decrypted_message (T); - case 0x73164160: return skip_constructor_decrypted_message_service (T); - default: return -1; - } -} -int skip_type_bare_decrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_service (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_decrypted_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa1733aec: return skip_constructor_decrypted_message_action_set_message_t_t_l (T); - case 0x0c4f40be: return skip_constructor_decrypted_message_action_read_messages (T); - case 0x65614304: return skip_constructor_decrypted_message_action_delete_messages (T); - case 0x8ac1f475: return skip_constructor_decrypted_message_action_screenshot_messages (T); - case 0x6719e45c: return skip_constructor_decrypted_message_action_flush_history (T); - case 0x511110b0: return skip_constructor_decrypted_message_action_resend (T); - case 0xf3048883: return skip_constructor_decrypted_message_action_notify_layer (T); - case 0xccb27641: return skip_constructor_decrypted_message_action_typing (T); - case 0xf3c9611b: return skip_constructor_decrypted_message_action_request_key (T); - case 0x6fe1735b: return skip_constructor_decrypted_message_action_accept_key (T); - case 0xdd05ec6b: return skip_constructor_decrypted_message_action_abort_key (T); - case 0xec2e0b9b: return skip_constructor_decrypted_message_action_commit_key (T); - case 0xa82fdd63: return skip_constructor_decrypted_message_action_noop (T); - default: return -1; - } -} -int skip_type_bare_decrypted_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message_action_set_message_t_t_l (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_read_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_delete_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_screenshot_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_flush_history (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_resend (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_notify_layer (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_typing (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_request_key (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_accept_key (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_abort_key (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_commit_key (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_action_noop (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_decrypted_message_layer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1be31789: return skip_constructor_decrypted_message_layer (T); - default: return -1; - } -} -int skip_type_bare_decrypted_message_layer (struct paramed_type *T) { - if (skip_constructor_decrypted_message_layer (T) >= 0) { return 0; } - return -1; -} -int skip_type_decrypted_message_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x089f5c4a: return skip_constructor_decrypted_message_media_empty (T); - case 0x32798a8c: return skip_constructor_decrypted_message_media_photo (T); - case 0x35480a59: return skip_constructor_decrypted_message_media_geo_point (T); - case 0x588a0a97: return skip_constructor_decrypted_message_media_contact (T); - case 0xb095434b: return skip_constructor_decrypted_message_media_document (T); - case 0x524a415d: return skip_constructor_decrypted_message_media_video (T); - case 0x57e0a9cb: return skip_constructor_decrypted_message_media_audio (T); - case 0xfa95b0dd: return skip_constructor_decrypted_message_media_external_document (T); - case 0x4cee6ef3: return skip_constructor_decrypted_message_media_video_l12 (T); - case 0x6080758f: return skip_constructor_decrypted_message_media_audio_l12 (T); - default: return -1; - } -} -int skip_type_bare_decrypted_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_decrypted_message_media_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_geo_point (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_external_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_video_l12 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_decrypted_message_media_audio_l12 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_dialog (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc1dd804a: return skip_constructor_dialog (T); - default: return -1; - } -} -int skip_type_bare_dialog (struct paramed_type *T) { - if (skip_constructor_dialog (T) >= 0) { return 0; } - return -1; -} -int skip_type_disabled_feature (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xae636f24: return skip_constructor_disabled_feature (T); - default: return -1; - } -} -int skip_type_bare_disabled_feature (struct paramed_type *T) { - if (skip_constructor_disabled_feature (T) >= 0) { return 0; } - return -1; -} -int skip_type_document (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x36f8c871: return skip_constructor_document_empty (T); - case 0xf9a39f4f: return skip_constructor_document (T); - case 0x9efc6326: return skip_constructor_document_l19 (T); - default: return -1; - } -} -int skip_type_bare_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_document_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_l19 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_document_attribute (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x6c37c15c: return skip_constructor_document_attribute_image_size (T); - case 0x11b58939: return skip_constructor_document_attribute_animated (T); - case 0x994c9882: return skip_constructor_document_attribute_sticker_l28 (T); - case 0x3a556302: return skip_constructor_document_attribute_sticker (T); - case 0x5910cccb: return skip_constructor_document_attribute_video (T); - case 0x051448e5: return skip_constructor_document_attribute_audio (T); - case 0x15590068: return skip_constructor_document_attribute_filename (T); - default: return -1; - } -} -int skip_type_bare_document_attribute (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_document_attribute_image_size (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_animated (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_sticker_l28 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_sticker (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_document_attribute_filename (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_double (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x2210c154: return skip_constructor_double (T); - default: return -1; - } -} -int skip_type_bare_double (struct paramed_type *T) { - if (skip_constructor_double (T) >= 0) { return 0; } - return -1; -} -int skip_type_encrypted_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xab7ec0a0: return skip_constructor_encrypted_chat_empty (T); - case 0x3bf703dc: return skip_constructor_encrypted_chat_waiting (T); - case 0xc878527e: return skip_constructor_encrypted_chat_requested (T); - case 0xfa56ce36: return skip_constructor_encrypted_chat (T); - case 0x13d6dd27: return skip_constructor_encrypted_chat_discarded (T); - default: return -1; - } -} -int skip_type_bare_encrypted_chat (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_chat_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_waiting (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_requested (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_chat_discarded (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_encrypted_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc21f497e: return skip_constructor_encrypted_file_empty (T); - case 0x4a70994c: return skip_constructor_encrypted_file (T); - default: return -1; - } -} -int skip_type_bare_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_file_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_file (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_encrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xed18c118: return skip_constructor_encrypted_message (T); - case 0x23734b06: return skip_constructor_encrypted_message_service (T); - default: return -1; - } -} -int skip_type_bare_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_encrypted_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_encrypted_message_service (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_error (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc4b9f9bb: return skip_constructor_error (T); - default: return -1; - } -} -int skip_type_bare_error (struct paramed_type *T) { - if (skip_constructor_error (T) >= 0) { return 0; } - return -1; -} -int skip_type_exported_chat_invite (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x69df3769: return skip_constructor_chat_invite_empty (T); - case 0xfc2e05bc: return skip_constructor_chat_invite_exported (T); - default: return -1; - } -} -int skip_type_bare_exported_chat_invite (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_chat_invite_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_chat_invite_exported (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_file_location (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x7c596b46: return skip_constructor_file_location_unavailable (T); - case 0x53d69076: return skip_constructor_file_location (T); - default: return -1; - } -} -int skip_type_bare_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_file_location_unavailable (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_geo_chat_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x60311a9b: return skip_constructor_geo_chat_message_empty (T); - case 0x4505f8e1: return skip_constructor_geo_chat_message (T); - case 0xd34fa24e: return skip_constructor_geo_chat_message_service (T); - default: return -1; - } -} -int skip_type_bare_geo_chat_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geo_chat_message_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_chat_message_service (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_geo_point (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1117dd5f: return skip_constructor_geo_point_empty (T); - case 0x2049d70c: return skip_constructor_geo_point (T); - default: return -1; - } -} -int skip_type_bare_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geo_point_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geo_point (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_imported_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xd0028438: return skip_constructor_imported_contact (T); - default: return -1; - } -} -int skip_type_bare_imported_contact (struct paramed_type *T) { - if (skip_constructor_imported_contact (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_app_event (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x770656a8: return skip_constructor_input_app_event (T); - default: return -1; - } -} -int skip_type_bare_input_app_event (struct paramed_type *T) { - if (skip_constructor_input_app_event (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_audio (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xd95adc84: return skip_constructor_input_audio_empty (T); - case 0x77d440ff: return skip_constructor_input_audio (T); - default: return -1; - } -} -int skip_type_bare_input_audio (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_audio_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_chat_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1ca48f57: return skip_constructor_input_chat_photo_empty (T); - case 0x94254732: return skip_constructor_input_chat_uploaded_photo (T); - case 0xb2e1bf08: return skip_constructor_input_chat_photo (T); - default: return -1; - } -} -int skip_type_bare_input_chat_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_chat_photo_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_chat_uploaded_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_chat_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_contact (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf392b7f4: return skip_constructor_input_phone_contact (T); - default: return -1; - } -} -int skip_type_bare_input_contact (struct paramed_type *T) { - if (skip_constructor_input_phone_contact (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_document (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x72f0eaae: return skip_constructor_input_document_empty (T); - case 0x18798952: return skip_constructor_input_document (T); - default: return -1; - } -} -int skip_type_bare_input_document (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_document_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_encrypted_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf141b5e1: return skip_constructor_input_encrypted_chat (T); - default: return -1; - } -} -int skip_type_bare_input_encrypted_chat (struct paramed_type *T) { - if (skip_constructor_input_encrypted_chat (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_encrypted_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1837c364: return skip_constructor_input_encrypted_file_empty (T); - case 0x64bd0306: return skip_constructor_input_encrypted_file_uploaded (T); - case 0x5a17b5e5: return skip_constructor_input_encrypted_file (T); - case 0x2dc173c8: return skip_constructor_input_encrypted_file_big_uploaded (T); - default: return -1; - } -} -int skip_type_bare_input_encrypted_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_encrypted_file_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_uploaded (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_big_uploaded (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf52ff27f: return skip_constructor_input_file (T); - case 0xfa4f0bb5: return skip_constructor_input_file_big (T); - default: return -1; - } -} -int skip_type_bare_input_file (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_file (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_file_big (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_file_location (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x14637196: return skip_constructor_input_file_location (T); - case 0x3d0364ec: return skip_constructor_input_video_file_location (T); - case 0xf5235d55: return skip_constructor_input_encrypted_file_location (T); - case 0x74dc404d: return skip_constructor_input_audio_file_location (T); - case 0x4e45abe9: return skip_constructor_input_document_file_location (T); - default: return -1; - } -} -int skip_type_bare_input_file_location (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_video_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_encrypted_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_audio_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_document_file_location (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_geo_chat (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x74d456fa: return skip_constructor_input_geo_chat (T); - default: return -1; - } -} -int skip_type_bare_input_geo_chat (struct paramed_type *T) { - if (skip_constructor_input_geo_chat (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_geo_point (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xe4c123d6: return skip_constructor_input_geo_point_empty (T); - case 0xf3b7acc9: return skip_constructor_input_geo_point (T); - default: return -1; - } -} -int skip_type_bare_input_geo_point (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_geo_point_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_geo_point (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x9664f57f: return skip_constructor_input_media_empty (T); - case 0xf7aff1c0: return skip_constructor_input_media_uploaded_photo (T); - case 0xe9bfb4f3: return skip_constructor_input_media_photo (T); - case 0xf9c44144: return skip_constructor_input_media_geo_point (T); - case 0xa6e45987: return skip_constructor_input_media_contact (T); - case 0xe13fd4bc: return skip_constructor_input_media_uploaded_video (T); - case 0x96fb97dc: return skip_constructor_input_media_uploaded_thumb_video (T); - case 0x936a4ebd: return skip_constructor_input_media_video (T); - case 0x4e498cab: return skip_constructor_input_media_uploaded_audio (T); - case 0x89938781: return skip_constructor_input_media_audio (T); - case 0xffe76b78: return skip_constructor_input_media_uploaded_document (T); - case 0x41481486: return skip_constructor_input_media_uploaded_thumb_document (T); - case 0xd184e841: return skip_constructor_input_media_document (T); - case 0x2827a81a: return skip_constructor_input_media_venue (T); - default: return -1; - } -} -int skip_type_bare_input_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_media_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_geo_point (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_thumb_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_uploaded_thumb_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_media_venue (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_notify_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb8bc5b0c: return skip_constructor_input_notify_peer (T); - case 0x193b4417: return skip_constructor_input_notify_users (T); - case 0x4a95e84e: return skip_constructor_input_notify_chats (T); - case 0xa429b886: return skip_constructor_input_notify_all (T); - case 0x4d8ddec8: return skip_constructor_input_notify_geo_chat_peer (T); - default: return -1; - } -} -int skip_type_bare_input_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_notify_peer (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_chats (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_notify_geo_chat_peer (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x7f3b18ea: return skip_constructor_input_peer_empty (T); - case 0x7da07ec9: return skip_constructor_input_peer_self (T); - case 0x1023dbe8: return skip_constructor_input_peer_contact (T); - case 0x9b447325: return skip_constructor_input_peer_foreign (T); - case 0x179be863: return skip_constructor_input_peer_chat (T); - default: return -1; - } -} -int skip_type_bare_input_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_peer_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_self (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_foreign (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_chat (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_peer_notify_events (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf03064d8: return skip_constructor_input_peer_notify_events_empty (T); - case 0xe86a2c74: return skip_constructor_input_peer_notify_events_all (T); - default: return -1; - } -} -int skip_type_bare_input_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_peer_notify_events_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_peer_notify_events_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_peer_notify_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x46a2ce98: return skip_constructor_input_peer_notify_settings (T); - default: return -1; - } -} -int skip_type_bare_input_peer_notify_settings (struct paramed_type *T) { - if (skip_constructor_input_peer_notify_settings (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1cd7bf0d: return skip_constructor_input_photo_empty (T); - case 0xfb95c6c4: return skip_constructor_input_photo (T); - default: return -1; - } -} -int skip_type_bare_input_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_photo_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_photo_crop (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xade6b004: return skip_constructor_input_photo_crop_auto (T); - case 0xd9915325: return skip_constructor_input_photo_crop (T); - default: return -1; - } -} -int skip_type_bare_input_photo_crop (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_photo_crop_auto (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_photo_crop (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_privacy_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x4f96cb18: return skip_constructor_input_privacy_key_status_timestamp (T); - default: return -1; - } -} -int skip_type_bare_input_privacy_key (struct paramed_type *T) { - if (skip_constructor_input_privacy_key_status_timestamp (T) >= 0) { return 0; } - return -1; -} -int skip_type_input_privacy_rule (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0d09e07b: return skip_constructor_input_privacy_value_allow_contacts (T); - case 0x184b35ce: return skip_constructor_input_privacy_value_allow_all (T); - case 0x131cc67f: return skip_constructor_input_privacy_value_allow_users (T); - case 0x0ba52007: return skip_constructor_input_privacy_value_disallow_contacts (T); - case 0xd66b66c9: return skip_constructor_input_privacy_value_disallow_all (T); - case 0x90110467: return skip_constructor_input_privacy_value_disallow_users (T); - default: return -1; - } -} -int skip_type_bare_input_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_privacy_value_allow_contacts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_allow_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_allow_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_contacts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_privacy_value_disallow_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xffb62b95: return skip_constructor_input_sticker_set_empty (T); - case 0x9de7a269: return skip_constructor_input_sticker_set_i_d (T); - case 0x861cc8a0: return skip_constructor_input_sticker_set_short_name (T); - default: return -1; - } -} -int skip_type_bare_input_sticker_set (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_sticker_set_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_sticker_set_i_d (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_sticker_set_short_name (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_user (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb98886cf: return skip_constructor_input_user_empty (T); - case 0xf7c1b13f: return skip_constructor_input_user_self (T); - case 0x86e94f65: return skip_constructor_input_user_contact (T); - case 0x655e74ff: return skip_constructor_input_user_foreign (T); - default: return -1; - } -} -int skip_type_bare_input_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_user_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_self (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_user_foreign (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_input_video (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5508ec75: return skip_constructor_input_video_empty (T); - case 0xee579652: return skip_constructor_input_video (T); - default: return -1; - } -} -int skip_type_bare_input_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_video_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_int (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa8509bda: return skip_constructor_int (T); - default: return -1; - } -} -int skip_type_bare_int (struct paramed_type *T) { - if (skip_constructor_int (T) >= 0) { return 0; } - return -1; -} -int skip_type_int128 (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x7d36c439: return skip_constructor_int128 (T); - default: return -1; - } -} -int skip_type_bare_int128 (struct paramed_type *T) { - if (skip_constructor_int128 (T) >= 0) { return 0; } - return -1; -} -int skip_type_int256 (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf2c798b3: return skip_constructor_int256 (T); - default: return -1; - } -} -int skip_type_bare_int256 (struct paramed_type *T) { - if (skip_constructor_int256 (T) >= 0) { return 0; } - return -1; -} -int skip_type_keyboard_button (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa2fa4880: return skip_constructor_keyboard_button (T); - default: return -1; - } -} -int skip_type_bare_keyboard_button (struct paramed_type *T) { - if (skip_constructor_keyboard_button (T) >= 0) { return 0; } - return -1; -} -int skip_type_keyboard_button_row (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x77608b83: return skip_constructor_keyboard_button_row (T); - default: return -1; - } -} -int skip_type_bare_keyboard_button_row (struct paramed_type *T) { - if (skip_constructor_keyboard_button_row (T) >= 0) { return 0; } - return -1; -} -int skip_type_long (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x22076cba: return skip_constructor_long (T); - default: return -1; - } -} -int skip_type_bare_long (struct paramed_type *T) { - if (skip_constructor_long (T) >= 0) { return 0; } - return -1; -} -int skip_type_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x83e5de54: return skip_constructor_message_empty (T); - case 0xc3060325: return skip_constructor_message (T); - case 0x1d86f70e: return skip_constructor_message_service (T); - default: return -1; - } -} -int skip_type_bare_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_service (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb6aef7b0: return skip_constructor_message_action_empty (T); - case 0xa6638b9a: return skip_constructor_message_action_chat_create (T); - case 0xb5a1ce5a: return skip_constructor_message_action_chat_edit_title (T); - case 0x7fcb13a8: return skip_constructor_message_action_chat_edit_photo (T); - case 0x95e3fbef: return skip_constructor_message_action_chat_delete_photo (T); - case 0x5e3cfc4b: return skip_constructor_message_action_chat_add_user (T); - case 0xb2ae9b0c: return skip_constructor_message_action_chat_delete_user (T); - case 0x6f038ebc: return skip_constructor_message_action_geo_chat_create (T); - case 0x0c7d53de: return skip_constructor_message_action_geo_chat_checkin (T); - case 0xf89cf5e8: return skip_constructor_message_action_chat_joined_by_link (T); - default: return -1; - } -} -int skip_type_bare_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_action_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_create (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_edit_title (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_edit_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_delete_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_add_user (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_delete_user (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_geo_chat_create (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_geo_chat_checkin (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_action_chat_joined_by_link (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_message_media (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3ded6320: return skip_constructor_message_media_empty (T); - case 0x3d8ce53d: return skip_constructor_message_media_photo (T); - case 0x5bcf1675: return skip_constructor_message_media_video (T); - case 0x56e0d474: return skip_constructor_message_media_geo (T); - case 0x5e7d2f39: return skip_constructor_message_media_contact (T); - case 0x9f84f49e: return skip_constructor_message_media_unsupported (T); - case 0x2fda2204: return skip_constructor_message_media_document (T); - case 0xc6b68300: return skip_constructor_message_media_audio (T); - case 0xa32dd600: return skip_constructor_message_media_web_page (T); - case 0x7912b71f: return skip_constructor_message_media_venue (T); - case 0xc8c45a2a: return skip_constructor_message_media_photo_l27 (T); - case 0xa2d24290: return skip_constructor_message_media_video_l27 (T); - default: return -1; - } -} -int skip_type_bare_message_media (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_message_media_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_geo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_contact (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_unsupported (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_web_page (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_venue (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_photo_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_message_media_video_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_filter (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x57e2f66c: return skip_constructor_input_messages_filter_empty (T); - case 0x9609a51c: return skip_constructor_input_messages_filter_photos (T); - case 0x9fc00e65: return skip_constructor_input_messages_filter_video (T); - case 0x56e9f0e4: return skip_constructor_input_messages_filter_photo_video (T); - case 0xd95e73bb: return skip_constructor_input_messages_filter_photo_video_documents (T); - case 0x9eddf188: return skip_constructor_input_messages_filter_document (T); - case 0xcfc87522: return skip_constructor_input_messages_filter_audio (T); - default: return -1; - } -} -int skip_type_bare_messages_filter (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_input_messages_filter_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photos (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photo_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_photo_video_documents (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_document (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_input_messages_filter_audio (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_nearest_dc (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x8e1a1775: return skip_constructor_nearest_dc (T); - default: return -1; - } -} -int skip_type_bare_nearest_dc (struct paramed_type *T) { - if (skip_constructor_nearest_dc (T) >= 0) { return 0; } - return -1; -} -int skip_type_notify_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x9fd40bd8: return skip_constructor_notify_peer (T); - case 0xb4c83b4c: return skip_constructor_notify_users (T); - case 0xc007cec3: return skip_constructor_notify_chats (T); - case 0x74d07c60: return skip_constructor_notify_all (T); - default: return -1; - } -} -int skip_type_bare_notify_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_notify_peer (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_chats (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_notify_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_null (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x56730bcc: return skip_constructor_null (T); - default: return -1; - } -} -int skip_type_bare_null (struct paramed_type *T) { - if (skip_constructor_null (T) >= 0) { return 0; } - return -1; -} -int skip_type_p_q_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x83c95aec: return skip_constructor_p_q_inner_data (T); - case 0x3c6a84d4: return skip_constructor_p_q_inner_data_temp (T); - default: return -1; - } -} -int skip_type_bare_p_q_inner_data (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_p_q_inner_data (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_p_q_inner_data_temp (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_peer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x9db1bc6d: return skip_constructor_peer_user (T); - case 0xbad0e5bb: return skip_constructor_peer_chat (T); - default: return -1; - } -} -int skip_type_bare_peer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_user (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_chat (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_peer_notify_events (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xadd53cb3: return skip_constructor_peer_notify_events_empty (T); - case 0x6d1ded88: return skip_constructor_peer_notify_events_all (T); - default: return -1; - } -} -int skip_type_bare_peer_notify_events (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_notify_events_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_notify_events_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_peer_notify_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x70a68512: return skip_constructor_peer_notify_settings_empty (T); - case 0x8d5e11ee: return skip_constructor_peer_notify_settings (T); - default: return -1; - } -} -int skip_type_bare_peer_notify_settings (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_peer_notify_settings_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_peer_notify_settings (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x2331b22d: return skip_constructor_photo_empty (T); - case 0xc3838076: return skip_constructor_photo (T); - case 0x22b56751: return skip_constructor_photo_l27 (T); - default: return -1; - } -} -int skip_type_bare_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photo_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_photo_size (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0e17e23c: return skip_constructor_photo_size_empty (T); - case 0x77bfb61b: return skip_constructor_photo_size (T); - case 0xe9a734fa: return skip_constructor_photo_cached_size (T); - default: return -1; - } -} -int skip_type_bare_photo_size (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photo_size_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_size (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photo_cached_size (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_privacy_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xbc2eab30: return skip_constructor_privacy_key_status_timestamp (T); - default: return -1; - } -} -int skip_type_bare_privacy_key (struct paramed_type *T) { - if (skip_constructor_privacy_key_status_timestamp (T) >= 0) { return 0; } - return -1; -} -int skip_type_privacy_rule (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xfffe1bac: return skip_constructor_privacy_value_allow_contacts (T); - case 0x65427b82: return skip_constructor_privacy_value_allow_all (T); - case 0x4d5bbe0c: return skip_constructor_privacy_value_allow_users (T); - case 0xf888fa1a: return skip_constructor_privacy_value_disallow_contacts (T); - case 0x8b73e763: return skip_constructor_privacy_value_disallow_all (T); - case 0x0c7f49b7: return skip_constructor_privacy_value_disallow_users (T); - default: return -1; - } -} -int skip_type_bare_privacy_rule (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_privacy_value_allow_contacts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_allow_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_allow_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_contacts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_all (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_privacy_value_disallow_users (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_received_notify_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa384b779: return skip_constructor_received_notify_message (T); - default: return -1; - } -} -int skip_type_bare_received_notify_message (struct paramed_type *T) { - if (skip_constructor_received_notify_message (T) >= 0) { return 0; } - return -1; -} -int skip_type_reply_markup (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa03e5b85: return skip_constructor_reply_keyboard_hide (T); - case 0xf4108aa0: return skip_constructor_reply_keyboard_force_reply (T); - case 0x3502758c: return skip_constructor_reply_keyboard_markup (T); - default: return -1; - } -} -int skip_type_bare_reply_markup (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_reply_keyboard_hide (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_reply_keyboard_force_reply (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_reply_keyboard_markup (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_res_p_q (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x05162463: return skip_constructor_res_p_q (T); - default: return -1; - } -} -int skip_type_bare_res_p_q (struct paramed_type *T) { - if (skip_constructor_res_p_q (T) >= 0) { return 0; } - return -1; -} -int skip_type_send_message_action (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x16bf744e: return skip_constructor_send_message_typing_action (T); - case 0xfd5ec8f5: return skip_constructor_send_message_cancel_action (T); - case 0xa187d66f: return skip_constructor_send_message_record_video_action (T); - case 0x92042ff7: return skip_constructor_send_message_upload_video_action_l27 (T); - case 0xe9763aec: return skip_constructor_send_message_upload_video_action (T); - case 0xd52f73f7: return skip_constructor_send_message_record_audio_action (T); - case 0xe6ac8a6f: return skip_constructor_send_message_upload_audio_action_l27 (T); - case 0xf351d7ab: return skip_constructor_send_message_upload_audio_action (T); - case 0xd1d34a26: return skip_constructor_send_message_upload_photo_action (T); - case 0x8faee98e: return skip_constructor_send_message_upload_document_action_l27 (T); - case 0xaa0cd9e4: return skip_constructor_send_message_upload_document_action (T); - case 0x176f8ba1: return skip_constructor_send_message_geo_location_action (T); - case 0x628cbc6f: return skip_constructor_send_message_choose_contact_action (T); - default: return -1; - } -} -int skip_type_bare_send_message_action (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_send_message_typing_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_cancel_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_record_video_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_video_action_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_video_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_record_audio_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_audio_action_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_audio_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_photo_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_document_action_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_upload_document_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_geo_location_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_send_message_choose_contact_action (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_server_d_h_params (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x79cb045d: return skip_constructor_server_d_h_params_fail (T); - case 0xd0e8075c: return skip_constructor_server_d_h_params_ok (T); - default: return -1; - } -} -int skip_type_bare_server_d_h_params (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_server_d_h_params_fail (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_server_d_h_params_ok (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_server_d_h_inner_data (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb5890dba: return skip_constructor_server_d_h_inner_data (T); - default: return -1; - } -} -int skip_type_bare_server_d_h_inner_data (struct paramed_type *T) { - if (skip_constructor_server_d_h_inner_data (T) >= 0) { return 0; } - return -1; -} -int skip_type_set_client_d_h_params_answer (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3bcbf734: return skip_constructor_dh_gen_ok (T); - case 0x46dc1fb9: return skip_constructor_dh_gen_retry (T); - case 0xa69dae02: return skip_constructor_dh_gen_fail (T); - default: return -1; - } -} -int skip_type_bare_set_client_d_h_params_answer (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_dh_gen_ok (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dh_gen_retry (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_dh_gen_fail (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_sticker_pack (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x12b299d4: return skip_constructor_sticker_pack (T); - default: return -1; - } -} -int skip_type_bare_sticker_pack (struct paramed_type *T) { - if (skip_constructor_sticker_pack (T) >= 0) { return 0; } - return -1; -} -int skip_type_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa7a43b17: return skip_constructor_sticker_set (T); - default: return -1; - } -} -int skip_type_bare_sticker_set (struct paramed_type *T) { - if (skip_constructor_sticker_set (T) >= 0) { return 0; } - return -1; -} -int skip_type_string (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb5286e24: return skip_constructor_string (T); - default: return -1; - } -} -int skip_type_bare_string (struct paramed_type *T) { - if (skip_constructor_string (T) >= 0) { return 0; } - return -1; -} -int skip_type_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1f2b0afd: return skip_constructor_update_new_message (T); - case 0x4e90bfd6: return skip_constructor_update_message_i_d (T); - case 0xa20db0e5: return skip_constructor_update_delete_messages (T); - case 0x5c486927: return skip_constructor_update_user_typing (T); - case 0x9a65ea1f: return skip_constructor_update_chat_user_typing (T); - case 0x07761198: return skip_constructor_update_chat_participants (T); - case 0x1bfbd823: return skip_constructor_update_user_status (T); - case 0xa7332b73: return skip_constructor_update_user_name (T); - case 0x95313b0c: return skip_constructor_update_user_photo (T); - case 0x2575bbb9: return skip_constructor_update_contact_registered (T); - case 0x9d2e67c5: return skip_constructor_update_contact_link (T); - case 0x8f06529a: return skip_constructor_update_new_authorization (T); - case 0x5a68e3f7: return skip_constructor_update_new_geo_chat_message (T); - case 0x12bcbd9a: return skip_constructor_update_new_encrypted_message (T); - case 0x1710f156: return skip_constructor_update_encrypted_chat_typing (T); - case 0xb4a2e88d: return skip_constructor_update_encryption (T); - case 0x38fe25b7: return skip_constructor_update_encrypted_messages_read (T); - case 0x3a0eeb22: return skip_constructor_update_chat_participant_add (T); - case 0x6e5f8c22: return skip_constructor_update_chat_participant_delete (T); - case 0x8e5e9873: return skip_constructor_update_dc_options (T); - case 0x80ece81a: return skip_constructor_update_user_blocked (T); - case 0xbec268ef: return skip_constructor_update_notify_settings (T); - case 0x382dd3e4: return skip_constructor_update_service_notification (T); - case 0xee3b272a: return skip_constructor_update_privacy (T); - case 0x12b9417b: return skip_constructor_update_user_phone (T); - case 0x9961fd5c: return skip_constructor_update_read_history_inbox (T); - case 0x2f2f21bf: return skip_constructor_update_read_history_outbox (T); - case 0x2cc36971: return skip_constructor_update_web_page (T); - case 0x68c13933: return skip_constructor_update_read_messages_contents (T); - case 0x03114739: return skip_constructor_update_msg_update (T); - default: return -1; - } -} -int skip_type_bare_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_update_new_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_message_i_d (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_delete_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_typing (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_user_typing (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participants (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_status (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_name (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_contact_registered (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_contact_link (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_authorization (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_geo_chat_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_new_encrypted_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encrypted_chat_typing (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encryption (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_encrypted_messages_read (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participant_add (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_chat_participant_delete (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_dc_options (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_blocked (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_notify_settings (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_service_notification (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_privacy (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_user_phone (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_history_inbox (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_history_outbox (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_web_page (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_read_messages_contents (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_msg_update (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_updates (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xe317af7e: return skip_constructor_updates_too_long (T); - case 0xed5c2127: return skip_constructor_update_short_message (T); - case 0x52238b3c: return skip_constructor_update_short_chat_message (T); - case 0x78d4dec1: return skip_constructor_update_short (T); - case 0x725b04c3: return skip_constructor_updates_combined (T); - case 0x74ae4240: return skip_constructor_updates (T); - default: return -1; - } -} -int skip_type_bare_updates (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_updates_too_long (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short_chat_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_update_short (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_combined (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_user (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x200250ba: return skip_constructor_user_empty (T); - case 0x22e49072: return skip_constructor_user (T); - default: return -1; - } -} -int skip_type_bare_user (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_user_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5a89ac5b: return skip_constructor_user_full (T); - default: return -1; - } -} -int skip_type_bare_user_full (struct paramed_type *T) { - if (skip_constructor_user_full (T) >= 0) { return 0; } - return -1; -} -int skip_type_user_profile_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x4f11bae1: return skip_constructor_user_profile_photo_empty (T); - case 0xd559d8c8: return skip_constructor_user_profile_photo (T); - default: return -1; - } -} -int skip_type_bare_user_profile_photo (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_profile_photo_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_profile_photo (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_user_status (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x09d05049: return skip_constructor_user_status_empty (T); - case 0xedb93949: return skip_constructor_user_status_online (T); - case 0x008c703f: return skip_constructor_user_status_offline (T); - case 0xe26f42f1: return skip_constructor_user_status_recently (T); - case 0x07bf09fc: return skip_constructor_user_status_last_week (T); - case 0x77ebc742: return skip_constructor_user_status_last_month (T); - default: return -1; - } -} -int skip_type_bare_user_status (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_user_status_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_online (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_offline (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_recently (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_last_week (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_user_status_last_month (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_vector (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1cb5c415: return skip_constructor_vector (T); - default: return -1; - } -} -int skip_type_bare_vector (struct paramed_type *T) { - if (skip_constructor_vector (T) >= 0) { return 0; } - return -1; -} -int skip_type_video (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc10658a8: return skip_constructor_video_empty (T); - case 0xee9f4a4d: return skip_constructor_video (T); - case 0x388fa391: return skip_constructor_video_l27 (T); - default: return -1; - } -} -int skip_type_bare_video (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_video_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_video (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_video_l27 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_wall_paper (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xccb03657: return skip_constructor_wall_paper (T); - case 0x63117f24: return skip_constructor_wall_paper_solid (T); - default: return -1; - } -} -int skip_type_bare_wall_paper (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_wall_paper (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_wall_paper_solid (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_web_page (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xeb1477e8: return skip_constructor_web_page_empty (T); - case 0xc586da1c: return skip_constructor_web_page_pending (T); - case 0xa31ea0b5: return skip_constructor_web_page (T); - default: return -1; - } -} -int skip_type_bare_web_page (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_web_page_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_web_page_pending (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_web_page (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_account_authorizations (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1250abde: return skip_constructor_account_authorizations (T); - default: return -1; - } -} -int skip_type_bare_account_authorizations (struct paramed_type *T) { - if (skip_constructor_account_authorizations (T) >= 0) { return 0; } - return -1; -} -int skip_type_account_password (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x96dabc18: return skip_constructor_account_no_password (T); - case 0x7c18141c: return skip_constructor_account_password (T); - default: return -1; - } -} -int skip_type_bare_account_password (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_account_no_password (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_account_password (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_account_password_input_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xbcfc532c: return skip_constructor_account_password_input_settings (T); - default: return -1; - } -} -int skip_type_bare_account_password_input_settings (struct paramed_type *T) { - if (skip_constructor_account_password_input_settings (T) >= 0) { return 0; } - return -1; -} -int skip_type_account_password_settings (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb7b72ab3: return skip_constructor_account_password_settings (T); - default: return -1; - } -} -int skip_type_bare_account_password_settings (struct paramed_type *T) { - if (skip_constructor_account_password_settings (T) >= 0) { return 0; } - return -1; -} -int skip_type_account_privacy_rules (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x554abb6f: return skip_constructor_account_privacy_rules (T); - default: return -1; - } -} -int skip_type_bare_account_privacy_rules (struct paramed_type *T) { - if (skip_constructor_account_privacy_rules (T) >= 0) { return 0; } - return -1; -} -int skip_type_account_sent_change_phone_code (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa4f58c4c: return skip_constructor_account_sent_change_phone_code (T); - default: return -1; - } -} -int skip_type_bare_account_sent_change_phone_code (struct paramed_type *T) { - if (skip_constructor_account_sent_change_phone_code (T) >= 0) { return 0; } - return -1; -} -int skip_type_auth_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xff036af1: return skip_constructor_auth_authorization (T); - default: return -1; - } -} -int skip_type_bare_auth_authorization (struct paramed_type *T) { - if (skip_constructor_auth_authorization (T) >= 0) { return 0; } - return -1; -} -int skip_type_auth_checked_phone (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x811ea28e: return skip_constructor_auth_checked_phone (T); - default: return -1; - } -} -int skip_type_bare_auth_checked_phone (struct paramed_type *T) { - if (skip_constructor_auth_checked_phone (T) >= 0) { return 0; } - return -1; -} -int skip_type_auth_exported_authorization (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xdf969c2d: return skip_constructor_auth_exported_authorization (T); - default: return -1; - } -} -int skip_type_bare_auth_exported_authorization (struct paramed_type *T) { - if (skip_constructor_auth_exported_authorization (T) >= 0) { return 0; } - return -1; -} -int skip_type_auth_password_recovery (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x137948a5: return skip_constructor_auth_password_recovery (T); - default: return -1; - } -} -int skip_type_bare_auth_password_recovery (struct paramed_type *T) { - if (skip_constructor_auth_password_recovery (T) >= 0) { return 0; } - return -1; -} -int skip_type_auth_sent_code (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xefed51d9: return skip_constructor_auth_sent_code (T); - case 0xe325edcf: return skip_constructor_auth_sent_app_code (T); - default: return -1; - } -} -int skip_type_bare_auth_sent_code (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_auth_sent_code (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_auth_sent_app_code (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_binlog_encr_key (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0377168f: return skip_constructor_binlog_encr_key (T); - default: return -1; - } -} -int skip_type_bare_binlog_encr_key (struct paramed_type *T) { - if (skip_constructor_binlog_encr_key (T) >= 0) { return 0; } - return -1; -} -int skip_type_binlog_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3b06de69: return skip_constructor_binlog_start (T); - case 0xf96feb32: return skip_constructor_binlog_dc_option (T); - case 0x7c0d22d8: return skip_constructor_binlog_dc_option_new (T); - case 0x71e8c156: return skip_constructor_binlog_auth_key (T); - case 0x9e83dbdc: return skip_constructor_binlog_default_dc (T); - case 0x26451bb5: return skip_constructor_binlog_dc_signed (T); - case 0x68a870e8: return skip_constructor_binlog_our_id (T); - case 0xeaeb7826: return skip_constructor_binlog_set_dh_params (T); - case 0x2ca8c939: return skip_constructor_binlog_set_pts (T); - case 0xd95738ac: return skip_constructor_binlog_set_qts (T); - case 0x1d0f4b52: return skip_constructor_binlog_set_date (T); - case 0x6eeb2989: return skip_constructor_binlog_set_seq (T); - case 0xee1b38e8: return skip_constructor_binlog_encr_chat_delete (T); - case 0x84977251: return skip_constructor_binlog_encr_chat_new (T); - case 0x9d49488d: return skip_constructor_binlog_encr_chat_exchange_new (T); - case 0xac55d447: return skip_constructor_binlog_user_delete (T); - case 0x127cf2f9: return skip_constructor_binlog_user_new (T); - case 0x0a10aa92: return skip_constructor_binlog_chat_new (T); - case 0x535475ea: return skip_constructor_binlog_chat_add_participant (T); - case 0x7dd1a1a2: return skip_constructor_binlog_chat_del_participant (T); - case 0x3c873416: return skip_constructor_binlog_set_msg_id (T); - case 0x847e77b1: return skip_constructor_binlog_message_delete (T); - case 0x427cfcdb: return skip_constructor_binlog_message_new (T); - case 0x6cf7cabc: return skip_constructor_binlog_message_encr_new (T); - case 0x6dd4d85f: return skip_constructor_binlog_msg_update (T); - case 0x83327955: return skip_constructor_binlog_reset_authorization (T); - default: return -1; - } -} -int skip_type_bare_binlog_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_binlog_start (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_option (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_option_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_auth_key (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_default_dc (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_dc_signed (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_our_id (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_dh_params (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_pts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_qts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_date (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_seq (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_delete (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_encr_chat_exchange_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_user_delete (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_user_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_add_participant (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_chat_del_participant (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_set_msg_id (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_delete (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_message_encr_new (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_msg_update (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_binlog_reset_authorization (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_contacts_blocked (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x1c138d15: return skip_constructor_contacts_blocked (T); - case 0x900802a1: return skip_constructor_contacts_blocked_slice (T); - default: return -1; - } -} -int skip_type_bare_contacts_blocked (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contacts_blocked (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contacts_blocked_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_contacts_contacts (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb74ba9d2: return skip_constructor_contacts_contacts_not_modified (T); - case 0x6f8b8cb2: return skip_constructor_contacts_contacts (T); - default: return -1; - } -} -int skip_type_bare_contacts_contacts (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_contacts_contacts_not_modified (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_contacts_contacts (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_contacts_found (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x0566000e: return skip_constructor_contacts_found (T); - default: return -1; - } -} -int skip_type_bare_contacts_found (struct paramed_type *T) { - if (skip_constructor_contacts_found (T) >= 0) { return 0; } - return -1; -} -int skip_type_contacts_imported_contacts (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xad524315: return skip_constructor_contacts_imported_contacts (T); - default: return -1; - } -} -int skip_type_bare_contacts_imported_contacts (struct paramed_type *T) { - if (skip_constructor_contacts_imported_contacts (T) >= 0) { return 0; } - return -1; -} -int skip_type_contacts_link (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3ace484c: return skip_constructor_contacts_link (T); - default: return -1; - } -} -int skip_type_bare_contacts_link (struct paramed_type *T) { - if (skip_constructor_contacts_link (T) >= 0) { return 0; } - return -1; -} -int skip_type_contacts_suggested (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5649dcc5: return skip_constructor_contacts_suggested (T); - default: return -1; - } -} -int skip_type_bare_contacts_suggested (struct paramed_type *T) { - if (skip_constructor_contacts_suggested (T) >= 0) { return 0; } - return -1; -} -int skip_type_geochats_located (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x48feb267: return skip_constructor_geochats_located (T); - default: return -1; - } -} -int skip_type_bare_geochats_located (struct paramed_type *T) { - if (skip_constructor_geochats_located (T) >= 0) { return 0; } - return -1; -} -int skip_type_geochats_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xd1526db1: return skip_constructor_geochats_messages (T); - case 0xbc5863e8: return skip_constructor_geochats_messages_slice (T); - default: return -1; - } -} -int skip_type_bare_geochats_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_geochats_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_geochats_messages_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_geochats_stated_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x17b1578b: return skip_constructor_geochats_stated_message (T); - default: return -1; - } -} -int skip_type_bare_geochats_stated_message (struct paramed_type *T) { - if (skip_constructor_geochats_stated_message (T) >= 0) { return 0; } - return -1; -} -int skip_type_help_app_update (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x8987f311: return skip_constructor_help_app_update (T); - case 0xc45a6536: return skip_constructor_help_no_app_update (T); - default: return -1; - } -} -int skip_type_bare_help_app_update (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_help_app_update (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_help_no_app_update (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_help_invite_text (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x18cb9f78: return skip_constructor_help_invite_text (T); - default: return -1; - } -} -int skip_type_bare_help_invite_text (struct paramed_type *T) { - if (skip_constructor_help_invite_text (T) >= 0) { return 0; } - return -1; -} -int skip_type_help_support (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x17c6b5f6: return skip_constructor_help_support (T); - default: return -1; - } -} -int skip_type_bare_help_support (struct paramed_type *T) { - if (skip_constructor_help_support (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_affected_history (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb45c69d1: return skip_constructor_messages_affected_history (T); - default: return -1; - } -} -int skip_type_bare_messages_affected_history (struct paramed_type *T) { - if (skip_constructor_messages_affected_history (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_affected_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x84d19185: return skip_constructor_messages_affected_messages (T); - default: return -1; - } -} -int skip_type_bare_messages_affected_messages (struct paramed_type *T) { - if (skip_constructor_messages_affected_messages (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_all_stickers (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xe86602c3: return skip_constructor_messages_all_stickers_not_modified (T); - case 0x5ce352ec: return skip_constructor_messages_all_stickers (T); - default: return -1; - } -} -int skip_type_bare_messages_all_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_all_stickers_not_modified (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_all_stickers (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_chat_full (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xe5d7d19c: return skip_constructor_messages_chat_full (T); - default: return -1; - } -} -int skip_type_bare_messages_chat_full (struct paramed_type *T) { - if (skip_constructor_messages_chat_full (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_chats (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x64ff9fd5: return skip_constructor_messages_chats (T); - default: return -1; - } -} -int skip_type_bare_messages_chats (struct paramed_type *T) { - if (skip_constructor_messages_chats (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_dh_config (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xc0e24635: return skip_constructor_messages_dh_config_not_modified (T); - case 0x2c221edd: return skip_constructor_messages_dh_config (T); - default: return -1; - } -} -int skip_type_bare_messages_dh_config (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_dh_config_not_modified (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_dh_config (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_dialogs (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x15ba6c40: return skip_constructor_messages_dialogs (T); - case 0x71e094f3: return skip_constructor_messages_dialogs_slice (T); - default: return -1; - } -} -int skip_type_bare_messages_dialogs (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_dialogs (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_dialogs_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x3f4e0648: return skip_constructor_messages_message_empty (T); - default: return -1; - } -} -int skip_type_bare_messages_message (struct paramed_type *T) { - if (skip_constructor_messages_message_empty (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_messages (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x8c718e87: return skip_constructor_messages_messages (T); - case 0x0b446ae3: return skip_constructor_messages_messages_slice (T); - default: return -1; - } -} -int skip_type_bare_messages_messages (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_messages (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_messages_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_sent_encrypted_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x560f8935: return skip_constructor_messages_sent_encrypted_message (T); - case 0x9493ff32: return skip_constructor_messages_sent_encrypted_file (T); - default: return -1; - } -} -int skip_type_bare_messages_sent_encrypted_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_sent_encrypted_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_sent_encrypted_file (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_sent_message (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x4c3d47f3: return skip_constructor_messages_sent_message (T); - case 0x35a1a663: return skip_constructor_messages_sent_message_link (T); - default: return -1; - } -} -int skip_type_bare_messages_sent_message (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_sent_message (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_sent_message_link (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_messages_sticker_set (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xb60a24a6: return skip_constructor_messages_sticker_set (T); - default: return -1; - } -} -int skip_type_bare_messages_sticker_set (struct paramed_type *T) { - if (skip_constructor_messages_sticker_set (T) >= 0) { return 0; } - return -1; -} -int skip_type_messages_stickers (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xf1749a22: return skip_constructor_messages_stickers_not_modified (T); - case 0x8a8ecd32: return skip_constructor_messages_stickers (T); - default: return -1; - } -} -int skip_type_bare_messages_stickers (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_messages_stickers_not_modified (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_messages_stickers (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_photos_photo (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x20212ca8: return skip_constructor_photos_photo (T); - default: return -1; - } -} -int skip_type_bare_photos_photo (struct paramed_type *T) { - if (skip_constructor_photos_photo (T) >= 0) { return 0; } - return -1; -} -int skip_type_photos_photos (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x8dca6aa5: return skip_constructor_photos_photos (T); - case 0x15051f54: return skip_constructor_photos_photos_slice (T); - default: return -1; - } -} -int skip_type_bare_photos_photos (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_photos_photos (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_photos_photos_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_storage_file_type (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xaa963b05: return skip_constructor_storage_file_unknown (T); - case 0x007efe0e: return skip_constructor_storage_file_jpeg (T); - case 0xcae1aadf: return skip_constructor_storage_file_gif (T); - case 0x0a4f63c0: return skip_constructor_storage_file_png (T); - case 0xae1e508d: return skip_constructor_storage_file_pdf (T); - case 0x528a0677: return skip_constructor_storage_file_mp3 (T); - case 0x4b09ebbc: return skip_constructor_storage_file_mov (T); - case 0x40bc6f52: return skip_constructor_storage_file_partial (T); - case 0xb3cea0e4: return skip_constructor_storage_file_mp4 (T); - case 0x1081464c: return skip_constructor_storage_file_webp (T); - default: return -1; - } -} -int skip_type_bare_storage_file_type (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_storage_file_unknown (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_jpeg (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_gif (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_png (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_pdf (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mp3 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mov (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_partial (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_mp4 (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_storage_file_webp (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_updates_difference (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x5d75a138: return skip_constructor_updates_difference_empty (T); - case 0x00f49ca0: return skip_constructor_updates_difference (T); - case 0xa8fb1981: return skip_constructor_updates_difference_slice (T); - default: return -1; - } -} -int skip_type_bare_updates_difference (struct paramed_type *T) { - int *save_in_ptr = in_ptr; - if (skip_constructor_updates_difference_empty (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_difference (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - if (skip_constructor_updates_difference_slice (T) >= 0) { return 0; } - in_ptr = save_in_ptr; - return -1; -} -int skip_type_updates_state (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0xa56c2a3e: return skip_constructor_updates_state (T); - default: return -1; - } -} -int skip_type_bare_updates_state (struct paramed_type *T) { - if (skip_constructor_updates_state (T) >= 0) { return 0; } - return -1; -} -int skip_type_upload_file (struct paramed_type *T) { - if (in_remaining () < 4) { return -1;} - int magic = fetch_int (); - switch (magic) { - case 0x096a18d5: return skip_constructor_upload_file (T); - default: return -1; - } -} -int skip_type_bare_upload_file (struct paramed_type *T) { - if (skip_constructor_upload_file (T) >= 0) { return 0; } - return -1; -} -int skip_type_any (struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return skip_type_account_days_t_t_l (T); - case 0x472f5020: return skip_type_bare_account_days_t_t_l (T); - case 0x9fc5ec4e: return skip_type_audio (T); - case 0x603a13b1: return skip_type_bare_audio (T); - case 0x7bf2e6f6: return skip_type_authorization (T); - case 0x840d1909: return skip_type_bare_authorization (T); - case 0x250be282: return skip_type_bool (T); - case 0xdaf41d7d: return skip_type_bare_bool (T); - case 0x75e7ea6c: return skip_type_bot_command (T); - case 0x8a181593: return skip_type_bare_bot_command (T); - case 0xb2e16f93: return skip_type_bot_info (T); - case 0x4d1e906c: return skip_type_bare_bot_info (T); - case 0x0ee1379f: return skip_type_bytes (T); - case 0xf11ec860: return skip_type_bare_bytes (T); - case 0x7bd865dc: return skip_type_chat (T); - case 0x84279a23: return skip_type_bare_chat (T); - case 0x2e02a614: return skip_type_chat_full (T); - case 0xd1fd59eb: return skip_type_bare_chat_full (T); - case 0x94f910b1: return skip_type_chat_invite (T); - case 0x6b06ef4e: return skip_type_bare_chat_invite (T); - case 0x3631cf4c: return skip_type_chat_located (T); - case 0xc9ce30b3: return skip_type_bare_chat_located (T); - case 0xc8d7493e: return skip_type_chat_participant (T); - case 0x3728b6c1: return skip_type_bare_chat_participant (T); - case 0x77930f9f: return skip_type_chat_participants (T); - case 0x886cf060: return skip_type_bare_chat_participants (T); - case 0x56922676: return skip_type_chat_photo (T); - case 0xa96dd989: return skip_type_bare_chat_photo (T); - case 0x6643b654: return skip_type_client_d_h_inner_data (T); - case 0x99bc49ab: return skip_type_bare_client_d_h_inner_data (T); - case 0x4e32b894: return skip_type_config (T); - case 0xb1cd476b: return skip_type_bare_config (T); - case 0xf911c994: return skip_type_contact (T); - case 0x06ee366b: return skip_type_bare_contact (T); - case 0x561bc879: return skip_type_contact_blocked (T); - case 0xa9e43786: return skip_type_bare_contact_blocked (T); - case 0xea879f95: return skip_type_contact_found (T); - case 0x1578606a: return skip_type_bare_contact_found (T); - case 0x522fbc63: return skip_type_contact_link (T); - case 0xadd0439c: return skip_type_bare_contact_link (T); - case 0xd3680c61: return skip_type_contact_status (T); - case 0x2c97f39e: return skip_type_bare_contact_status (T); - case 0x3de191a1: return skip_type_contact_suggested (T); - case 0xc21e6e5e: return skip_type_bare_contact_suggested (T); - case 0x2b1a62f0: return skip_type_dc_option (T); - case 0xd4e59d0f: return skip_type_bare_dc_option (T); - case 0x535b7918: return skip_type_decrypted_message (T); - case 0xaca486e7: return skip_type_bare_decrypted_message (T); - case 0x4e0eefde: return skip_type_decrypted_message_action (T); - case 0xb1f11021: return skip_type_bare_decrypted_message_action (T); - case 0x1be31789: return skip_type_decrypted_message_layer (T); - case 0xe41ce876: return skip_type_bare_decrypted_message_layer (T); - case 0x34e0d674: return skip_type_decrypted_message_media (T); - case 0xcb1f298b: return skip_type_bare_decrypted_message_media (T); - case 0xc1dd804a: return skip_type_dialog (T); - case 0x3e227fb5: return skip_type_bare_dialog (T); - case 0xae636f24: return skip_type_disabled_feature (T); - case 0x519c90db: return skip_type_bare_disabled_feature (T); - case 0x51a73418: return skip_type_document (T); - case 0xae58cbe7: return skip_type_bare_document (T); - case 0x97c637a3: return skip_type_document_attribute (T); - case 0x6839c85c: return skip_type_bare_document_attribute (T); - case 0x2210c154: return skip_type_double (T); - case 0xddef3eab: return skip_type_bare_double (T); - case 0xb1718213: return skip_type_encrypted_chat (T); - case 0x4e8e7dec: return skip_type_bare_encrypted_chat (T); - case 0x886fd032: return skip_type_encrypted_file (T); - case 0x77902fcd: return skip_type_bare_encrypted_file (T); - case 0xce6b8a1e: return skip_type_encrypted_message (T); - case 0x319475e1: return skip_type_bare_encrypted_message (T); - case 0xc4b9f9bb: return skip_type_error (T); - case 0x3b460644: return skip_type_bare_error (T); - case 0x95f132d5: return skip_type_exported_chat_invite (T); - case 0x6a0ecd2a: return skip_type_bare_exported_chat_invite (T); - case 0x2f8ffb30: return skip_type_file_location (T); - case 0xd07004cf: return skip_type_bare_file_location (T); - case 0xf67b4034: return skip_type_geo_chat_message (T); - case 0x0984bfcb: return skip_type_bare_geo_chat_message (T); - case 0x315e0a53: return skip_type_geo_point (T); - case 0xcea1f5ac: return skip_type_bare_geo_point (T); - case 0xd0028438: return skip_type_imported_contact (T); - case 0x2ffd7bc7: return skip_type_bare_imported_contact (T); - case 0x770656a8: return skip_type_input_app_event (T); - case 0x88f9a957: return skip_type_bare_input_app_event (T); - case 0xae8e9c7b: return skip_type_input_audio (T); - case 0x51716384: return skip_type_bare_input_audio (T); - case 0x3a60776d: return skip_type_input_chat_photo (T); - case 0xc59f8892: return skip_type_bare_input_chat_photo (T); - case 0xf392b7f4: return skip_type_input_contact (T); - case 0x0c6d480b: return skip_type_bare_input_contact (T); - case 0x6a8963fc: return skip_type_input_document (T); - case 0x95769c03: return skip_type_bare_input_document (T); - case 0xf141b5e1: return skip_type_input_encrypted_chat (T); - case 0x0ebe4a1e: return skip_type_bare_input_encrypted_chat (T); - case 0x0b5c064f: return skip_type_input_encrypted_file (T); - case 0xf4a3f9b0: return skip_type_bare_input_encrypted_file (T); - case 0x0f60f9ca: return skip_type_input_file (T); - case 0xf09f0635: return skip_type_bare_input_file (T); - case 0xe6daa38b: return skip_type_input_file_location (T); - case 0x19255c74: return skip_type_bare_input_file_location (T); - case 0x74d456fa: return skip_type_input_geo_chat (T); - case 0x8b2ba905: return skip_type_bare_input_geo_chat (T); - case 0x17768f1f: return skip_type_input_geo_point (T); - case 0xe88970e0: return skip_type_bare_input_geo_point (T); - case 0xb32c91dd: return skip_type_input_media (T); - case 0x4cd36e22: return skip_type_bare_input_media (T); - case 0x02b6911b: return skip_type_input_notify_peer (T); - case 0xfd496ee4: return skip_type_bare_input_notify_peer (T); - case 0x9e67268d: return skip_type_input_peer (T); - case 0x6198d972: return skip_type_bare_input_peer (T); - case 0x185a48ac: return skip_type_input_peer_notify_events (T); - case 0xe7a5b753: return skip_type_bare_input_peer_notify_events (T); - case 0x46a2ce98: return skip_type_input_peer_notify_settings (T); - case 0xb95d3167: return skip_type_bare_input_peer_notify_settings (T); - case 0xe74279c9: return skip_type_input_photo (T); - case 0x18bd8636: return skip_type_bare_input_photo (T); - case 0x7477e321: return skip_type_input_photo_crop (T); - case 0x8b881cde: return skip_type_bare_input_photo_crop (T); - case 0x4f96cb18: return skip_type_input_privacy_key (T); - case 0xb06934e7: return skip_type_bare_input_privacy_key (T); - case 0x4b815163: return skip_type_input_privacy_rule (T); - case 0xb47eae9c: return skip_type_bare_input_privacy_rule (T); - case 0xe44d415c: return skip_type_input_sticker_set (T); - case 0x1bb2bea3: return skip_type_bare_input_sticker_set (T); - case 0xadfe0c6a: return skip_type_input_user (T); - case 0x5201f395: return skip_type_bare_input_user (T); - case 0xbb5f7a27: return skip_type_input_video (T); - case 0x44a085d8: return skip_type_bare_input_video (T); - case 0xa8509bda: return skip_type_int (T); - case 0x57af6425: return skip_type_bare_int (T); - case 0x7d36c439: return skip_type_int128 (T); - case 0x82c93bc6: return skip_type_bare_int128 (T); - case 0xf2c798b3: return skip_type_int256 (T); - case 0x0d38674c: return skip_type_bare_int256 (T); - case 0xa2fa4880: return skip_type_keyboard_button (T); - case 0x5d05b77f: return skip_type_bare_keyboard_button (T); - case 0x77608b83: return skip_type_keyboard_button_row (T); - case 0x889f747c: return skip_type_bare_keyboard_button_row (T); - case 0x22076cba: return skip_type_long (T); - case 0xddf89345: return skip_type_bare_long (T); - case 0x5d652a7f: return skip_type_message (T); - case 0xa29ad580: return skip_type_bare_message (T); - case 0x383415fa: return skip_type_message_action (T); - case 0xc7cbea05: return skip_type_bare_message_action (T); - case 0x95f2471a: return skip_type_message_media (T); - case 0x6a0db8e5: return skip_type_bare_message_media (T); - case 0x80895ae0: return skip_type_messages_filter (T); - case 0x7f76a51f: return skip_type_bare_messages_filter (T); - case 0x8e1a1775: return skip_type_nearest_dc (T); - case 0x71e5e88a: return skip_type_bare_nearest_dc (T); - case 0x9fcb8237: return skip_type_notify_peer (T); - case 0x60347dc8: return skip_type_bare_notify_peer (T); - case 0x56730bcc: return skip_type_null (T); - case 0xa98cf433: return skip_type_bare_null (T); - case 0xbfa3de38: return skip_type_p_q_inner_data (T); - case 0x405c21c7: return skip_type_bare_p_q_inner_data (T); - case 0x276159d6: return skip_type_peer (T); - case 0xd89ea629: return skip_type_bare_peer (T); - case 0xc0c8d13b: return skip_type_peer_notify_events (T); - case 0x3f372ec4: return skip_type_bare_peer_notify_events (T); - case 0xfdf894fc: return skip_type_peer_notify_settings (T); - case 0x02076b03: return skip_type_bare_peer_notify_settings (T); - case 0xc207550a: return skip_type_photo (T); - case 0x3df8aaf5: return skip_type_bare_photo (T); - case 0x900f60dd: return skip_type_photo_size (T); - case 0x6ff09f22: return skip_type_bare_photo_size (T); - case 0xbc2eab30: return skip_type_privacy_key (T); - case 0x43d154cf: return skip_type_bare_privacy_key (T); - case 0xa8638aec: return skip_type_privacy_rule (T); - case 0x579c7513: return skip_type_bare_privacy_rule (T); - case 0xa384b779: return skip_type_received_notify_message (T); - case 0x5c7b4886: return skip_type_bare_received_notify_message (T); - case 0x612ca4a9: return skip_type_reply_markup (T); - case 0x9ed35b56: return skip_type_bare_reply_markup (T); - case 0x05162463: return skip_type_res_p_q (T); - case 0xfae9db9c: return skip_type_bare_res_p_q (T); - case 0x70541c7e: return skip_type_send_message_action (T); - case 0x8fabe381: return skip_type_bare_send_message_action (T); - case 0xa9230301: return skip_type_server_d_h_params (T); - case 0x56dcfcfe: return skip_type_bare_server_d_h_params (T); - case 0xb5890dba: return skip_type_server_d_h_inner_data (T); - case 0x4a76f245: return skip_type_bare_server_d_h_inner_data (T); - case 0xdb8a468f: return skip_type_set_client_d_h_params_answer (T); - case 0x2475b970: return skip_type_bare_set_client_d_h_params_answer (T); - case 0x12b299d4: return skip_type_sticker_pack (T); - case 0xed4d662b: return skip_type_bare_sticker_pack (T); - case 0xa7a43b17: return skip_type_sticker_set (T); - case 0x585bc4e8: return skip_type_bare_sticker_set (T); - case 0xb5286e24: return skip_type_string (T); - case 0x4ad791db: return skip_type_bare_string (T); - case 0x2e02b27e: return skip_type_update (T); - case 0xd1fd4d81: return skip_type_bare_update (T); - case 0x22499d27: return skip_type_updates (T); - case 0xddb662d8: return skip_type_bare_updates (T); - case 0x02e6c0c8: return skip_type_user (T); - case 0xfd193f37: return skip_type_bare_user (T); - case 0x5a89ac5b: return skip_type_user_full (T); - case 0xa57653a4: return skip_type_bare_user_full (T); - case 0x9a486229: return skip_type_user_profile_photo (T); - case 0x65b79dd6: return skip_type_bare_user_profile_photo (T); - case 0x76de9570: return skip_type_user_status (T); - case 0x89216a8f: return skip_type_bare_user_status (T); - case 0x1cb5c415: return skip_type_vector (T); - case 0xe34a3bea: return skip_type_bare_vector (T); - case 0x1716b174: return skip_type_video (T); - case 0xe8e94e8b: return skip_type_bare_video (T); - case 0xafa14973: return skip_type_wall_paper (T); - case 0x505eb68c: return skip_type_bare_wall_paper (T); - case 0x8d8c0d41: return skip_type_web_page (T); - case 0x7273f2be: return skip_type_bare_web_page (T); - case 0x1250abde: return skip_type_account_authorizations (T); - case 0xedaf5421: return skip_type_bare_account_authorizations (T); - case 0xeac2a804: return skip_type_account_password (T); - case 0x153d57fb: return skip_type_bare_account_password (T); - case 0xbcfc532c: return skip_type_account_password_input_settings (T); - case 0x4303acd3: return skip_type_bare_account_password_input_settings (T); - case 0xb7b72ab3: return skip_type_account_password_settings (T); - case 0x4848d54c: return skip_type_bare_account_password_settings (T); - case 0x554abb6f: return skip_type_account_privacy_rules (T); - case 0xaab54490: return skip_type_bare_account_privacy_rules (T); - case 0xa4f58c4c: return skip_type_account_sent_change_phone_code (T); - case 0x5b0a73b3: return skip_type_bare_account_sent_change_phone_code (T); - case 0xff036af1: return skip_type_auth_authorization (T); - case 0x00fc950e: return skip_type_bare_auth_authorization (T); - case 0x811ea28e: return skip_type_auth_checked_phone (T); - case 0x7ee15d71: return skip_type_bare_auth_checked_phone (T); - case 0xdf969c2d: return skip_type_auth_exported_authorization (T); - case 0x206963d2: return skip_type_bare_auth_exported_authorization (T); - case 0x137948a5: return skip_type_auth_password_recovery (T); - case 0xec86b75a: return skip_type_bare_auth_password_recovery (T); - case 0x0cc8bc16: return skip_type_auth_sent_code (T); - case 0xf33743e9: return skip_type_bare_auth_sent_code (T); - case 0x0377168f: return skip_type_binlog_encr_key (T); - case 0xfc88e970: return skip_type_bare_binlog_encr_key (T); - case 0x66ff03a6: return skip_type_binlog_update (T); - case 0x9900fc59: return skip_type_bare_binlog_update (T); - case 0x8c1b8fb4: return skip_type_contacts_blocked (T); - case 0x73e4704b: return skip_type_bare_contacts_blocked (T); - case 0xd8c02560: return skip_type_contacts_contacts (T); - case 0x273fda9f: return skip_type_bare_contacts_contacts (T); - case 0x0566000e: return skip_type_contacts_found (T); - case 0xfa99fff1: return skip_type_bare_contacts_found (T); - case 0xad524315: return skip_type_contacts_imported_contacts (T); - case 0x52adbcea: return skip_type_bare_contacts_imported_contacts (T); - case 0x3ace484c: return skip_type_contacts_link (T); - case 0xc531b7b3: return skip_type_bare_contacts_link (T); - case 0x5649dcc5: return skip_type_contacts_suggested (T); - case 0xa9b6233a: return skip_type_bare_contacts_suggested (T); - case 0x48feb267: return skip_type_geochats_located (T); - case 0xb7014d98: return skip_type_bare_geochats_located (T); - case 0x6d0a0e59: return skip_type_geochats_messages (T); - case 0x92f5f1a6: return skip_type_bare_geochats_messages (T); - case 0x17b1578b: return skip_type_geochats_stated_message (T); - case 0xe84ea874: return skip_type_bare_geochats_stated_message (T); - case 0x4ddd9627: return skip_type_help_app_update (T); - case 0xb22269d8: return skip_type_bare_help_app_update (T); - case 0x18cb9f78: return skip_type_help_invite_text (T); - case 0xe7346087: return skip_type_bare_help_invite_text (T); - case 0x17c6b5f6: return skip_type_help_support (T); - case 0xe8394a09: return skip_type_bare_help_support (T); - case 0xb45c69d1: return skip_type_messages_affected_history (T); - case 0x4ba3962e: return skip_type_bare_messages_affected_history (T); - case 0x84d19185: return skip_type_messages_affected_messages (T); - case 0x7b2e6e7a: return skip_type_bare_messages_affected_messages (T); - case 0xb485502f: return skip_type_messages_all_stickers (T); - case 0x4b7aafd0: return skip_type_bare_messages_all_stickers (T); - case 0xe5d7d19c: return skip_type_messages_chat_full (T); - case 0x1a282e63: return skip_type_bare_messages_chat_full (T); - case 0x64ff9fd5: return skip_type_messages_chats (T); - case 0x9b00602a: return skip_type_bare_messages_chats (T); - case 0xecc058e8: return skip_type_messages_dh_config (T); - case 0x133fa717: return skip_type_bare_messages_dh_config (T); - case 0x645af8b3: return skip_type_messages_dialogs (T); - case 0x9ba5074c: return skip_type_bare_messages_dialogs (T); - case 0x3f4e0648: return skip_type_messages_message (T); - case 0xc0b1f9b7: return skip_type_bare_messages_message (T); - case 0x8735e464: return skip_type_messages_messages (T); - case 0x78ca1b9b: return skip_type_bare_messages_messages (T); - case 0xc29c7607: return skip_type_messages_sent_encrypted_message (T); - case 0x3d6389f8: return skip_type_bare_messages_sent_encrypted_message (T); - case 0x799ce190: return skip_type_messages_sent_message (T); - case 0x86631e6f: return skip_type_bare_messages_sent_message (T); - case 0xb60a24a6: return skip_type_messages_sticker_set (T); - case 0x49f5db59: return skip_type_bare_messages_sticker_set (T); - case 0x7bfa5710: return skip_type_messages_stickers (T); - case 0x8405a8ef: return skip_type_bare_messages_stickers (T); - case 0x20212ca8: return skip_type_photos_photo (T); - case 0xdfded357: return skip_type_bare_photos_photo (T); - case 0x98cf75f1: return skip_type_photos_photos (T); - case 0x67308a0e: return skip_type_bare_photos_photos (T); - case 0x3e2838a8: return skip_type_storage_file_type (T); - case 0xc1d7c757: return skip_type_bare_storage_file_type (T); - case 0xf57a2419: return skip_type_updates_difference (T); - case 0x0a85dbe6: return skip_type_bare_updates_difference (T); - case 0xa56c2a3e: return skip_type_updates_state (T); - case 0x5a93d5c1: return skip_type_bare_updates_state (T); - case 0x096a18d5: return skip_type_upload_file (T); - case 0xf695e72a: return skip_type_bare_upload_file (T); - default: return -1; } -} diff --git a/libs/tgl/src/auto/auto-skip.h b/libs/tgl/src/auto/auto-skip.h deleted file mode 100644 index f26a800b1a..0000000000 --- a/libs/tgl/src/auto/auto-skip.h +++ /dev/null @@ -1,714 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -#include -int skip_constructor_account_days_t_t_l (struct paramed_type *T); -int skip_constructor_audio_empty (struct paramed_type *T); -int skip_constructor_audio (struct paramed_type *T); -int skip_constructor_authorization (struct paramed_type *T); -int skip_constructor_bool_false (struct paramed_type *T); -int skip_constructor_bool_true (struct paramed_type *T); -int skip_constructor_bot_command (struct paramed_type *T); -int skip_constructor_bot_command_old (struct paramed_type *T); -int skip_constructor_bot_info_empty (struct paramed_type *T); -int skip_constructor_bot_info (struct paramed_type *T); -int skip_constructor_bytes (struct paramed_type *T); -int skip_constructor_chat_empty (struct paramed_type *T); -int skip_constructor_chat (struct paramed_type *T); -int skip_constructor_chat_forbidden (struct paramed_type *T); -int skip_constructor_geo_chat (struct paramed_type *T); -int skip_constructor_chat_full (struct paramed_type *T); -int skip_constructor_chat_invite_already (struct paramed_type *T); -int skip_constructor_chat_invite (struct paramed_type *T); -int skip_constructor_chat_located (struct paramed_type *T); -int skip_constructor_chat_participant (struct paramed_type *T); -int skip_constructor_chat_participants_forbidden (struct paramed_type *T); -int skip_constructor_chat_participants (struct paramed_type *T); -int skip_constructor_chat_photo_empty (struct paramed_type *T); -int skip_constructor_chat_photo (struct paramed_type *T); -int skip_constructor_client_d_h_inner_data (struct paramed_type *T); -int skip_constructor_config (struct paramed_type *T); -int skip_constructor_contact (struct paramed_type *T); -int skip_constructor_contact_blocked (struct paramed_type *T); -int skip_constructor_contact_found (struct paramed_type *T); -int skip_constructor_contact_link_unknown (struct paramed_type *T); -int skip_constructor_contact_link_none (struct paramed_type *T); -int skip_constructor_contact_link_has_phone (struct paramed_type *T); -int skip_constructor_contact_link_contact (struct paramed_type *T); -int skip_constructor_contact_status (struct paramed_type *T); -int skip_constructor_contact_suggested (struct paramed_type *T); -int skip_constructor_dc_option_l28 (struct paramed_type *T); -int skip_constructor_dc_option (struct paramed_type *T); -int skip_constructor_decrypted_message (struct paramed_type *T); -int skip_constructor_decrypted_message_service (struct paramed_type *T); -int skip_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T); -int skip_constructor_decrypted_message_action_read_messages (struct paramed_type *T); -int skip_constructor_decrypted_message_action_delete_messages (struct paramed_type *T); -int skip_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T); -int skip_constructor_decrypted_message_action_flush_history (struct paramed_type *T); -int skip_constructor_decrypted_message_action_resend (struct paramed_type *T); -int skip_constructor_decrypted_message_action_notify_layer (struct paramed_type *T); -int skip_constructor_decrypted_message_action_typing (struct paramed_type *T); -int skip_constructor_decrypted_message_action_request_key (struct paramed_type *T); -int skip_constructor_decrypted_message_action_accept_key (struct paramed_type *T); -int skip_constructor_decrypted_message_action_abort_key (struct paramed_type *T); -int skip_constructor_decrypted_message_action_commit_key (struct paramed_type *T); -int skip_constructor_decrypted_message_action_noop (struct paramed_type *T); -int skip_constructor_decrypted_message_layer (struct paramed_type *T); -int skip_constructor_decrypted_message_media_empty (struct paramed_type *T); -int skip_constructor_decrypted_message_media_photo (struct paramed_type *T); -int skip_constructor_decrypted_message_media_geo_point (struct paramed_type *T); -int skip_constructor_decrypted_message_media_contact (struct paramed_type *T); -int skip_constructor_decrypted_message_media_document (struct paramed_type *T); -int skip_constructor_decrypted_message_media_video (struct paramed_type *T); -int skip_constructor_decrypted_message_media_audio (struct paramed_type *T); -int skip_constructor_decrypted_message_media_external_document (struct paramed_type *T); -int skip_constructor_decrypted_message_media_video_l12 (struct paramed_type *T); -int skip_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T); -int skip_constructor_dialog (struct paramed_type *T); -int skip_constructor_disabled_feature (struct paramed_type *T); -int skip_constructor_document_empty (struct paramed_type *T); -int skip_constructor_document (struct paramed_type *T); -int skip_constructor_document_l19 (struct paramed_type *T); -int skip_constructor_document_attribute_image_size (struct paramed_type *T); -int skip_constructor_document_attribute_animated (struct paramed_type *T); -int skip_constructor_document_attribute_sticker_l28 (struct paramed_type *T); -int skip_constructor_document_attribute_sticker (struct paramed_type *T); -int skip_constructor_document_attribute_video (struct paramed_type *T); -int skip_constructor_document_attribute_audio (struct paramed_type *T); -int skip_constructor_document_attribute_filename (struct paramed_type *T); -int skip_constructor_double (struct paramed_type *T); -int skip_constructor_encrypted_chat_empty (struct paramed_type *T); -int skip_constructor_encrypted_chat_waiting (struct paramed_type *T); -int skip_constructor_encrypted_chat_requested (struct paramed_type *T); -int skip_constructor_encrypted_chat (struct paramed_type *T); -int skip_constructor_encrypted_chat_discarded (struct paramed_type *T); -int skip_constructor_encrypted_file_empty (struct paramed_type *T); -int skip_constructor_encrypted_file (struct paramed_type *T); -int skip_constructor_encrypted_message (struct paramed_type *T); -int skip_constructor_encrypted_message_service (struct paramed_type *T); -int skip_constructor_error (struct paramed_type *T); -int skip_constructor_chat_invite_empty (struct paramed_type *T); -int skip_constructor_chat_invite_exported (struct paramed_type *T); -int skip_constructor_file_location_unavailable (struct paramed_type *T); -int skip_constructor_file_location (struct paramed_type *T); -int skip_constructor_geo_chat_message_empty (struct paramed_type *T); -int skip_constructor_geo_chat_message (struct paramed_type *T); -int skip_constructor_geo_chat_message_service (struct paramed_type *T); -int skip_constructor_geo_point_empty (struct paramed_type *T); -int skip_constructor_geo_point (struct paramed_type *T); -int skip_constructor_imported_contact (struct paramed_type *T); -int skip_constructor_input_app_event (struct paramed_type *T); -int skip_constructor_input_audio_empty (struct paramed_type *T); -int skip_constructor_input_audio (struct paramed_type *T); -int skip_constructor_input_chat_photo_empty (struct paramed_type *T); -int skip_constructor_input_chat_uploaded_photo (struct paramed_type *T); -int skip_constructor_input_chat_photo (struct paramed_type *T); -int skip_constructor_input_phone_contact (struct paramed_type *T); -int skip_constructor_input_document_empty (struct paramed_type *T); -int skip_constructor_input_document (struct paramed_type *T); -int skip_constructor_input_encrypted_chat (struct paramed_type *T); -int skip_constructor_input_encrypted_file_empty (struct paramed_type *T); -int skip_constructor_input_encrypted_file_uploaded (struct paramed_type *T); -int skip_constructor_input_encrypted_file (struct paramed_type *T); -int skip_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T); -int skip_constructor_input_file (struct paramed_type *T); -int skip_constructor_input_file_big (struct paramed_type *T); -int skip_constructor_input_file_location (struct paramed_type *T); -int skip_constructor_input_video_file_location (struct paramed_type *T); -int skip_constructor_input_encrypted_file_location (struct paramed_type *T); -int skip_constructor_input_audio_file_location (struct paramed_type *T); -int skip_constructor_input_document_file_location (struct paramed_type *T); -int skip_constructor_input_geo_chat (struct paramed_type *T); -int skip_constructor_input_geo_point_empty (struct paramed_type *T); -int skip_constructor_input_geo_point (struct paramed_type *T); -int skip_constructor_input_media_empty (struct paramed_type *T); -int skip_constructor_input_media_uploaded_photo (struct paramed_type *T); -int skip_constructor_input_media_photo (struct paramed_type *T); -int skip_constructor_input_media_geo_point (struct paramed_type *T); -int skip_constructor_input_media_contact (struct paramed_type *T); -int skip_constructor_input_media_uploaded_video (struct paramed_type *T); -int skip_constructor_input_media_uploaded_thumb_video (struct paramed_type *T); -int skip_constructor_input_media_video (struct paramed_type *T); -int skip_constructor_input_media_uploaded_audio (struct paramed_type *T); -int skip_constructor_input_media_audio (struct paramed_type *T); -int skip_constructor_input_media_uploaded_document (struct paramed_type *T); -int skip_constructor_input_media_uploaded_thumb_document (struct paramed_type *T); -int skip_constructor_input_media_document (struct paramed_type *T); -int skip_constructor_input_media_venue (struct paramed_type *T); -int skip_constructor_input_notify_peer (struct paramed_type *T); -int skip_constructor_input_notify_users (struct paramed_type *T); -int skip_constructor_input_notify_chats (struct paramed_type *T); -int skip_constructor_input_notify_all (struct paramed_type *T); -int skip_constructor_input_notify_geo_chat_peer (struct paramed_type *T); -int skip_constructor_input_peer_empty (struct paramed_type *T); -int skip_constructor_input_peer_self (struct paramed_type *T); -int skip_constructor_input_peer_contact (struct paramed_type *T); -int skip_constructor_input_peer_foreign (struct paramed_type *T); -int skip_constructor_input_peer_chat (struct paramed_type *T); -int skip_constructor_input_peer_notify_events_empty (struct paramed_type *T); -int skip_constructor_input_peer_notify_events_all (struct paramed_type *T); -int skip_constructor_input_peer_notify_settings (struct paramed_type *T); -int skip_constructor_input_photo_empty (struct paramed_type *T); -int skip_constructor_input_photo (struct paramed_type *T); -int skip_constructor_input_photo_crop_auto (struct paramed_type *T); -int skip_constructor_input_photo_crop (struct paramed_type *T); -int skip_constructor_input_privacy_key_status_timestamp (struct paramed_type *T); -int skip_constructor_input_privacy_value_allow_contacts (struct paramed_type *T); -int skip_constructor_input_privacy_value_allow_all (struct paramed_type *T); -int skip_constructor_input_privacy_value_allow_users (struct paramed_type *T); -int skip_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T); -int skip_constructor_input_privacy_value_disallow_all (struct paramed_type *T); -int skip_constructor_input_privacy_value_disallow_users (struct paramed_type *T); -int skip_constructor_input_sticker_set_empty (struct paramed_type *T); -int skip_constructor_input_sticker_set_i_d (struct paramed_type *T); -int skip_constructor_input_sticker_set_short_name (struct paramed_type *T); -int skip_constructor_input_user_empty (struct paramed_type *T); -int skip_constructor_input_user_self (struct paramed_type *T); -int skip_constructor_input_user_contact (struct paramed_type *T); -int skip_constructor_input_user_foreign (struct paramed_type *T); -int skip_constructor_input_video_empty (struct paramed_type *T); -int skip_constructor_input_video (struct paramed_type *T); -int skip_constructor_int (struct paramed_type *T); -int skip_constructor_int128 (struct paramed_type *T); -int skip_constructor_int256 (struct paramed_type *T); -int skip_constructor_keyboard_button (struct paramed_type *T); -int skip_constructor_keyboard_button_row (struct paramed_type *T); -int skip_constructor_long (struct paramed_type *T); -int skip_constructor_message_empty (struct paramed_type *T); -int skip_constructor_message (struct paramed_type *T); -int skip_constructor_message_service (struct paramed_type *T); -int skip_constructor_message_action_empty (struct paramed_type *T); -int skip_constructor_message_action_chat_create (struct paramed_type *T); -int skip_constructor_message_action_chat_edit_title (struct paramed_type *T); -int skip_constructor_message_action_chat_edit_photo (struct paramed_type *T); -int skip_constructor_message_action_chat_delete_photo (struct paramed_type *T); -int skip_constructor_message_action_chat_add_user (struct paramed_type *T); -int skip_constructor_message_action_chat_delete_user (struct paramed_type *T); -int skip_constructor_message_action_geo_chat_create (struct paramed_type *T); -int skip_constructor_message_action_geo_chat_checkin (struct paramed_type *T); -int skip_constructor_message_action_chat_joined_by_link (struct paramed_type *T); -int skip_constructor_message_media_empty (struct paramed_type *T); -int skip_constructor_message_media_photo (struct paramed_type *T); -int skip_constructor_message_media_video (struct paramed_type *T); -int skip_constructor_message_media_geo (struct paramed_type *T); -int skip_constructor_message_media_contact (struct paramed_type *T); -int skip_constructor_message_media_unsupported (struct paramed_type *T); -int skip_constructor_message_media_document (struct paramed_type *T); -int skip_constructor_message_media_audio (struct paramed_type *T); -int skip_constructor_message_media_web_page (struct paramed_type *T); -int skip_constructor_message_media_venue (struct paramed_type *T); -int skip_constructor_message_media_photo_l27 (struct paramed_type *T); -int skip_constructor_message_media_video_l27 (struct paramed_type *T); -int skip_constructor_input_messages_filter_empty (struct paramed_type *T); -int skip_constructor_input_messages_filter_photos (struct paramed_type *T); -int skip_constructor_input_messages_filter_video (struct paramed_type *T); -int skip_constructor_input_messages_filter_photo_video (struct paramed_type *T); -int skip_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T); -int skip_constructor_input_messages_filter_document (struct paramed_type *T); -int skip_constructor_input_messages_filter_audio (struct paramed_type *T); -int skip_constructor_nearest_dc (struct paramed_type *T); -int skip_constructor_notify_peer (struct paramed_type *T); -int skip_constructor_notify_users (struct paramed_type *T); -int skip_constructor_notify_chats (struct paramed_type *T); -int skip_constructor_notify_all (struct paramed_type *T); -int skip_constructor_null (struct paramed_type *T); -int skip_constructor_p_q_inner_data (struct paramed_type *T); -int skip_constructor_p_q_inner_data_temp (struct paramed_type *T); -int skip_constructor_peer_user (struct paramed_type *T); -int skip_constructor_peer_chat (struct paramed_type *T); -int skip_constructor_peer_notify_events_empty (struct paramed_type *T); -int skip_constructor_peer_notify_events_all (struct paramed_type *T); -int skip_constructor_peer_notify_settings_empty (struct paramed_type *T); -int skip_constructor_peer_notify_settings (struct paramed_type *T); -int skip_constructor_photo_empty (struct paramed_type *T); -int skip_constructor_photo (struct paramed_type *T); -int skip_constructor_photo_l27 (struct paramed_type *T); -int skip_constructor_photo_size_empty (struct paramed_type *T); -int skip_constructor_photo_size (struct paramed_type *T); -int skip_constructor_photo_cached_size (struct paramed_type *T); -int skip_constructor_privacy_key_status_timestamp (struct paramed_type *T); -int skip_constructor_privacy_value_allow_contacts (struct paramed_type *T); -int skip_constructor_privacy_value_allow_all (struct paramed_type *T); -int skip_constructor_privacy_value_allow_users (struct paramed_type *T); -int skip_constructor_privacy_value_disallow_contacts (struct paramed_type *T); -int skip_constructor_privacy_value_disallow_all (struct paramed_type *T); -int skip_constructor_privacy_value_disallow_users (struct paramed_type *T); -int skip_constructor_received_notify_message (struct paramed_type *T); -int skip_constructor_reply_keyboard_hide (struct paramed_type *T); -int skip_constructor_reply_keyboard_force_reply (struct paramed_type *T); -int skip_constructor_reply_keyboard_markup (struct paramed_type *T); -int skip_constructor_res_p_q (struct paramed_type *T); -int skip_constructor_send_message_typing_action (struct paramed_type *T); -int skip_constructor_send_message_cancel_action (struct paramed_type *T); -int skip_constructor_send_message_record_video_action (struct paramed_type *T); -int skip_constructor_send_message_upload_video_action_l27 (struct paramed_type *T); -int skip_constructor_send_message_upload_video_action (struct paramed_type *T); -int skip_constructor_send_message_record_audio_action (struct paramed_type *T); -int skip_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T); -int skip_constructor_send_message_upload_audio_action (struct paramed_type *T); -int skip_constructor_send_message_upload_photo_action (struct paramed_type *T); -int skip_constructor_send_message_upload_document_action_l27 (struct paramed_type *T); -int skip_constructor_send_message_upload_document_action (struct paramed_type *T); -int skip_constructor_send_message_geo_location_action (struct paramed_type *T); -int skip_constructor_send_message_choose_contact_action (struct paramed_type *T); -int skip_constructor_server_d_h_params_fail (struct paramed_type *T); -int skip_constructor_server_d_h_params_ok (struct paramed_type *T); -int skip_constructor_server_d_h_inner_data (struct paramed_type *T); -int skip_constructor_dh_gen_ok (struct paramed_type *T); -int skip_constructor_dh_gen_retry (struct paramed_type *T); -int skip_constructor_dh_gen_fail (struct paramed_type *T); -int skip_constructor_sticker_pack (struct paramed_type *T); -int skip_constructor_sticker_set (struct paramed_type *T); -int skip_constructor_string (struct paramed_type *T); -int skip_constructor_update_new_message (struct paramed_type *T); -int skip_constructor_update_message_i_d (struct paramed_type *T); -int skip_constructor_update_delete_messages (struct paramed_type *T); -int skip_constructor_update_user_typing (struct paramed_type *T); -int skip_constructor_update_chat_user_typing (struct paramed_type *T); -int skip_constructor_update_chat_participants (struct paramed_type *T); -int skip_constructor_update_user_status (struct paramed_type *T); -int skip_constructor_update_user_name (struct paramed_type *T); -int skip_constructor_update_user_photo (struct paramed_type *T); -int skip_constructor_update_contact_registered (struct paramed_type *T); -int skip_constructor_update_contact_link (struct paramed_type *T); -int skip_constructor_update_new_authorization (struct paramed_type *T); -int skip_constructor_update_new_geo_chat_message (struct paramed_type *T); -int skip_constructor_update_new_encrypted_message (struct paramed_type *T); -int skip_constructor_update_encrypted_chat_typing (struct paramed_type *T); -int skip_constructor_update_encryption (struct paramed_type *T); -int skip_constructor_update_encrypted_messages_read (struct paramed_type *T); -int skip_constructor_update_chat_participant_add (struct paramed_type *T); -int skip_constructor_update_chat_participant_delete (struct paramed_type *T); -int skip_constructor_update_dc_options (struct paramed_type *T); -int skip_constructor_update_user_blocked (struct paramed_type *T); -int skip_constructor_update_notify_settings (struct paramed_type *T); -int skip_constructor_update_service_notification (struct paramed_type *T); -int skip_constructor_update_privacy (struct paramed_type *T); -int skip_constructor_update_user_phone (struct paramed_type *T); -int skip_constructor_update_read_history_inbox (struct paramed_type *T); -int skip_constructor_update_read_history_outbox (struct paramed_type *T); -int skip_constructor_update_web_page (struct paramed_type *T); -int skip_constructor_update_read_messages_contents (struct paramed_type *T); -int skip_constructor_update_msg_update (struct paramed_type *T); -int skip_constructor_updates_too_long (struct paramed_type *T); -int skip_constructor_update_short_message (struct paramed_type *T); -int skip_constructor_update_short_chat_message (struct paramed_type *T); -int skip_constructor_update_short (struct paramed_type *T); -int skip_constructor_updates_combined (struct paramed_type *T); -int skip_constructor_updates (struct paramed_type *T); -int skip_constructor_user_empty (struct paramed_type *T); -int skip_constructor_user (struct paramed_type *T); -int skip_constructor_user_full (struct paramed_type *T); -int skip_constructor_user_profile_photo_empty (struct paramed_type *T); -int skip_constructor_user_profile_photo (struct paramed_type *T); -int skip_constructor_user_status_empty (struct paramed_type *T); -int skip_constructor_user_status_online (struct paramed_type *T); -int skip_constructor_user_status_offline (struct paramed_type *T); -int skip_constructor_user_status_recently (struct paramed_type *T); -int skip_constructor_user_status_last_week (struct paramed_type *T); -int skip_constructor_user_status_last_month (struct paramed_type *T); -int skip_constructor_vector (struct paramed_type *T); -int skip_constructor_video_empty (struct paramed_type *T); -int skip_constructor_video (struct paramed_type *T); -int skip_constructor_video_l27 (struct paramed_type *T); -int skip_constructor_wall_paper (struct paramed_type *T); -int skip_constructor_wall_paper_solid (struct paramed_type *T); -int skip_constructor_web_page_empty (struct paramed_type *T); -int skip_constructor_web_page_pending (struct paramed_type *T); -int skip_constructor_web_page (struct paramed_type *T); -int skip_constructor_account_authorizations (struct paramed_type *T); -int skip_constructor_account_no_password (struct paramed_type *T); -int skip_constructor_account_password (struct paramed_type *T); -int skip_constructor_account_password_input_settings (struct paramed_type *T); -int skip_constructor_account_password_settings (struct paramed_type *T); -int skip_constructor_account_privacy_rules (struct paramed_type *T); -int skip_constructor_account_sent_change_phone_code (struct paramed_type *T); -int skip_constructor_auth_authorization (struct paramed_type *T); -int skip_constructor_auth_checked_phone (struct paramed_type *T); -int skip_constructor_auth_exported_authorization (struct paramed_type *T); -int skip_constructor_auth_password_recovery (struct paramed_type *T); -int skip_constructor_auth_sent_code (struct paramed_type *T); -int skip_constructor_auth_sent_app_code (struct paramed_type *T); -int skip_constructor_binlog_encr_key (struct paramed_type *T); -int skip_constructor_binlog_start (struct paramed_type *T); -int skip_constructor_binlog_dc_option (struct paramed_type *T); -int skip_constructor_binlog_dc_option_new (struct paramed_type *T); -int skip_constructor_binlog_auth_key (struct paramed_type *T); -int skip_constructor_binlog_default_dc (struct paramed_type *T); -int skip_constructor_binlog_dc_signed (struct paramed_type *T); -int skip_constructor_binlog_our_id (struct paramed_type *T); -int skip_constructor_binlog_set_dh_params (struct paramed_type *T); -int skip_constructor_binlog_set_pts (struct paramed_type *T); -int skip_constructor_binlog_set_qts (struct paramed_type *T); -int skip_constructor_binlog_set_date (struct paramed_type *T); -int skip_constructor_binlog_set_seq (struct paramed_type *T); -int skip_constructor_binlog_encr_chat_delete (struct paramed_type *T); -int skip_constructor_binlog_encr_chat_new (struct paramed_type *T); -int skip_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T); -int skip_constructor_binlog_user_delete (struct paramed_type *T); -int skip_constructor_binlog_user_new (struct paramed_type *T); -int skip_constructor_binlog_chat_new (struct paramed_type *T); -int skip_constructor_binlog_chat_add_participant (struct paramed_type *T); -int skip_constructor_binlog_chat_del_participant (struct paramed_type *T); -int skip_constructor_binlog_set_msg_id (struct paramed_type *T); -int skip_constructor_binlog_message_delete (struct paramed_type *T); -int skip_constructor_binlog_message_new (struct paramed_type *T); -int skip_constructor_binlog_message_encr_new (struct paramed_type *T); -int skip_constructor_binlog_msg_update (struct paramed_type *T); -int skip_constructor_binlog_reset_authorization (struct paramed_type *T); -int skip_constructor_contacts_blocked (struct paramed_type *T); -int skip_constructor_contacts_blocked_slice (struct paramed_type *T); -int skip_constructor_contacts_contacts_not_modified (struct paramed_type *T); -int skip_constructor_contacts_contacts (struct paramed_type *T); -int skip_constructor_contacts_found (struct paramed_type *T); -int skip_constructor_contacts_imported_contacts (struct paramed_type *T); -int skip_constructor_contacts_link (struct paramed_type *T); -int skip_constructor_contacts_suggested (struct paramed_type *T); -int skip_constructor_geochats_located (struct paramed_type *T); -int skip_constructor_geochats_messages (struct paramed_type *T); -int skip_constructor_geochats_messages_slice (struct paramed_type *T); -int skip_constructor_geochats_stated_message (struct paramed_type *T); -int skip_constructor_help_app_update (struct paramed_type *T); -int skip_constructor_help_no_app_update (struct paramed_type *T); -int skip_constructor_help_invite_text (struct paramed_type *T); -int skip_constructor_help_support (struct paramed_type *T); -int skip_constructor_messages_affected_history (struct paramed_type *T); -int skip_constructor_messages_affected_messages (struct paramed_type *T); -int skip_constructor_messages_all_stickers_not_modified (struct paramed_type *T); -int skip_constructor_messages_all_stickers (struct paramed_type *T); -int skip_constructor_messages_chat_full (struct paramed_type *T); -int skip_constructor_messages_chats (struct paramed_type *T); -int skip_constructor_messages_dh_config_not_modified (struct paramed_type *T); -int skip_constructor_messages_dh_config (struct paramed_type *T); -int skip_constructor_messages_dialogs (struct paramed_type *T); -int skip_constructor_messages_dialogs_slice (struct paramed_type *T); -int skip_constructor_messages_message_empty (struct paramed_type *T); -int skip_constructor_messages_messages (struct paramed_type *T); -int skip_constructor_messages_messages_slice (struct paramed_type *T); -int skip_constructor_messages_sent_encrypted_message (struct paramed_type *T); -int skip_constructor_messages_sent_encrypted_file (struct paramed_type *T); -int skip_constructor_messages_sent_message (struct paramed_type *T); -int skip_constructor_messages_sent_message_link (struct paramed_type *T); -int skip_constructor_messages_sticker_set (struct paramed_type *T); -int skip_constructor_messages_stickers_not_modified (struct paramed_type *T); -int skip_constructor_messages_stickers (struct paramed_type *T); -int skip_constructor_photos_photo (struct paramed_type *T); -int skip_constructor_photos_photos (struct paramed_type *T); -int skip_constructor_photos_photos_slice (struct paramed_type *T); -int skip_constructor_storage_file_unknown (struct paramed_type *T); -int skip_constructor_storage_file_jpeg (struct paramed_type *T); -int skip_constructor_storage_file_gif (struct paramed_type *T); -int skip_constructor_storage_file_png (struct paramed_type *T); -int skip_constructor_storage_file_pdf (struct paramed_type *T); -int skip_constructor_storage_file_mp3 (struct paramed_type *T); -int skip_constructor_storage_file_mov (struct paramed_type *T); -int skip_constructor_storage_file_partial (struct paramed_type *T); -int skip_constructor_storage_file_mp4 (struct paramed_type *T); -int skip_constructor_storage_file_webp (struct paramed_type *T); -int skip_constructor_updates_difference_empty (struct paramed_type *T); -int skip_constructor_updates_difference (struct paramed_type *T); -int skip_constructor_updates_difference_slice (struct paramed_type *T); -int skip_constructor_updates_state (struct paramed_type *T); -int skip_constructor_upload_file (struct paramed_type *T); -int skip_type_account_days_t_t_l (struct paramed_type *T); -int skip_type_bare_account_days_t_t_l (struct paramed_type *T); -int skip_type_audio (struct paramed_type *T); -int skip_type_bare_audio (struct paramed_type *T); -int skip_type_authorization (struct paramed_type *T); -int skip_type_bare_authorization (struct paramed_type *T); -int skip_type_bool (struct paramed_type *T); -int skip_type_bare_bool (struct paramed_type *T); -int skip_type_bot_command (struct paramed_type *T); -int skip_type_bare_bot_command (struct paramed_type *T); -int skip_type_bot_info (struct paramed_type *T); -int skip_type_bare_bot_info (struct paramed_type *T); -int skip_type_bytes (struct paramed_type *T); -int skip_type_bare_bytes (struct paramed_type *T); -int skip_type_chat (struct paramed_type *T); -int skip_type_bare_chat (struct paramed_type *T); -int skip_type_chat_full (struct paramed_type *T); -int skip_type_bare_chat_full (struct paramed_type *T); -int skip_type_chat_invite (struct paramed_type *T); -int skip_type_bare_chat_invite (struct paramed_type *T); -int skip_type_chat_located (struct paramed_type *T); -int skip_type_bare_chat_located (struct paramed_type *T); -int skip_type_chat_participant (struct paramed_type *T); -int skip_type_bare_chat_participant (struct paramed_type *T); -int skip_type_chat_participants (struct paramed_type *T); -int skip_type_bare_chat_participants (struct paramed_type *T); -int skip_type_chat_photo (struct paramed_type *T); -int skip_type_bare_chat_photo (struct paramed_type *T); -int skip_type_client_d_h_inner_data (struct paramed_type *T); -int skip_type_bare_client_d_h_inner_data (struct paramed_type *T); -int skip_type_config (struct paramed_type *T); -int skip_type_bare_config (struct paramed_type *T); -int skip_type_contact (struct paramed_type *T); -int skip_type_bare_contact (struct paramed_type *T); -int skip_type_contact_blocked (struct paramed_type *T); -int skip_type_bare_contact_blocked (struct paramed_type *T); -int skip_type_contact_found (struct paramed_type *T); -int skip_type_bare_contact_found (struct paramed_type *T); -int skip_type_contact_link (struct paramed_type *T); -int skip_type_bare_contact_link (struct paramed_type *T); -int skip_type_contact_status (struct paramed_type *T); -int skip_type_bare_contact_status (struct paramed_type *T); -int skip_type_contact_suggested (struct paramed_type *T); -int skip_type_bare_contact_suggested (struct paramed_type *T); -int skip_type_dc_option (struct paramed_type *T); -int skip_type_bare_dc_option (struct paramed_type *T); -int skip_type_decrypted_message (struct paramed_type *T); -int skip_type_bare_decrypted_message (struct paramed_type *T); -int skip_type_decrypted_message_action (struct paramed_type *T); -int skip_type_bare_decrypted_message_action (struct paramed_type *T); -int skip_type_decrypted_message_layer (struct paramed_type *T); -int skip_type_bare_decrypted_message_layer (struct paramed_type *T); -int skip_type_decrypted_message_media (struct paramed_type *T); -int skip_type_bare_decrypted_message_media (struct paramed_type *T); -int skip_type_dialog (struct paramed_type *T); -int skip_type_bare_dialog (struct paramed_type *T); -int skip_type_disabled_feature (struct paramed_type *T); -int skip_type_bare_disabled_feature (struct paramed_type *T); -int skip_type_document (struct paramed_type *T); -int skip_type_bare_document (struct paramed_type *T); -int skip_type_document_attribute (struct paramed_type *T); -int skip_type_bare_document_attribute (struct paramed_type *T); -int skip_type_double (struct paramed_type *T); -int skip_type_bare_double (struct paramed_type *T); -int skip_type_encrypted_chat (struct paramed_type *T); -int skip_type_bare_encrypted_chat (struct paramed_type *T); -int skip_type_encrypted_file (struct paramed_type *T); -int skip_type_bare_encrypted_file (struct paramed_type *T); -int skip_type_encrypted_message (struct paramed_type *T); -int skip_type_bare_encrypted_message (struct paramed_type *T); -int skip_type_error (struct paramed_type *T); -int skip_type_bare_error (struct paramed_type *T); -int skip_type_exported_chat_invite (struct paramed_type *T); -int skip_type_bare_exported_chat_invite (struct paramed_type *T); -int skip_type_file_location (struct paramed_type *T); -int skip_type_bare_file_location (struct paramed_type *T); -int skip_type_geo_chat_message (struct paramed_type *T); -int skip_type_bare_geo_chat_message (struct paramed_type *T); -int skip_type_geo_point (struct paramed_type *T); -int skip_type_bare_geo_point (struct paramed_type *T); -int skip_type_imported_contact (struct paramed_type *T); -int skip_type_bare_imported_contact (struct paramed_type *T); -int skip_type_input_app_event (struct paramed_type *T); -int skip_type_bare_input_app_event (struct paramed_type *T); -int skip_type_input_audio (struct paramed_type *T); -int skip_type_bare_input_audio (struct paramed_type *T); -int skip_type_input_chat_photo (struct paramed_type *T); -int skip_type_bare_input_chat_photo (struct paramed_type *T); -int skip_type_input_contact (struct paramed_type *T); -int skip_type_bare_input_contact (struct paramed_type *T); -int skip_type_input_document (struct paramed_type *T); -int skip_type_bare_input_document (struct paramed_type *T); -int skip_type_input_encrypted_chat (struct paramed_type *T); -int skip_type_bare_input_encrypted_chat (struct paramed_type *T); -int skip_type_input_encrypted_file (struct paramed_type *T); -int skip_type_bare_input_encrypted_file (struct paramed_type *T); -int skip_type_input_file (struct paramed_type *T); -int skip_type_bare_input_file (struct paramed_type *T); -int skip_type_input_file_location (struct paramed_type *T); -int skip_type_bare_input_file_location (struct paramed_type *T); -int skip_type_input_geo_chat (struct paramed_type *T); -int skip_type_bare_input_geo_chat (struct paramed_type *T); -int skip_type_input_geo_point (struct paramed_type *T); -int skip_type_bare_input_geo_point (struct paramed_type *T); -int skip_type_input_media (struct paramed_type *T); -int skip_type_bare_input_media (struct paramed_type *T); -int skip_type_input_notify_peer (struct paramed_type *T); -int skip_type_bare_input_notify_peer (struct paramed_type *T); -int skip_type_input_peer (struct paramed_type *T); -int skip_type_bare_input_peer (struct paramed_type *T); -int skip_type_input_peer_notify_events (struct paramed_type *T); -int skip_type_bare_input_peer_notify_events (struct paramed_type *T); -int skip_type_input_peer_notify_settings (struct paramed_type *T); -int skip_type_bare_input_peer_notify_settings (struct paramed_type *T); -int skip_type_input_photo (struct paramed_type *T); -int skip_type_bare_input_photo (struct paramed_type *T); -int skip_type_input_photo_crop (struct paramed_type *T); -int skip_type_bare_input_photo_crop (struct paramed_type *T); -int skip_type_input_privacy_key (struct paramed_type *T); -int skip_type_bare_input_privacy_key (struct paramed_type *T); -int skip_type_input_privacy_rule (struct paramed_type *T); -int skip_type_bare_input_privacy_rule (struct paramed_type *T); -int skip_type_input_sticker_set (struct paramed_type *T); -int skip_type_bare_input_sticker_set (struct paramed_type *T); -int skip_type_input_user (struct paramed_type *T); -int skip_type_bare_input_user (struct paramed_type *T); -int skip_type_input_video (struct paramed_type *T); -int skip_type_bare_input_video (struct paramed_type *T); -int skip_type_int (struct paramed_type *T); -int skip_type_bare_int (struct paramed_type *T); -int skip_type_int128 (struct paramed_type *T); -int skip_type_bare_int128 (struct paramed_type *T); -int skip_type_int256 (struct paramed_type *T); -int skip_type_bare_int256 (struct paramed_type *T); -int skip_type_keyboard_button (struct paramed_type *T); -int skip_type_bare_keyboard_button (struct paramed_type *T); -int skip_type_keyboard_button_row (struct paramed_type *T); -int skip_type_bare_keyboard_button_row (struct paramed_type *T); -int skip_type_long (struct paramed_type *T); -int skip_type_bare_long (struct paramed_type *T); -int skip_type_message (struct paramed_type *T); -int skip_type_bare_message (struct paramed_type *T); -int skip_type_message_action (struct paramed_type *T); -int skip_type_bare_message_action (struct paramed_type *T); -int skip_type_message_media (struct paramed_type *T); -int skip_type_bare_message_media (struct paramed_type *T); -int skip_type_messages_filter (struct paramed_type *T); -int skip_type_bare_messages_filter (struct paramed_type *T); -int skip_type_nearest_dc (struct paramed_type *T); -int skip_type_bare_nearest_dc (struct paramed_type *T); -int skip_type_notify_peer (struct paramed_type *T); -int skip_type_bare_notify_peer (struct paramed_type *T); -int skip_type_null (struct paramed_type *T); -int skip_type_bare_null (struct paramed_type *T); -int skip_type_p_q_inner_data (struct paramed_type *T); -int skip_type_bare_p_q_inner_data (struct paramed_type *T); -int skip_type_peer (struct paramed_type *T); -int skip_type_bare_peer (struct paramed_type *T); -int skip_type_peer_notify_events (struct paramed_type *T); -int skip_type_bare_peer_notify_events (struct paramed_type *T); -int skip_type_peer_notify_settings (struct paramed_type *T); -int skip_type_bare_peer_notify_settings (struct paramed_type *T); -int skip_type_photo (struct paramed_type *T); -int skip_type_bare_photo (struct paramed_type *T); -int skip_type_photo_size (struct paramed_type *T); -int skip_type_bare_photo_size (struct paramed_type *T); -int skip_type_privacy_key (struct paramed_type *T); -int skip_type_bare_privacy_key (struct paramed_type *T); -int skip_type_privacy_rule (struct paramed_type *T); -int skip_type_bare_privacy_rule (struct paramed_type *T); -int skip_type_received_notify_message (struct paramed_type *T); -int skip_type_bare_received_notify_message (struct paramed_type *T); -int skip_type_reply_markup (struct paramed_type *T); -int skip_type_bare_reply_markup (struct paramed_type *T); -int skip_type_res_p_q (struct paramed_type *T); -int skip_type_bare_res_p_q (struct paramed_type *T); -int skip_type_send_message_action (struct paramed_type *T); -int skip_type_bare_send_message_action (struct paramed_type *T); -int skip_type_server_d_h_params (struct paramed_type *T); -int skip_type_bare_server_d_h_params (struct paramed_type *T); -int skip_type_server_d_h_inner_data (struct paramed_type *T); -int skip_type_bare_server_d_h_inner_data (struct paramed_type *T); -int skip_type_set_client_d_h_params_answer (struct paramed_type *T); -int skip_type_bare_set_client_d_h_params_answer (struct paramed_type *T); -int skip_type_sticker_pack (struct paramed_type *T); -int skip_type_bare_sticker_pack (struct paramed_type *T); -int skip_type_sticker_set (struct paramed_type *T); -int skip_type_bare_sticker_set (struct paramed_type *T); -int skip_type_string (struct paramed_type *T); -int skip_type_bare_string (struct paramed_type *T); -int skip_type_update (struct paramed_type *T); -int skip_type_bare_update (struct paramed_type *T); -int skip_type_updates (struct paramed_type *T); -int skip_type_bare_updates (struct paramed_type *T); -int skip_type_user (struct paramed_type *T); -int skip_type_bare_user (struct paramed_type *T); -int skip_type_user_full (struct paramed_type *T); -int skip_type_bare_user_full (struct paramed_type *T); -int skip_type_user_profile_photo (struct paramed_type *T); -int skip_type_bare_user_profile_photo (struct paramed_type *T); -int skip_type_user_status (struct paramed_type *T); -int skip_type_bare_user_status (struct paramed_type *T); -int skip_type_vector (struct paramed_type *T); -int skip_type_bare_vector (struct paramed_type *T); -int skip_type_video (struct paramed_type *T); -int skip_type_bare_video (struct paramed_type *T); -int skip_type_wall_paper (struct paramed_type *T); -int skip_type_bare_wall_paper (struct paramed_type *T); -int skip_type_web_page (struct paramed_type *T); -int skip_type_bare_web_page (struct paramed_type *T); -int skip_type_account_authorizations (struct paramed_type *T); -int skip_type_bare_account_authorizations (struct paramed_type *T); -int skip_type_account_password (struct paramed_type *T); -int skip_type_bare_account_password (struct paramed_type *T); -int skip_type_account_password_input_settings (struct paramed_type *T); -int skip_type_bare_account_password_input_settings (struct paramed_type *T); -int skip_type_account_password_settings (struct paramed_type *T); -int skip_type_bare_account_password_settings (struct paramed_type *T); -int skip_type_account_privacy_rules (struct paramed_type *T); -int skip_type_bare_account_privacy_rules (struct paramed_type *T); -int skip_type_account_sent_change_phone_code (struct paramed_type *T); -int skip_type_bare_account_sent_change_phone_code (struct paramed_type *T); -int skip_type_auth_authorization (struct paramed_type *T); -int skip_type_bare_auth_authorization (struct paramed_type *T); -int skip_type_auth_checked_phone (struct paramed_type *T); -int skip_type_bare_auth_checked_phone (struct paramed_type *T); -int skip_type_auth_exported_authorization (struct paramed_type *T); -int skip_type_bare_auth_exported_authorization (struct paramed_type *T); -int skip_type_auth_password_recovery (struct paramed_type *T); -int skip_type_bare_auth_password_recovery (struct paramed_type *T); -int skip_type_auth_sent_code (struct paramed_type *T); -int skip_type_bare_auth_sent_code (struct paramed_type *T); -int skip_type_binlog_encr_key (struct paramed_type *T); -int skip_type_bare_binlog_encr_key (struct paramed_type *T); -int skip_type_binlog_update (struct paramed_type *T); -int skip_type_bare_binlog_update (struct paramed_type *T); -int skip_type_contacts_blocked (struct paramed_type *T); -int skip_type_bare_contacts_blocked (struct paramed_type *T); -int skip_type_contacts_contacts (struct paramed_type *T); -int skip_type_bare_contacts_contacts (struct paramed_type *T); -int skip_type_contacts_found (struct paramed_type *T); -int skip_type_bare_contacts_found (struct paramed_type *T); -int skip_type_contacts_imported_contacts (struct paramed_type *T); -int skip_type_bare_contacts_imported_contacts (struct paramed_type *T); -int skip_type_contacts_link (struct paramed_type *T); -int skip_type_bare_contacts_link (struct paramed_type *T); -int skip_type_contacts_suggested (struct paramed_type *T); -int skip_type_bare_contacts_suggested (struct paramed_type *T); -int skip_type_geochats_located (struct paramed_type *T); -int skip_type_bare_geochats_located (struct paramed_type *T); -int skip_type_geochats_messages (struct paramed_type *T); -int skip_type_bare_geochats_messages (struct paramed_type *T); -int skip_type_geochats_stated_message (struct paramed_type *T); -int skip_type_bare_geochats_stated_message (struct paramed_type *T); -int skip_type_help_app_update (struct paramed_type *T); -int skip_type_bare_help_app_update (struct paramed_type *T); -int skip_type_help_invite_text (struct paramed_type *T); -int skip_type_bare_help_invite_text (struct paramed_type *T); -int skip_type_help_support (struct paramed_type *T); -int skip_type_bare_help_support (struct paramed_type *T); -int skip_type_messages_affected_history (struct paramed_type *T); -int skip_type_bare_messages_affected_history (struct paramed_type *T); -int skip_type_messages_affected_messages (struct paramed_type *T); -int skip_type_bare_messages_affected_messages (struct paramed_type *T); -int skip_type_messages_all_stickers (struct paramed_type *T); -int skip_type_bare_messages_all_stickers (struct paramed_type *T); -int skip_type_messages_chat_full (struct paramed_type *T); -int skip_type_bare_messages_chat_full (struct paramed_type *T); -int skip_type_messages_chats (struct paramed_type *T); -int skip_type_bare_messages_chats (struct paramed_type *T); -int skip_type_messages_dh_config (struct paramed_type *T); -int skip_type_bare_messages_dh_config (struct paramed_type *T); -int skip_type_messages_dialogs (struct paramed_type *T); -int skip_type_bare_messages_dialogs (struct paramed_type *T); -int skip_type_messages_message (struct paramed_type *T); -int skip_type_bare_messages_message (struct paramed_type *T); -int skip_type_messages_messages (struct paramed_type *T); -int skip_type_bare_messages_messages (struct paramed_type *T); -int skip_type_messages_sent_encrypted_message (struct paramed_type *T); -int skip_type_bare_messages_sent_encrypted_message (struct paramed_type *T); -int skip_type_messages_sent_message (struct paramed_type *T); -int skip_type_bare_messages_sent_message (struct paramed_type *T); -int skip_type_messages_sticker_set (struct paramed_type *T); -int skip_type_bare_messages_sticker_set (struct paramed_type *T); -int skip_type_messages_stickers (struct paramed_type *T); -int skip_type_bare_messages_stickers (struct paramed_type *T); -int skip_type_photos_photo (struct paramed_type *T); -int skip_type_bare_photos_photo (struct paramed_type *T); -int skip_type_photos_photos (struct paramed_type *T); -int skip_type_bare_photos_photos (struct paramed_type *T); -int skip_type_storage_file_type (struct paramed_type *T); -int skip_type_bare_storage_file_type (struct paramed_type *T); -int skip_type_updates_difference (struct paramed_type *T); -int skip_type_bare_updates_difference (struct paramed_type *T); -int skip_type_updates_state (struct paramed_type *T); -int skip_type_bare_updates_state (struct paramed_type *T); -int skip_type_upload_file (struct paramed_type *T); -int skip_type_bare_upload_file (struct paramed_type *T); -int skip_type_any (struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-store-ds.c b/libs/tgl/src/auto/auto-store-ds.c deleted file mode 100644 index 3b963b6ef3..0000000000 --- a/libs/tgl/src/auto/auto-store-ds.c +++ /dev/null @@ -1,10207 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-store-ds.h" -#include "auto-skip.h" -#include "auto-types.h" -#include "..\mtproto-common.h" -#else -#include "auto.h" -#include "auto/auto-store-ds.h" -#include "auto/auto-skip.h" -#include "auto/auto-types.h" -#include "auto-static-store-ds.c" -#include "mtproto-common.h" -#endif -#include -void store_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->days, field1); -} -void store_ds_constructor_audio_empty (struct tl_ds_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); -} -void store_ds_constructor_audio (struct tl_ds_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field8); -} -void store_ds_constructor_authorization (struct tl_ds_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->device_model, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->platform, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->system_version, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->api_id, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->app_name, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->app_version, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date_created, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date_active, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->ip, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->country, field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->region, field13); -} -void store_ds_constructor_bool_false (struct tl_ds_bool *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return; } -} -void store_ds_constructor_bool_true (struct tl_ds_bool *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return; } -} -void store_ds_constructor_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->command, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->description, field2); -} -void store_ds_constructor_bot_command_old (struct tl_ds_bot_command *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->command, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->params, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->description, field3); -} -void store_ds_constructor_bot_info_empty (struct tl_ds_bot_info *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return; } -} -void store_ds_constructor_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->share_text, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->description, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->commands, field5); -} -void store_ds_constructor_bytes (struct tl_ds_string *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return; } - out_cstring (D->data, D->len); -} -void store_ds_constructor_chat_empty (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_chat (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_photo (D->photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->participants_count, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->left, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field7); -} -void store_ds_constructor_chat_forbidden (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); -} -void store_ds_constructor_geo_chat (struct tl_ds_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->address, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->venue, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_point (D->geo, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_photo (D->photo, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->participants_count, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->checked_in, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field11); -} -void store_ds_constructor_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_participants (D->participants, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->chat_photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer_notify_settings (D->notify_settings, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_exported_chat_invite (D->exported_invite, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->bot_info, field6); -} -void store_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat (D->chat, field1); -} -void store_ds_constructor_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field1); -} -void store_ds_constructor_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->distance, field2); -} -void store_ds_constructor_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->inviter_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); -} -void store_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); -} -void store_ds_constructor_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->participants, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field4); -} -void store_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return; } -} -void store_ds_constructor_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->photo_small, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->photo_big, field2); -} -void store_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->retry_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->g_b, field4); -} -void store_ds_constructor_config (struct tl_ds_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->expires, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->test_mode, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->this_dc, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->dc_options, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_size_max, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->broadcast_size_max, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->forwarded_count_max, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->online_update_period_ms, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->offline_blur_timeout_ms, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->offline_idle_timeout_ms, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->online_cloud_timeout_ms, field12); - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->notify_cloud_delay_ms, field13); - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->notify_default_delay_ms, field14); - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_big_size, field15); - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->push_chat_period_ms, field16); - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->push_chat_limit, field17); - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->disabled_features, field18); -} -void store_ds_constructor_contact (struct tl_ds_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->mutual, field2); -} -void store_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); -} -void store_ds_constructor_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void store_ds_constructor_contact_link_none (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void store_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void store_ds_constructor_contact_link_contact (struct tl_ds_contact_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return; } -} -void store_ds_constructor_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_status (D->status, field2); -} -void store_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->mutual_contacts, field2); -} -void store_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->hostname, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->ip_address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->port, field4); -} -void store_ds_constructor_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->ip_address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->port, field4); -} -void store_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->ttl, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_decrypted_message_media (D->media, field4); -} -void store_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_decrypted_message_action (D->action, field2); -} -void store_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->ttl_seconds, field1); -} -void store_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->random_ids, field1); -} -void store_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->random_ids, field1); -} -void store_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->random_ids, field1); -} -void store_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } -} -void store_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->start_seq_no, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->end_seq_no, field2); -} -void store_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->layer, field1); -} -void store_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_send_message_action (D->action, field1); -} -void store_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->g_a, field2); -} -void store_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->g_b, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->key_fingerprint, field3); -} -void store_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->exchange_id, field1); -} -void store_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->exchange_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->key_fingerprint, field2); -} -void store_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return; } -} -void store_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->random_bytes, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->layer, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->in_seq_no, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->out_seq_no, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_decrypted_message (D->message, field5); -} -void store_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } -} -void store_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field8); -} -void store_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->latitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->longitude, field2); -} -void store_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field4); -} -void store_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->file_name, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field8); -} -void store_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field10); -} -void store_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field5); -} -void store_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo_size (D->thumb, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->attributes, field8); -} -void store_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->str_thumb, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->thumb_h, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field9); -} -void store_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->key, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->iv, field4); -} -void store_ds_constructor_dialog (struct tl_ds_dialog *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->top_message, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->read_inbox_max_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->unread_count, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer_notify_settings (D->notify_settings, field5); -} -void store_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->feature, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->description, field2); -} -void store_ds_constructor_document_empty (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); -} -void store_ds_constructor_document (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo_size (D->thumb, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->attributes, field8); -} -void store_ds_constructor_document_l19 (struct tl_ds_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->file_name, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo_size (D->thumb, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field9); -} -void store_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field2); -} -void store_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } -} -void store_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->alt, field1); -} -void store_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->alt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_sticker_set (D->stickerset, field2); -} -void store_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field3); -} -void store_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field1); -} -void store_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->file_name, field1); -} -void store_ds_constructor_double (double *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return; } - out_double (*D); -} -void store_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->participant_id, field5); -} -void store_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->participant_id, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->g_a, field6); -} -void store_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->participant_id, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->g_a_or_b, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->key_fingerprint, field7); -} -void store_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return; } -} -void store_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->key_fingerprint, field5); -} -void store_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->bytes, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_encrypted_file (D->file, field5); -} -void store_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->random_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->bytes, field4); -} -void store_ds_constructor_error (struct tl_ds_error *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->code, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->text, field2); -} -void store_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return; } -} -void store_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->link, field1); -} -void store_ds_constructor_file_location_unavailable (struct tl_ds_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->volume_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->local_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->secret, field3); -} -void store_ds_constructor_file_location (struct tl_ds_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->volume_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->local_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->secret, field4); -} -void store_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); -} -void store_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field6); -} -void store_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_action (D->action, field5); -} -void store_ds_constructor_geo_point_empty (struct tl_ds_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return; } -} -void store_ds_constructor_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->longitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->latitude, field2); -} -void store_ds_constructor_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->client_id, field2); -} -void store_ds_constructor_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->time, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->peer, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->data, field4); -} -void store_ds_constructor_input_audio_empty (struct tl_ds_input_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return; } -} -void store_ds_constructor_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } -} -void store_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_photo_crop (D->crop, field2); -} -void store_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_photo (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_photo_crop (D->crop, field2); -} -void store_ds_constructor_input_phone_contact (struct tl_ds_input_contact *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->client_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field4); -} -void store_ds_constructor_input_document_empty (struct tl_ds_input_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return; } -} -void store_ds_constructor_input_document (struct tl_ds_input_document *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } -} -void store_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->md5_checksum, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->key_fingerprint, field4); -} -void store_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->key_fingerprint, field3); -} -void store_ds_constructor_input_file (struct tl_ds_input_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->md5_checksum, field4); -} -void store_ds_constructor_input_file_big (struct tl_ds_input_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->parts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->name, field3); -} -void store_ds_constructor_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->volume_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->local_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->secret, field3); -} -void store_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return; } -} -void store_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->latitude, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->longitude, field2); -} -void store_ds_constructor_input_media_empty (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } -} -void store_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field2); -} -void store_ds_constructor_input_media_photo (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_photo (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field2); -} -void store_ds_constructor_input_media_geo_point (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_geo_point (D->geo_point, field1); -} -void store_ds_constructor_input_media_contact (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field3); -} -void store_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field5); -} -void store_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->thumb, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field6); -} -void store_ds_constructor_input_media_video (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_video (D->video_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field2); -} -void store_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field3); -} -void store_ds_constructor_input_media_audio (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_audio (D->audio_id, field1); -} -void store_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->attributes, field3); -} -void store_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->file, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_file (D->thumb, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->attributes, field4); -} -void store_ds_constructor_input_media_document (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_document (D->document_id, field1); -} -void store_ds_constructor_input_media_venue (struct tl_ds_input_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_geo_point (D->geo_point, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->provider, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->venue_id, field5); -} -void store_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_peer (D->peer, field1); -} -void store_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void store_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void store_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } -} -void store_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_input_geo_chat (D->geo_peer, field1); -} -void store_ds_constructor_input_peer_empty (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } -} -void store_ds_constructor_input_peer_self (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } -} -void store_ds_constructor_input_peer_contact (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_peer_chat (struct tl_ds_input_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); -} -void store_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return; } -} -void store_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return; } -} -void store_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->mute_until, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->sound, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->show_previews, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->events_mask, field4); -} -void store_ds_constructor_input_photo_empty (struct tl_ds_input_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return; } -} -void store_ds_constructor_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return; } -} -void store_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->crop_left, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->crop_top, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_double (D->crop_width, field3); -} -void store_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return; } -} -void store_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void store_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void store_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field1); -} -void store_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void store_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } -} -void store_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field1); -} -void store_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } -} -void store_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->short_name, field1); -} -void store_ds_constructor_input_user_empty (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } -} -void store_ds_constructor_input_user_self (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } -} -void store_ds_constructor_input_user_contact (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_input_user_foreign (struct tl_ds_input_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_input_video_empty (struct tl_ds_input_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return; } -} -void store_ds_constructor_input_video (struct tl_ds_input_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); -} -void store_ds_constructor_int (int *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return; } - out_int (*D); -} -void store_ds_constructor_int128 (struct tl_ds_int128 *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f0, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f1, field2); -} -void store_ds_constructor_int256 (struct tl_ds_int256 *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f0, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f1, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f2, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->f3, field4); -} -void store_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->text, field1); -} -void store_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->buttons, field1); -} -void store_ds_constructor_long (long long *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return; } - out_long (*D); -} -void store_ds_constructor_message_empty (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_message (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->to_id, field4); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_from_id, field5); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_date, field6); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->reply_to_msg_id, field7); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field10); - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_reply_markup (D->reply_markup, field11); - } -} -void store_ds_constructor_message_service (struct tl_ds_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->to_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_action (D->action, field6); -} -void store_ds_constructor_message_action_empty (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void store_ds_constructor_message_action_chat_create (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field1); -} -void store_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field1); -} -void store_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void store_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->address, field2); -} -void store_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } -} -void store_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->inviter_id, field1); -} -void store_ds_constructor_message_media_empty (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } -} -void store_ds_constructor_message_media_photo (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field2); -} -void store_ds_constructor_message_media_video (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_video (D->video, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field2); -} -void store_ds_constructor_message_media_geo (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_point (D->geo, field1); -} -void store_ds_constructor_message_media_contact (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field4); -} -void store_ds_constructor_message_media_unsupported (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } -} -void store_ds_constructor_message_media_document (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_document (D->document, field1); -} -void store_ds_constructor_message_media_audio (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_audio (D->audio, field1); -} -void store_ds_constructor_message_media_web_page (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_web_page (D->webpage, field1); -} -void store_ds_constructor_message_media_venue (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_point (D->geo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->address, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->provider, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->venue_id, field5); -} -void store_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field1); -} -void store_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_video (D->video, field1); -} -void store_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return; } -} -void store_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->country, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->this_dc, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->nearest_dc, field3); -} -void store_ds_constructor_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->peer, field1); -} -void store_ds_constructor_notify_users (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void store_ds_constructor_notify_chats (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void store_ds_constructor_notify_all (struct tl_ds_notify_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return; } -} -void store_ds_constructor_null (struct tl_ds_null *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return; } -} -void store_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->pq, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->q, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int256 (D->new_nonce, field6); -} -void store_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->pq, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->q, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int256 (D->new_nonce, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->expires_in, field7); -} -void store_ds_constructor_peer_user (struct tl_ds_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); -} -void store_ds_constructor_peer_chat (struct tl_ds_peer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); -} -void store_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return; } -} -void store_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return; } -} -void store_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return; } -} -void store_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->mute_until, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->sound, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->show_previews, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->events_mask, field4); -} -void store_ds_constructor_photo_empty (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); -} -void store_ds_constructor_photo (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_point (D->geo, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->sizes, field6); -} -void store_ds_constructor_photo_l27 (struct tl_ds_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_point (D->geo, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->sizes, field7); -} -void store_ds_constructor_photo_size_empty (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field1); -} -void store_ds_constructor_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->location, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field5); -} -void store_ds_constructor_photo_cached_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->location, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->bytes, field5); -} -void store_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return; } -} -void store_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void store_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void store_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field1); -} -void store_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void store_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } -} -void store_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field1); -} -void store_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field2); -} -void store_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); -} -void store_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); -} -void store_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->rows, field2); -} -void store_ds_constructor_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->pq, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->server_public_key_fingerprints, field4); -} -void store_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->progress, field1); -} -void store_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->progress, field1); -} -void store_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->progress, field1); -} -void store_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->progress, field1); -} -void store_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return; } -} -void store_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->new_nonce_hash, field3); -} -void store_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->encrypted_answer, field3); -} -void store_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->g, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->dh_prime, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->g_a, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->server_time, field6); -} -void store_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->new_nonce_hash1, field3); -} -void store_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->new_nonce_hash2, field3); -} -void store_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->nonce, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->server_nonce, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int128 (D->new_nonce_hash3, field3); -} -void store_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->emoticon, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->documents, field2); -} -void store_ds_constructor_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->short_name, field4); -} -void store_ds_constructor_string (struct tl_ds_string *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return; } - out_cstring (D->data, D->len); -} -void store_ds_constructor_update_new_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message (D->message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field3); -} -void store_ds_constructor_update_message_i_d (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->random_id, field2); -} -void store_ds_constructor_update_delete_messages (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field3); -} -void store_ds_constructor_update_user_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_send_message_action (D->action, field2); -} -void store_ds_constructor_update_chat_user_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_send_message_action (D->action, field3); -} -void store_ds_constructor_update_chat_participants (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_participants (D->participants, field1); -} -void store_ds_constructor_update_user_status (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_status (D->status, field2); -} -void store_ds_constructor_update_user_name (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->username, field4); -} -void store_ds_constructor_update_user_photo (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_profile_photo (D->photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->previous, field4); -} -void store_ds_constructor_update_contact_registered (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); -} -void store_ds_constructor_update_contact_link (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_contact_link (D->my_link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_contact_link (D->foreign_link, field3); -} -void store_ds_constructor_update_new_authorization (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->auth_key_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->device, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->location, field4); -} -void store_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_chat_message (D->geo_message, field1); -} -void store_ds_constructor_update_new_encrypted_message (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_encrypted_message (D->encr_message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->qts, field2); -} -void store_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); -} -void store_ds_constructor_update_encryption (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_encrypted_chat (D->encr_chat, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); -} -void store_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->max_date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); -} -void store_ds_constructor_update_chat_participant_add (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->inviter_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field4); -} -void store_ds_constructor_update_chat_participant_delete (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field3); -} -void store_ds_constructor_update_dc_options (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->dc_options, field1); -} -void store_ds_constructor_update_user_blocked (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->blocked, field2); -} -void store_ds_constructor_update_notify_settings (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_notify_peer (D->notify_peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer_notify_settings (D->notify_settings, field2); -} -void store_ds_constructor_update_service_notification (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message_text, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->popup, field4); -} -void store_ds_constructor_update_privacy (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_privacy_key (D->key, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->rules, field2); -} -void store_ds_constructor_update_user_phone (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone, field2); -} -void store_ds_constructor_update_read_history_inbox (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->max_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field4); -} -void store_ds_constructor_update_read_history_outbox (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer (D->peer, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->max_id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field4); -} -void store_ds_constructor_update_web_page (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_web_page (D->webpage, field1); -} -void store_ds_constructor_update_read_messages_contents (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field3); -} -void store_ds_constructor_update_msg_update (struct tl_ds_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field3); -} -void store_ds_constructor_updates_too_long (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } -} -void store_ds_constructor_update_short_message (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field7); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_from_id, field8); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_date, field9); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->reply_to_msg_id, field10); - } -} -void store_ds_constructor_update_short_chat_message (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->chat_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field8); - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_from_id, field9); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_date, field10); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->reply_to_msg_id, field11); - } -} -void store_ds_constructor_update_short (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_update (D->update, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); -} -void store_ds_constructor_updates_combined (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->updates, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq_start, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field6); -} -void store_ds_constructor_updates (struct tl_ds_updates *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->updates, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field5); -} -void store_ds_constructor_user_empty (struct tl_ds_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_user (struct tl_ds_user *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field4); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field5); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->username, field6); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone, field7); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_profile_photo (D->photo, field8); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_status (D->status, field9); - } - if (PTR2INT (var0) & (1 << 14)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->bot_info_version, field10); - } -} -void store_ds_constructor_user_full (struct tl_ds_user_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user (D->user, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_contacts_link (D->link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->profile_photo, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_peer_notify_settings (D->notify_settings, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->blocked, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bot_info (D->bot_info, field6); -} -void store_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return; } -} -void store_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->photo_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->photo_small, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_file_location (D->photo_big, field3); -} -void store_ds_constructor_user_status_empty (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void store_ds_constructor_user_status_online (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->expires, field1); -} -void store_ds_constructor_user_status_offline (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->was_online, field1); -} -void store_ds_constructor_user_status_recently (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void store_ds_constructor_user_status_last_week (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void store_ds_constructor_user_status_last_month (struct tl_ds_user_status *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return; } -} -void store_ds_constructor_vector (struct tl_ds_vector *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return; } - if (ODDP(T->params[0])) { return; } - struct paramed_type *var0 = T->params[0]; assert (var0); - struct paramed_type *var1 = INT2PTR (*D->f1); - out_int (PTR2INT (var1)); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - { - int i = 0; - while (i < multiplicity3) { - store_ds_type_any (D->f2[i ++], field3); - } - } -} -void store_ds_constructor_video_empty (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); -} -void store_ds_constructor_video (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo_size (D->thumb, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field10); -} -void store_ds_constructor_video_l27 (struct tl_ds_video *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->caption, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->mime_type, field7); - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->size, field8); - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo_size (D->thumb, field9); - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc_id, field10); - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->w, field11); - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->h, field12); -} -void store_ds_constructor_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->sizes, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->color, field4); -} -void store_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->bg_color, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->color, field4); -} -void store_ds_constructor_web_page_empty (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); -} -void store_ds_constructor_web_page_pending (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); -} -void store_ds_constructor_web_page (struct tl_ds_web_page *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->id, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->url, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->display_url, field4); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->type, field5); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->site_name, field6); - } - if (PTR2INT (var0) & (1 << 2)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field7); - } - if (PTR2INT (var0) & (1 << 3)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->description, field8); - } - if (PTR2INT (var0) & (1 << 4)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field9); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->embed_url, field10); - } - if (PTR2INT (var0) & (1 << 5)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->embed_type, field11); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->embed_width, field12); - } - if (PTR2INT (var0) & (1 << 6)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->embed_height, field13); - } - if (PTR2INT (var0) & (1 << 7)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->duration, field14); - } - if (PTR2INT (var0) & (1 << 8)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->author, field15); - } -} -void store_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->authorizations, field1); -} -void store_ds_constructor_account_no_password (struct tl_ds_account_password *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->new_salt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->email_unconfirmed_pattern, field2); -} -void store_ds_constructor_account_password (struct tl_ds_account_password *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->current_salt, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->new_salt, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->hint, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->has_recovery, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->email_unconfirmed_pattern, field5); -} -void store_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->new_salt, field2); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->new_password_hash, field3); - } - if (PTR2INT (var0) & (1 << 0)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->hint, field4); - } - if (PTR2INT (var0) & (1 << 1)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->email, field5); - } -} -void store_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->email, field1); -} -void store_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->rules, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_code_hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->send_call_timeout, field2); -} -void store_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user (D->user, field1); -} -void store_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->phone_registered, field1); -} -void store_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->bytes, field2); -} -void store_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->email_pattern, field1); -} -void store_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->phone_registered, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_code_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->send_call_timeout, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->is_password, field4); -} -void store_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->phone_registered, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_code_hash, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->send_call_timeout, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->is_password, field4); -} -void store_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return; } - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - { - int i = 0; - while (i < multiplicity1) { - store_ds_type_any (D->key[i ++], field1); - } - } -} -void store_ds_constructor_binlog_start (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } -} -void store_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->name, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->ip, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->port, field4); -} -void store_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->flags, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->name, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->ip, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->port, field5); -} -void store_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_binlog_encr_key (D->key, field2); -} -void store_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc, field1); -} -void store_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->dc, field1); -} -void store_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->root, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_binlog_encr_key (D->prime, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field3); -} -void store_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field1); -} -void store_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->qts, field1); -} -void store_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field1); -} -void store_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field1); -} -void store_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin, field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field6); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_binlog_encr_key (D->key, field7); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_binlog_encr_key (D->g_key, field8); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->state, field9); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->ttl, field10); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->layer, field11); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->in_seq_no, field12); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->last_in_seq_no, field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->out_seq_no, field14); - } - if (PTR2INT (var0) & (1 << 27)) { - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->key_fingerprint, field15); - } -} -void store_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->exchange_id, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_binlog_encr_key (D->key, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->state, field5); - } -} -void store_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); -} -void store_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->access_hash, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->first_name, field4); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->last_name, field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->username, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->real_first_name, field9); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->real_last_name, field10); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user_profile_photo (D->user_photo, field11); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->last_read_in, field12); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->last_read_out, field13); - } - if (PTR2INT (var0) & (1 << 26)) { - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bot_info (D->bot_info, field14); - } -} -void store_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->title, field3); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_num, field4); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field5); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->participants, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_photo (D->chat_photo, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->admin, field10); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->last_read_in, field11); - } - if (PTR2INT (var0) & (1 << 25)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->last_read_out, field12); - } -} -void store_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->inviter_id, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field5); -} -void store_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->user_id, field3); -} -void store_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->old_id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->new_id, field2); -} -void store_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->lid, field1); -} -void store_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->lid, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->to_type, field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->to_id, field5); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_from_id, field6); - } - if (PTR2INT (var0) & (1 << 18)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->fwd_date, field7); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field8); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field9); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field10); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_action (D->action, field11); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->reply_id, field12); - } - if (PTR2INT (var0) & (1 << 24)) { - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_reply_markup (D->reply_markup, field13); - } -} -void store_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *var0 = INT2PTR (*D->flags); - out_int (PTR2INT (var0)); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->lid, field2); - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->from_id, field3); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->to_type, field4); - } - if (PTR2INT (var0) & (1 << 17)) { - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->to_id, field5); - } - if (PTR2INT (var0) & (1 << 19)) { - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field6); - } - if (PTR2INT (var0) & (1 << 20)) { - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field7); - } - if (PTR2INT (var0) & (1 << 21)) { - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_decrypted_message_media (D->encr_media, field8); - } - if (PTR2INT (var0) & (1 << 22)) { - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_decrypted_message_action (D->encr_action, field9); - } - if (PTR2INT (var0) & (1 << 23)) { - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_encrypted_file (D->file, field10); - } -} -void store_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_long (D->lid, field1); -} -void store_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return; } -} -void store_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->blocked, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->blocked, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return; } -} -void store_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->contacts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->imported, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->retry_contacts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_contact_link (D->my_link, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_contact_link (D->foreign_link, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user (D->user, field3); -} -void store_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->results, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field4); -} -void store_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field4); -} -void store_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_geo_chat_message (D->message, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field4); -} -void store_ds_constructor_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bool (D->critical, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->url, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->text, field4); -} -void store_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return; } -} -void store_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->message, field1); -} -void store_ds_constructor_help_support (struct tl_ds_help_support *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->phone_number, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_user (D->user, field2); -} -void store_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->offset, field3); -} -void store_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field2); -} -void store_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return; } -} -void store_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->packs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->sets, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->documents, field4); -} -void store_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_chat_full (D->full_chat, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field1); -} -void store_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->random, field1); -} -void store_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->g, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->p, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->version, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->random, field4); -} -void store_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->dialogs, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field4); -} -void store_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->dialogs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field5); -} -void store_ds_constructor_messages_message_empty (struct tl_ds_messages_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return; } -} -void store_ds_constructor_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field4); -} -void store_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field1); -} -void store_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_encrypted_file (D->file, field2); -} -void store_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field5); -} -void store_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->id, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_message_media (D->media, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts_count, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->links, field6); - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field7); -} -void store_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_sticker_set (D->set, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->packs, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->documents, field3); -} -void store_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return; } -} -void store_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_string (D->hash, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->stickers, field2); -} -void store_ds_constructor_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_photo (D->photo, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->photos, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field2); -} -void store_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->count, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->photos, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field3); -} -void store_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return; } -} -void store_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field2); -} -void store_ds_constructor_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->new_messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->new_encrypted_messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->other_updates, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_updates_state (D->state, field6); -} -void store_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->new_messages, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->new_encrypted_messages, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->other_updates, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->chats, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - store_ds_type_vector ((void *)D->users, field5); - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_updates_state (D->intermediate_state, field6); -} -void store_ds_constructor_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->pts, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->qts, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->date, field3); - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->seq, field4); - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->unread_count, field5); -} -void store_ds_constructor_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_storage_file_type (D->type, field1); - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_int (D->mtime, field2); - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - store_ds_type_bare_bytes (D->bytes, field3); -} -void store_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T) { - out_int (0xb8d0afdf); - store_ds_constructor_account_days_t_t_l (D, T); return; -} -void store_ds_type_bare_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T) { - store_ds_constructor_account_days_t_t_l (D, T); return; -} -void store_ds_type_audio (struct tl_ds_audio *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x586988d8: store_ds_constructor_audio_empty (D, T); return; - case 0xc7ac6496: store_ds_constructor_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_audio (struct tl_ds_audio *D, struct paramed_type *T) { - switch (D->magic) { - case 0x586988d8: store_ds_constructor_audio_empty (D, T); return; - case 0xc7ac6496: store_ds_constructor_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_authorization (struct tl_ds_authorization *D, struct paramed_type *T) { - out_int (0x7bf2e6f6); - store_ds_constructor_authorization (D, T); return; -} -void store_ds_type_bare_authorization (struct tl_ds_authorization *D, struct paramed_type *T) { - store_ds_constructor_authorization (D, T); return; -} -void store_ds_type_bool (struct tl_ds_bool *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xbc799737: store_ds_constructor_bool_false (D, T); return; - case 0x997275b5: store_ds_constructor_bool_true (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_bool (struct tl_ds_bool *D, struct paramed_type *T) { - switch (D->magic) { - case 0xbc799737: store_ds_constructor_bool_false (D, T); return; - case 0x997275b5: store_ds_constructor_bool_true (D, T); return; - default: assert (0); - } -} -void store_ds_type_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xc27ac8c7: store_ds_constructor_bot_command (D, T); return; - case 0xb79d22ab: store_ds_constructor_bot_command_old (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc27ac8c7: store_ds_constructor_bot_command (D, T); return; - case 0xb79d22ab: store_ds_constructor_bot_command_old (D, T); return; - default: assert (0); - } -} -void store_ds_type_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xbb2e37ce: store_ds_constructor_bot_info_empty (D, T); return; - case 0x09cf585d: store_ds_constructor_bot_info (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T) { - switch (D->magic) { - case 0xbb2e37ce: store_ds_constructor_bot_info_empty (D, T); return; - case 0x09cf585d: store_ds_constructor_bot_info (D, T); return; - default: assert (0); - } -} -void store_ds_type_bytes (struct tl_ds_string *D, struct paramed_type *T) { - out_int (0x0ee1379f); - store_ds_constructor_bytes (D, T); return; -} -void store_ds_type_bare_bytes (struct tl_ds_string *D, struct paramed_type *T) { - store_ds_constructor_bytes (D, T); return; -} -void store_ds_type_chat (struct tl_ds_chat *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x9ba2d800: store_ds_constructor_chat_empty (D, T); return; - case 0x6e9c9bc7: store_ds_constructor_chat (D, T); return; - case 0xfb0ccc41: store_ds_constructor_chat_forbidden (D, T); return; - case 0x75eaea5a: store_ds_constructor_geo_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_chat (struct tl_ds_chat *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9ba2d800: store_ds_constructor_chat_empty (D, T); return; - case 0x6e9c9bc7: store_ds_constructor_chat (D, T); return; - case 0xfb0ccc41: store_ds_constructor_chat_forbidden (D, T); return; - case 0x75eaea5a: store_ds_constructor_geo_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T) { - out_int (0x2e02a614); - store_ds_constructor_chat_full (D, T); return; -} -void store_ds_type_bare_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T) { - store_ds_constructor_chat_full (D, T); return; -} -void store_ds_type_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x5a686d7c: store_ds_constructor_chat_invite_already (D, T); return; - case 0xce917dcd: store_ds_constructor_chat_invite (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5a686d7c: store_ds_constructor_chat_invite_already (D, T); return; - case 0xce917dcd: store_ds_constructor_chat_invite (D, T); return; - default: assert (0); - } -} -void store_ds_type_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T) { - out_int (0x3631cf4c); - store_ds_constructor_chat_located (D, T); return; -} -void store_ds_type_bare_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T) { - store_ds_constructor_chat_located (D, T); return; -} -void store_ds_type_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T) { - out_int (0xc8d7493e); - store_ds_constructor_chat_participant (D, T); return; -} -void store_ds_type_bare_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T) { - store_ds_constructor_chat_participant (D, T); return; -} -void store_ds_type_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x0fd2bb8a: store_ds_constructor_chat_participants_forbidden (D, T); return; - case 0x7841b415: store_ds_constructor_chat_participants (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0fd2bb8a: store_ds_constructor_chat_participants_forbidden (D, T); return; - case 0x7841b415: store_ds_constructor_chat_participants (D, T); return; - default: assert (0); - } -} -void store_ds_type_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x37c1011c: store_ds_constructor_chat_photo_empty (D, T); return; - case 0x6153276a: store_ds_constructor_chat_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x37c1011c: store_ds_constructor_chat_photo_empty (D, T); return; - case 0x6153276a: store_ds_constructor_chat_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T) { - out_int (0x6643b654); - store_ds_constructor_client_d_h_inner_data (D, T); return; -} -void store_ds_type_bare_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T) { - store_ds_constructor_client_d_h_inner_data (D, T); return; -} -void store_ds_type_config (struct tl_ds_config *D, struct paramed_type *T) { - out_int (0x4e32b894); - store_ds_constructor_config (D, T); return; -} -void store_ds_type_bare_config (struct tl_ds_config *D, struct paramed_type *T) { - store_ds_constructor_config (D, T); return; -} -void store_ds_type_contact (struct tl_ds_contact *D, struct paramed_type *T) { - out_int (0xf911c994); - store_ds_constructor_contact (D, T); return; -} -void store_ds_type_bare_contact (struct tl_ds_contact *D, struct paramed_type *T) { - store_ds_constructor_contact (D, T); return; -} -void store_ds_type_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T) { - out_int (0x561bc879); - store_ds_constructor_contact_blocked (D, T); return; -} -void store_ds_type_bare_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T) { - store_ds_constructor_contact_blocked (D, T); return; -} -void store_ds_type_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T) { - out_int (0xea879f95); - store_ds_constructor_contact_found (D, T); return; -} -void store_ds_type_bare_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T) { - store_ds_constructor_contact_found (D, T); return; -} -void store_ds_type_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x5f4f9247: store_ds_constructor_contact_link_unknown (D, T); return; - case 0xfeedd3ad: store_ds_constructor_contact_link_none (D, T); return; - case 0x268f3f59: store_ds_constructor_contact_link_has_phone (D, T); return; - case 0xd502c2d0: store_ds_constructor_contact_link_contact (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5f4f9247: store_ds_constructor_contact_link_unknown (D, T); return; - case 0xfeedd3ad: store_ds_constructor_contact_link_none (D, T); return; - case 0x268f3f59: store_ds_constructor_contact_link_has_phone (D, T); return; - case 0xd502c2d0: store_ds_constructor_contact_link_contact (D, T); return; - default: assert (0); - } -} -void store_ds_type_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T) { - out_int (0xd3680c61); - store_ds_constructor_contact_status (D, T); return; -} -void store_ds_type_bare_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T) { - store_ds_constructor_contact_status (D, T); return; -} -void store_ds_type_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T) { - out_int (0x3de191a1); - store_ds_constructor_contact_suggested (D, T); return; -} -void store_ds_type_bare_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T) { - store_ds_constructor_contact_suggested (D, T); return; -} -void store_ds_type_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x2ec2a43c: store_ds_constructor_dc_option_l28 (D, T); return; - case 0x05d8c6cc: store_ds_constructor_dc_option (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T) { - switch (D->magic) { - case 0x2ec2a43c: store_ds_constructor_dc_option_l28 (D, T); return; - case 0x05d8c6cc: store_ds_constructor_dc_option (D, T); return; - default: assert (0); - } -} -void store_ds_type_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x204d3878: store_ds_constructor_decrypted_message (D, T); return; - case 0x73164160: store_ds_constructor_decrypted_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x204d3878: store_ds_constructor_decrypted_message (D, T); return; - case 0x73164160: store_ds_constructor_decrypted_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xa1733aec: store_ds_constructor_decrypted_message_action_set_message_t_t_l (D, T); return; - case 0x0c4f40be: store_ds_constructor_decrypted_message_action_read_messages (D, T); return; - case 0x65614304: store_ds_constructor_decrypted_message_action_delete_messages (D, T); return; - case 0x8ac1f475: store_ds_constructor_decrypted_message_action_screenshot_messages (D, T); return; - case 0x6719e45c: store_ds_constructor_decrypted_message_action_flush_history (D, T); return; - case 0x511110b0: store_ds_constructor_decrypted_message_action_resend (D, T); return; - case 0xf3048883: store_ds_constructor_decrypted_message_action_notify_layer (D, T); return; - case 0xccb27641: store_ds_constructor_decrypted_message_action_typing (D, T); return; - case 0xf3c9611b: store_ds_constructor_decrypted_message_action_request_key (D, T); return; - case 0x6fe1735b: store_ds_constructor_decrypted_message_action_accept_key (D, T); return; - case 0xdd05ec6b: store_ds_constructor_decrypted_message_action_abort_key (D, T); return; - case 0xec2e0b9b: store_ds_constructor_decrypted_message_action_commit_key (D, T); return; - case 0xa82fdd63: store_ds_constructor_decrypted_message_action_noop (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0xa1733aec: store_ds_constructor_decrypted_message_action_set_message_t_t_l (D, T); return; - case 0x0c4f40be: store_ds_constructor_decrypted_message_action_read_messages (D, T); return; - case 0x65614304: store_ds_constructor_decrypted_message_action_delete_messages (D, T); return; - case 0x8ac1f475: store_ds_constructor_decrypted_message_action_screenshot_messages (D, T); return; - case 0x6719e45c: store_ds_constructor_decrypted_message_action_flush_history (D, T); return; - case 0x511110b0: store_ds_constructor_decrypted_message_action_resend (D, T); return; - case 0xf3048883: store_ds_constructor_decrypted_message_action_notify_layer (D, T); return; - case 0xccb27641: store_ds_constructor_decrypted_message_action_typing (D, T); return; - case 0xf3c9611b: store_ds_constructor_decrypted_message_action_request_key (D, T); return; - case 0x6fe1735b: store_ds_constructor_decrypted_message_action_accept_key (D, T); return; - case 0xdd05ec6b: store_ds_constructor_decrypted_message_action_abort_key (D, T); return; - case 0xec2e0b9b: store_ds_constructor_decrypted_message_action_commit_key (D, T); return; - case 0xa82fdd63: store_ds_constructor_decrypted_message_action_noop (D, T); return; - default: assert (0); - } -} -void store_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T) { - out_int (0x1be31789); - store_ds_constructor_decrypted_message_layer (D, T); return; -} -void store_ds_type_bare_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T) { - store_ds_constructor_decrypted_message_layer (D, T); return; -} -void store_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x089f5c4a: store_ds_constructor_decrypted_message_media_empty (D, T); return; - case 0x32798a8c: store_ds_constructor_decrypted_message_media_photo (D, T); return; - case 0x35480a59: store_ds_constructor_decrypted_message_media_geo_point (D, T); return; - case 0x588a0a97: store_ds_constructor_decrypted_message_media_contact (D, T); return; - case 0xb095434b: store_ds_constructor_decrypted_message_media_document (D, T); return; - case 0x524a415d: store_ds_constructor_decrypted_message_media_video (D, T); return; - case 0x57e0a9cb: store_ds_constructor_decrypted_message_media_audio (D, T); return; - case 0xfa95b0dd: store_ds_constructor_decrypted_message_media_external_document (D, T); return; - case 0x4cee6ef3: store_ds_constructor_decrypted_message_media_video_l12 (D, T); return; - case 0x6080758f: store_ds_constructor_decrypted_message_media_audio_l12 (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x089f5c4a: store_ds_constructor_decrypted_message_media_empty (D, T); return; - case 0x32798a8c: store_ds_constructor_decrypted_message_media_photo (D, T); return; - case 0x35480a59: store_ds_constructor_decrypted_message_media_geo_point (D, T); return; - case 0x588a0a97: store_ds_constructor_decrypted_message_media_contact (D, T); return; - case 0xb095434b: store_ds_constructor_decrypted_message_media_document (D, T); return; - case 0x524a415d: store_ds_constructor_decrypted_message_media_video (D, T); return; - case 0x57e0a9cb: store_ds_constructor_decrypted_message_media_audio (D, T); return; - case 0xfa95b0dd: store_ds_constructor_decrypted_message_media_external_document (D, T); return; - case 0x4cee6ef3: store_ds_constructor_decrypted_message_media_video_l12 (D, T); return; - case 0x6080758f: store_ds_constructor_decrypted_message_media_audio_l12 (D, T); return; - default: assert (0); - } -} -void store_ds_type_dialog (struct tl_ds_dialog *D, struct paramed_type *T) { - out_int (0xc1dd804a); - store_ds_constructor_dialog (D, T); return; -} -void store_ds_type_bare_dialog (struct tl_ds_dialog *D, struct paramed_type *T) { - store_ds_constructor_dialog (D, T); return; -} -void store_ds_type_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T) { - out_int (0xae636f24); - store_ds_constructor_disabled_feature (D, T); return; -} -void store_ds_type_bare_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T) { - store_ds_constructor_disabled_feature (D, T); return; -} -void store_ds_type_document (struct tl_ds_document *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x36f8c871: store_ds_constructor_document_empty (D, T); return; - case 0xf9a39f4f: store_ds_constructor_document (D, T); return; - case 0x9efc6326: store_ds_constructor_document_l19 (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_document (struct tl_ds_document *D, struct paramed_type *T) { - switch (D->magic) { - case 0x36f8c871: store_ds_constructor_document_empty (D, T); return; - case 0xf9a39f4f: store_ds_constructor_document (D, T); return; - case 0x9efc6326: store_ds_constructor_document_l19 (D, T); return; - default: assert (0); - } -} -void store_ds_type_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x6c37c15c: store_ds_constructor_document_attribute_image_size (D, T); return; - case 0x11b58939: store_ds_constructor_document_attribute_animated (D, T); return; - case 0x994c9882: store_ds_constructor_document_attribute_sticker_l28 (D, T); return; - case 0x3a556302: store_ds_constructor_document_attribute_sticker (D, T); return; - case 0x5910cccb: store_ds_constructor_document_attribute_video (D, T); return; - case 0x051448e5: store_ds_constructor_document_attribute_audio (D, T); return; - case 0x15590068: store_ds_constructor_document_attribute_filename (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T) { - switch (D->magic) { - case 0x6c37c15c: store_ds_constructor_document_attribute_image_size (D, T); return; - case 0x11b58939: store_ds_constructor_document_attribute_animated (D, T); return; - case 0x994c9882: store_ds_constructor_document_attribute_sticker_l28 (D, T); return; - case 0x3a556302: store_ds_constructor_document_attribute_sticker (D, T); return; - case 0x5910cccb: store_ds_constructor_document_attribute_video (D, T); return; - case 0x051448e5: store_ds_constructor_document_attribute_audio (D, T); return; - case 0x15590068: store_ds_constructor_document_attribute_filename (D, T); return; - default: assert (0); - } -} -void store_ds_type_double (double *D, struct paramed_type *T) { - out_int (0x2210c154); - store_ds_constructor_double (D, T); return; -} -void store_ds_type_bare_double (double *D, struct paramed_type *T) { - store_ds_constructor_double (D, T); return; -} -void store_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xab7ec0a0: store_ds_constructor_encrypted_chat_empty (D, T); return; - case 0x3bf703dc: store_ds_constructor_encrypted_chat_waiting (D, T); return; - case 0xc878527e: store_ds_constructor_encrypted_chat_requested (D, T); return; - case 0xfa56ce36: store_ds_constructor_encrypted_chat (D, T); return; - case 0x13d6dd27: store_ds_constructor_encrypted_chat_discarded (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T) { - switch (D->magic) { - case 0xab7ec0a0: store_ds_constructor_encrypted_chat_empty (D, T); return; - case 0x3bf703dc: store_ds_constructor_encrypted_chat_waiting (D, T); return; - case 0xc878527e: store_ds_constructor_encrypted_chat_requested (D, T); return; - case 0xfa56ce36: store_ds_constructor_encrypted_chat (D, T); return; - case 0x13d6dd27: store_ds_constructor_encrypted_chat_discarded (D, T); return; - default: assert (0); - } -} -void store_ds_type_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xc21f497e: store_ds_constructor_encrypted_file_empty (D, T); return; - case 0x4a70994c: store_ds_constructor_encrypted_file (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc21f497e: store_ds_constructor_encrypted_file_empty (D, T); return; - case 0x4a70994c: store_ds_constructor_encrypted_file (D, T); return; - default: assert (0); - } -} -void store_ds_type_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xed18c118: store_ds_constructor_encrypted_message (D, T); return; - case 0x23734b06: store_ds_constructor_encrypted_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0xed18c118: store_ds_constructor_encrypted_message (D, T); return; - case 0x23734b06: store_ds_constructor_encrypted_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_error (struct tl_ds_error *D, struct paramed_type *T) { - out_int (0xc4b9f9bb); - store_ds_constructor_error (D, T); return; -} -void store_ds_type_bare_error (struct tl_ds_error *D, struct paramed_type *T) { - store_ds_constructor_error (D, T); return; -} -void store_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x69df3769: store_ds_constructor_chat_invite_empty (D, T); return; - case 0xfc2e05bc: store_ds_constructor_chat_invite_exported (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T) { - switch (D->magic) { - case 0x69df3769: store_ds_constructor_chat_invite_empty (D, T); return; - case 0xfc2e05bc: store_ds_constructor_chat_invite_exported (D, T); return; - default: assert (0); - } -} -void store_ds_type_file_location (struct tl_ds_file_location *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x7c596b46: store_ds_constructor_file_location_unavailable (D, T); return; - case 0x53d69076: store_ds_constructor_file_location (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_file_location (struct tl_ds_file_location *D, struct paramed_type *T) { - switch (D->magic) { - case 0x7c596b46: store_ds_constructor_file_location_unavailable (D, T); return; - case 0x53d69076: store_ds_constructor_file_location (D, T); return; - default: assert (0); - } -} -void store_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x60311a9b: store_ds_constructor_geo_chat_message_empty (D, T); return; - case 0x4505f8e1: store_ds_constructor_geo_chat_message (D, T); return; - case 0xd34fa24e: store_ds_constructor_geo_chat_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x60311a9b: store_ds_constructor_geo_chat_message_empty (D, T); return; - case 0x4505f8e1: store_ds_constructor_geo_chat_message (D, T); return; - case 0xd34fa24e: store_ds_constructor_geo_chat_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1117dd5f: store_ds_constructor_geo_point_empty (D, T); return; - case 0x2049d70c: store_ds_constructor_geo_point (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1117dd5f: store_ds_constructor_geo_point_empty (D, T); return; - case 0x2049d70c: store_ds_constructor_geo_point (D, T); return; - default: assert (0); - } -} -void store_ds_type_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T) { - out_int (0xd0028438); - store_ds_constructor_imported_contact (D, T); return; -} -void store_ds_type_bare_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T) { - store_ds_constructor_imported_contact (D, T); return; -} -void store_ds_type_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T) { - out_int (0x770656a8); - store_ds_constructor_input_app_event (D, T); return; -} -void store_ds_type_bare_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T) { - store_ds_constructor_input_app_event (D, T); return; -} -void store_ds_type_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xd95adc84: store_ds_constructor_input_audio_empty (D, T); return; - case 0x77d440ff: store_ds_constructor_input_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T) { - switch (D->magic) { - case 0xd95adc84: store_ds_constructor_input_audio_empty (D, T); return; - case 0x77d440ff: store_ds_constructor_input_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1ca48f57: store_ds_constructor_input_chat_photo_empty (D, T); return; - case 0x94254732: store_ds_constructor_input_chat_uploaded_photo (D, T); return; - case 0xb2e1bf08: store_ds_constructor_input_chat_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1ca48f57: store_ds_constructor_input_chat_photo_empty (D, T); return; - case 0x94254732: store_ds_constructor_input_chat_uploaded_photo (D, T); return; - case 0xb2e1bf08: store_ds_constructor_input_chat_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T) { - out_int (0xf392b7f4); - store_ds_constructor_input_phone_contact (D, T); return; -} -void store_ds_type_bare_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T) { - store_ds_constructor_input_phone_contact (D, T); return; -} -void store_ds_type_input_document (struct tl_ds_input_document *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x72f0eaae: store_ds_constructor_input_document_empty (D, T); return; - case 0x18798952: store_ds_constructor_input_document (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_document (struct tl_ds_input_document *D, struct paramed_type *T) { - switch (D->magic) { - case 0x72f0eaae: store_ds_constructor_input_document_empty (D, T); return; - case 0x18798952: store_ds_constructor_input_document (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T) { - out_int (0xf141b5e1); - store_ds_constructor_input_encrypted_chat (D, T); return; -} -void store_ds_type_bare_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T) { - store_ds_constructor_input_encrypted_chat (D, T); return; -} -void store_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1837c364: store_ds_constructor_input_encrypted_file_empty (D, T); return; - case 0x64bd0306: store_ds_constructor_input_encrypted_file_uploaded (D, T); return; - case 0x5a17b5e5: store_ds_constructor_input_encrypted_file (D, T); return; - case 0x2dc173c8: store_ds_constructor_input_encrypted_file_big_uploaded (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1837c364: store_ds_constructor_input_encrypted_file_empty (D, T); return; - case 0x64bd0306: store_ds_constructor_input_encrypted_file_uploaded (D, T); return; - case 0x5a17b5e5: store_ds_constructor_input_encrypted_file (D, T); return; - case 0x2dc173c8: store_ds_constructor_input_encrypted_file_big_uploaded (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_file (struct tl_ds_input_file *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xf52ff27f: store_ds_constructor_input_file (D, T); return; - case 0xfa4f0bb5: store_ds_constructor_input_file_big (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_file (struct tl_ds_input_file *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf52ff27f: store_ds_constructor_input_file (D, T); return; - case 0xfa4f0bb5: store_ds_constructor_input_file_big (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x14637196: store_ds_constructor_input_file_location (D, T); return; - case 0x3d0364ec: store_ds_constructor_input_video_file_location (D, T); return; - case 0xf5235d55: store_ds_constructor_input_encrypted_file_location (D, T); return; - case 0x74dc404d: store_ds_constructor_input_audio_file_location (D, T); return; - case 0x4e45abe9: store_ds_constructor_input_document_file_location (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T) { - switch (D->magic) { - case 0x14637196: store_ds_constructor_input_file_location (D, T); return; - case 0x3d0364ec: store_ds_constructor_input_video_file_location (D, T); return; - case 0xf5235d55: store_ds_constructor_input_encrypted_file_location (D, T); return; - case 0x74dc404d: store_ds_constructor_input_audio_file_location (D, T); return; - case 0x4e45abe9: store_ds_constructor_input_document_file_location (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T) { - out_int (0x74d456fa); - store_ds_constructor_input_geo_chat (D, T); return; -} -void store_ds_type_bare_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T) { - store_ds_constructor_input_geo_chat (D, T); return; -} -void store_ds_type_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xe4c123d6: store_ds_constructor_input_geo_point_empty (D, T); return; - case 0xf3b7acc9: store_ds_constructor_input_geo_point (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe4c123d6: store_ds_constructor_input_geo_point_empty (D, T); return; - case 0xf3b7acc9: store_ds_constructor_input_geo_point (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_media (struct tl_ds_input_media *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x9664f57f: store_ds_constructor_input_media_empty (D, T); return; - case 0xf7aff1c0: store_ds_constructor_input_media_uploaded_photo (D, T); return; - case 0xe9bfb4f3: store_ds_constructor_input_media_photo (D, T); return; - case 0xf9c44144: store_ds_constructor_input_media_geo_point (D, T); return; - case 0xa6e45987: store_ds_constructor_input_media_contact (D, T); return; - case 0xe13fd4bc: store_ds_constructor_input_media_uploaded_video (D, T); return; - case 0x96fb97dc: store_ds_constructor_input_media_uploaded_thumb_video (D, T); return; - case 0x936a4ebd: store_ds_constructor_input_media_video (D, T); return; - case 0x4e498cab: store_ds_constructor_input_media_uploaded_audio (D, T); return; - case 0x89938781: store_ds_constructor_input_media_audio (D, T); return; - case 0xffe76b78: store_ds_constructor_input_media_uploaded_document (D, T); return; - case 0x41481486: store_ds_constructor_input_media_uploaded_thumb_document (D, T); return; - case 0xd184e841: store_ds_constructor_input_media_document (D, T); return; - case 0x2827a81a: store_ds_constructor_input_media_venue (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_media (struct tl_ds_input_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9664f57f: store_ds_constructor_input_media_empty (D, T); return; - case 0xf7aff1c0: store_ds_constructor_input_media_uploaded_photo (D, T); return; - case 0xe9bfb4f3: store_ds_constructor_input_media_photo (D, T); return; - case 0xf9c44144: store_ds_constructor_input_media_geo_point (D, T); return; - case 0xa6e45987: store_ds_constructor_input_media_contact (D, T); return; - case 0xe13fd4bc: store_ds_constructor_input_media_uploaded_video (D, T); return; - case 0x96fb97dc: store_ds_constructor_input_media_uploaded_thumb_video (D, T); return; - case 0x936a4ebd: store_ds_constructor_input_media_video (D, T); return; - case 0x4e498cab: store_ds_constructor_input_media_uploaded_audio (D, T); return; - case 0x89938781: store_ds_constructor_input_media_audio (D, T); return; - case 0xffe76b78: store_ds_constructor_input_media_uploaded_document (D, T); return; - case 0x41481486: store_ds_constructor_input_media_uploaded_thumb_document (D, T); return; - case 0xd184e841: store_ds_constructor_input_media_document (D, T); return; - case 0x2827a81a: store_ds_constructor_input_media_venue (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xb8bc5b0c: store_ds_constructor_input_notify_peer (D, T); return; - case 0x193b4417: store_ds_constructor_input_notify_users (D, T); return; - case 0x4a95e84e: store_ds_constructor_input_notify_chats (D, T); return; - case 0xa429b886: store_ds_constructor_input_notify_all (D, T); return; - case 0x4d8ddec8: store_ds_constructor_input_notify_geo_chat_peer (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb8bc5b0c: store_ds_constructor_input_notify_peer (D, T); return; - case 0x193b4417: store_ds_constructor_input_notify_users (D, T); return; - case 0x4a95e84e: store_ds_constructor_input_notify_chats (D, T); return; - case 0xa429b886: store_ds_constructor_input_notify_all (D, T); return; - case 0x4d8ddec8: store_ds_constructor_input_notify_geo_chat_peer (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x7f3b18ea: store_ds_constructor_input_peer_empty (D, T); return; - case 0x7da07ec9: store_ds_constructor_input_peer_self (D, T); return; - case 0x1023dbe8: store_ds_constructor_input_peer_contact (D, T); return; - case 0x9b447325: store_ds_constructor_input_peer_foreign (D, T); return; - case 0x179be863: store_ds_constructor_input_peer_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x7f3b18ea: store_ds_constructor_input_peer_empty (D, T); return; - case 0x7da07ec9: store_ds_constructor_input_peer_self (D, T); return; - case 0x1023dbe8: store_ds_constructor_input_peer_contact (D, T); return; - case 0x9b447325: store_ds_constructor_input_peer_foreign (D, T); return; - case 0x179be863: store_ds_constructor_input_peer_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xf03064d8: store_ds_constructor_input_peer_notify_events_empty (D, T); return; - case 0xe86a2c74: store_ds_constructor_input_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf03064d8: store_ds_constructor_input_peer_notify_events_empty (D, T); return; - case 0xe86a2c74: store_ds_constructor_input_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T) { - out_int (0x46a2ce98); - store_ds_constructor_input_peer_notify_settings (D, T); return; -} -void store_ds_type_bare_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T) { - store_ds_constructor_input_peer_notify_settings (D, T); return; -} -void store_ds_type_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1cd7bf0d: store_ds_constructor_input_photo_empty (D, T); return; - case 0xfb95c6c4: store_ds_constructor_input_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1cd7bf0d: store_ds_constructor_input_photo_empty (D, T); return; - case 0xfb95c6c4: store_ds_constructor_input_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xade6b004: store_ds_constructor_input_photo_crop_auto (D, T); return; - case 0xd9915325: store_ds_constructor_input_photo_crop (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T) { - switch (D->magic) { - case 0xade6b004: store_ds_constructor_input_photo_crop_auto (D, T); return; - case 0xd9915325: store_ds_constructor_input_photo_crop (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T) { - out_int (0x4f96cb18); - store_ds_constructor_input_privacy_key_status_timestamp (D, T); return; -} -void store_ds_type_bare_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T) { - store_ds_constructor_input_privacy_key_status_timestamp (D, T); return; -} -void store_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x0d09e07b: store_ds_constructor_input_privacy_value_allow_contacts (D, T); return; - case 0x184b35ce: store_ds_constructor_input_privacy_value_allow_all (D, T); return; - case 0x131cc67f: store_ds_constructor_input_privacy_value_allow_users (D, T); return; - case 0x0ba52007: store_ds_constructor_input_privacy_value_disallow_contacts (D, T); return; - case 0xd66b66c9: store_ds_constructor_input_privacy_value_disallow_all (D, T); return; - case 0x90110467: store_ds_constructor_input_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0d09e07b: store_ds_constructor_input_privacy_value_allow_contacts (D, T); return; - case 0x184b35ce: store_ds_constructor_input_privacy_value_allow_all (D, T); return; - case 0x131cc67f: store_ds_constructor_input_privacy_value_allow_users (D, T); return; - case 0x0ba52007: store_ds_constructor_input_privacy_value_disallow_contacts (D, T); return; - case 0xd66b66c9: store_ds_constructor_input_privacy_value_disallow_all (D, T); return; - case 0x90110467: store_ds_constructor_input_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xffb62b95: store_ds_constructor_input_sticker_set_empty (D, T); return; - case 0x9de7a269: store_ds_constructor_input_sticker_set_i_d (D, T); return; - case 0x861cc8a0: store_ds_constructor_input_sticker_set_short_name (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T) { - switch (D->magic) { - case 0xffb62b95: store_ds_constructor_input_sticker_set_empty (D, T); return; - case 0x9de7a269: store_ds_constructor_input_sticker_set_i_d (D, T); return; - case 0x861cc8a0: store_ds_constructor_input_sticker_set_short_name (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_user (struct tl_ds_input_user *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xb98886cf: store_ds_constructor_input_user_empty (D, T); return; - case 0xf7c1b13f: store_ds_constructor_input_user_self (D, T); return; - case 0x86e94f65: store_ds_constructor_input_user_contact (D, T); return; - case 0x655e74ff: store_ds_constructor_input_user_foreign (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_user (struct tl_ds_input_user *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb98886cf: store_ds_constructor_input_user_empty (D, T); return; - case 0xf7c1b13f: store_ds_constructor_input_user_self (D, T); return; - case 0x86e94f65: store_ds_constructor_input_user_contact (D, T); return; - case 0x655e74ff: store_ds_constructor_input_user_foreign (D, T); return; - default: assert (0); - } -} -void store_ds_type_input_video (struct tl_ds_input_video *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x5508ec75: store_ds_constructor_input_video_empty (D, T); return; - case 0xee579652: store_ds_constructor_input_video (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_input_video (struct tl_ds_input_video *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5508ec75: store_ds_constructor_input_video_empty (D, T); return; - case 0xee579652: store_ds_constructor_input_video (D, T); return; - default: assert (0); - } -} -void store_ds_type_int (int *D, struct paramed_type *T) { - out_int (0xa8509bda); - store_ds_constructor_int (D, T); return; -} -void store_ds_type_bare_int (int *D, struct paramed_type *T) { - store_ds_constructor_int (D, T); return; -} -void store_ds_type_int128 (struct tl_ds_int128 *D, struct paramed_type *T) { - out_int (0x7d36c439); - store_ds_constructor_int128 (D, T); return; -} -void store_ds_type_bare_int128 (struct tl_ds_int128 *D, struct paramed_type *T) { - store_ds_constructor_int128 (D, T); return; -} -void store_ds_type_int256 (struct tl_ds_int256 *D, struct paramed_type *T) { - out_int (0xf2c798b3); - store_ds_constructor_int256 (D, T); return; -} -void store_ds_type_bare_int256 (struct tl_ds_int256 *D, struct paramed_type *T) { - store_ds_constructor_int256 (D, T); return; -} -void store_ds_type_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T) { - out_int (0xa2fa4880); - store_ds_constructor_keyboard_button (D, T); return; -} -void store_ds_type_bare_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T) { - store_ds_constructor_keyboard_button (D, T); return; -} -void store_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T) { - out_int (0x77608b83); - store_ds_constructor_keyboard_button_row (D, T); return; -} -void store_ds_type_bare_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T) { - store_ds_constructor_keyboard_button_row (D, T); return; -} -void store_ds_type_long (long long *D, struct paramed_type *T) { - out_int (0x22076cba); - store_ds_constructor_long (D, T); return; -} -void store_ds_type_bare_long (long long *D, struct paramed_type *T) { - store_ds_constructor_long (D, T); return; -} -void store_ds_type_message (struct tl_ds_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x83e5de54: store_ds_constructor_message_empty (D, T); return; - case 0xc3060325: store_ds_constructor_message (D, T); return; - case 0x1d86f70e: store_ds_constructor_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_message (struct tl_ds_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x83e5de54: store_ds_constructor_message_empty (D, T); return; - case 0xc3060325: store_ds_constructor_message (D, T); return; - case 0x1d86f70e: store_ds_constructor_message_service (D, T); return; - default: assert (0); - } -} -void store_ds_type_message_action (struct tl_ds_message_action *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xb6aef7b0: store_ds_constructor_message_action_empty (D, T); return; - case 0xa6638b9a: store_ds_constructor_message_action_chat_create (D, T); return; - case 0xb5a1ce5a: store_ds_constructor_message_action_chat_edit_title (D, T); return; - case 0x7fcb13a8: store_ds_constructor_message_action_chat_edit_photo (D, T); return; - case 0x95e3fbef: store_ds_constructor_message_action_chat_delete_photo (D, T); return; - case 0x5e3cfc4b: store_ds_constructor_message_action_chat_add_user (D, T); return; - case 0xb2ae9b0c: store_ds_constructor_message_action_chat_delete_user (D, T); return; - case 0x6f038ebc: store_ds_constructor_message_action_geo_chat_create (D, T); return; - case 0x0c7d53de: store_ds_constructor_message_action_geo_chat_checkin (D, T); return; - case 0xf89cf5e8: store_ds_constructor_message_action_chat_joined_by_link (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_message_action (struct tl_ds_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb6aef7b0: store_ds_constructor_message_action_empty (D, T); return; - case 0xa6638b9a: store_ds_constructor_message_action_chat_create (D, T); return; - case 0xb5a1ce5a: store_ds_constructor_message_action_chat_edit_title (D, T); return; - case 0x7fcb13a8: store_ds_constructor_message_action_chat_edit_photo (D, T); return; - case 0x95e3fbef: store_ds_constructor_message_action_chat_delete_photo (D, T); return; - case 0x5e3cfc4b: store_ds_constructor_message_action_chat_add_user (D, T); return; - case 0xb2ae9b0c: store_ds_constructor_message_action_chat_delete_user (D, T); return; - case 0x6f038ebc: store_ds_constructor_message_action_geo_chat_create (D, T); return; - case 0x0c7d53de: store_ds_constructor_message_action_geo_chat_checkin (D, T); return; - case 0xf89cf5e8: store_ds_constructor_message_action_chat_joined_by_link (D, T); return; - default: assert (0); - } -} -void store_ds_type_message_media (struct tl_ds_message_media *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x3ded6320: store_ds_constructor_message_media_empty (D, T); return; - case 0x3d8ce53d: store_ds_constructor_message_media_photo (D, T); return; - case 0x5bcf1675: store_ds_constructor_message_media_video (D, T); return; - case 0x56e0d474: store_ds_constructor_message_media_geo (D, T); return; - case 0x5e7d2f39: store_ds_constructor_message_media_contact (D, T); return; - case 0x9f84f49e: store_ds_constructor_message_media_unsupported (D, T); return; - case 0x2fda2204: store_ds_constructor_message_media_document (D, T); return; - case 0xc6b68300: store_ds_constructor_message_media_audio (D, T); return; - case 0xa32dd600: store_ds_constructor_message_media_web_page (D, T); return; - case 0x7912b71f: store_ds_constructor_message_media_venue (D, T); return; - case 0xc8c45a2a: store_ds_constructor_message_media_photo_l27 (D, T); return; - case 0xa2d24290: store_ds_constructor_message_media_video_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_message_media (struct tl_ds_message_media *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3ded6320: store_ds_constructor_message_media_empty (D, T); return; - case 0x3d8ce53d: store_ds_constructor_message_media_photo (D, T); return; - case 0x5bcf1675: store_ds_constructor_message_media_video (D, T); return; - case 0x56e0d474: store_ds_constructor_message_media_geo (D, T); return; - case 0x5e7d2f39: store_ds_constructor_message_media_contact (D, T); return; - case 0x9f84f49e: store_ds_constructor_message_media_unsupported (D, T); return; - case 0x2fda2204: store_ds_constructor_message_media_document (D, T); return; - case 0xc6b68300: store_ds_constructor_message_media_audio (D, T); return; - case 0xa32dd600: store_ds_constructor_message_media_web_page (D, T); return; - case 0x7912b71f: store_ds_constructor_message_media_venue (D, T); return; - case 0xc8c45a2a: store_ds_constructor_message_media_photo_l27 (D, T); return; - case 0xa2d24290: store_ds_constructor_message_media_video_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x57e2f66c: store_ds_constructor_input_messages_filter_empty (D, T); return; - case 0x9609a51c: store_ds_constructor_input_messages_filter_photos (D, T); return; - case 0x9fc00e65: store_ds_constructor_input_messages_filter_video (D, T); return; - case 0x56e9f0e4: store_ds_constructor_input_messages_filter_photo_video (D, T); return; - case 0xd95e73bb: store_ds_constructor_input_messages_filter_photo_video_documents (D, T); return; - case 0x9eddf188: store_ds_constructor_input_messages_filter_document (D, T); return; - case 0xcfc87522: store_ds_constructor_input_messages_filter_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T) { - switch (D->magic) { - case 0x57e2f66c: store_ds_constructor_input_messages_filter_empty (D, T); return; - case 0x9609a51c: store_ds_constructor_input_messages_filter_photos (D, T); return; - case 0x9fc00e65: store_ds_constructor_input_messages_filter_video (D, T); return; - case 0x56e9f0e4: store_ds_constructor_input_messages_filter_photo_video (D, T); return; - case 0xd95e73bb: store_ds_constructor_input_messages_filter_photo_video_documents (D, T); return; - case 0x9eddf188: store_ds_constructor_input_messages_filter_document (D, T); return; - case 0xcfc87522: store_ds_constructor_input_messages_filter_audio (D, T); return; - default: assert (0); - } -} -void store_ds_type_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T) { - out_int (0x8e1a1775); - store_ds_constructor_nearest_dc (D, T); return; -} -void store_ds_type_bare_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T) { - store_ds_constructor_nearest_dc (D, T); return; -} -void store_ds_type_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x9fd40bd8: store_ds_constructor_notify_peer (D, T); return; - case 0xb4c83b4c: store_ds_constructor_notify_users (D, T); return; - case 0xc007cec3: store_ds_constructor_notify_chats (D, T); return; - case 0x74d07c60: store_ds_constructor_notify_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9fd40bd8: store_ds_constructor_notify_peer (D, T); return; - case 0xb4c83b4c: store_ds_constructor_notify_users (D, T); return; - case 0xc007cec3: store_ds_constructor_notify_chats (D, T); return; - case 0x74d07c60: store_ds_constructor_notify_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_null (struct tl_ds_null *D, struct paramed_type *T) { - out_int (0x56730bcc); - store_ds_constructor_null (D, T); return; -} -void store_ds_type_bare_null (struct tl_ds_null *D, struct paramed_type *T) { - store_ds_constructor_null (D, T); return; -} -void store_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x83c95aec: store_ds_constructor_p_q_inner_data (D, T); return; - case 0x3c6a84d4: store_ds_constructor_p_q_inner_data_temp (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T) { - switch (D->magic) { - case 0x83c95aec: store_ds_constructor_p_q_inner_data (D, T); return; - case 0x3c6a84d4: store_ds_constructor_p_q_inner_data_temp (D, T); return; - default: assert (0); - } -} -void store_ds_type_peer (struct tl_ds_peer *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x9db1bc6d: store_ds_constructor_peer_user (D, T); return; - case 0xbad0e5bb: store_ds_constructor_peer_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_peer (struct tl_ds_peer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x9db1bc6d: store_ds_constructor_peer_user (D, T); return; - case 0xbad0e5bb: store_ds_constructor_peer_chat (D, T); return; - default: assert (0); - } -} -void store_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xadd53cb3: store_ds_constructor_peer_notify_events_empty (D, T); return; - case 0x6d1ded88: store_ds_constructor_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T) { - switch (D->magic) { - case 0xadd53cb3: store_ds_constructor_peer_notify_events_empty (D, T); return; - case 0x6d1ded88: store_ds_constructor_peer_notify_events_all (D, T); return; - default: assert (0); - } -} -void store_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x70a68512: store_ds_constructor_peer_notify_settings_empty (D, T); return; - case 0x8d5e11ee: store_ds_constructor_peer_notify_settings (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T) { - switch (D->magic) { - case 0x70a68512: store_ds_constructor_peer_notify_settings_empty (D, T); return; - case 0x8d5e11ee: store_ds_constructor_peer_notify_settings (D, T); return; - default: assert (0); - } -} -void store_ds_type_photo (struct tl_ds_photo *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x2331b22d: store_ds_constructor_photo_empty (D, T); return; - case 0xc3838076: store_ds_constructor_photo (D, T); return; - case 0x22b56751: store_ds_constructor_photo_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_photo (struct tl_ds_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x2331b22d: store_ds_constructor_photo_empty (D, T); return; - case 0xc3838076: store_ds_constructor_photo (D, T); return; - case 0x22b56751: store_ds_constructor_photo_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x0e17e23c: store_ds_constructor_photo_size_empty (D, T); return; - case 0x77bfb61b: store_ds_constructor_photo_size (D, T); return; - case 0xe9a734fa: store_ds_constructor_photo_cached_size (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T) { - switch (D->magic) { - case 0x0e17e23c: store_ds_constructor_photo_size_empty (D, T); return; - case 0x77bfb61b: store_ds_constructor_photo_size (D, T); return; - case 0xe9a734fa: store_ds_constructor_photo_cached_size (D, T); return; - default: assert (0); - } -} -void store_ds_type_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T) { - out_int (0xbc2eab30); - store_ds_constructor_privacy_key_status_timestamp (D, T); return; -} -void store_ds_type_bare_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T) { - store_ds_constructor_privacy_key_status_timestamp (D, T); return; -} -void store_ds_type_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xfffe1bac: store_ds_constructor_privacy_value_allow_contacts (D, T); return; - case 0x65427b82: store_ds_constructor_privacy_value_allow_all (D, T); return; - case 0x4d5bbe0c: store_ds_constructor_privacy_value_allow_users (D, T); return; - case 0xf888fa1a: store_ds_constructor_privacy_value_disallow_contacts (D, T); return; - case 0x8b73e763: store_ds_constructor_privacy_value_disallow_all (D, T); return; - case 0x0c7f49b7: store_ds_constructor_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T) { - switch (D->magic) { - case 0xfffe1bac: store_ds_constructor_privacy_value_allow_contacts (D, T); return; - case 0x65427b82: store_ds_constructor_privacy_value_allow_all (D, T); return; - case 0x4d5bbe0c: store_ds_constructor_privacy_value_allow_users (D, T); return; - case 0xf888fa1a: store_ds_constructor_privacy_value_disallow_contacts (D, T); return; - case 0x8b73e763: store_ds_constructor_privacy_value_disallow_all (D, T); return; - case 0x0c7f49b7: store_ds_constructor_privacy_value_disallow_users (D, T); return; - default: assert (0); - } -} -void store_ds_type_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T) { - out_int (0xa384b779); - store_ds_constructor_received_notify_message (D, T); return; -} -void store_ds_type_bare_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T) { - store_ds_constructor_received_notify_message (D, T); return; -} -void store_ds_type_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xa03e5b85: store_ds_constructor_reply_keyboard_hide (D, T); return; - case 0xf4108aa0: store_ds_constructor_reply_keyboard_force_reply (D, T); return; - case 0x3502758c: store_ds_constructor_reply_keyboard_markup (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T) { - switch (D->magic) { - case 0xa03e5b85: store_ds_constructor_reply_keyboard_hide (D, T); return; - case 0xf4108aa0: store_ds_constructor_reply_keyboard_force_reply (D, T); return; - case 0x3502758c: store_ds_constructor_reply_keyboard_markup (D, T); return; - default: assert (0); - } -} -void store_ds_type_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T) { - out_int (0x05162463); - store_ds_constructor_res_p_q (D, T); return; -} -void store_ds_type_bare_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T) { - store_ds_constructor_res_p_q (D, T); return; -} -void store_ds_type_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x16bf744e: store_ds_constructor_send_message_typing_action (D, T); return; - case 0xfd5ec8f5: store_ds_constructor_send_message_cancel_action (D, T); return; - case 0xa187d66f: store_ds_constructor_send_message_record_video_action (D, T); return; - case 0x92042ff7: store_ds_constructor_send_message_upload_video_action_l27 (D, T); return; - case 0xe9763aec: store_ds_constructor_send_message_upload_video_action (D, T); return; - case 0xd52f73f7: store_ds_constructor_send_message_record_audio_action (D, T); return; - case 0xe6ac8a6f: store_ds_constructor_send_message_upload_audio_action_l27 (D, T); return; - case 0xf351d7ab: store_ds_constructor_send_message_upload_audio_action (D, T); return; - case 0xd1d34a26: store_ds_constructor_send_message_upload_photo_action (D, T); return; - case 0x8faee98e: store_ds_constructor_send_message_upload_document_action_l27 (D, T); return; - case 0xaa0cd9e4: store_ds_constructor_send_message_upload_document_action (D, T); return; - case 0x176f8ba1: store_ds_constructor_send_message_geo_location_action (D, T); return; - case 0x628cbc6f: store_ds_constructor_send_message_choose_contact_action (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T) { - switch (D->magic) { - case 0x16bf744e: store_ds_constructor_send_message_typing_action (D, T); return; - case 0xfd5ec8f5: store_ds_constructor_send_message_cancel_action (D, T); return; - case 0xa187d66f: store_ds_constructor_send_message_record_video_action (D, T); return; - case 0x92042ff7: store_ds_constructor_send_message_upload_video_action_l27 (D, T); return; - case 0xe9763aec: store_ds_constructor_send_message_upload_video_action (D, T); return; - case 0xd52f73f7: store_ds_constructor_send_message_record_audio_action (D, T); return; - case 0xe6ac8a6f: store_ds_constructor_send_message_upload_audio_action_l27 (D, T); return; - case 0xf351d7ab: store_ds_constructor_send_message_upload_audio_action (D, T); return; - case 0xd1d34a26: store_ds_constructor_send_message_upload_photo_action (D, T); return; - case 0x8faee98e: store_ds_constructor_send_message_upload_document_action_l27 (D, T); return; - case 0xaa0cd9e4: store_ds_constructor_send_message_upload_document_action (D, T); return; - case 0x176f8ba1: store_ds_constructor_send_message_geo_location_action (D, T); return; - case 0x628cbc6f: store_ds_constructor_send_message_choose_contact_action (D, T); return; - default: assert (0); - } -} -void store_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x79cb045d: store_ds_constructor_server_d_h_params_fail (D, T); return; - case 0xd0e8075c: store_ds_constructor_server_d_h_params_ok (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T) { - switch (D->magic) { - case 0x79cb045d: store_ds_constructor_server_d_h_params_fail (D, T); return; - case 0xd0e8075c: store_ds_constructor_server_d_h_params_ok (D, T); return; - default: assert (0); - } -} -void store_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T) { - out_int (0xb5890dba); - store_ds_constructor_server_d_h_inner_data (D, T); return; -} -void store_ds_type_bare_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T) { - store_ds_constructor_server_d_h_inner_data (D, T); return; -} -void store_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x3bcbf734: store_ds_constructor_dh_gen_ok (D, T); return; - case 0x46dc1fb9: store_ds_constructor_dh_gen_retry (D, T); return; - case 0xa69dae02: store_ds_constructor_dh_gen_fail (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3bcbf734: store_ds_constructor_dh_gen_ok (D, T); return; - case 0x46dc1fb9: store_ds_constructor_dh_gen_retry (D, T); return; - case 0xa69dae02: store_ds_constructor_dh_gen_fail (D, T); return; - default: assert (0); - } -} -void store_ds_type_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T) { - out_int (0x12b299d4); - store_ds_constructor_sticker_pack (D, T); return; -} -void store_ds_type_bare_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T) { - store_ds_constructor_sticker_pack (D, T); return; -} -void store_ds_type_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T) { - out_int (0xa7a43b17); - store_ds_constructor_sticker_set (D, T); return; -} -void store_ds_type_bare_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T) { - store_ds_constructor_sticker_set (D, T); return; -} -void store_ds_type_string (struct tl_ds_string *D, struct paramed_type *T) { - out_int (0xb5286e24); - store_ds_constructor_string (D, T); return; -} -void store_ds_type_bare_string (struct tl_ds_string *D, struct paramed_type *T) { - store_ds_constructor_string (D, T); return; -} -void store_ds_type_update (struct tl_ds_update *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1f2b0afd: store_ds_constructor_update_new_message (D, T); return; - case 0x4e90bfd6: store_ds_constructor_update_message_i_d (D, T); return; - case 0xa20db0e5: store_ds_constructor_update_delete_messages (D, T); return; - case 0x5c486927: store_ds_constructor_update_user_typing (D, T); return; - case 0x9a65ea1f: store_ds_constructor_update_chat_user_typing (D, T); return; - case 0x07761198: store_ds_constructor_update_chat_participants (D, T); return; - case 0x1bfbd823: store_ds_constructor_update_user_status (D, T); return; - case 0xa7332b73: store_ds_constructor_update_user_name (D, T); return; - case 0x95313b0c: store_ds_constructor_update_user_photo (D, T); return; - case 0x2575bbb9: store_ds_constructor_update_contact_registered (D, T); return; - case 0x9d2e67c5: store_ds_constructor_update_contact_link (D, T); return; - case 0x8f06529a: store_ds_constructor_update_new_authorization (D, T); return; - case 0x5a68e3f7: store_ds_constructor_update_new_geo_chat_message (D, T); return; - case 0x12bcbd9a: store_ds_constructor_update_new_encrypted_message (D, T); return; - case 0x1710f156: store_ds_constructor_update_encrypted_chat_typing (D, T); return; - case 0xb4a2e88d: store_ds_constructor_update_encryption (D, T); return; - case 0x38fe25b7: store_ds_constructor_update_encrypted_messages_read (D, T); return; - case 0x3a0eeb22: store_ds_constructor_update_chat_participant_add (D, T); return; - case 0x6e5f8c22: store_ds_constructor_update_chat_participant_delete (D, T); return; - case 0x8e5e9873: store_ds_constructor_update_dc_options (D, T); return; - case 0x80ece81a: store_ds_constructor_update_user_blocked (D, T); return; - case 0xbec268ef: store_ds_constructor_update_notify_settings (D, T); return; - case 0x382dd3e4: store_ds_constructor_update_service_notification (D, T); return; - case 0xee3b272a: store_ds_constructor_update_privacy (D, T); return; - case 0x12b9417b: store_ds_constructor_update_user_phone (D, T); return; - case 0x9961fd5c: store_ds_constructor_update_read_history_inbox (D, T); return; - case 0x2f2f21bf: store_ds_constructor_update_read_history_outbox (D, T); return; - case 0x2cc36971: store_ds_constructor_update_web_page (D, T); return; - case 0x68c13933: store_ds_constructor_update_read_messages_contents (D, T); return; - case 0x03114739: store_ds_constructor_update_msg_update (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_update (struct tl_ds_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1f2b0afd: store_ds_constructor_update_new_message (D, T); return; - case 0x4e90bfd6: store_ds_constructor_update_message_i_d (D, T); return; - case 0xa20db0e5: store_ds_constructor_update_delete_messages (D, T); return; - case 0x5c486927: store_ds_constructor_update_user_typing (D, T); return; - case 0x9a65ea1f: store_ds_constructor_update_chat_user_typing (D, T); return; - case 0x07761198: store_ds_constructor_update_chat_participants (D, T); return; - case 0x1bfbd823: store_ds_constructor_update_user_status (D, T); return; - case 0xa7332b73: store_ds_constructor_update_user_name (D, T); return; - case 0x95313b0c: store_ds_constructor_update_user_photo (D, T); return; - case 0x2575bbb9: store_ds_constructor_update_contact_registered (D, T); return; - case 0x9d2e67c5: store_ds_constructor_update_contact_link (D, T); return; - case 0x8f06529a: store_ds_constructor_update_new_authorization (D, T); return; - case 0x5a68e3f7: store_ds_constructor_update_new_geo_chat_message (D, T); return; - case 0x12bcbd9a: store_ds_constructor_update_new_encrypted_message (D, T); return; - case 0x1710f156: store_ds_constructor_update_encrypted_chat_typing (D, T); return; - case 0xb4a2e88d: store_ds_constructor_update_encryption (D, T); return; - case 0x38fe25b7: store_ds_constructor_update_encrypted_messages_read (D, T); return; - case 0x3a0eeb22: store_ds_constructor_update_chat_participant_add (D, T); return; - case 0x6e5f8c22: store_ds_constructor_update_chat_participant_delete (D, T); return; - case 0x8e5e9873: store_ds_constructor_update_dc_options (D, T); return; - case 0x80ece81a: store_ds_constructor_update_user_blocked (D, T); return; - case 0xbec268ef: store_ds_constructor_update_notify_settings (D, T); return; - case 0x382dd3e4: store_ds_constructor_update_service_notification (D, T); return; - case 0xee3b272a: store_ds_constructor_update_privacy (D, T); return; - case 0x12b9417b: store_ds_constructor_update_user_phone (D, T); return; - case 0x9961fd5c: store_ds_constructor_update_read_history_inbox (D, T); return; - case 0x2f2f21bf: store_ds_constructor_update_read_history_outbox (D, T); return; - case 0x2cc36971: store_ds_constructor_update_web_page (D, T); return; - case 0x68c13933: store_ds_constructor_update_read_messages_contents (D, T); return; - case 0x03114739: store_ds_constructor_update_msg_update (D, T); return; - default: assert (0); - } -} -void store_ds_type_updates (struct tl_ds_updates *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xe317af7e: store_ds_constructor_updates_too_long (D, T); return; - case 0xed5c2127: store_ds_constructor_update_short_message (D, T); return; - case 0x52238b3c: store_ds_constructor_update_short_chat_message (D, T); return; - case 0x78d4dec1: store_ds_constructor_update_short (D, T); return; - case 0x725b04c3: store_ds_constructor_updates_combined (D, T); return; - case 0x74ae4240: store_ds_constructor_updates (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_updates (struct tl_ds_updates *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe317af7e: store_ds_constructor_updates_too_long (D, T); return; - case 0xed5c2127: store_ds_constructor_update_short_message (D, T); return; - case 0x52238b3c: store_ds_constructor_update_short_chat_message (D, T); return; - case 0x78d4dec1: store_ds_constructor_update_short (D, T); return; - case 0x725b04c3: store_ds_constructor_updates_combined (D, T); return; - case 0x74ae4240: store_ds_constructor_updates (D, T); return; - default: assert (0); - } -} -void store_ds_type_user (struct tl_ds_user *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x200250ba: store_ds_constructor_user_empty (D, T); return; - case 0x22e49072: store_ds_constructor_user (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_user (struct tl_ds_user *D, struct paramed_type *T) { - switch (D->magic) { - case 0x200250ba: store_ds_constructor_user_empty (D, T); return; - case 0x22e49072: store_ds_constructor_user (D, T); return; - default: assert (0); - } -} -void store_ds_type_user_full (struct tl_ds_user_full *D, struct paramed_type *T) { - out_int (0x5a89ac5b); - store_ds_constructor_user_full (D, T); return; -} -void store_ds_type_bare_user_full (struct tl_ds_user_full *D, struct paramed_type *T) { - store_ds_constructor_user_full (D, T); return; -} -void store_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x4f11bae1: store_ds_constructor_user_profile_photo_empty (D, T); return; - case 0xd559d8c8: store_ds_constructor_user_profile_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T) { - switch (D->magic) { - case 0x4f11bae1: store_ds_constructor_user_profile_photo_empty (D, T); return; - case 0xd559d8c8: store_ds_constructor_user_profile_photo (D, T); return; - default: assert (0); - } -} -void store_ds_type_user_status (struct tl_ds_user_status *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x09d05049: store_ds_constructor_user_status_empty (D, T); return; - case 0xedb93949: store_ds_constructor_user_status_online (D, T); return; - case 0x008c703f: store_ds_constructor_user_status_offline (D, T); return; - case 0xe26f42f1: store_ds_constructor_user_status_recently (D, T); return; - case 0x07bf09fc: store_ds_constructor_user_status_last_week (D, T); return; - case 0x77ebc742: store_ds_constructor_user_status_last_month (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_user_status (struct tl_ds_user_status *D, struct paramed_type *T) { - switch (D->magic) { - case 0x09d05049: store_ds_constructor_user_status_empty (D, T); return; - case 0xedb93949: store_ds_constructor_user_status_online (D, T); return; - case 0x008c703f: store_ds_constructor_user_status_offline (D, T); return; - case 0xe26f42f1: store_ds_constructor_user_status_recently (D, T); return; - case 0x07bf09fc: store_ds_constructor_user_status_last_week (D, T); return; - case 0x77ebc742: store_ds_constructor_user_status_last_month (D, T); return; - default: assert (0); - } -} -void store_ds_type_vector (struct tl_ds_vector *D, struct paramed_type *T) { - out_int (0x1cb5c415); - store_ds_constructor_vector (D, T); return; -} -void store_ds_type_bare_vector (struct tl_ds_vector *D, struct paramed_type *T) { - store_ds_constructor_vector (D, T); return; -} -void store_ds_type_video (struct tl_ds_video *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xc10658a8: store_ds_constructor_video_empty (D, T); return; - case 0xee9f4a4d: store_ds_constructor_video (D, T); return; - case 0x388fa391: store_ds_constructor_video_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_video (struct tl_ds_video *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc10658a8: store_ds_constructor_video_empty (D, T); return; - case 0xee9f4a4d: store_ds_constructor_video (D, T); return; - case 0x388fa391: store_ds_constructor_video_l27 (D, T); return; - default: assert (0); - } -} -void store_ds_type_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xccb03657: store_ds_constructor_wall_paper (D, T); return; - case 0x63117f24: store_ds_constructor_wall_paper_solid (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T) { - switch (D->magic) { - case 0xccb03657: store_ds_constructor_wall_paper (D, T); return; - case 0x63117f24: store_ds_constructor_wall_paper_solid (D, T); return; - default: assert (0); - } -} -void store_ds_type_web_page (struct tl_ds_web_page *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xeb1477e8: store_ds_constructor_web_page_empty (D, T); return; - case 0xc586da1c: store_ds_constructor_web_page_pending (D, T); return; - case 0xa31ea0b5: store_ds_constructor_web_page (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_web_page (struct tl_ds_web_page *D, struct paramed_type *T) { - switch (D->magic) { - case 0xeb1477e8: store_ds_constructor_web_page_empty (D, T); return; - case 0xc586da1c: store_ds_constructor_web_page_pending (D, T); return; - case 0xa31ea0b5: store_ds_constructor_web_page (D, T); return; - default: assert (0); - } -} -void store_ds_type_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T) { - out_int (0x1250abde); - store_ds_constructor_account_authorizations (D, T); return; -} -void store_ds_type_bare_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T) { - store_ds_constructor_account_authorizations (D, T); return; -} -void store_ds_type_account_password (struct tl_ds_account_password *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x96dabc18: store_ds_constructor_account_no_password (D, T); return; - case 0x7c18141c: store_ds_constructor_account_password (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_account_password (struct tl_ds_account_password *D, struct paramed_type *T) { - switch (D->magic) { - case 0x96dabc18: store_ds_constructor_account_no_password (D, T); return; - case 0x7c18141c: store_ds_constructor_account_password (D, T); return; - default: assert (0); - } -} -void store_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T) { - out_int (0xbcfc532c); - store_ds_constructor_account_password_input_settings (D, T); return; -} -void store_ds_type_bare_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T) { - store_ds_constructor_account_password_input_settings (D, T); return; -} -void store_ds_type_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T) { - out_int (0xb7b72ab3); - store_ds_constructor_account_password_settings (D, T); return; -} -void store_ds_type_bare_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T) { - store_ds_constructor_account_password_settings (D, T); return; -} -void store_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T) { - out_int (0x554abb6f); - store_ds_constructor_account_privacy_rules (D, T); return; -} -void store_ds_type_bare_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T) { - store_ds_constructor_account_privacy_rules (D, T); return; -} -void store_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T) { - out_int (0xa4f58c4c); - store_ds_constructor_account_sent_change_phone_code (D, T); return; -} -void store_ds_type_bare_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T) { - store_ds_constructor_account_sent_change_phone_code (D, T); return; -} -void store_ds_type_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T) { - out_int (0xff036af1); - store_ds_constructor_auth_authorization (D, T); return; -} -void store_ds_type_bare_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T) { - store_ds_constructor_auth_authorization (D, T); return; -} -void store_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T) { - out_int (0x811ea28e); - store_ds_constructor_auth_checked_phone (D, T); return; -} -void store_ds_type_bare_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T) { - store_ds_constructor_auth_checked_phone (D, T); return; -} -void store_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T) { - out_int (0xdf969c2d); - store_ds_constructor_auth_exported_authorization (D, T); return; -} -void store_ds_type_bare_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T) { - store_ds_constructor_auth_exported_authorization (D, T); return; -} -void store_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T) { - out_int (0x137948a5); - store_ds_constructor_auth_password_recovery (D, T); return; -} -void store_ds_type_bare_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T) { - store_ds_constructor_auth_password_recovery (D, T); return; -} -void store_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xefed51d9: store_ds_constructor_auth_sent_code (D, T); return; - case 0xe325edcf: store_ds_constructor_auth_sent_app_code (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T) { - switch (D->magic) { - case 0xefed51d9: store_ds_constructor_auth_sent_code (D, T); return; - case 0xe325edcf: store_ds_constructor_auth_sent_app_code (D, T); return; - default: assert (0); - } -} -void store_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T) { - out_int (0x0377168f); - store_ds_constructor_binlog_encr_key (D, T); return; -} -void store_ds_type_bare_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T) { - store_ds_constructor_binlog_encr_key (D, T); return; -} -void store_ds_type_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x3b06de69: store_ds_constructor_binlog_start (D, T); return; - case 0xf96feb32: store_ds_constructor_binlog_dc_option (D, T); return; - case 0x7c0d22d8: store_ds_constructor_binlog_dc_option_new (D, T); return; - case 0x71e8c156: store_ds_constructor_binlog_auth_key (D, T); return; - case 0x9e83dbdc: store_ds_constructor_binlog_default_dc (D, T); return; - case 0x26451bb5: store_ds_constructor_binlog_dc_signed (D, T); return; - case 0x68a870e8: store_ds_constructor_binlog_our_id (D, T); return; - case 0xeaeb7826: store_ds_constructor_binlog_set_dh_params (D, T); return; - case 0x2ca8c939: store_ds_constructor_binlog_set_pts (D, T); return; - case 0xd95738ac: store_ds_constructor_binlog_set_qts (D, T); return; - case 0x1d0f4b52: store_ds_constructor_binlog_set_date (D, T); return; - case 0x6eeb2989: store_ds_constructor_binlog_set_seq (D, T); return; - case 0xee1b38e8: store_ds_constructor_binlog_encr_chat_delete (D, T); return; - case 0x84977251: store_ds_constructor_binlog_encr_chat_new (D, T); return; - case 0x9d49488d: store_ds_constructor_binlog_encr_chat_exchange_new (D, T); return; - case 0xac55d447: store_ds_constructor_binlog_user_delete (D, T); return; - case 0x127cf2f9: store_ds_constructor_binlog_user_new (D, T); return; - case 0x0a10aa92: store_ds_constructor_binlog_chat_new (D, T); return; - case 0x535475ea: store_ds_constructor_binlog_chat_add_participant (D, T); return; - case 0x7dd1a1a2: store_ds_constructor_binlog_chat_del_participant (D, T); return; - case 0x3c873416: store_ds_constructor_binlog_set_msg_id (D, T); return; - case 0x847e77b1: store_ds_constructor_binlog_message_delete (D, T); return; - case 0x427cfcdb: store_ds_constructor_binlog_message_new (D, T); return; - case 0x6cf7cabc: store_ds_constructor_binlog_message_encr_new (D, T); return; - case 0x6dd4d85f: store_ds_constructor_binlog_msg_update (D, T); return; - case 0x83327955: store_ds_constructor_binlog_reset_authorization (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x3b06de69: store_ds_constructor_binlog_start (D, T); return; - case 0xf96feb32: store_ds_constructor_binlog_dc_option (D, T); return; - case 0x7c0d22d8: store_ds_constructor_binlog_dc_option_new (D, T); return; - case 0x71e8c156: store_ds_constructor_binlog_auth_key (D, T); return; - case 0x9e83dbdc: store_ds_constructor_binlog_default_dc (D, T); return; - case 0x26451bb5: store_ds_constructor_binlog_dc_signed (D, T); return; - case 0x68a870e8: store_ds_constructor_binlog_our_id (D, T); return; - case 0xeaeb7826: store_ds_constructor_binlog_set_dh_params (D, T); return; - case 0x2ca8c939: store_ds_constructor_binlog_set_pts (D, T); return; - case 0xd95738ac: store_ds_constructor_binlog_set_qts (D, T); return; - case 0x1d0f4b52: store_ds_constructor_binlog_set_date (D, T); return; - case 0x6eeb2989: store_ds_constructor_binlog_set_seq (D, T); return; - case 0xee1b38e8: store_ds_constructor_binlog_encr_chat_delete (D, T); return; - case 0x84977251: store_ds_constructor_binlog_encr_chat_new (D, T); return; - case 0x9d49488d: store_ds_constructor_binlog_encr_chat_exchange_new (D, T); return; - case 0xac55d447: store_ds_constructor_binlog_user_delete (D, T); return; - case 0x127cf2f9: store_ds_constructor_binlog_user_new (D, T); return; - case 0x0a10aa92: store_ds_constructor_binlog_chat_new (D, T); return; - case 0x535475ea: store_ds_constructor_binlog_chat_add_participant (D, T); return; - case 0x7dd1a1a2: store_ds_constructor_binlog_chat_del_participant (D, T); return; - case 0x3c873416: store_ds_constructor_binlog_set_msg_id (D, T); return; - case 0x847e77b1: store_ds_constructor_binlog_message_delete (D, T); return; - case 0x427cfcdb: store_ds_constructor_binlog_message_new (D, T); return; - case 0x6cf7cabc: store_ds_constructor_binlog_message_encr_new (D, T); return; - case 0x6dd4d85f: store_ds_constructor_binlog_msg_update (D, T); return; - case 0x83327955: store_ds_constructor_binlog_reset_authorization (D, T); return; - default: assert (0); - } -} -void store_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x1c138d15: store_ds_constructor_contacts_blocked (D, T); return; - case 0x900802a1: store_ds_constructor_contacts_blocked_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T) { - switch (D->magic) { - case 0x1c138d15: store_ds_constructor_contacts_blocked (D, T); return; - case 0x900802a1: store_ds_constructor_contacts_blocked_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xb74ba9d2: store_ds_constructor_contacts_contacts_not_modified (D, T); return; - case 0x6f8b8cb2: store_ds_constructor_contacts_contacts (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T) { - switch (D->magic) { - case 0xb74ba9d2: store_ds_constructor_contacts_contacts_not_modified (D, T); return; - case 0x6f8b8cb2: store_ds_constructor_contacts_contacts (D, T); return; - default: assert (0); - } -} -void store_ds_type_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T) { - out_int (0x0566000e); - store_ds_constructor_contacts_found (D, T); return; -} -void store_ds_type_bare_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T) { - store_ds_constructor_contacts_found (D, T); return; -} -void store_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T) { - out_int (0xad524315); - store_ds_constructor_contacts_imported_contacts (D, T); return; -} -void store_ds_type_bare_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T) { - store_ds_constructor_contacts_imported_contacts (D, T); return; -} -void store_ds_type_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T) { - out_int (0x3ace484c); - store_ds_constructor_contacts_link (D, T); return; -} -void store_ds_type_bare_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T) { - store_ds_constructor_contacts_link (D, T); return; -} -void store_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T) { - out_int (0x5649dcc5); - store_ds_constructor_contacts_suggested (D, T); return; -} -void store_ds_type_bare_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T) { - store_ds_constructor_contacts_suggested (D, T); return; -} -void store_ds_type_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T) { - out_int (0x48feb267); - store_ds_constructor_geochats_located (D, T); return; -} -void store_ds_type_bare_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T) { - store_ds_constructor_geochats_located (D, T); return; -} -void store_ds_type_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xd1526db1: store_ds_constructor_geochats_messages (D, T); return; - case 0xbc5863e8: store_ds_constructor_geochats_messages_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T) { - switch (D->magic) { - case 0xd1526db1: store_ds_constructor_geochats_messages (D, T); return; - case 0xbc5863e8: store_ds_constructor_geochats_messages_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T) { - out_int (0x17b1578b); - store_ds_constructor_geochats_stated_message (D, T); return; -} -void store_ds_type_bare_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T) { - store_ds_constructor_geochats_stated_message (D, T); return; -} -void store_ds_type_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x8987f311: store_ds_constructor_help_app_update (D, T); return; - case 0xc45a6536: store_ds_constructor_help_no_app_update (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8987f311: store_ds_constructor_help_app_update (D, T); return; - case 0xc45a6536: store_ds_constructor_help_no_app_update (D, T); return; - default: assert (0); - } -} -void store_ds_type_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T) { - out_int (0x18cb9f78); - store_ds_constructor_help_invite_text (D, T); return; -} -void store_ds_type_bare_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T) { - store_ds_constructor_help_invite_text (D, T); return; -} -void store_ds_type_help_support (struct tl_ds_help_support *D, struct paramed_type *T) { - out_int (0x17c6b5f6); - store_ds_constructor_help_support (D, T); return; -} -void store_ds_type_bare_help_support (struct tl_ds_help_support *D, struct paramed_type *T) { - store_ds_constructor_help_support (D, T); return; -} -void store_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T) { - out_int (0xb45c69d1); - store_ds_constructor_messages_affected_history (D, T); return; -} -void store_ds_type_bare_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T) { - store_ds_constructor_messages_affected_history (D, T); return; -} -void store_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T) { - out_int (0x84d19185); - store_ds_constructor_messages_affected_messages (D, T); return; -} -void store_ds_type_bare_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T) { - store_ds_constructor_messages_affected_messages (D, T); return; -} -void store_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xe86602c3: store_ds_constructor_messages_all_stickers_not_modified (D, T); return; - case 0x5ce352ec: store_ds_constructor_messages_all_stickers (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T) { - switch (D->magic) { - case 0xe86602c3: store_ds_constructor_messages_all_stickers_not_modified (D, T); return; - case 0x5ce352ec: store_ds_constructor_messages_all_stickers (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T) { - out_int (0xe5d7d19c); - store_ds_constructor_messages_chat_full (D, T); return; -} -void store_ds_type_bare_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T) { - store_ds_constructor_messages_chat_full (D, T); return; -} -void store_ds_type_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T) { - out_int (0x64ff9fd5); - store_ds_constructor_messages_chats (D, T); return; -} -void store_ds_type_bare_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T) { - store_ds_constructor_messages_chats (D, T); return; -} -void store_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xc0e24635: store_ds_constructor_messages_dh_config_not_modified (D, T); return; - case 0x2c221edd: store_ds_constructor_messages_dh_config (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T) { - switch (D->magic) { - case 0xc0e24635: store_ds_constructor_messages_dh_config_not_modified (D, T); return; - case 0x2c221edd: store_ds_constructor_messages_dh_config (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x15ba6c40: store_ds_constructor_messages_dialogs (D, T); return; - case 0x71e094f3: store_ds_constructor_messages_dialogs_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T) { - switch (D->magic) { - case 0x15ba6c40: store_ds_constructor_messages_dialogs (D, T); return; - case 0x71e094f3: store_ds_constructor_messages_dialogs_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T) { - out_int (0x3f4e0648); - store_ds_constructor_messages_message_empty (D, T); return; -} -void store_ds_type_bare_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T) { - store_ds_constructor_messages_message_empty (D, T); return; -} -void store_ds_type_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x8c718e87: store_ds_constructor_messages_messages (D, T); return; - case 0x0b446ae3: store_ds_constructor_messages_messages_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8c718e87: store_ds_constructor_messages_messages (D, T); return; - case 0x0b446ae3: store_ds_constructor_messages_messages_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x560f8935: store_ds_constructor_messages_sent_encrypted_message (D, T); return; - case 0x9493ff32: store_ds_constructor_messages_sent_encrypted_file (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x560f8935: store_ds_constructor_messages_sent_encrypted_message (D, T); return; - case 0x9493ff32: store_ds_constructor_messages_sent_encrypted_file (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x4c3d47f3: store_ds_constructor_messages_sent_message (D, T); return; - case 0x35a1a663: store_ds_constructor_messages_sent_message_link (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T) { - switch (D->magic) { - case 0x4c3d47f3: store_ds_constructor_messages_sent_message (D, T); return; - case 0x35a1a663: store_ds_constructor_messages_sent_message_link (D, T); return; - default: assert (0); - } -} -void store_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T) { - out_int (0xb60a24a6); - store_ds_constructor_messages_sticker_set (D, T); return; -} -void store_ds_type_bare_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T) { - store_ds_constructor_messages_sticker_set (D, T); return; -} -void store_ds_type_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xf1749a22: store_ds_constructor_messages_stickers_not_modified (D, T); return; - case 0x8a8ecd32: store_ds_constructor_messages_stickers (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T) { - switch (D->magic) { - case 0xf1749a22: store_ds_constructor_messages_stickers_not_modified (D, T); return; - case 0x8a8ecd32: store_ds_constructor_messages_stickers (D, T); return; - default: assert (0); - } -} -void store_ds_type_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T) { - out_int (0x20212ca8); - store_ds_constructor_photos_photo (D, T); return; -} -void store_ds_type_bare_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T) { - store_ds_constructor_photos_photo (D, T); return; -} -void store_ds_type_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x8dca6aa5: store_ds_constructor_photos_photos (D, T); return; - case 0x15051f54: store_ds_constructor_photos_photos_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T) { - switch (D->magic) { - case 0x8dca6aa5: store_ds_constructor_photos_photos (D, T); return; - case 0x15051f54: store_ds_constructor_photos_photos_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0xaa963b05: store_ds_constructor_storage_file_unknown (D, T); return; - case 0x007efe0e: store_ds_constructor_storage_file_jpeg (D, T); return; - case 0xcae1aadf: store_ds_constructor_storage_file_gif (D, T); return; - case 0x0a4f63c0: store_ds_constructor_storage_file_png (D, T); return; - case 0xae1e508d: store_ds_constructor_storage_file_pdf (D, T); return; - case 0x528a0677: store_ds_constructor_storage_file_mp3 (D, T); return; - case 0x4b09ebbc: store_ds_constructor_storage_file_mov (D, T); return; - case 0x40bc6f52: store_ds_constructor_storage_file_partial (D, T); return; - case 0xb3cea0e4: store_ds_constructor_storage_file_mp4 (D, T); return; - case 0x1081464c: store_ds_constructor_storage_file_webp (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T) { - switch (D->magic) { - case 0xaa963b05: store_ds_constructor_storage_file_unknown (D, T); return; - case 0x007efe0e: store_ds_constructor_storage_file_jpeg (D, T); return; - case 0xcae1aadf: store_ds_constructor_storage_file_gif (D, T); return; - case 0x0a4f63c0: store_ds_constructor_storage_file_png (D, T); return; - case 0xae1e508d: store_ds_constructor_storage_file_pdf (D, T); return; - case 0x528a0677: store_ds_constructor_storage_file_mp3 (D, T); return; - case 0x4b09ebbc: store_ds_constructor_storage_file_mov (D, T); return; - case 0x40bc6f52: store_ds_constructor_storage_file_partial (D, T); return; - case 0xb3cea0e4: store_ds_constructor_storage_file_mp4 (D, T); return; - case 0x1081464c: store_ds_constructor_storage_file_webp (D, T); return; - default: assert (0); - } -} -void store_ds_type_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T) { - out_int (D->magic); - switch (D->magic) { - case 0x5d75a138: store_ds_constructor_updates_difference_empty (D, T); return; - case 0x00f49ca0: store_ds_constructor_updates_difference (D, T); return; - case 0xa8fb1981: store_ds_constructor_updates_difference_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_bare_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T) { - switch (D->magic) { - case 0x5d75a138: store_ds_constructor_updates_difference_empty (D, T); return; - case 0x00f49ca0: store_ds_constructor_updates_difference (D, T); return; - case 0xa8fb1981: store_ds_constructor_updates_difference_slice (D, T); return; - default: assert (0); - } -} -void store_ds_type_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T) { - out_int (0xa56c2a3e); - store_ds_constructor_updates_state (D, T); return; -} -void store_ds_type_bare_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T) { - store_ds_constructor_updates_state (D, T); return; -} -void store_ds_type_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T) { - out_int (0x096a18d5); - store_ds_constructor_upload_file (D, T); return; -} -void store_ds_type_bare_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T) { - store_ds_constructor_upload_file (D, T); return; -} -void store_ds_type_any (void *D, struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: store_ds_type_account_days_t_t_l (D, T); return; - case 0x472f5020: store_ds_type_bare_account_days_t_t_l (D, T); return; - case 0x9fc5ec4e: store_ds_type_audio (D, T); return; - case 0x603a13b1: store_ds_type_bare_audio (D, T); return; - case 0x7bf2e6f6: store_ds_type_authorization (D, T); return; - case 0x840d1909: store_ds_type_bare_authorization (D, T); return; - case 0x250be282: store_ds_type_bool (D, T); return; - case 0xdaf41d7d: store_ds_type_bare_bool (D, T); return; - case 0x75e7ea6c: store_ds_type_bot_command (D, T); return; - case 0x8a181593: store_ds_type_bare_bot_command (D, T); return; - case 0xb2e16f93: store_ds_type_bot_info (D, T); return; - case 0x4d1e906c: store_ds_type_bare_bot_info (D, T); return; - case 0x0ee1379f: store_ds_type_bytes (D, T); return; - case 0xf11ec860: store_ds_type_bare_bytes (D, T); return; - case 0x7bd865dc: store_ds_type_chat (D, T); return; - case 0x84279a23: store_ds_type_bare_chat (D, T); return; - case 0x2e02a614: store_ds_type_chat_full (D, T); return; - case 0xd1fd59eb: store_ds_type_bare_chat_full (D, T); return; - case 0x94f910b1: store_ds_type_chat_invite (D, T); return; - case 0x6b06ef4e: store_ds_type_bare_chat_invite (D, T); return; - case 0x3631cf4c: store_ds_type_chat_located (D, T); return; - case 0xc9ce30b3: store_ds_type_bare_chat_located (D, T); return; - case 0xc8d7493e: store_ds_type_chat_participant (D, T); return; - case 0x3728b6c1: store_ds_type_bare_chat_participant (D, T); return; - case 0x77930f9f: store_ds_type_chat_participants (D, T); return; - case 0x886cf060: store_ds_type_bare_chat_participants (D, T); return; - case 0x56922676: store_ds_type_chat_photo (D, T); return; - case 0xa96dd989: store_ds_type_bare_chat_photo (D, T); return; - case 0x6643b654: store_ds_type_client_d_h_inner_data (D, T); return; - case 0x99bc49ab: store_ds_type_bare_client_d_h_inner_data (D, T); return; - case 0x4e32b894: store_ds_type_config (D, T); return; - case 0xb1cd476b: store_ds_type_bare_config (D, T); return; - case 0xf911c994: store_ds_type_contact (D, T); return; - case 0x06ee366b: store_ds_type_bare_contact (D, T); return; - case 0x561bc879: store_ds_type_contact_blocked (D, T); return; - case 0xa9e43786: store_ds_type_bare_contact_blocked (D, T); return; - case 0xea879f95: store_ds_type_contact_found (D, T); return; - case 0x1578606a: store_ds_type_bare_contact_found (D, T); return; - case 0x522fbc63: store_ds_type_contact_link (D, T); return; - case 0xadd0439c: store_ds_type_bare_contact_link (D, T); return; - case 0xd3680c61: store_ds_type_contact_status (D, T); return; - case 0x2c97f39e: store_ds_type_bare_contact_status (D, T); return; - case 0x3de191a1: store_ds_type_contact_suggested (D, T); return; - case 0xc21e6e5e: store_ds_type_bare_contact_suggested (D, T); return; - case 0x2b1a62f0: store_ds_type_dc_option (D, T); return; - case 0xd4e59d0f: store_ds_type_bare_dc_option (D, T); return; - case 0x535b7918: store_ds_type_decrypted_message (D, T); return; - case 0xaca486e7: store_ds_type_bare_decrypted_message (D, T); return; - case 0x4e0eefde: store_ds_type_decrypted_message_action (D, T); return; - case 0xb1f11021: store_ds_type_bare_decrypted_message_action (D, T); return; - case 0x1be31789: store_ds_type_decrypted_message_layer (D, T); return; - case 0xe41ce876: store_ds_type_bare_decrypted_message_layer (D, T); return; - case 0x34e0d674: store_ds_type_decrypted_message_media (D, T); return; - case 0xcb1f298b: store_ds_type_bare_decrypted_message_media (D, T); return; - case 0xc1dd804a: store_ds_type_dialog (D, T); return; - case 0x3e227fb5: store_ds_type_bare_dialog (D, T); return; - case 0xae636f24: store_ds_type_disabled_feature (D, T); return; - case 0x519c90db: store_ds_type_bare_disabled_feature (D, T); return; - case 0x51a73418: store_ds_type_document (D, T); return; - case 0xae58cbe7: store_ds_type_bare_document (D, T); return; - case 0x97c637a3: store_ds_type_document_attribute (D, T); return; - case 0x6839c85c: store_ds_type_bare_document_attribute (D, T); return; - case 0x2210c154: store_ds_type_double (D, T); return; - case 0xddef3eab: store_ds_type_bare_double (D, T); return; - case 0xb1718213: store_ds_type_encrypted_chat (D, T); return; - case 0x4e8e7dec: store_ds_type_bare_encrypted_chat (D, T); return; - case 0x886fd032: store_ds_type_encrypted_file (D, T); return; - case 0x77902fcd: store_ds_type_bare_encrypted_file (D, T); return; - case 0xce6b8a1e: store_ds_type_encrypted_message (D, T); return; - case 0x319475e1: store_ds_type_bare_encrypted_message (D, T); return; - case 0xc4b9f9bb: store_ds_type_error (D, T); return; - case 0x3b460644: store_ds_type_bare_error (D, T); return; - case 0x95f132d5: store_ds_type_exported_chat_invite (D, T); return; - case 0x6a0ecd2a: store_ds_type_bare_exported_chat_invite (D, T); return; - case 0x2f8ffb30: store_ds_type_file_location (D, T); return; - case 0xd07004cf: store_ds_type_bare_file_location (D, T); return; - case 0xf67b4034: store_ds_type_geo_chat_message (D, T); return; - case 0x0984bfcb: store_ds_type_bare_geo_chat_message (D, T); return; - case 0x315e0a53: store_ds_type_geo_point (D, T); return; - case 0xcea1f5ac: store_ds_type_bare_geo_point (D, T); return; - case 0xd0028438: store_ds_type_imported_contact (D, T); return; - case 0x2ffd7bc7: store_ds_type_bare_imported_contact (D, T); return; - case 0x770656a8: store_ds_type_input_app_event (D, T); return; - case 0x88f9a957: store_ds_type_bare_input_app_event (D, T); return; - case 0xae8e9c7b: store_ds_type_input_audio (D, T); return; - case 0x51716384: store_ds_type_bare_input_audio (D, T); return; - case 0x3a60776d: store_ds_type_input_chat_photo (D, T); return; - case 0xc59f8892: store_ds_type_bare_input_chat_photo (D, T); return; - case 0xf392b7f4: store_ds_type_input_contact (D, T); return; - case 0x0c6d480b: store_ds_type_bare_input_contact (D, T); return; - case 0x6a8963fc: store_ds_type_input_document (D, T); return; - case 0x95769c03: store_ds_type_bare_input_document (D, T); return; - case 0xf141b5e1: store_ds_type_input_encrypted_chat (D, T); return; - case 0x0ebe4a1e: store_ds_type_bare_input_encrypted_chat (D, T); return; - case 0x0b5c064f: store_ds_type_input_encrypted_file (D, T); return; - case 0xf4a3f9b0: store_ds_type_bare_input_encrypted_file (D, T); return; - case 0x0f60f9ca: store_ds_type_input_file (D, T); return; - case 0xf09f0635: store_ds_type_bare_input_file (D, T); return; - case 0xe6daa38b: store_ds_type_input_file_location (D, T); return; - case 0x19255c74: store_ds_type_bare_input_file_location (D, T); return; - case 0x74d456fa: store_ds_type_input_geo_chat (D, T); return; - case 0x8b2ba905: store_ds_type_bare_input_geo_chat (D, T); return; - case 0x17768f1f: store_ds_type_input_geo_point (D, T); return; - case 0xe88970e0: store_ds_type_bare_input_geo_point (D, T); return; - case 0xb32c91dd: store_ds_type_input_media (D, T); return; - case 0x4cd36e22: store_ds_type_bare_input_media (D, T); return; - case 0x02b6911b: store_ds_type_input_notify_peer (D, T); return; - case 0xfd496ee4: store_ds_type_bare_input_notify_peer (D, T); return; - case 0x9e67268d: store_ds_type_input_peer (D, T); return; - case 0x6198d972: store_ds_type_bare_input_peer (D, T); return; - case 0x185a48ac: store_ds_type_input_peer_notify_events (D, T); return; - case 0xe7a5b753: store_ds_type_bare_input_peer_notify_events (D, T); return; - case 0x46a2ce98: store_ds_type_input_peer_notify_settings (D, T); return; - case 0xb95d3167: store_ds_type_bare_input_peer_notify_settings (D, T); return; - case 0xe74279c9: store_ds_type_input_photo (D, T); return; - case 0x18bd8636: store_ds_type_bare_input_photo (D, T); return; - case 0x7477e321: store_ds_type_input_photo_crop (D, T); return; - case 0x8b881cde: store_ds_type_bare_input_photo_crop (D, T); return; - case 0x4f96cb18: store_ds_type_input_privacy_key (D, T); return; - case 0xb06934e7: store_ds_type_bare_input_privacy_key (D, T); return; - case 0x4b815163: store_ds_type_input_privacy_rule (D, T); return; - case 0xb47eae9c: store_ds_type_bare_input_privacy_rule (D, T); return; - case 0xe44d415c: store_ds_type_input_sticker_set (D, T); return; - case 0x1bb2bea3: store_ds_type_bare_input_sticker_set (D, T); return; - case 0xadfe0c6a: store_ds_type_input_user (D, T); return; - case 0x5201f395: store_ds_type_bare_input_user (D, T); return; - case 0xbb5f7a27: store_ds_type_input_video (D, T); return; - case 0x44a085d8: store_ds_type_bare_input_video (D, T); return; - case 0xa8509bda: store_ds_type_int (D, T); return; - case 0x57af6425: store_ds_type_bare_int (D, T); return; - case 0x7d36c439: store_ds_type_int128 (D, T); return; - case 0x82c93bc6: store_ds_type_bare_int128 (D, T); return; - case 0xf2c798b3: store_ds_type_int256 (D, T); return; - case 0x0d38674c: store_ds_type_bare_int256 (D, T); return; - case 0xa2fa4880: store_ds_type_keyboard_button (D, T); return; - case 0x5d05b77f: store_ds_type_bare_keyboard_button (D, T); return; - case 0x77608b83: store_ds_type_keyboard_button_row (D, T); return; - case 0x889f747c: store_ds_type_bare_keyboard_button_row (D, T); return; - case 0x22076cba: store_ds_type_long (D, T); return; - case 0xddf89345: store_ds_type_bare_long (D, T); return; - case 0x5d652a7f: store_ds_type_message (D, T); return; - case 0xa29ad580: store_ds_type_bare_message (D, T); return; - case 0x383415fa: store_ds_type_message_action (D, T); return; - case 0xc7cbea05: store_ds_type_bare_message_action (D, T); return; - case 0x95f2471a: store_ds_type_message_media (D, T); return; - case 0x6a0db8e5: store_ds_type_bare_message_media (D, T); return; - case 0x80895ae0: store_ds_type_messages_filter (D, T); return; - case 0x7f76a51f: store_ds_type_bare_messages_filter (D, T); return; - case 0x8e1a1775: store_ds_type_nearest_dc (D, T); return; - case 0x71e5e88a: store_ds_type_bare_nearest_dc (D, T); return; - case 0x9fcb8237: store_ds_type_notify_peer (D, T); return; - case 0x60347dc8: store_ds_type_bare_notify_peer (D, T); return; - case 0x56730bcc: store_ds_type_null (D, T); return; - case 0xa98cf433: store_ds_type_bare_null (D, T); return; - case 0xbfa3de38: store_ds_type_p_q_inner_data (D, T); return; - case 0x405c21c7: store_ds_type_bare_p_q_inner_data (D, T); return; - case 0x276159d6: store_ds_type_peer (D, T); return; - case 0xd89ea629: store_ds_type_bare_peer (D, T); return; - case 0xc0c8d13b: store_ds_type_peer_notify_events (D, T); return; - case 0x3f372ec4: store_ds_type_bare_peer_notify_events (D, T); return; - case 0xfdf894fc: store_ds_type_peer_notify_settings (D, T); return; - case 0x02076b03: store_ds_type_bare_peer_notify_settings (D, T); return; - case 0xc207550a: store_ds_type_photo (D, T); return; - case 0x3df8aaf5: store_ds_type_bare_photo (D, T); return; - case 0x900f60dd: store_ds_type_photo_size (D, T); return; - case 0x6ff09f22: store_ds_type_bare_photo_size (D, T); return; - case 0xbc2eab30: store_ds_type_privacy_key (D, T); return; - case 0x43d154cf: store_ds_type_bare_privacy_key (D, T); return; - case 0xa8638aec: store_ds_type_privacy_rule (D, T); return; - case 0x579c7513: store_ds_type_bare_privacy_rule (D, T); return; - case 0xa384b779: store_ds_type_received_notify_message (D, T); return; - case 0x5c7b4886: store_ds_type_bare_received_notify_message (D, T); return; - case 0x612ca4a9: store_ds_type_reply_markup (D, T); return; - case 0x9ed35b56: store_ds_type_bare_reply_markup (D, T); return; - case 0x05162463: store_ds_type_res_p_q (D, T); return; - case 0xfae9db9c: store_ds_type_bare_res_p_q (D, T); return; - case 0x70541c7e: store_ds_type_send_message_action (D, T); return; - case 0x8fabe381: store_ds_type_bare_send_message_action (D, T); return; - case 0xa9230301: store_ds_type_server_d_h_params (D, T); return; - case 0x56dcfcfe: store_ds_type_bare_server_d_h_params (D, T); return; - case 0xb5890dba: store_ds_type_server_d_h_inner_data (D, T); return; - case 0x4a76f245: store_ds_type_bare_server_d_h_inner_data (D, T); return; - case 0xdb8a468f: store_ds_type_set_client_d_h_params_answer (D, T); return; - case 0x2475b970: store_ds_type_bare_set_client_d_h_params_answer (D, T); return; - case 0x12b299d4: store_ds_type_sticker_pack (D, T); return; - case 0xed4d662b: store_ds_type_bare_sticker_pack (D, T); return; - case 0xa7a43b17: store_ds_type_sticker_set (D, T); return; - case 0x585bc4e8: store_ds_type_bare_sticker_set (D, T); return; - case 0xb5286e24: store_ds_type_string (D, T); return; - case 0x4ad791db: store_ds_type_bare_string (D, T); return; - case 0x2e02b27e: store_ds_type_update (D, T); return; - case 0xd1fd4d81: store_ds_type_bare_update (D, T); return; - case 0x22499d27: store_ds_type_updates (D, T); return; - case 0xddb662d8: store_ds_type_bare_updates (D, T); return; - case 0x02e6c0c8: store_ds_type_user (D, T); return; - case 0xfd193f37: store_ds_type_bare_user (D, T); return; - case 0x5a89ac5b: store_ds_type_user_full (D, T); return; - case 0xa57653a4: store_ds_type_bare_user_full (D, T); return; - case 0x9a486229: store_ds_type_user_profile_photo (D, T); return; - case 0x65b79dd6: store_ds_type_bare_user_profile_photo (D, T); return; - case 0x76de9570: store_ds_type_user_status (D, T); return; - case 0x89216a8f: store_ds_type_bare_user_status (D, T); return; - case 0x1cb5c415: store_ds_type_vector (D, T); return; - case 0xe34a3bea: store_ds_type_bare_vector (D, T); return; - case 0x1716b174: store_ds_type_video (D, T); return; - case 0xe8e94e8b: store_ds_type_bare_video (D, T); return; - case 0xafa14973: store_ds_type_wall_paper (D, T); return; - case 0x505eb68c: store_ds_type_bare_wall_paper (D, T); return; - case 0x8d8c0d41: store_ds_type_web_page (D, T); return; - case 0x7273f2be: store_ds_type_bare_web_page (D, T); return; - case 0x1250abde: store_ds_type_account_authorizations (D, T); return; - case 0xedaf5421: store_ds_type_bare_account_authorizations (D, T); return; - case 0xeac2a804: store_ds_type_account_password (D, T); return; - case 0x153d57fb: store_ds_type_bare_account_password (D, T); return; - case 0xbcfc532c: store_ds_type_account_password_input_settings (D, T); return; - case 0x4303acd3: store_ds_type_bare_account_password_input_settings (D, T); return; - case 0xb7b72ab3: store_ds_type_account_password_settings (D, T); return; - case 0x4848d54c: store_ds_type_bare_account_password_settings (D, T); return; - case 0x554abb6f: store_ds_type_account_privacy_rules (D, T); return; - case 0xaab54490: store_ds_type_bare_account_privacy_rules (D, T); return; - case 0xa4f58c4c: store_ds_type_account_sent_change_phone_code (D, T); return; - case 0x5b0a73b3: store_ds_type_bare_account_sent_change_phone_code (D, T); return; - case 0xff036af1: store_ds_type_auth_authorization (D, T); return; - case 0x00fc950e: store_ds_type_bare_auth_authorization (D, T); return; - case 0x811ea28e: store_ds_type_auth_checked_phone (D, T); return; - case 0x7ee15d71: store_ds_type_bare_auth_checked_phone (D, T); return; - case 0xdf969c2d: store_ds_type_auth_exported_authorization (D, T); return; - case 0x206963d2: store_ds_type_bare_auth_exported_authorization (D, T); return; - case 0x137948a5: store_ds_type_auth_password_recovery (D, T); return; - case 0xec86b75a: store_ds_type_bare_auth_password_recovery (D, T); return; - case 0x0cc8bc16: store_ds_type_auth_sent_code (D, T); return; - case 0xf33743e9: store_ds_type_bare_auth_sent_code (D, T); return; - case 0x0377168f: store_ds_type_binlog_encr_key (D, T); return; - case 0xfc88e970: store_ds_type_bare_binlog_encr_key (D, T); return; - case 0x66ff03a6: store_ds_type_binlog_update (D, T); return; - case 0x9900fc59: store_ds_type_bare_binlog_update (D, T); return; - case 0x8c1b8fb4: store_ds_type_contacts_blocked (D, T); return; - case 0x73e4704b: store_ds_type_bare_contacts_blocked (D, T); return; - case 0xd8c02560: store_ds_type_contacts_contacts (D, T); return; - case 0x273fda9f: store_ds_type_bare_contacts_contacts (D, T); return; - case 0x0566000e: store_ds_type_contacts_found (D, T); return; - case 0xfa99fff1: store_ds_type_bare_contacts_found (D, T); return; - case 0xad524315: store_ds_type_contacts_imported_contacts (D, T); return; - case 0x52adbcea: store_ds_type_bare_contacts_imported_contacts (D, T); return; - case 0x3ace484c: store_ds_type_contacts_link (D, T); return; - case 0xc531b7b3: store_ds_type_bare_contacts_link (D, T); return; - case 0x5649dcc5: store_ds_type_contacts_suggested (D, T); return; - case 0xa9b6233a: store_ds_type_bare_contacts_suggested (D, T); return; - case 0x48feb267: store_ds_type_geochats_located (D, T); return; - case 0xb7014d98: store_ds_type_bare_geochats_located (D, T); return; - case 0x6d0a0e59: store_ds_type_geochats_messages (D, T); return; - case 0x92f5f1a6: store_ds_type_bare_geochats_messages (D, T); return; - case 0x17b1578b: store_ds_type_geochats_stated_message (D, T); return; - case 0xe84ea874: store_ds_type_bare_geochats_stated_message (D, T); return; - case 0x4ddd9627: store_ds_type_help_app_update (D, T); return; - case 0xb22269d8: store_ds_type_bare_help_app_update (D, T); return; - case 0x18cb9f78: store_ds_type_help_invite_text (D, T); return; - case 0xe7346087: store_ds_type_bare_help_invite_text (D, T); return; - case 0x17c6b5f6: store_ds_type_help_support (D, T); return; - case 0xe8394a09: store_ds_type_bare_help_support (D, T); return; - case 0xb45c69d1: store_ds_type_messages_affected_history (D, T); return; - case 0x4ba3962e: store_ds_type_bare_messages_affected_history (D, T); return; - case 0x84d19185: store_ds_type_messages_affected_messages (D, T); return; - case 0x7b2e6e7a: store_ds_type_bare_messages_affected_messages (D, T); return; - case 0xb485502f: store_ds_type_messages_all_stickers (D, T); return; - case 0x4b7aafd0: store_ds_type_bare_messages_all_stickers (D, T); return; - case 0xe5d7d19c: store_ds_type_messages_chat_full (D, T); return; - case 0x1a282e63: store_ds_type_bare_messages_chat_full (D, T); return; - case 0x64ff9fd5: store_ds_type_messages_chats (D, T); return; - case 0x9b00602a: store_ds_type_bare_messages_chats (D, T); return; - case 0xecc058e8: store_ds_type_messages_dh_config (D, T); return; - case 0x133fa717: store_ds_type_bare_messages_dh_config (D, T); return; - case 0x645af8b3: store_ds_type_messages_dialogs (D, T); return; - case 0x9ba5074c: store_ds_type_bare_messages_dialogs (D, T); return; - case 0x3f4e0648: store_ds_type_messages_message (D, T); return; - case 0xc0b1f9b7: store_ds_type_bare_messages_message (D, T); return; - case 0x8735e464: store_ds_type_messages_messages (D, T); return; - case 0x78ca1b9b: store_ds_type_bare_messages_messages (D, T); return; - case 0xc29c7607: store_ds_type_messages_sent_encrypted_message (D, T); return; - case 0x3d6389f8: store_ds_type_bare_messages_sent_encrypted_message (D, T); return; - case 0x799ce190: store_ds_type_messages_sent_message (D, T); return; - case 0x86631e6f: store_ds_type_bare_messages_sent_message (D, T); return; - case 0xb60a24a6: store_ds_type_messages_sticker_set (D, T); return; - case 0x49f5db59: store_ds_type_bare_messages_sticker_set (D, T); return; - case 0x7bfa5710: store_ds_type_messages_stickers (D, T); return; - case 0x8405a8ef: store_ds_type_bare_messages_stickers (D, T); return; - case 0x20212ca8: store_ds_type_photos_photo (D, T); return; - case 0xdfded357: store_ds_type_bare_photos_photo (D, T); return; - case 0x98cf75f1: store_ds_type_photos_photos (D, T); return; - case 0x67308a0e: store_ds_type_bare_photos_photos (D, T); return; - case 0x3e2838a8: store_ds_type_storage_file_type (D, T); return; - case 0xc1d7c757: store_ds_type_bare_storage_file_type (D, T); return; - case 0xf57a2419: store_ds_type_updates_difference (D, T); return; - case 0x0a85dbe6: store_ds_type_bare_updates_difference (D, T); return; - case 0xa56c2a3e: store_ds_type_updates_state (D, T); return; - case 0x5a93d5c1: store_ds_type_bare_updates_state (D, T); return; - case 0x096a18d5: store_ds_type_upload_file (D, T); return; - case 0xf695e72a: store_ds_type_bare_upload_file (D, T); return; - default: return; } -} diff --git a/libs/tgl/src/auto/auto-store-ds.h b/libs/tgl/src/auto/auto-store-ds.h deleted file mode 100644 index 4abc26b3ce..0000000000 --- a/libs/tgl/src/auto/auto-store-ds.h +++ /dev/null @@ -1,718 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "auto-types.h" -#else -#include "auto.h" -#include "auto/auto-types.h" -#endif -#include -#include -struct tgl_state; -void store_ds_constructor_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T); -void store_ds_constructor_audio_empty (struct tl_ds_audio *D, struct paramed_type *T); -void store_ds_constructor_audio (struct tl_ds_audio *D, struct paramed_type *T); -void store_ds_constructor_authorization (struct tl_ds_authorization *D, struct paramed_type *T); -void store_ds_constructor_bool_false (struct tl_ds_bool *D, struct paramed_type *T); -void store_ds_constructor_bool_true (struct tl_ds_bool *D, struct paramed_type *T); -void store_ds_constructor_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T); -void store_ds_constructor_bot_command_old (struct tl_ds_bot_command *D, struct paramed_type *T); -void store_ds_constructor_bot_info_empty (struct tl_ds_bot_info *D, struct paramed_type *T); -void store_ds_constructor_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T); -void store_ds_constructor_bytes (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_constructor_chat_empty (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_constructor_chat (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_constructor_chat_forbidden (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_constructor_geo_chat (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_constructor_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T); -void store_ds_constructor_chat_invite_already (struct tl_ds_chat_invite *D, struct paramed_type *T); -void store_ds_constructor_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T); -void store_ds_constructor_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T); -void store_ds_constructor_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T); -void store_ds_constructor_chat_participants_forbidden (struct tl_ds_chat_participants *D, struct paramed_type *T); -void store_ds_constructor_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T); -void store_ds_constructor_chat_photo_empty (struct tl_ds_chat_photo *D, struct paramed_type *T); -void store_ds_constructor_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T); -void store_ds_constructor_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T); -void store_ds_constructor_config (struct tl_ds_config *D, struct paramed_type *T); -void store_ds_constructor_contact (struct tl_ds_contact *D, struct paramed_type *T); -void store_ds_constructor_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T); -void store_ds_constructor_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T); -void store_ds_constructor_contact_link_unknown (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_constructor_contact_link_none (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_constructor_contact_link_has_phone (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_constructor_contact_link_contact (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_constructor_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T); -void store_ds_constructor_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T); -void store_ds_constructor_dc_option_l28 (struct tl_ds_dc_option *D, struct paramed_type *T); -void store_ds_constructor_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_service (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_set_message_t_t_l (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_read_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_delete_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_screenshot_messages (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_flush_history (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_resend (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_notify_layer (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_typing (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_request_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_accept_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_abort_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_commit_key (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_action_noop (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_empty (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_photo (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_geo_point (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_contact (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_video (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_audio (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_external_document (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_video_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_decrypted_message_media_audio_l12 (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_constructor_dialog (struct tl_ds_dialog *D, struct paramed_type *T); -void store_ds_constructor_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T); -void store_ds_constructor_document_empty (struct tl_ds_document *D, struct paramed_type *T); -void store_ds_constructor_document (struct tl_ds_document *D, struct paramed_type *T); -void store_ds_constructor_document_l19 (struct tl_ds_document *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_image_size (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_animated (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_sticker_l28 (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_sticker (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_video (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_audio (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_document_attribute_filename (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_constructor_double (double *D, struct paramed_type *T); -void store_ds_constructor_encrypted_chat_empty (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_encrypted_chat_waiting (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_encrypted_chat_requested (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_encrypted_chat_discarded (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_encrypted_file_empty (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void store_ds_constructor_encrypted_message_service (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void store_ds_constructor_error (struct tl_ds_error *D, struct paramed_type *T); -void store_ds_constructor_chat_invite_empty (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void store_ds_constructor_chat_invite_exported (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void store_ds_constructor_file_location_unavailable (struct tl_ds_file_location *D, struct paramed_type *T); -void store_ds_constructor_file_location (struct tl_ds_file_location *D, struct paramed_type *T); -void store_ds_constructor_geo_chat_message_empty (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void store_ds_constructor_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void store_ds_constructor_geo_chat_message_service (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void store_ds_constructor_geo_point_empty (struct tl_ds_geo_point *D, struct paramed_type *T); -void store_ds_constructor_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T); -void store_ds_constructor_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T); -void store_ds_constructor_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T); -void store_ds_constructor_input_audio_empty (struct tl_ds_input_audio *D, struct paramed_type *T); -void store_ds_constructor_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T); -void store_ds_constructor_input_chat_photo_empty (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void store_ds_constructor_input_chat_uploaded_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void store_ds_constructor_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void store_ds_constructor_input_phone_contact (struct tl_ds_input_contact *D, struct paramed_type *T); -void store_ds_constructor_input_document_empty (struct tl_ds_input_document *D, struct paramed_type *T); -void store_ds_constructor_input_document (struct tl_ds_input_document *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_file_empty (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_file_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_file_big_uploaded (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_constructor_input_file (struct tl_ds_input_file *D, struct paramed_type *T); -void store_ds_constructor_input_file_big (struct tl_ds_input_file *D, struct paramed_type *T); -void store_ds_constructor_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_constructor_input_video_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_constructor_input_encrypted_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_constructor_input_audio_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_constructor_input_document_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_constructor_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T); -void store_ds_constructor_input_geo_point_empty (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void store_ds_constructor_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void store_ds_constructor_input_media_empty (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_photo (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_photo (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_geo_point (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_contact (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_video (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_thumb_video (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_video (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_audio (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_audio (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_document (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_uploaded_thumb_document (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_document (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_media_venue (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_constructor_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_input_notify_users (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_input_notify_chats (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_input_notify_all (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_input_notify_geo_chat_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_empty (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_self (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_contact (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_foreign (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_chat (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_constructor_input_peer_notify_events_empty (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void store_ds_constructor_input_peer_notify_events_all (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void store_ds_constructor_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T); -void store_ds_constructor_input_photo_empty (struct tl_ds_input_photo *D, struct paramed_type *T); -void store_ds_constructor_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T); -void store_ds_constructor_input_photo_crop_auto (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void store_ds_constructor_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_key_status_timestamp (struct tl_ds_input_privacy_key *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_allow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_allow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_allow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_disallow_contacts (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_disallow_all (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_privacy_value_disallow_users (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_input_sticker_set_empty (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void store_ds_constructor_input_sticker_set_i_d (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void store_ds_constructor_input_sticker_set_short_name (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void store_ds_constructor_input_user_empty (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_constructor_input_user_self (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_constructor_input_user_contact (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_constructor_input_user_foreign (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_constructor_input_video_empty (struct tl_ds_input_video *D, struct paramed_type *T); -void store_ds_constructor_input_video (struct tl_ds_input_video *D, struct paramed_type *T); -void store_ds_constructor_int (int *D, struct paramed_type *T); -void store_ds_constructor_int128 (struct tl_ds_int128 *D, struct paramed_type *T); -void store_ds_constructor_int256 (struct tl_ds_int256 *D, struct paramed_type *T); -void store_ds_constructor_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T); -void store_ds_constructor_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T); -void store_ds_constructor_long (long long *D, struct paramed_type *T); -void store_ds_constructor_message_empty (struct tl_ds_message *D, struct paramed_type *T); -void store_ds_constructor_message (struct tl_ds_message *D, struct paramed_type *T); -void store_ds_constructor_message_service (struct tl_ds_message *D, struct paramed_type *T); -void store_ds_constructor_message_action_empty (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_create (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_edit_title (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_edit_photo (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_delete_photo (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_add_user (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_delete_user (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_geo_chat_create (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_geo_chat_checkin (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_action_chat_joined_by_link (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_constructor_message_media_empty (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_photo (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_video (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_geo (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_contact (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_unsupported (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_document (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_audio (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_web_page (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_venue (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_photo_l27 (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_message_media_video_l27 (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_empty (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_photos (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_video (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_photo_video (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_photo_video_documents (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_document (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_input_messages_filter_audio (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_constructor_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T); -void store_ds_constructor_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_notify_users (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_notify_chats (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_notify_all (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_constructor_null (struct tl_ds_null *D, struct paramed_type *T); -void store_ds_constructor_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void store_ds_constructor_p_q_inner_data_temp (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void store_ds_constructor_peer_user (struct tl_ds_peer *D, struct paramed_type *T); -void store_ds_constructor_peer_chat (struct tl_ds_peer *D, struct paramed_type *T); -void store_ds_constructor_peer_notify_events_empty (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void store_ds_constructor_peer_notify_events_all (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void store_ds_constructor_peer_notify_settings_empty (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void store_ds_constructor_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void store_ds_constructor_photo_empty (struct tl_ds_photo *D, struct paramed_type *T); -void store_ds_constructor_photo (struct tl_ds_photo *D, struct paramed_type *T); -void store_ds_constructor_photo_l27 (struct tl_ds_photo *D, struct paramed_type *T); -void store_ds_constructor_photo_size_empty (struct tl_ds_photo_size *D, struct paramed_type *T); -void store_ds_constructor_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void store_ds_constructor_photo_cached_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void store_ds_constructor_privacy_key_status_timestamp (struct tl_ds_privacy_key *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_allow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_allow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_allow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_disallow_contacts (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_disallow_all (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_privacy_value_disallow_users (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_constructor_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T); -void store_ds_constructor_reply_keyboard_hide (struct tl_ds_reply_markup *D, struct paramed_type *T); -void store_ds_constructor_reply_keyboard_force_reply (struct tl_ds_reply_markup *D, struct paramed_type *T); -void store_ds_constructor_reply_keyboard_markup (struct tl_ds_reply_markup *D, struct paramed_type *T); -void store_ds_constructor_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T); -void store_ds_constructor_send_message_typing_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_cancel_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_record_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_video_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_video_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_record_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_audio_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_audio_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_photo_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_document_action_l27 (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_upload_document_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_geo_location_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_send_message_choose_contact_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_constructor_server_d_h_params_fail (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void store_ds_constructor_server_d_h_params_ok (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void store_ds_constructor_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T); -void store_ds_constructor_dh_gen_ok (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void store_ds_constructor_dh_gen_retry (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void store_ds_constructor_dh_gen_fail (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void store_ds_constructor_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T); -void store_ds_constructor_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T); -void store_ds_constructor_string (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_constructor_update_new_message (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_message_i_d (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_delete_messages (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_typing (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_chat_user_typing (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_chat_participants (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_status (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_name (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_photo (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_contact_registered (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_contact_link (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_new_authorization (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_new_geo_chat_message (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_new_encrypted_message (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_encrypted_chat_typing (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_encryption (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_encrypted_messages_read (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_chat_participant_add (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_chat_participant_delete (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_dc_options (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_blocked (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_notify_settings (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_service_notification (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_privacy (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_user_phone (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_read_history_inbox (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_read_history_outbox (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_web_page (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_read_messages_contents (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_update_msg_update (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_constructor_updates_too_long (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_update_short_message (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_update_short_chat_message (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_update_short (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_updates_combined (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_updates (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_constructor_user_empty (struct tl_ds_user *D, struct paramed_type *T); -void store_ds_constructor_user (struct tl_ds_user *D, struct paramed_type *T); -void store_ds_constructor_user_full (struct tl_ds_user_full *D, struct paramed_type *T); -void store_ds_constructor_user_profile_photo_empty (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void store_ds_constructor_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void store_ds_constructor_user_status_empty (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_user_status_online (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_user_status_offline (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_user_status_recently (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_user_status_last_week (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_user_status_last_month (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_constructor_vector (struct tl_ds_vector *D, struct paramed_type *T); -void store_ds_constructor_video_empty (struct tl_ds_video *D, struct paramed_type *T); -void store_ds_constructor_video (struct tl_ds_video *D, struct paramed_type *T); -void store_ds_constructor_video_l27 (struct tl_ds_video *D, struct paramed_type *T); -void store_ds_constructor_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T); -void store_ds_constructor_wall_paper_solid (struct tl_ds_wall_paper *D, struct paramed_type *T); -void store_ds_constructor_web_page_empty (struct tl_ds_web_page *D, struct paramed_type *T); -void store_ds_constructor_web_page_pending (struct tl_ds_web_page *D, struct paramed_type *T); -void store_ds_constructor_web_page (struct tl_ds_web_page *D, struct paramed_type *T); -void store_ds_constructor_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T); -void store_ds_constructor_account_no_password (struct tl_ds_account_password *D, struct paramed_type *T); -void store_ds_constructor_account_password (struct tl_ds_account_password *D, struct paramed_type *T); -void store_ds_constructor_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T); -void store_ds_constructor_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T); -void store_ds_constructor_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T); -void store_ds_constructor_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T); -void store_ds_constructor_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T); -void store_ds_constructor_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T); -void store_ds_constructor_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T); -void store_ds_constructor_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T); -void store_ds_constructor_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void store_ds_constructor_auth_sent_app_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void store_ds_constructor_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T); -void store_ds_constructor_binlog_start (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_dc_option (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_dc_option_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_auth_key (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_default_dc (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_dc_signed (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_our_id (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_dh_params (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_pts (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_qts (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_date (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_seq (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_encr_chat_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_encr_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_encr_chat_exchange_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_user_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_user_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_chat_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_chat_add_participant (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_chat_del_participant (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_set_msg_id (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_message_delete (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_message_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_message_encr_new (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_msg_update (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_binlog_reset_authorization (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_constructor_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void store_ds_constructor_contacts_blocked_slice (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void store_ds_constructor_contacts_contacts_not_modified (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void store_ds_constructor_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void store_ds_constructor_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T); -void store_ds_constructor_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T); -void store_ds_constructor_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T); -void store_ds_constructor_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T); -void store_ds_constructor_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T); -void store_ds_constructor_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void store_ds_constructor_geochats_messages_slice (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void store_ds_constructor_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T); -void store_ds_constructor_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void store_ds_constructor_help_no_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void store_ds_constructor_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T); -void store_ds_constructor_help_support (struct tl_ds_help_support *D, struct paramed_type *T); -void store_ds_constructor_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T); -void store_ds_constructor_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T); -void store_ds_constructor_messages_all_stickers_not_modified (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void store_ds_constructor_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void store_ds_constructor_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T); -void store_ds_constructor_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T); -void store_ds_constructor_messages_dh_config_not_modified (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void store_ds_constructor_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void store_ds_constructor_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void store_ds_constructor_messages_dialogs_slice (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void store_ds_constructor_messages_message_empty (struct tl_ds_messages_message *D, struct paramed_type *T); -void store_ds_constructor_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T); -void store_ds_constructor_messages_messages_slice (struct tl_ds_messages_messages *D, struct paramed_type *T); -void store_ds_constructor_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void store_ds_constructor_messages_sent_encrypted_file (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void store_ds_constructor_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void store_ds_constructor_messages_sent_message_link (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void store_ds_constructor_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T); -void store_ds_constructor_messages_stickers_not_modified (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void store_ds_constructor_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void store_ds_constructor_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T); -void store_ds_constructor_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T); -void store_ds_constructor_photos_photos_slice (struct tl_ds_photos_photos *D, struct paramed_type *T); -void store_ds_constructor_storage_file_unknown (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_jpeg (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_gif (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_png (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_pdf (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_mp3 (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_mov (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_partial (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_mp4 (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_storage_file_webp (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_constructor_updates_difference_empty (struct tl_ds_updates_difference *D, struct paramed_type *T); -void store_ds_constructor_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T); -void store_ds_constructor_updates_difference_slice (struct tl_ds_updates_difference *D, struct paramed_type *T); -void store_ds_constructor_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T); -void store_ds_constructor_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T); -void store_ds_type_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T); -void store_ds_type_bare_account_days_t_t_l (struct tl_ds_account_days_t_t_l *D, struct paramed_type *T); -void store_ds_type_audio (struct tl_ds_audio *D, struct paramed_type *T); -void store_ds_type_bare_audio (struct tl_ds_audio *D, struct paramed_type *T); -void store_ds_type_authorization (struct tl_ds_authorization *D, struct paramed_type *T); -void store_ds_type_bare_authorization (struct tl_ds_authorization *D, struct paramed_type *T); -void store_ds_type_bool (struct tl_ds_bool *D, struct paramed_type *T); -void store_ds_type_bare_bool (struct tl_ds_bool *D, struct paramed_type *T); -void store_ds_type_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T); -void store_ds_type_bare_bot_command (struct tl_ds_bot_command *D, struct paramed_type *T); -void store_ds_type_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T); -void store_ds_type_bare_bot_info (struct tl_ds_bot_info *D, struct paramed_type *T); -void store_ds_type_bytes (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_type_bare_bytes (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_type_chat (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_type_bare_chat (struct tl_ds_chat *D, struct paramed_type *T); -void store_ds_type_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T); -void store_ds_type_bare_chat_full (struct tl_ds_chat_full *D, struct paramed_type *T); -void store_ds_type_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T); -void store_ds_type_bare_chat_invite (struct tl_ds_chat_invite *D, struct paramed_type *T); -void store_ds_type_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T); -void store_ds_type_bare_chat_located (struct tl_ds_chat_located *D, struct paramed_type *T); -void store_ds_type_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T); -void store_ds_type_bare_chat_participant (struct tl_ds_chat_participant *D, struct paramed_type *T); -void store_ds_type_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T); -void store_ds_type_bare_chat_participants (struct tl_ds_chat_participants *D, struct paramed_type *T); -void store_ds_type_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T); -void store_ds_type_bare_chat_photo (struct tl_ds_chat_photo *D, struct paramed_type *T); -void store_ds_type_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T); -void store_ds_type_bare_client_d_h_inner_data (struct tl_ds_client_d_h_inner_data *D, struct paramed_type *T); -void store_ds_type_config (struct tl_ds_config *D, struct paramed_type *T); -void store_ds_type_bare_config (struct tl_ds_config *D, struct paramed_type *T); -void store_ds_type_contact (struct tl_ds_contact *D, struct paramed_type *T); -void store_ds_type_bare_contact (struct tl_ds_contact *D, struct paramed_type *T); -void store_ds_type_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T); -void store_ds_type_bare_contact_blocked (struct tl_ds_contact_blocked *D, struct paramed_type *T); -void store_ds_type_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T); -void store_ds_type_bare_contact_found (struct tl_ds_contact_found *D, struct paramed_type *T); -void store_ds_type_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_type_bare_contact_link (struct tl_ds_contact_link *D, struct paramed_type *T); -void store_ds_type_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T); -void store_ds_type_bare_contact_status (struct tl_ds_contact_status *D, struct paramed_type *T); -void store_ds_type_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T); -void store_ds_type_bare_contact_suggested (struct tl_ds_contact_suggested *D, struct paramed_type *T); -void store_ds_type_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T); -void store_ds_type_bare_dc_option (struct tl_ds_dc_option *D, struct paramed_type *T); -void store_ds_type_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void store_ds_type_bare_decrypted_message (struct tl_ds_decrypted_message *D, struct paramed_type *T); -void store_ds_type_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_type_bare_decrypted_message_action (struct tl_ds_decrypted_message_action *D, struct paramed_type *T); -void store_ds_type_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T); -void store_ds_type_bare_decrypted_message_layer (struct tl_ds_decrypted_message_layer *D, struct paramed_type *T); -void store_ds_type_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_type_bare_decrypted_message_media (struct tl_ds_decrypted_message_media *D, struct paramed_type *T); -void store_ds_type_dialog (struct tl_ds_dialog *D, struct paramed_type *T); -void store_ds_type_bare_dialog (struct tl_ds_dialog *D, struct paramed_type *T); -void store_ds_type_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T); -void store_ds_type_bare_disabled_feature (struct tl_ds_disabled_feature *D, struct paramed_type *T); -void store_ds_type_document (struct tl_ds_document *D, struct paramed_type *T); -void store_ds_type_bare_document (struct tl_ds_document *D, struct paramed_type *T); -void store_ds_type_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_type_bare_document_attribute (struct tl_ds_document_attribute *D, struct paramed_type *T); -void store_ds_type_double (double *D, struct paramed_type *T); -void store_ds_type_bare_double (double *D, struct paramed_type *T); -void store_ds_type_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_type_bare_encrypted_chat (struct tl_ds_encrypted_chat *D, struct paramed_type *T); -void store_ds_type_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void store_ds_type_bare_encrypted_file (struct tl_ds_encrypted_file *D, struct paramed_type *T); -void store_ds_type_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void store_ds_type_bare_encrypted_message (struct tl_ds_encrypted_message *D, struct paramed_type *T); -void store_ds_type_error (struct tl_ds_error *D, struct paramed_type *T); -void store_ds_type_bare_error (struct tl_ds_error *D, struct paramed_type *T); -void store_ds_type_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void store_ds_type_bare_exported_chat_invite (struct tl_ds_exported_chat_invite *D, struct paramed_type *T); -void store_ds_type_file_location (struct tl_ds_file_location *D, struct paramed_type *T); -void store_ds_type_bare_file_location (struct tl_ds_file_location *D, struct paramed_type *T); -void store_ds_type_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void store_ds_type_bare_geo_chat_message (struct tl_ds_geo_chat_message *D, struct paramed_type *T); -void store_ds_type_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T); -void store_ds_type_bare_geo_point (struct tl_ds_geo_point *D, struct paramed_type *T); -void store_ds_type_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T); -void store_ds_type_bare_imported_contact (struct tl_ds_imported_contact *D, struct paramed_type *T); -void store_ds_type_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T); -void store_ds_type_bare_input_app_event (struct tl_ds_input_app_event *D, struct paramed_type *T); -void store_ds_type_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T); -void store_ds_type_bare_input_audio (struct tl_ds_input_audio *D, struct paramed_type *T); -void store_ds_type_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void store_ds_type_bare_input_chat_photo (struct tl_ds_input_chat_photo *D, struct paramed_type *T); -void store_ds_type_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T); -void store_ds_type_bare_input_contact (struct tl_ds_input_contact *D, struct paramed_type *T); -void store_ds_type_input_document (struct tl_ds_input_document *D, struct paramed_type *T); -void store_ds_type_bare_input_document (struct tl_ds_input_document *D, struct paramed_type *T); -void store_ds_type_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T); -void store_ds_type_bare_input_encrypted_chat (struct tl_ds_input_encrypted_chat *D, struct paramed_type *T); -void store_ds_type_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_type_bare_input_encrypted_file (struct tl_ds_input_encrypted_file *D, struct paramed_type *T); -void store_ds_type_input_file (struct tl_ds_input_file *D, struct paramed_type *T); -void store_ds_type_bare_input_file (struct tl_ds_input_file *D, struct paramed_type *T); -void store_ds_type_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_type_bare_input_file_location (struct tl_ds_input_file_location *D, struct paramed_type *T); -void store_ds_type_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T); -void store_ds_type_bare_input_geo_chat (struct tl_ds_input_geo_chat *D, struct paramed_type *T); -void store_ds_type_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void store_ds_type_bare_input_geo_point (struct tl_ds_input_geo_point *D, struct paramed_type *T); -void store_ds_type_input_media (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_type_bare_input_media (struct tl_ds_input_media *D, struct paramed_type *T); -void store_ds_type_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_type_bare_input_notify_peer (struct tl_ds_input_notify_peer *D, struct paramed_type *T); -void store_ds_type_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_type_bare_input_peer (struct tl_ds_input_peer *D, struct paramed_type *T); -void store_ds_type_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void store_ds_type_bare_input_peer_notify_events (struct tl_ds_input_peer_notify_events *D, struct paramed_type *T); -void store_ds_type_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T); -void store_ds_type_bare_input_peer_notify_settings (struct tl_ds_input_peer_notify_settings *D, struct paramed_type *T); -void store_ds_type_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T); -void store_ds_type_bare_input_photo (struct tl_ds_input_photo *D, struct paramed_type *T); -void store_ds_type_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void store_ds_type_bare_input_photo_crop (struct tl_ds_input_photo_crop *D, struct paramed_type *T); -void store_ds_type_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T); -void store_ds_type_bare_input_privacy_key (struct tl_ds_input_privacy_key *D, struct paramed_type *T); -void store_ds_type_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_type_bare_input_privacy_rule (struct tl_ds_input_privacy_rule *D, struct paramed_type *T); -void store_ds_type_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void store_ds_type_bare_input_sticker_set (struct tl_ds_input_sticker_set *D, struct paramed_type *T); -void store_ds_type_input_user (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_type_bare_input_user (struct tl_ds_input_user *D, struct paramed_type *T); -void store_ds_type_input_video (struct tl_ds_input_video *D, struct paramed_type *T); -void store_ds_type_bare_input_video (struct tl_ds_input_video *D, struct paramed_type *T); -void store_ds_type_int (int *D, struct paramed_type *T); -void store_ds_type_bare_int (int *D, struct paramed_type *T); -void store_ds_type_int128 (struct tl_ds_int128 *D, struct paramed_type *T); -void store_ds_type_bare_int128 (struct tl_ds_int128 *D, struct paramed_type *T); -void store_ds_type_int256 (struct tl_ds_int256 *D, struct paramed_type *T); -void store_ds_type_bare_int256 (struct tl_ds_int256 *D, struct paramed_type *T); -void store_ds_type_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T); -void store_ds_type_bare_keyboard_button (struct tl_ds_keyboard_button *D, struct paramed_type *T); -void store_ds_type_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T); -void store_ds_type_bare_keyboard_button_row (struct tl_ds_keyboard_button_row *D, struct paramed_type *T); -void store_ds_type_long (long long *D, struct paramed_type *T); -void store_ds_type_bare_long (long long *D, struct paramed_type *T); -void store_ds_type_message (struct tl_ds_message *D, struct paramed_type *T); -void store_ds_type_bare_message (struct tl_ds_message *D, struct paramed_type *T); -void store_ds_type_message_action (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_type_bare_message_action (struct tl_ds_message_action *D, struct paramed_type *T); -void store_ds_type_message_media (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_type_bare_message_media (struct tl_ds_message_media *D, struct paramed_type *T); -void store_ds_type_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_type_bare_messages_filter (struct tl_ds_messages_filter *D, struct paramed_type *T); -void store_ds_type_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T); -void store_ds_type_bare_nearest_dc (struct tl_ds_nearest_dc *D, struct paramed_type *T); -void store_ds_type_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_type_bare_notify_peer (struct tl_ds_notify_peer *D, struct paramed_type *T); -void store_ds_type_null (struct tl_ds_null *D, struct paramed_type *T); -void store_ds_type_bare_null (struct tl_ds_null *D, struct paramed_type *T); -void store_ds_type_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void store_ds_type_bare_p_q_inner_data (struct tl_ds_p_q_inner_data *D, struct paramed_type *T); -void store_ds_type_peer (struct tl_ds_peer *D, struct paramed_type *T); -void store_ds_type_bare_peer (struct tl_ds_peer *D, struct paramed_type *T); -void store_ds_type_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void store_ds_type_bare_peer_notify_events (struct tl_ds_peer_notify_events *D, struct paramed_type *T); -void store_ds_type_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void store_ds_type_bare_peer_notify_settings (struct tl_ds_peer_notify_settings *D, struct paramed_type *T); -void store_ds_type_photo (struct tl_ds_photo *D, struct paramed_type *T); -void store_ds_type_bare_photo (struct tl_ds_photo *D, struct paramed_type *T); -void store_ds_type_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void store_ds_type_bare_photo_size (struct tl_ds_photo_size *D, struct paramed_type *T); -void store_ds_type_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T); -void store_ds_type_bare_privacy_key (struct tl_ds_privacy_key *D, struct paramed_type *T); -void store_ds_type_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_type_bare_privacy_rule (struct tl_ds_privacy_rule *D, struct paramed_type *T); -void store_ds_type_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T); -void store_ds_type_bare_received_notify_message (struct tl_ds_received_notify_message *D, struct paramed_type *T); -void store_ds_type_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T); -void store_ds_type_bare_reply_markup (struct tl_ds_reply_markup *D, struct paramed_type *T); -void store_ds_type_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T); -void store_ds_type_bare_res_p_q (struct tl_ds_res_p_q *D, struct paramed_type *T); -void store_ds_type_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_type_bare_send_message_action (struct tl_ds_send_message_action *D, struct paramed_type *T); -void store_ds_type_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void store_ds_type_bare_server_d_h_params (struct tl_ds_server_d_h_params *D, struct paramed_type *T); -void store_ds_type_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T); -void store_ds_type_bare_server_d_h_inner_data (struct tl_ds_server_d_h_inner_data *D, struct paramed_type *T); -void store_ds_type_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void store_ds_type_bare_set_client_d_h_params_answer (struct tl_ds_set_client_d_h_params_answer *D, struct paramed_type *T); -void store_ds_type_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T); -void store_ds_type_bare_sticker_pack (struct tl_ds_sticker_pack *D, struct paramed_type *T); -void store_ds_type_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T); -void store_ds_type_bare_sticker_set (struct tl_ds_sticker_set *D, struct paramed_type *T); -void store_ds_type_string (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_type_bare_string (struct tl_ds_string *D, struct paramed_type *T); -void store_ds_type_update (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_type_bare_update (struct tl_ds_update *D, struct paramed_type *T); -void store_ds_type_updates (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_type_bare_updates (struct tl_ds_updates *D, struct paramed_type *T); -void store_ds_type_user (struct tl_ds_user *D, struct paramed_type *T); -void store_ds_type_bare_user (struct tl_ds_user *D, struct paramed_type *T); -void store_ds_type_user_full (struct tl_ds_user_full *D, struct paramed_type *T); -void store_ds_type_bare_user_full (struct tl_ds_user_full *D, struct paramed_type *T); -void store_ds_type_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void store_ds_type_bare_user_profile_photo (struct tl_ds_user_profile_photo *D, struct paramed_type *T); -void store_ds_type_user_status (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_type_bare_user_status (struct tl_ds_user_status *D, struct paramed_type *T); -void store_ds_type_vector (struct tl_ds_vector *D, struct paramed_type *T); -void store_ds_type_bare_vector (struct tl_ds_vector *D, struct paramed_type *T); -void store_ds_type_video (struct tl_ds_video *D, struct paramed_type *T); -void store_ds_type_bare_video (struct tl_ds_video *D, struct paramed_type *T); -void store_ds_type_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T); -void store_ds_type_bare_wall_paper (struct tl_ds_wall_paper *D, struct paramed_type *T); -void store_ds_type_web_page (struct tl_ds_web_page *D, struct paramed_type *T); -void store_ds_type_bare_web_page (struct tl_ds_web_page *D, struct paramed_type *T); -void store_ds_type_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T); -void store_ds_type_bare_account_authorizations (struct tl_ds_account_authorizations *D, struct paramed_type *T); -void store_ds_type_account_password (struct tl_ds_account_password *D, struct paramed_type *T); -void store_ds_type_bare_account_password (struct tl_ds_account_password *D, struct paramed_type *T); -void store_ds_type_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T); -void store_ds_type_bare_account_password_input_settings (struct tl_ds_account_password_input_settings *D, struct paramed_type *T); -void store_ds_type_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T); -void store_ds_type_bare_account_password_settings (struct tl_ds_account_password_settings *D, struct paramed_type *T); -void store_ds_type_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T); -void store_ds_type_bare_account_privacy_rules (struct tl_ds_account_privacy_rules *D, struct paramed_type *T); -void store_ds_type_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T); -void store_ds_type_bare_account_sent_change_phone_code (struct tl_ds_account_sent_change_phone_code *D, struct paramed_type *T); -void store_ds_type_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T); -void store_ds_type_bare_auth_authorization (struct tl_ds_auth_authorization *D, struct paramed_type *T); -void store_ds_type_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T); -void store_ds_type_bare_auth_checked_phone (struct tl_ds_auth_checked_phone *D, struct paramed_type *T); -void store_ds_type_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T); -void store_ds_type_bare_auth_exported_authorization (struct tl_ds_auth_exported_authorization *D, struct paramed_type *T); -void store_ds_type_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T); -void store_ds_type_bare_auth_password_recovery (struct tl_ds_auth_password_recovery *D, struct paramed_type *T); -void store_ds_type_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void store_ds_type_bare_auth_sent_code (struct tl_ds_auth_sent_code *D, struct paramed_type *T); -void store_ds_type_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T); -void store_ds_type_bare_binlog_encr_key (struct tl_ds_binlog_encr_key *D, struct paramed_type *T); -void store_ds_type_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_type_bare_binlog_update (struct tl_ds_binlog_update *D, struct paramed_type *T); -void store_ds_type_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void store_ds_type_bare_contacts_blocked (struct tl_ds_contacts_blocked *D, struct paramed_type *T); -void store_ds_type_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void store_ds_type_bare_contacts_contacts (struct tl_ds_contacts_contacts *D, struct paramed_type *T); -void store_ds_type_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T); -void store_ds_type_bare_contacts_found (struct tl_ds_contacts_found *D, struct paramed_type *T); -void store_ds_type_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T); -void store_ds_type_bare_contacts_imported_contacts (struct tl_ds_contacts_imported_contacts *D, struct paramed_type *T); -void store_ds_type_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T); -void store_ds_type_bare_contacts_link (struct tl_ds_contacts_link *D, struct paramed_type *T); -void store_ds_type_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T); -void store_ds_type_bare_contacts_suggested (struct tl_ds_contacts_suggested *D, struct paramed_type *T); -void store_ds_type_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T); -void store_ds_type_bare_geochats_located (struct tl_ds_geochats_located *D, struct paramed_type *T); -void store_ds_type_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void store_ds_type_bare_geochats_messages (struct tl_ds_geochats_messages *D, struct paramed_type *T); -void store_ds_type_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T); -void store_ds_type_bare_geochats_stated_message (struct tl_ds_geochats_stated_message *D, struct paramed_type *T); -void store_ds_type_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void store_ds_type_bare_help_app_update (struct tl_ds_help_app_update *D, struct paramed_type *T); -void store_ds_type_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T); -void store_ds_type_bare_help_invite_text (struct tl_ds_help_invite_text *D, struct paramed_type *T); -void store_ds_type_help_support (struct tl_ds_help_support *D, struct paramed_type *T); -void store_ds_type_bare_help_support (struct tl_ds_help_support *D, struct paramed_type *T); -void store_ds_type_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T); -void store_ds_type_bare_messages_affected_history (struct tl_ds_messages_affected_history *D, struct paramed_type *T); -void store_ds_type_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T); -void store_ds_type_bare_messages_affected_messages (struct tl_ds_messages_affected_messages *D, struct paramed_type *T); -void store_ds_type_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void store_ds_type_bare_messages_all_stickers (struct tl_ds_messages_all_stickers *D, struct paramed_type *T); -void store_ds_type_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T); -void store_ds_type_bare_messages_chat_full (struct tl_ds_messages_chat_full *D, struct paramed_type *T); -void store_ds_type_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T); -void store_ds_type_bare_messages_chats (struct tl_ds_messages_chats *D, struct paramed_type *T); -void store_ds_type_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void store_ds_type_bare_messages_dh_config (struct tl_ds_messages_dh_config *D, struct paramed_type *T); -void store_ds_type_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void store_ds_type_bare_messages_dialogs (struct tl_ds_messages_dialogs *D, struct paramed_type *T); -void store_ds_type_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T); -void store_ds_type_bare_messages_message (struct tl_ds_messages_message *D, struct paramed_type *T); -void store_ds_type_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T); -void store_ds_type_bare_messages_messages (struct tl_ds_messages_messages *D, struct paramed_type *T); -void store_ds_type_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void store_ds_type_bare_messages_sent_encrypted_message (struct tl_ds_messages_sent_encrypted_message *D, struct paramed_type *T); -void store_ds_type_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void store_ds_type_bare_messages_sent_message (struct tl_ds_messages_sent_message *D, struct paramed_type *T); -void store_ds_type_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T); -void store_ds_type_bare_messages_sticker_set (struct tl_ds_messages_sticker_set *D, struct paramed_type *T); -void store_ds_type_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void store_ds_type_bare_messages_stickers (struct tl_ds_messages_stickers *D, struct paramed_type *T); -void store_ds_type_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T); -void store_ds_type_bare_photos_photo (struct tl_ds_photos_photo *D, struct paramed_type *T); -void store_ds_type_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T); -void store_ds_type_bare_photos_photos (struct tl_ds_photos_photos *D, struct paramed_type *T); -void store_ds_type_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_type_bare_storage_file_type (struct tl_ds_storage_file_type *D, struct paramed_type *T); -void store_ds_type_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T); -void store_ds_type_bare_updates_difference (struct tl_ds_updates_difference *D, struct paramed_type *T); -void store_ds_type_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T); -void store_ds_type_bare_updates_state (struct tl_ds_updates_state *D, struct paramed_type *T); -void store_ds_type_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T); -void store_ds_type_bare_upload_file (struct tl_ds_upload_file *D, struct paramed_type *T); -void store_ds_type_any (void *D, struct paramed_type *T); diff --git a/libs/tgl/src/auto/auto-store.c b/libs/tgl/src/auto/auto-store.c deleted file mode 100644 index 50d5ff7970..0000000000 --- a/libs/tgl/src/auto/auto-store.c +++ /dev/null @@ -1,24400 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#include "..\mtproto-common.h" -#include "auto-store.h" -#include "..\auto-static-store.c" -#else -#include "auto.h" -#include "mtproto-common.h" -#include "auto/auto-store.h" -#include "auto-static-store.c" -#endif -#include -int store_constructor_account_days_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb8d0afdf && T->type->name != 0x472f5020)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fc5ec4e && T->type->name != 0x603a13b1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - return 0; -} -int store_constructor_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bf2e6f6 && T->type->name != 0x840d1909)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "platform", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "app_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "date_created", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "date_active", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field11) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "country", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field12) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "region", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field13) < 0) { return -1;} - return 0; -} -int store_constructor_bool_false (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int store_constructor_bool_true (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x250be282 && T->type->name != 0xdaf41d7d)) { return -1; } - return 0; -} -int store_constructor_bot_command (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "command", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_bot_command_old (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x75e7ea6c && T->type->name != 0x8a181593)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "command", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "params", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int store_constructor_bot_info_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - return 0; -} -int store_constructor_bot_info (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb2e16f93 && T->type->name != 0x4d1e906c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "share_text", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "commands", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x75e7ea6c, .id = "BotCommand", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field5) < 0) { return -1;} - return 0; -} -int store_constructor_bytes (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0ee1379f && T->type->name != 0xf11ec860)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_photo (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 18 && !cur_token_quoted && !memcmp (cur_token, "participants_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "left", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int store_constructor_chat_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bd865dc && T->type->name != 0x84279a23)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "venue", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_point (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_photo (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 18 && !cur_token_quoted && !memcmp (cur_token, "participants_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "checked_in", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field10) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - return 0; -} -int store_constructor_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02a614 && T->type->name != 0xd1fd59eb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_participants (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "chat_photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer_notify_settings (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "exported_invite", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_exported_chat_invite (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field6) < 0) { return -1;} - return 0; -} -int store_constructor_chat_invite_already (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "chat", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat (field1) < 0) { return -1;} - return 0; -} -int store_constructor_chat_invite (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x94f910b1 && T->type->name != 0x6b06ef4e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_chat_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3631cf4c && T->type->name != 0xc9ce30b3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "distance", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_chat_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc8d7493e && T->type->name != 0x3728b6c1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_chat_participants_forbidden (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77930f9f && T->type->name != 0x886cf060)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - return 0; -} -int store_constructor_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56922676 && T->type->name != 0xa96dd989)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "photo_small", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "photo_big", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field2) < 0) { return -1;} - return 0; -} -int store_constructor_client_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6643b654 && T->type->name != 0x99bc49ab)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "retry_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e32b894 && T->type->name != 0xb1cd476b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "expires", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "test_mode", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "this_dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "dc_options", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "chat_size_max", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 18 && !cur_token_quoted && !memcmp (cur_token, "broadcast_size_max", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 19 && !cur_token_quoted && !memcmp (cur_token, "forwarded_count_max", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 23 && !cur_token_quoted && !memcmp (cur_token, "online_update_period_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 23 && !cur_token_quoted && !memcmp (cur_token, "offline_blur_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 23 && !cur_token_quoted && !memcmp (cur_token, "offline_idle_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 23 && !cur_token_quoted && !memcmp (cur_token, "online_cloud_timeout_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 21 && !cur_token_quoted && !memcmp (cur_token, "notify_cloud_delay_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field13) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 23 && !cur_token_quoted && !memcmp (cur_token, "notify_default_delay_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field14) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "chat_big_size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field15) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 19 && !cur_token_quoted && !memcmp (cur_token, "push_chat_period_ms", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field16 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field16) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "push_chat_limit", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field17 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field17) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "disabled_features", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field18 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae636f24, .id = "DisabledFeature", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field18) < 0) { return -1;} - return 0; -} -int store_constructor_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf911c994 && T->type->name != 0x06ee366b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "mutual", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contact_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x561bc879 && T->type->name != 0xa9e43786)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contact_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xea879f95 && T->type->name != 0x1578606a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_contact_link_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int store_constructor_contact_link_none (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int store_constructor_contact_link_has_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int store_constructor_contact_link_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x522fbc63 && T->type->name != 0xadd0439c)) { return -1; } - return 0; -} -int store_constructor_contact_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd3680c61 && T->type->name != 0x2c97f39e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_status (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contact_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3de191a1 && T->type->name != 0xc21e6e5e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "mutual_contacts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_dc_option_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "hostname", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "ip_address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2b1a62f0 && T->type->name != 0xd4e59d0f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "ip_address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_decrypted_message_media (field4) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x535b7918 && T->type->name != 0xaca486e7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_decrypted_message_action (field2) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "ttl_seconds", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_read_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "random_ids", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_flush_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int store_constructor_decrypted_message_action_resend (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "start_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "end_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_notify_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_send_message_action (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_request_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_accept_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_abort_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_commit_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_action_noop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4e0eefde && T->type->name != 0xb1f11021)) { return -1; } - return 0; -} -int store_constructor_decrypted_message_layer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1be31789 && T->type->name != 0xe41ce876)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "random_bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "in_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "out_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x535b7918, .id = "DecryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_decrypted_message (field5) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - return 0; -} -int store_constructor_decrypted_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field8) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field10) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_external_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo_size (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field8) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_video_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "str_thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "thumb_h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field9) < 0) { return -1;} - return 0; -} -int store_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x34e0d674 && T->type->name != 0xcb1f298b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "iv", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int store_constructor_dialog (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc1dd804a && T->type->name != 0x3e227fb5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "top_message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "read_inbox_max_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "unread_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer_notify_settings (field5) < 0) { return -1;} - return 0; -} -int store_constructor_disabled_feature (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae636f24 && T->type->name != 0x519c90db)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "feature", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo_size (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field8) < 0) { return -1;} - return 0; -} -int store_constructor_document_l19 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x51a73418 && T->type->name != 0xae58cbe7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo_size (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_image_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_animated (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - return 0; -} -int store_constructor_document_attribute_sticker_l28 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "alt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_sticker (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "alt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_sticker_set (field2) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_document_attribute_filename (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x97c637a3 && T->type->name != 0x6839c85c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "file_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_double (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2210c154 && T->type->name != 0xddef3eab)) { return -1; } - if (is_double ()) { - out_double (get_double()); - local_next_token (); - return 0; - } else { - return -1; - } -} -int store_constructor_encrypted_chat_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_chat_waiting (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_chat_requested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field6) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "admin_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "participant_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "g_a_or_b", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field7) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_chat_discarded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb1718213 && T->type->name != 0x4e8e7dec)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - return 0; -} -int store_constructor_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x886fd032 && T->type->name != 0x77902fcd)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_encrypted_file (field5) < 0) { return -1;} - return 0; -} -int store_constructor_encrypted_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xce6b8a1e && T->type->name != 0x319475e1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int store_constructor_error (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc4b9f9bb && T->type->name != 0x3b460644)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "code", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "text", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_chat_invite_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - return 0; -} -int store_constructor_chat_invite_exported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f132d5 && T->type->name != 0x6a0ecd2a)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_file_location_unavailable (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int store_constructor_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2f8ffb30 && T->type->name != 0xd07004cf)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int store_constructor_geo_chat_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field6) < 0) { return -1;} - return 0; -} -int store_constructor_geo_chat_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf67b4034 && T->type->name != 0x0984bfcb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_action (field5) < 0) { return -1;} - return 0; -} -int store_constructor_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - return 0; -} -int store_constructor_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x315e0a53 && T->type->name != 0xcea1f5ac)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int store_constructor_imported_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd0028438 && T->type->name != 0x2ffd7bc7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "client_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_app_event (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x770656a8 && T->type->name != 0x88f9a957)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "time", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_audio_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - return 0; -} -int store_constructor_input_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xae8e9c7b && T->type->name != 0x51716384)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_chat_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - return 0; -} -int store_constructor_input_chat_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_chat_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3a60776d && T->type->name != 0xc59f8892)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo_crop (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_phone_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf392b7f4 && T->type->name != 0x0c6d480b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "client_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_document_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - return 0; -} -int store_constructor_input_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6a8963fc && T->type->name != 0x95769c03)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_encrypted_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf141b5e1 && T->type->name != 0x0ebe4a1e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_encrypted_file_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - return 0; -} -int store_constructor_input_encrypted_file_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "md5_checksum", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0b5c064f && T->type->name != 0xf4a3f9b0)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "md5_checksum", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_file_big (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0f60f9ca && T->type->name != 0xf09f0635)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "parts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "volume_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "local_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "secret", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_video_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_encrypted_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_audio_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_document_file_location (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe6daa38b && T->type->name != 0x19255c74)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_geo_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x74d456fa && T->type->name != 0x8b2ba905)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_geo_point_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - return 0; -} -int store_constructor_input_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17768f1f && T->type->name != 0xe88970e0)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "latitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "longitude", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - return 0; -} -int store_constructor_input_media_uploaded_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_geo_point (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_point (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_uploaded_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_uploaded_thumb_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "video_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbb5f7a27, .id = "InputVideo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_video (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_uploaded_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "audio_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xae8e9c7b, .id = "InputAudio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_audio (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_uploaded_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_uploaded_thumb_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "attributes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x97c637a3, .id = "DocumentAttribute", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "document_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6a8963fc, .id = "InputDocument", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_document (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb32c91dd && T->type->name != 0x4cd36e22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_point (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "provider", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "venue_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int store_constructor_input_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int store_constructor_input_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int store_constructor_input_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - return 0; -} -int store_constructor_input_notify_geo_chat_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02b6911b && T->type->name != 0xfd496ee4)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "geo_peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_peer_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int store_constructor_input_peer_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - return 0; -} -int store_constructor_input_peer_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_peer_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9e67268d && T->type->name != 0x6198d972)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int store_constructor_input_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x185a48ac && T->type->name != 0xe7a5b753)) { return -1; } - return 0; -} -int store_constructor_input_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x46a2ce98 && T->type->name != 0xb95d3167)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "mute_until", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "sound", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "show_previews", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "events_mask", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_input_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - return 0; -} -int store_constructor_input_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe74279c9 && T->type->name != 0x18bd8636)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_photo_crop_auto (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - return 0; -} -int store_constructor_input_photo_crop (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7477e321 && T->type->name != 0x8b881cde)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "crop_left", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "crop_top", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "crop_width", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddef3eab, .id = "Bare_Double", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_double (field3) < 0) { return -1;} - return 0; -} -int store_constructor_input_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4f96cb18 && T->type->name != 0xb06934e7)) { return -1; } - return 0; -} -int store_constructor_input_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int store_constructor_input_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int store_constructor_input_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int store_constructor_input_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - return 0; -} -int store_constructor_input_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4b815163 && T->type->name != 0xb47eae9c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_sticker_set_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - return 0; -} -int store_constructor_input_sticker_set_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_sticker_set_short_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe44d415c && T->type->name != 0x1bb2bea3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "short_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int store_constructor_input_user_self (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - return 0; -} -int store_constructor_input_user_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_user_foreign (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xadfe0c6a && T->type->name != 0x5201f395)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_input_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - return 0; -} -int store_constructor_input_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbb5f7a27 && T->type->name != 0x44a085d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_int (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8509bda && T->type->name != 0x57af6425)) { return -1; } - if (is_int ()) { - out_int (get_int ()); - local_next_token (); - return 0; - } else { - return -1; - } -} -int store_constructor_int128 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7d36c439 && T->type->name != 0x82c93bc6)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_int256 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf2c798b3 && T->type->name != 0x0d38674c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field4) < 0) { return -1;} - return 0; -} -int store_constructor_keyboard_button (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa2fa4880 && T->type->name != 0x5d05b77f)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_keyboard_button_row (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x77608b83 && T->type->name != 0x889f747c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa2fa4880, .id = "KeyboardButton", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22076cba && T->type->name != 0xddf89345)) { return -1; } - if (is_int ()) { - out_long (get_int ()); - local_next_token (); - return 0; - } else { - return -1; - } -} -int store_constructor_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field10) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_reply_markup (field11) < 0) { return -1;} - } - return 0; -} -int store_constructor_message_service (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5d652a7f && T->type->name != 0xa29ad580)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_action (field6) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int store_constructor_message_action_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_chat_edit_title (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_chat_edit_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_chat_delete_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int store_constructor_message_action_chat_add_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_chat_delete_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_geo_chat_create (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_message_action_geo_chat_checkin (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - return 0; -} -int store_constructor_message_action_chat_joined_by_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x383415fa && T->type->name != 0xc7cbea05)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int store_constructor_message_media_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_video (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_geo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_point (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_contact (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_unsupported (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - return 0; -} -int store_constructor_message_media_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "document", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_document (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "audio", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fc5ec4e, .id = "Audio", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_audio (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "webpage", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_web_page (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_venue (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_point (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "provider", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "venue_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field1) < 0) { return -1;} - return 0; -} -int store_constructor_message_media_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x95f2471a && T->type->name != 0x6a0db8e5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1716b174, .id = "Video", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_video (field1) < 0) { return -1;} - return 0; -} -int store_constructor_input_messages_filter_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_photo_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_document (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_input_messages_filter_audio (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x80895ae0 && T->type->name != 0x7f76a51f)) { return -1; } - return 0; -} -int store_constructor_nearest_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8e1a1775 && T->type->name != 0x71e5e88a)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "country", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "this_dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "nearest_dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_notify_peer (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field1) < 0) { return -1;} - return 0; -} -int store_constructor_notify_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int store_constructor_notify_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int store_constructor_notify_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9fcb8237 && T->type->name != 0x60347dc8)) { return -1; } - return 0; -} -int store_constructor_null (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x56730bcc && T->type->name != 0xa98cf433)) { return -1; } - return 0; -} -int store_constructor_p_q_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "new_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int256 (field6) < 0) { return -1;} - return 0; -} -int store_constructor_p_q_inner_data_temp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbfa3de38 && T->type->name != 0x405c21c7)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "new_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0d38674c, .id = "Bare_Int256", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int256 (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "expires_in", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int store_constructor_peer_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_peer_chat (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x276159d6 && T->type->name != 0xd89ea629)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_peer_notify_events_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int store_constructor_peer_notify_events_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc0c8d13b && T->type->name != 0x3f372ec4)) { return -1; } - return 0; -} -int store_constructor_peer_notify_settings_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - return 0; -} -int store_constructor_peer_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xfdf894fc && T->type->name != 0x02076b03)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "mute_until", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "sound", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "show_previews", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "events_mask", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_point (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field6) < 0) { return -1;} - return 0; -} -int store_constructor_photo_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc207550a && T->type->name != 0x3df8aaf5)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "geo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x315e0a53, .id = "GeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_point (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field7) < 0) { return -1;} - return 0; -} -int store_constructor_photo_size_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_photo_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_photo_cached_size (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x900f60dd && T->type->name != 0x6ff09f22)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field5) < 0) { return -1;} - return 0; -} -int store_constructor_privacy_key_status_timestamp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbc2eab30 && T->type->name != 0x43d154cf)) { return -1; } - return 0; -} -int store_constructor_privacy_value_allow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int store_constructor_privacy_value_allow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int store_constructor_privacy_value_allow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_privacy_value_disallow_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int store_constructor_privacy_value_disallow_all (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - return 0; -} -int store_constructor_privacy_value_disallow_users (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa8638aec && T->type->name != 0x579c7513)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_received_notify_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa384b779 && T->type->name != 0x5c7b4886)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_reply_keyboard_hide (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_reply_keyboard_force_reply (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_reply_keyboard_markup (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x612ca4a9 && T->type->name != 0x9ed35b56)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "rows", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77608b83, .id = "KeyboardButtonRow", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_res_p_q (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x05162463 && T->type->name != 0xfae9db9c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "pq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 30 && !cur_token_quoted && !memcmp (cur_token, "server_public_key_fingerprints", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_send_message_typing_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_cancel_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_record_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_upload_video_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_upload_video_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_send_message_record_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_upload_audio_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_send_message_upload_photo_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_send_message_upload_document_action_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_upload_document_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "progress", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_send_message_geo_location_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_send_message_choose_contact_action (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x70541c7e && T->type->name != 0x8fabe381)) { return -1; } - return 0; -} -int store_constructor_server_d_h_params_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int store_constructor_server_d_h_params_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa9230301 && T->type->name != 0x56dcfcfe)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "encrypted_answer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - return 0; -} -int store_constructor_server_d_h_inner_data (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5890dba && T->type->name != 0x4a76f245)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "g", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "dh_prime", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "server_time", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int store_constructor_dh_gen_ok (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash1", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int store_constructor_dh_gen_retry (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash2", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int store_constructor_dh_gen_fail (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdb8a468f && T->type->name != 0x2475b970)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "new_nonce_hash3", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field3) < 0) { return -1;} - return 0; -} -int store_constructor_sticker_pack (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x12b299d4 && T->type->name != 0xed4d662b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "emoticon", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa7a43b17 && T->type->name != 0x585bc4e8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "short_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_string (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb5286e24 && T->type->name != 0x4ad791db)) { return -1; } - if (cur_token_len >= 0) { - out_cstring (cur_token, cur_token_len); - local_next_token (); - return 0; - } else { - return -1; - } -} -int store_constructor_update_new_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_message_i_d (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_delete_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_send_message_action (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_chat_user_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_send_message_action (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_chat_participants (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x77930f9f, .id = "ChatParticipants", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_participants (field1) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_status (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_status (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_name (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_profile_photo (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "previous", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_contact_registered (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_contact_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "my_link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_contact_link (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "foreign_link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_contact_link (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_new_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "auth_key_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "device", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_new_geo_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "geo_message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_chat_message (field1) < 0) { return -1;} - return 0; -} -int store_constructor_update_new_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "encr_message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_encrypted_message (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_encrypted_chat_typing (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_update_encryption (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "encr_chat", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_encrypted_chat (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_encrypted_messages_read (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_chat_participant_add (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_chat_participant_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_dc_options (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "dc_options", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2b1a62f0, .id = "DcOption", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_notify_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "notify_peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9fcb8237, .id = "NotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_notify_peer (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer_notify_settings (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_service_notification (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "message_text", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "popup", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_privacy (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbc2eab30, .id = "PrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_privacy_key (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_user_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_update_read_history_inbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_read_history_outbox (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x276159d6, .id = "Peer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_update_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "webpage", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8d8c0d41, .id = "WebPage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_web_page (field1) < 0) { return -1;} - return 0; -} -int store_constructor_update_read_messages_contents (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_update_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x2e02b27e && T->type->name != 0xd1fd4d81)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_updates_too_long (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - return 0; -} -int store_constructor_update_short_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int store_constructor_update_short_chat_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - } - return 0; -} -int store_constructor_update_short (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "update", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_update (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_updates_combined (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "seq_start", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - return 0; -} -int store_constructor_updates (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x22499d27 && T->type->name != 0xddb662d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_user_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_user (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x02e6c0c8 && T->type->name != 0xfd193f37)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_profile_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "status", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x76de9570, .id = "UserStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_status (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 14)) { - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "bot_info_version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - } - return 0; -} -int store_constructor_user_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5a89ac5b && T->type->name != 0xa57653a4)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_contacts_link (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "profile_photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "notify_settings", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_peer_notify_settings (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bot_info (field6) < 0) { return -1;} - return 0; -} -int store_constructor_user_profile_photo_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - return 0; -} -int store_constructor_user_profile_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x9a486229 && T->type->name != 0x65b79dd6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "photo_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "photo_small", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "photo_big", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2f8ffb30, .id = "FileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_file_location (field3) < 0) { return -1;} - return 0; -} -int store_constructor_user_status_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int store_constructor_user_status_online (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "expires", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_user_status_offline (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "was_online", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_user_status_recently (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int store_constructor_user_status_last_week (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int store_constructor_user_status_last_month (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x76de9570 && T->type->name != 0x89216a8f)) { return -1; } - return 0; -} -int store_constructor_vector (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1cb5c415 && T->type->name != 0xe34a3bea)) { return -1; } - if (ODDP(T->params[0])) { return -1; } - struct paramed_type *var0 = T->params[0]; assert (var0); - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var1 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var1); - local_next_token (); - expect_token ("[", 1); - int multiplicity3 = PTR2INT ( - ((void *)var1) + 0 ); - struct paramed_type *field3 = - var0; - while (multiplicity3 -- > 0) { - if (store_type_any (field3) < 0) { return -1;} - } - expect_token ("]", 1); - return 0; -} -int store_constructor_video_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_video (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo_size (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - return 0; -} -int store_constructor_video_l27 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1716b174 && T->type->name != 0xe8e94e8b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "mime_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "size", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "thumb", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo_size (field9) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "w", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "h", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - return 0; -} -int store_constructor_wall_paper (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "sizes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x900f60dd, .id = "PhotoSize", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "color", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_wall_paper_solid (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xafa14973 && T->type->name != 0x505eb68c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "bg_color", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "color", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_web_page_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_web_page_pending (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_web_page (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8d8c0d41 && T->type->name != 0x7273f2be)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "url", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "display_url", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "site_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 3)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "description", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 4)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "embed_url", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 5)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "embed_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "embed_width", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 6)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "embed_height", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 7)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "duration", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 8)) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "author", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field15) < 0) { return -1;} - } - return 0; -} -int store_constructor_account_authorizations (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x1250abde && T->type->name != 0xedaf5421)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bf2e6f6, .id = "Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_account_no_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 25 && !cur_token_quoted && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - return 0; -} -int store_constructor_account_password (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xeac2a804 && T->type->name != 0x153d57fb)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "current_salt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "has_recovery", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 25 && !cur_token_quoted && !memcmp (cur_token, "email_unconfirmed_pattern", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - return 0; -} -int store_constructor_account_password_input_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xbcfc532c && T->type->name != 0x4303acd3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "new_salt", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "new_password_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 1)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "email", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - } - return 0; -} -int store_constructor_account_password_settings (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb7b72ab3 && T->type->name != 0x4848d54c)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_account_privacy_rules (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x554abb6f && T->type->name != 0xaab54490)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa8638aec, .id = "PrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_account_sent_change_phone_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa4f58c4c && T->type->name != 0x5b0a73b3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_auth_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xff036af1 && T->type->name != 0x00fc950e)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user (field1) < 0) { return -1;} - return 0; -} -int store_constructor_auth_checked_phone (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x811ea28e && T->type->name != 0x7ee15d71)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field1) < 0) { return -1;} - return 0; -} -int store_constructor_auth_exported_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xdf969c2d && T->type->name != 0x206963d2)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - return 0; -} -int store_constructor_auth_password_recovery (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x137948a5 && T->type->name != 0xec86b75a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_auth_sent_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "phone_registered", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "is_password", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field4) < 0) { return -1;} - return 0; -} -int store_constructor_auth_sent_app_code (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0cc8bc16 && T->type->name != 0xf33743e9)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "phone_registered", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "send_call_timeout", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "is_password", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field4) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_encr_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0377168f && T->type->name != 0xfc88e970)) { return -1; } - expect_token ("[", 1); - int multiplicity1 = PTR2INT ( - INT2PTR (64) ); - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - while (multiplicity1 -- > 0) { - if (store_type_any (field1) < 0) { return -1;} - } - expect_token ("]", 1); - return 0; -} -int store_constructor_binlog_start (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int store_constructor_binlog_dc_option (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_dc_option_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "ip", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "port", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_auth_key (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_binlog_encr_key (field2) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_default_dc (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_dc_signed (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "dc", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_our_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_dh_params (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "root", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "prime", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_binlog_encr_key (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_pts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_qts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_date (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_seq (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_encr_chat_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_encr_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "admin", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_binlog_encr_key (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "g_key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_binlog_encr_key (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "in_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "last_in_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "out_seq_no", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field14) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 27)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field15 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field15) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "exchange_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfc88e970, .id = "Bare_binlog.EncrKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_binlog_encr_key (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_user_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_user_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "access_hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "phone", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "real_first_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "real_last_name", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "user_photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user_profile_photo (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "last_read_in", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "last_read_out", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field13) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 26)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "bot_info", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field14 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb2e16f93, .id = "BotInfo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bot_info (field14) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_chat_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "user_num", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "participants", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc8d7493e, .id = "ChatParticipant", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "chat_photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x56922676, .id = "ChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_photo (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "admin", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "last_read_in", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 25)) { - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "last_read_out", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_chat_add_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "inviter_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_chat_del_participant (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_set_msg_id (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "old_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "new_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_message_delete (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_message_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "to_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "fwd_from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 18)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "fwd_date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field10) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field11 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x383415fa, .id = "MessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_action (field11) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "reply_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field12 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field12) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 24)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field13 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_reply_markup (field13) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_message_encr_new (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - if (cur_token_len < 0) { return -1; } - if (!is_int ()) { return -1;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return -1;} - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "from_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "to_type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 17)) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "to_id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 19)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 20)) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 21)) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "encr_media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x34e0d674, .id = "DecryptedMessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_decrypted_message_media (field8) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 22)) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "encr_action", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field9 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e0eefde, .id = "DecryptedMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_decrypted_message_action (field9) < 0) { return -1;} - } - if (PTR2INT (var0) & (1 << 23)) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field10 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_encrypted_file (field10) < 0) { return -1;} - } - return 0; -} -int store_constructor_binlog_msg_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "lid", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return -1;} - return 0; -} -int store_constructor_binlog_reset_authorization (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x66ff03a6 && T->type->name != 0x9900fc59)) { return -1; } - return 0; -} -int store_constructor_contacts_blocked (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_blocked_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8c1b8fb4 && T->type->name != 0x73e4704b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "blocked", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x561bc879, .id = "ContactBlocked", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_contacts_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - return 0; -} -int store_constructor_contacts_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xd8c02560 && T->type->name != 0x273fda9f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf911c994, .id = "Contact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_found (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x0566000e && T->type->name != 0xfa99fff1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xea879f95, .id = "ContactFound", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_imported_contacts (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xad524315 && T->type->name != 0x52adbcea)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "imported", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd0028438, .id = "ImportedContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "retry_contacts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3ace484c && T->type->name != 0xc531b7b3)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "my_link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_contact_link (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "foreign_link", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x522fbc63, .id = "ContactLink", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_contact_link (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user (field3) < 0) { return -1;} - return 0; -} -int store_constructor_contacts_suggested (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x5649dcc5 && T->type->name != 0xa9b6233a)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3de191a1, .id = "ContactSuggested", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_geochats_located (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x48feb267 && T->type->name != 0xb7014d98)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "results", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3631cf4c, .id = "ChatLocated", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_geochats_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_geochats_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x6d0a0e59 && T->type->name != 0x92f5f1a6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_geochats_stated_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17b1578b && T->type->name != 0xe84ea874)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf67b4034, .id = "GeoChatMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_geo_chat_message (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - return 0; -} -int store_constructor_help_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "critical", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "url", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "text", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return -1;} - return 0; -} -int store_constructor_help_no_app_update (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x4ddd9627 && T->type->name != 0xb22269d8)) { return -1; } - return 0; -} -int store_constructor_help_invite_text (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x18cb9f78 && T->type->name != 0xe7346087)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - return 0; -} -int store_constructor_help_support (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x17c6b5f6 && T->type->name != 0xe8394a09)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_user (field2) < 0) { return -1;} - return 0; -} -int store_constructor_messages_affected_history (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb45c69d1 && T->type->name != 0x4ba3962e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - return 0; -} -int store_constructor_messages_affected_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x84d19185 && T->type->name != 0x7b2e6e7a)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_messages_all_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - return 0; -} -int store_constructor_messages_all_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb485502f && T->type->name != 0x4b7aafd0)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "packs", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "sets", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_messages_chat_full (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xe5d7d19c && T->type->name != 0x1a282e63)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "full_chat", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02a614, .id = "ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_chat_full (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_messages_chats (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x64ff9fd5 && T->type->name != 0x9b00602a)) { return -1; } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - return 0; -} -int store_constructor_messages_dh_config_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "random", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return -1;} - return 0; -} -int store_constructor_messages_dh_config (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xecc058e8 && T->type->name != 0x133fa717)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "g", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "random", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return -1;} - return 0; -} -int store_constructor_messages_dialogs (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "dialogs", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_messages_dialogs_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x645af8b3 && T->type->name != 0x9ba5074c)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "dialogs", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc1dd804a, .id = "Dialog", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field5) < 0) { return -1;} - return 0; -} -int store_constructor_messages_message_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3f4e0648 && T->type->name != 0xc0b1f9b7)) { return -1; } - return 0; -} -int store_constructor_messages_messages (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_messages_messages_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x8735e464 && T->type->name != 0x78ca1b9b)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - return 0; -} -int store_constructor_messages_sent_encrypted_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - return 0; -} -int store_constructor_messages_sent_encrypted_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xc29c7607 && T->type->name != 0x3d6389f8)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x886fd032, .id = "EncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_encrypted_file (field2) < 0) { return -1;} - return 0; -} -int store_constructor_messages_sent_message (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_messages_sent_message_link (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x799ce190 && T->type->name != 0x86631e6f)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_message_media (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "pts_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "links", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field6) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return -1;} - return 0; -} -int store_constructor_messages_sticker_set (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xb60a24a6 && T->type->name != 0x49f5db59)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "set", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa7a43b17, .id = "StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_sticker_set (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "packs", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x12b299d4, .id = "StickerPack", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "documents", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_messages_stickers_not_modified (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - return 0; -} -int store_constructor_messages_stickers (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x7bfa5710 && T->type->name != 0x8405a8ef)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "stickers", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x51a73418, .id = "Document", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_photos_photo (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x20212ca8 && T->type->name != 0xdfded357)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_photo (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_photos_photos (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "photos", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - return 0; -} -int store_constructor_photos_photos_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x98cf75f1 && T->type->name != 0x67308a0e)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "photos", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc207550a, .id = "Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - return 0; -} -int store_constructor_storage_file_unknown (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_jpeg (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_gif (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_png (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_pdf (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_mp3 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_mov (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_partial (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_mp4 (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_storage_file_webp (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x3e2838a8 && T->type->name != 0xc1d7c757)) { return -1; } - return 0; -} -int store_constructor_updates_difference_empty (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - return 0; -} -int store_constructor_updates_difference (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "new_messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 22 && !cur_token_quoted && !memcmp (cur_token, "new_encrypted_messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "other_updates", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "state", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int store_constructor_updates_difference_slice (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xf57a2419 && T->type->name != 0x0a85dbe6)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "new_messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5d652a7f, .id = "Message", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 22 && !cur_token_quoted && !memcmp (cur_token, "new_encrypted_messages", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xce6b8a1e, .id = "EncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "other_updates", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x2e02b27e, .id = "Update", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "chats", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bd865dc, .id = "Chat", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field5) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 18 && !cur_token_quoted && !memcmp (cur_token, "intermediate_state", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_updates_state (field6) < 0) { return -1;} - return 0; -} -int store_constructor_updates_state (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0xa56c2a3e && T->type->name != 0x5a93d5c1)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "seq", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "unread_count", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return -1;} - return 0; -} -int store_constructor_upload_file (struct paramed_type *T) { - if (ODDP(T) || (T->type->name != 0x096a18d5 && T->type->name != 0xf695e72a)) { return -1; } - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "type", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3e2838a8, .id = "storage.FileType", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_storage_file_type (field1) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "mtime", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return -1;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return -1;} - return 0; -} -int store_type_account_days_t_t_l (struct paramed_type *T) { - out_int (0xb8d0afdf); - if (store_constructor_account_days_t_t_l (T) < 0) { return -1; } - return 0; -} -int store_type_bare_account_days_t_t_l (struct paramed_type *T) { - if (store_constructor_account_days_t_t_l (T) < 0) { return -1; } - return 0; -} -int store_type_audio (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "audioEmpty", cur_token_len)) { - out_int (0x586988d8); - local_next_token (); - if (store_constructor_audio_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "audio", cur_token_len)) { - out_int (0xc7ac6496); - local_next_token (); - if (store_constructor_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_audio (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "audioEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_audio_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "audio", cur_token_len)) { - local_next_token (); - if (store_constructor_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_authorization (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "authorization", cur_token_len)) { - out_int (0x7bf2e6f6); - local_next_token (); - if (store_constructor_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_authorization (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "authorization", cur_token_len)) { - local_next_token (); - if (store_constructor_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bool (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "boolFalse", cur_token_len)) { - out_int (0xbc799737); - local_next_token (); - if (store_constructor_bool_false (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "boolTrue", cur_token_len)) { - out_int (0x997275b5); - local_next_token (); - if (store_constructor_bool_true (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_bool (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "boolFalse", cur_token_len)) { - local_next_token (); - if (store_constructor_bool_false (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "boolTrue", cur_token_len)) { - local_next_token (); - if (store_constructor_bool_true (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bot_command (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "botCommand", cur_token_len)) { - out_int (0xc27ac8c7); - local_next_token (); - if (store_constructor_bot_command (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "botCommandOld", cur_token_len)) { - out_int (0xb79d22ab); - local_next_token (); - if (store_constructor_bot_command_old (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_bot_command (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "botCommand", cur_token_len)) { - local_next_token (); - if (store_constructor_bot_command (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "botCommandOld", cur_token_len)) { - local_next_token (); - if (store_constructor_bot_command_old (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bot_info (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "botInfoEmpty", cur_token_len)) { - out_int (0xbb2e37ce); - local_next_token (); - if (store_constructor_bot_info_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "botInfo", cur_token_len)) { - out_int (0x09cf585d); - local_next_token (); - if (store_constructor_bot_info (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_bot_info (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "botInfoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_bot_info_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "botInfo", cur_token_len)) { - local_next_token (); - if (store_constructor_bot_info (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bytes (struct paramed_type *T) { - out_int (0x0ee1379f); - if (store_constructor_bytes (T) < 0) { return -1; } - return 0; -} -int store_type_bare_bytes (struct paramed_type *T) { - if (store_constructor_bytes (T) < 0) { return -1; } - return 0; -} -int store_type_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "chatEmpty", cur_token_len)) { - out_int (0x9ba2d800); - local_next_token (); - if (store_constructor_chat_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "chat", cur_token_len)) { - out_int (0x6e9c9bc7); - local_next_token (); - if (store_constructor_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "chatForbidden", cur_token_len)) { - out_int (0xfb0ccc41); - local_next_token (); - if (store_constructor_chat_forbidden (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "geoChat", cur_token_len)) { - out_int (0x75eaea5a); - local_next_token (); - if (store_constructor_geo_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "chatEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "chat", cur_token_len)) { - local_next_token (); - if (store_constructor_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "chatForbidden", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_forbidden (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "geoChat", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "chatFull", cur_token_len)) { - out_int (0x2e02a614); - local_next_token (); - if (store_constructor_chat_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "chatFull", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_invite (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "chatInviteAlready", cur_token_len)) { - out_int (0x5a686d7c); - local_next_token (); - if (store_constructor_chat_invite_already (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "chatInvite", cur_token_len)) { - out_int (0xce917dcd); - local_next_token (); - if (store_constructor_chat_invite (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_invite (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "chatInviteAlready", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_invite_already (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "chatInvite", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_invite (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_located (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "chatLocated", cur_token_len)) { - out_int (0x3631cf4c); - local_next_token (); - if (store_constructor_chat_located (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_located (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "chatLocated", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_located (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_participant (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatParticipant", cur_token_len)) { - out_int (0xc8d7493e); - local_next_token (); - if (store_constructor_chat_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_participant (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatParticipant", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_participants (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "chatParticipantsForbidden", cur_token_len)) { - out_int (0x0fd2bb8a); - local_next_token (); - if (store_constructor_chat_participants_forbidden (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "chatParticipants", cur_token_len)) { - out_int (0x7841b415); - local_next_token (); - if (store_constructor_chat_participants (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_participants (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "chatParticipantsForbidden", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_participants_forbidden (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "chatParticipants", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_participants (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_chat_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "chatPhotoEmpty", cur_token_len)) { - out_int (0x37c1011c); - local_next_token (); - if (store_constructor_chat_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "chatPhoto", cur_token_len)) { - out_int (0x6153276a); - local_next_token (); - if (store_constructor_chat_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_chat_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "chatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "chatPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_client_d_h_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "client_DH_inner_data", cur_token_len)) { - out_int (0x6643b654); - local_next_token (); - if (store_constructor_client_d_h_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_client_d_h_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "client_DH_inner_data", cur_token_len)) { - local_next_token (); - if (store_constructor_client_d_h_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_config (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "config", cur_token_len)) { - out_int (0x4e32b894); - local_next_token (); - if (store_constructor_config (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_config (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "config", cur_token_len)) { - local_next_token (); - if (store_constructor_config (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 7 && !memcmp (cur_token, "contact", cur_token_len)) { - out_int (0xf911c994); - local_next_token (); - if (store_constructor_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 7 && !memcmp (cur_token, "contact", cur_token_len)) { - local_next_token (); - if (store_constructor_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contact_blocked (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contactBlocked", cur_token_len)) { - out_int (0x561bc879); - local_next_token (); - if (store_constructor_contact_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contact_blocked (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contactBlocked", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contact_found (struct paramed_type *T) { - out_int (0xea879f95); - if (store_constructor_contact_found (T) < 0) { return -1; } - return 0; -} -int store_type_bare_contact_found (struct paramed_type *T) { - if (store_constructor_contact_found (T) < 0) { return -1; } - return 0; -} -int store_type_contact_link (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkUnknown", cur_token_len)) { - out_int (0x5f4f9247); - local_next_token (); - if (store_constructor_contact_link_unknown (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contactLinkNone", cur_token_len)) { - out_int (0xfeedd3ad); - local_next_token (); - if (store_constructor_contact_link_none (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contactLinkHasPhone", cur_token_len)) { - out_int (0x268f3f59); - local_next_token (); - if (store_constructor_contact_link_has_phone (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkContact", cur_token_len)) { - out_int (0xd502c2d0); - local_next_token (); - if (store_constructor_contact_link_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contact_link (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkUnknown", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_link_unknown (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contactLinkNone", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_link_none (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contactLinkHasPhone", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_link_has_phone (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "contactLinkContact", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_link_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contact_status (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contactStatus", cur_token_len)) { - out_int (0xd3680c61); - local_next_token (); - if (store_constructor_contact_status (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contact_status (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contactStatus", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_status (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contact_suggested (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contactSuggested", cur_token_len)) { - out_int (0x3de191a1); - local_next_token (); - if (store_constructor_contact_suggested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contact_suggested (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contactSuggested", cur_token_len)) { - local_next_token (); - if (store_constructor_contact_suggested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_dc_option (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "dcOptionL28", cur_token_len)) { - out_int (0x2ec2a43c); - local_next_token (); - if (store_constructor_dc_option_l28 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "dcOption", cur_token_len)) { - out_int (0x05d8c6cc); - local_next_token (); - if (store_constructor_dc_option (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_dc_option (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "dcOptionL28", cur_token_len)) { - local_next_token (); - if (store_constructor_dc_option_l28 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "dcOption", cur_token_len)) { - local_next_token (); - if (store_constructor_dc_option (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_decrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "decryptedMessage", cur_token_len)) { - out_int (0x204d3878); - local_next_token (); - if (store_constructor_decrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "decryptedMessageService", cur_token_len)) { - out_int (0x73164160); - local_next_token (); - if (store_constructor_decrypted_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_decrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "decryptedMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "decryptedMessageService", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_decrypted_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 35 && !memcmp (cur_token, "decryptedMessageActionSetMessageTTL", cur_token_len)) { - out_int (0xa1733aec); - local_next_token (); - if (store_constructor_decrypted_message_action_set_message_t_t_l (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionReadMessages", cur_token_len)) { - out_int (0x0c4f40be); - local_next_token (); - if (store_constructor_decrypted_message_action_read_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 36 && !memcmp (cur_token, "decryptedMessageActionDeleteMessages", cur_token_len)) { - out_int (0x65614304); - local_next_token (); - if (store_constructor_decrypted_message_action_delete_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 40 && !memcmp (cur_token, "decryptedMessageActionScreenshotMessages", cur_token_len)) { - out_int (0x8ac1f475); - local_next_token (); - if (store_constructor_decrypted_message_action_screenshot_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionFlushHistory", cur_token_len)) { - out_int (0x6719e45c); - local_next_token (); - if (store_constructor_decrypted_message_action_flush_history (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionResend", cur_token_len)) { - out_int (0x511110b0); - local_next_token (); - if (store_constructor_decrypted_message_action_resend (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "decryptedMessageActionNotifyLayer", cur_token_len)) { - out_int (0xf3048883); - local_next_token (); - if (store_constructor_decrypted_message_action_notify_layer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionTyping", cur_token_len)) { - out_int (0xccb27641); - local_next_token (); - if (store_constructor_decrypted_message_action_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 32 && !memcmp (cur_token, "decryptedMessageActionRequestKey", cur_token_len)) { - out_int (0xf3c9611b); - local_next_token (); - if (store_constructor_decrypted_message_action_request_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionAcceptKey", cur_token_len)) { - out_int (0x6fe1735b); - local_next_token (); - if (store_constructor_decrypted_message_action_accept_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "decryptedMessageActionAbortKey", cur_token_len)) { - out_int (0xdd05ec6b); - local_next_token (); - if (store_constructor_decrypted_message_action_abort_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionCommitKey", cur_token_len)) { - out_int (0xec2e0b9b); - local_next_token (); - if (store_constructor_decrypted_message_action_commit_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageActionNoop", cur_token_len)) { - out_int (0xa82fdd63); - local_next_token (); - if (store_constructor_decrypted_message_action_noop (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_decrypted_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 35 && !memcmp (cur_token, "decryptedMessageActionSetMessageTTL", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_set_message_t_t_l (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionReadMessages", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_read_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 36 && !memcmp (cur_token, "decryptedMessageActionDeleteMessages", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_delete_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 40 && !memcmp (cur_token, "decryptedMessageActionScreenshotMessages", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_screenshot_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "decryptedMessageActionFlushHistory", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_flush_history (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionResend", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_resend (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "decryptedMessageActionNotifyLayer", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_notify_layer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageActionTyping", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 32 && !memcmp (cur_token, "decryptedMessageActionRequestKey", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_request_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionAcceptKey", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_accept_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "decryptedMessageActionAbortKey", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_abort_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "decryptedMessageActionCommitKey", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_commit_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageActionNoop", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_action_noop (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_decrypted_message_layer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "decryptedMessageLayer", cur_token_len)) { - out_int (0x1be31789); - local_next_token (); - if (store_constructor_decrypted_message_layer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_decrypted_message_layer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "decryptedMessageLayer", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_layer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_decrypted_message_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaEmpty", cur_token_len)) { - out_int (0x089f5c4a); - local_next_token (); - if (store_constructor_decrypted_message_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaPhoto", cur_token_len)) { - out_int (0x32798a8c); - local_next_token (); - if (store_constructor_decrypted_message_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaGeoPoint", cur_token_len)) { - out_int (0x35480a59); - local_next_token (); - if (store_constructor_decrypted_message_media_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageMediaContact", cur_token_len)) { - out_int (0x588a0a97); - local_next_token (); - if (store_constructor_decrypted_message_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaDocument", cur_token_len)) { - out_int (0xb095434b); - local_next_token (); - if (store_constructor_decrypted_message_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaVideo", cur_token_len)) { - out_int (0x524a415d); - local_next_token (); - if (store_constructor_decrypted_message_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaAudio", cur_token_len)) { - out_int (0x57e0a9cb); - local_next_token (); - if (store_constructor_decrypted_message_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 37 && !memcmp (cur_token, "decryptedMessageMediaExternalDocument", cur_token_len)) { - out_int (0xfa95b0dd); - local_next_token (); - if (store_constructor_decrypted_message_media_external_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaVideoL12", cur_token_len)) { - out_int (0x4cee6ef3); - local_next_token (); - if (store_constructor_decrypted_message_media_video_l12 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaAudioL12", cur_token_len)) { - out_int (0x6080758f); - local_next_token (); - if (store_constructor_decrypted_message_media_audio_l12 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_decrypted_message_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "decryptedMessageMediaContact", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "decryptedMessageMediaAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 37 && !memcmp (cur_token, "decryptedMessageMediaExternalDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_external_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaVideoL12", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_video_l12 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "decryptedMessageMediaAudioL12", cur_token_len)) { - local_next_token (); - if (store_constructor_decrypted_message_media_audio_l12 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_dialog (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "dialog", cur_token_len)) { - out_int (0xc1dd804a); - local_next_token (); - if (store_constructor_dialog (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_dialog (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "dialog", cur_token_len)) { - local_next_token (); - if (store_constructor_dialog (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_disabled_feature (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "disabledFeature", cur_token_len)) { - out_int (0xae636f24); - local_next_token (); - if (store_constructor_disabled_feature (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_disabled_feature (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "disabledFeature", cur_token_len)) { - local_next_token (); - if (store_constructor_disabled_feature (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_document (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "documentEmpty", cur_token_len)) { - out_int (0x36f8c871); - local_next_token (); - if (store_constructor_document_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "document", cur_token_len)) { - out_int (0xf9a39f4f); - local_next_token (); - if (store_constructor_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "document_l19", cur_token_len)) { - out_int (0x9efc6326); - local_next_token (); - if (store_constructor_document_l19 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_document (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "documentEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_document_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "document", cur_token_len)) { - local_next_token (); - if (store_constructor_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "document_l19", cur_token_len)) { - local_next_token (); - if (store_constructor_document_l19 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_document_attribute (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "documentAttributeImageSize", cur_token_len)) { - out_int (0x6c37c15c); - local_next_token (); - if (store_constructor_document_attribute_image_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeAnimated", cur_token_len)) { - out_int (0x11b58939); - local_next_token (); - if (store_constructor_document_attribute_animated (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "documentAttributeStickerL28", cur_token_len)) { - out_int (0x994c9882); - local_next_token (); - if (store_constructor_document_attribute_sticker_l28 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "documentAttributeSticker", cur_token_len)) { - out_int (0x3a556302); - local_next_token (); - if (store_constructor_document_attribute_sticker (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeVideo", cur_token_len)) { - out_int (0x5910cccb); - local_next_token (); - if (store_constructor_document_attribute_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeAudio", cur_token_len)) { - out_int (0x051448e5); - local_next_token (); - if (store_constructor_document_attribute_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeFilename", cur_token_len)) { - out_int (0x15590068); - local_next_token (); - if (store_constructor_document_attribute_filename (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_document_attribute (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "documentAttributeImageSize", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_image_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeAnimated", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_animated (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "documentAttributeStickerL28", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_sticker_l28 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "documentAttributeSticker", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_sticker (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "documentAttributeAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "documentAttributeFilename", cur_token_len)) { - local_next_token (); - if (store_constructor_document_attribute_filename (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_double (struct paramed_type *T) { - out_int (0x2210c154); - if (store_constructor_double (T) < 0) { return -1; } - return 0; -} -int store_type_bare_double (struct paramed_type *T) { - if (store_constructor_double (T) < 0) { return -1; } - return 0; -} -int store_type_encrypted_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedChatEmpty", cur_token_len)) { - out_int (0xab7ec0a0); - local_next_token (); - if (store_constructor_encrypted_chat_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "encryptedChatWaiting", cur_token_len)) { - out_int (0x3bf703dc); - local_next_token (); - if (store_constructor_encrypted_chat_waiting (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatRequested", cur_token_len)) { - out_int (0xc878527e); - local_next_token (); - if (store_constructor_encrypted_chat_requested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedChat", cur_token_len)) { - out_int (0xfa56ce36); - local_next_token (); - if (store_constructor_encrypted_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatDiscarded", cur_token_len)) { - out_int (0x13d6dd27); - local_next_token (); - if (store_constructor_encrypted_chat_discarded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_encrypted_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedChatEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_chat_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "encryptedChatWaiting", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_chat_waiting (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatRequested", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_chat_requested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedChat", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "encryptedChatDiscarded", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_chat_discarded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_encrypted_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedFileEmpty", cur_token_len)) { - out_int (0xc21f497e); - local_next_token (); - if (store_constructor_encrypted_file_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedFile", cur_token_len)) { - out_int (0x4a70994c); - local_next_token (); - if (store_constructor_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_encrypted_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "encryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_file_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "encryptedFile", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_encrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "encryptedMessage", cur_token_len)) { - out_int (0xed18c118); - local_next_token (); - if (store_constructor_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "encryptedMessageService", cur_token_len)) { - out_int (0x23734b06); - local_next_token (); - if (store_constructor_encrypted_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_encrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "encryptedMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "encryptedMessageService", cur_token_len)) { - local_next_token (); - if (store_constructor_encrypted_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_error (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "error", cur_token_len)) { - out_int (0xc4b9f9bb); - local_next_token (); - if (store_constructor_error (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_error (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "error", cur_token_len)) { - local_next_token (); - if (store_constructor_error (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_exported_chat_invite (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatInviteEmpty", cur_token_len)) { - out_int (0x69df3769); - local_next_token (); - if (store_constructor_chat_invite_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "chatInviteExported", cur_token_len)) { - out_int (0xfc2e05bc); - local_next_token (); - if (store_constructor_chat_invite_exported (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_exported_chat_invite (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "chatInviteEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_invite_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "chatInviteExported", cur_token_len)) { - local_next_token (); - if (store_constructor_chat_invite_exported (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_file_location (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "fileLocationUnavailable", cur_token_len)) { - out_int (0x7c596b46); - local_next_token (); - if (store_constructor_file_location_unavailable (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "fileLocation", cur_token_len)) { - out_int (0x53d69076); - local_next_token (); - if (store_constructor_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_file_location (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "fileLocationUnavailable", cur_token_len)) { - local_next_token (); - if (store_constructor_file_location_unavailable (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "fileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_geo_chat_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "geoChatMessageEmpty", cur_token_len)) { - out_int (0x60311a9b); - local_next_token (); - if (store_constructor_geo_chat_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "geoChatMessage", cur_token_len)) { - out_int (0x4505f8e1); - local_next_token (); - if (store_constructor_geo_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "geoChatMessageService", cur_token_len)) { - out_int (0xd34fa24e); - local_next_token (); - if (store_constructor_geo_chat_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_geo_chat_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "geoChatMessageEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_chat_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "geoChatMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "geoChatMessageService", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_chat_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_geo_point (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "geoPointEmpty", cur_token_len)) { - out_int (0x1117dd5f); - local_next_token (); - if (store_constructor_geo_point_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "geoPoint", cur_token_len)) { - out_int (0x2049d70c); - local_next_token (); - if (store_constructor_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_geo_point (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "geoPointEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_point_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "geoPoint", cur_token_len)) { - local_next_token (); - if (store_constructor_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_imported_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "importedContact", cur_token_len)) { - out_int (0xd0028438); - local_next_token (); - if (store_constructor_imported_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_imported_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "importedContact", cur_token_len)) { - local_next_token (); - if (store_constructor_imported_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_app_event (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "inputAppEvent", cur_token_len)) { - out_int (0x770656a8); - local_next_token (); - if (store_constructor_input_app_event (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_app_event (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "inputAppEvent", cur_token_len)) { - local_next_token (); - if (store_constructor_input_app_event (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_audio (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputAudioEmpty", cur_token_len)) { - out_int (0xd95adc84); - local_next_token (); - if (store_constructor_input_audio_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputAudio", cur_token_len)) { - out_int (0x77d440ff); - local_next_token (); - if (store_constructor_input_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_audio (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputAudioEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_audio_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_input_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_chat_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "inputChatPhotoEmpty", cur_token_len)) { - out_int (0x1ca48f57); - local_next_token (); - if (store_constructor_input_chat_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputChatUploadedPhoto", cur_token_len)) { - out_int (0x94254732); - local_next_token (); - if (store_constructor_input_chat_uploaded_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputChatPhoto", cur_token_len)) { - out_int (0xb2e1bf08); - local_next_token (); - if (store_constructor_input_chat_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_chat_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "inputChatPhotoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_chat_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputChatUploadedPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_chat_uploaded_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputChatPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_chat_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputPhoneContact", cur_token_len)) { - out_int (0xf392b7f4); - local_next_token (); - if (store_constructor_input_phone_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_contact (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputPhoneContact", cur_token_len)) { - local_next_token (); - if (store_constructor_input_phone_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_document (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputDocumentEmpty", cur_token_len)) { - out_int (0x72f0eaae); - local_next_token (); - if (store_constructor_input_document_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputDocument", cur_token_len)) { - out_int (0x18798952); - local_next_token (); - if (store_constructor_input_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_document (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputDocumentEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_document_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_input_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_encrypted_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedChat", cur_token_len)) { - out_int (0xf141b5e1); - local_next_token (); - if (store_constructor_input_encrypted_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_encrypted_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedChat", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_encrypted_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputEncryptedFileEmpty", cur_token_len)) { - out_int (0x1837c364); - local_next_token (); - if (store_constructor_input_encrypted_file_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileUploaded", cur_token_len)) { - out_int (0x64bd0306); - local_next_token (); - if (store_constructor_input_encrypted_file_uploaded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedFile", cur_token_len)) { - out_int (0x5a17b5e5); - local_next_token (); - if (store_constructor_input_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputEncryptedFileBigUploaded", cur_token_len)) { - out_int (0x2dc173c8); - local_next_token (); - if (store_constructor_input_encrypted_file_big_uploaded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_encrypted_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputEncryptedFileEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_file_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileUploaded", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_file_uploaded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputEncryptedFile", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputEncryptedFileBigUploaded", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_file_big_uploaded (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "inputFile", cur_token_len)) { - out_int (0xf52ff27f); - local_next_token (); - if (store_constructor_input_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "inputFileBig", cur_token_len)) { - out_int (0xfa4f0bb5); - local_next_token (); - if (store_constructor_input_file_big (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "inputFile", cur_token_len)) { - local_next_token (); - if (store_constructor_input_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "inputFileBig", cur_token_len)) { - local_next_token (); - if (store_constructor_input_file_big (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_file_location (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputFileLocation", cur_token_len)) { - out_int (0x14637196); - local_next_token (); - if (store_constructor_input_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputVideoFileLocation", cur_token_len)) { - out_int (0x3d0364ec); - local_next_token (); - if (store_constructor_input_video_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileLocation", cur_token_len)) { - out_int (0xf5235d55); - local_next_token (); - if (store_constructor_input_encrypted_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputAudioFileLocation", cur_token_len)) { - out_int (0x74dc404d); - local_next_token (); - if (store_constructor_input_audio_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputDocumentFileLocation", cur_token_len)) { - out_int (0x4e45abe9); - local_next_token (); - if (store_constructor_input_document_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_file_location (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "inputFileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_input_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputVideoFileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_input_video_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputEncryptedFileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_input_encrypted_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputAudioFileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_input_audio_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputDocumentFileLocation", cur_token_len)) { - local_next_token (); - if (store_constructor_input_document_file_location (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_geo_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "inputGeoChat", cur_token_len)) { - out_int (0x74d456fa); - local_next_token (); - if (store_constructor_input_geo_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_geo_chat (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "inputGeoChat", cur_token_len)) { - local_next_token (); - if (store_constructor_input_geo_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_geo_point (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputGeoPointEmpty", cur_token_len)) { - out_int (0xe4c123d6); - local_next_token (); - if (store_constructor_input_geo_point_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputGeoPoint", cur_token_len)) { - out_int (0xf3b7acc9); - local_next_token (); - if (store_constructor_input_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_geo_point (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputGeoPointEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_geo_point_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputGeoPoint", cur_token_len)) { - local_next_token (); - if (store_constructor_input_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaEmpty", cur_token_len)) { - out_int (0x9664f57f); - local_next_token (); - if (store_constructor_input_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedPhoto", cur_token_len)) { - out_int (0xf7aff1c0); - local_next_token (); - if (store_constructor_input_media_uploaded_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaPhoto", cur_token_len)) { - out_int (0xe9bfb4f3); - local_next_token (); - if (store_constructor_input_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaGeoPoint", cur_token_len)) { - out_int (0xf9c44144); - local_next_token (); - if (store_constructor_input_media_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputMediaContact", cur_token_len)) { - out_int (0xa6e45987); - local_next_token (); - if (store_constructor_input_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedVideo", cur_token_len)) { - out_int (0xe13fd4bc); - local_next_token (); - if (store_constructor_input_media_uploaded_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputMediaUploadedThumbVideo", cur_token_len)) { - out_int (0x96fb97dc); - local_next_token (); - if (store_constructor_input_media_uploaded_thumb_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVideo", cur_token_len)) { - out_int (0x936a4ebd); - local_next_token (); - if (store_constructor_input_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedAudio", cur_token_len)) { - out_int (0x4e498cab); - local_next_token (); - if (store_constructor_input_media_uploaded_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaAudio", cur_token_len)) { - out_int (0x89938781); - local_next_token (); - if (store_constructor_input_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputMediaUploadedDocument", cur_token_len)) { - out_int (0xffe76b78); - local_next_token (); - if (store_constructor_input_media_uploaded_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "inputMediaUploadedThumbDocument", cur_token_len)) { - out_int (0x41481486); - local_next_token (); - if (store_constructor_input_media_uploaded_thumb_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaDocument", cur_token_len)) { - out_int (0xd184e841); - local_next_token (); - if (store_constructor_input_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVenue", cur_token_len)) { - out_int (0x2827a81a); - local_next_token (); - if (store_constructor_input_media_venue (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaGeoPoint", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_geo_point (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputMediaContact", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputMediaUploadedThumbVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_thumb_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "inputMediaUploadedAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "inputMediaUploadedDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "inputMediaUploadedThumbDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_uploaded_thumb_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "inputMediaDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "inputMediaVenue", cur_token_len)) { - local_next_token (); - if (store_constructor_input_media_venue (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_notify_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputNotifyPeer", cur_token_len)) { - out_int (0xb8bc5b0c); - local_next_token (); - if (store_constructor_input_notify_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyUsers", cur_token_len)) { - out_int (0x193b4417); - local_next_token (); - if (store_constructor_input_notify_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyChats", cur_token_len)) { - out_int (0x4a95e84e); - local_next_token (); - if (store_constructor_input_notify_chats (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputNotifyAll", cur_token_len)) { - out_int (0xa429b886); - local_next_token (); - if (store_constructor_input_notify_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputNotifyGeoChatPeer", cur_token_len)) { - out_int (0x4d8ddec8); - local_next_token (); - if (store_constructor_input_notify_geo_chat_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_notify_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputNotifyPeer", cur_token_len)) { - local_next_token (); - if (store_constructor_input_notify_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_input_notify_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputNotifyChats", cur_token_len)) { - local_next_token (); - if (store_constructor_input_notify_chats (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputNotifyAll", cur_token_len)) { - local_next_token (); - if (store_constructor_input_notify_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "inputNotifyGeoChatPeer", cur_token_len)) { - local_next_token (); - if (store_constructor_input_notify_geo_chat_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPeerEmpty", cur_token_len)) { - out_int (0x7f3b18ea); - local_next_token (); - if (store_constructor_input_peer_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerSelf", cur_token_len)) { - out_int (0x7da07ec9); - local_next_token (); - if (store_constructor_input_peer_self (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerContact", cur_token_len)) { - out_int (0x1023dbe8); - local_next_token (); - if (store_constructor_input_peer_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerForeign", cur_token_len)) { - out_int (0x9b447325); - local_next_token (); - if (store_constructor_input_peer_foreign (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerChat", cur_token_len)) { - out_int (0x179be863); - local_next_token (); - if (store_constructor_input_peer_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPeerEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerSelf", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_self (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerContact", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputPeerForeign", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_foreign (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputPeerChat", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_peer_notify_events (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "inputPeerNotifyEventsEmpty", cur_token_len)) { - out_int (0xf03064d8); - local_next_token (); - if (store_constructor_input_peer_notify_events_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputPeerNotifyEventsAll", cur_token_len)) { - out_int (0xe86a2c74); - local_next_token (); - if (store_constructor_input_peer_notify_events_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_peer_notify_events (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "inputPeerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_notify_events_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputPeerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_notify_events_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_peer_notify_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputPeerNotifySettings", cur_token_len)) { - out_int (0x46a2ce98); - local_next_token (); - if (store_constructor_input_peer_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_peer_notify_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "inputPeerNotifySettings", cur_token_len)) { - local_next_token (); - if (store_constructor_input_peer_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputPhotoEmpty", cur_token_len)) { - out_int (0x1cd7bf0d); - local_next_token (); - if (store_constructor_input_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputPhoto", cur_token_len)) { - out_int (0xfb95c6c4); - local_next_token (); - if (store_constructor_input_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputPhotoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_photo_crop (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputPhotoCropAuto", cur_token_len)) { - out_int (0xade6b004); - local_next_token (); - if (store_constructor_input_photo_crop_auto (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPhotoCrop", cur_token_len)) { - out_int (0xd9915325); - local_next_token (); - if (store_constructor_input_photo_crop (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_photo_crop (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "inputPhotoCropAuto", cur_token_len)) { - local_next_token (); - if (store_constructor_input_photo_crop_auto (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "inputPhotoCrop", cur_token_len)) { - local_next_token (); - if (store_constructor_input_photo_crop (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_privacy_key (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyKeyStatusTimestamp", cur_token_len)) { - out_int (0x4f96cb18); - local_next_token (); - if (store_constructor_input_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_privacy_key (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_privacy_rule (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueAllowContacts", cur_token_len)) { - out_int (0x0d09e07b); - local_next_token (); - if (store_constructor_input_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputPrivacyValueAllowAll", cur_token_len)) { - out_int (0x184b35ce); - local_next_token (); - if (store_constructor_input_privacy_value_allow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputPrivacyValueAllowUsers", cur_token_len)) { - out_int (0x131cc67f); - local_next_token (); - if (store_constructor_input_privacy_value_allow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "inputPrivacyValueDisallowContacts", cur_token_len)) { - out_int (0x0ba52007); - local_next_token (); - if (store_constructor_input_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputPrivacyValueDisallowAll", cur_token_len)) { - out_int (0xd66b66c9); - local_next_token (); - if (store_constructor_input_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueDisallowUsers", cur_token_len)) { - out_int (0x90110467); - local_next_token (); - if (store_constructor_input_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_privacy_rule (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputPrivacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_allow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputPrivacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_allow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 33 && !memcmp (cur_token, "inputPrivacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "inputPrivacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "inputPrivacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_input_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "inputStickerSetEmpty", cur_token_len)) { - out_int (0xffb62b95); - local_next_token (); - if (store_constructor_input_sticker_set_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputStickerSetID", cur_token_len)) { - out_int (0x9de7a269); - local_next_token (); - if (store_constructor_input_sticker_set_i_d (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputStickerSetShortName", cur_token_len)) { - out_int (0x861cc8a0); - local_next_token (); - if (store_constructor_input_sticker_set_short_name (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "inputStickerSetEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_sticker_set_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "inputStickerSetID", cur_token_len)) { - local_next_token (); - if (store_constructor_input_sticker_set_i_d (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputStickerSetShortName", cur_token_len)) { - local_next_token (); - if (store_constructor_input_sticker_set_short_name (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_user (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputUserEmpty", cur_token_len)) { - out_int (0xb98886cf); - local_next_token (); - if (store_constructor_input_user_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputUserSelf", cur_token_len)) { - out_int (0xf7c1b13f); - local_next_token (); - if (store_constructor_input_user_self (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserContact", cur_token_len)) { - out_int (0x86e94f65); - local_next_token (); - if (store_constructor_input_user_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserForeign", cur_token_len)) { - out_int (0x655e74ff); - local_next_token (); - if (store_constructor_input_user_foreign (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_user (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "inputUserEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_user_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "inputUserSelf", cur_token_len)) { - local_next_token (); - if (store_constructor_input_user_self (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserContact", cur_token_len)) { - local_next_token (); - if (store_constructor_input_user_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "inputUserForeign", cur_token_len)) { - local_next_token (); - if (store_constructor_input_user_foreign (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_input_video (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputVideoEmpty", cur_token_len)) { - out_int (0x5508ec75); - local_next_token (); - if (store_constructor_input_video_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputVideo", cur_token_len)) { - out_int (0xee579652); - local_next_token (); - if (store_constructor_input_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_input_video (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "inputVideoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_video_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 10 && !memcmp (cur_token, "inputVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_int (struct paramed_type *T) { - out_int (0xa8509bda); - if (store_constructor_int (T) < 0) { return -1; } - return 0; -} -int store_type_bare_int (struct paramed_type *T) { - if (store_constructor_int (T) < 0) { return -1; } - return 0; -} -int store_type_int128 (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int128", cur_token_len)) { - out_int (0x7d36c439); - local_next_token (); - if (store_constructor_int128 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_int128 (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int128", cur_token_len)) { - local_next_token (); - if (store_constructor_int128 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_int256 (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int256", cur_token_len)) { - out_int (0xf2c798b3); - local_next_token (); - if (store_constructor_int256 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_int256 (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "int256", cur_token_len)) { - local_next_token (); - if (store_constructor_int256 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_keyboard_button (struct paramed_type *T) { - out_int (0xa2fa4880); - if (store_constructor_keyboard_button (T) < 0) { return -1; } - return 0; -} -int store_type_bare_keyboard_button (struct paramed_type *T) { - if (store_constructor_keyboard_button (T) < 0) { return -1; } - return 0; -} -int store_type_keyboard_button_row (struct paramed_type *T) { - out_int (0x77608b83); - if (store_constructor_keyboard_button_row (T) < 0) { return -1; } - return 0; -} -int store_type_bare_keyboard_button_row (struct paramed_type *T) { - if (store_constructor_keyboard_button_row (T) < 0) { return -1; } - return 0; -} -int store_type_long (struct paramed_type *T) { - out_int (0x22076cba); - if (store_constructor_long (T) < 0) { return -1; } - return 0; -} -int store_type_bare_long (struct paramed_type *T) { - if (store_constructor_long (T) < 0) { return -1; } - return 0; -} -int store_type_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "messageEmpty", cur_token_len)) { - out_int (0x83e5de54); - local_next_token (); - if (store_constructor_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - out_int (0xc3060325); - local_next_token (); - if (store_constructor_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "messageService", cur_token_len)) { - out_int (0x1d86f70e); - local_next_token (); - if (store_constructor_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "messageEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - if (store_constructor_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "messageService", cur_token_len)) { - local_next_token (); - if (store_constructor_message_service (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "messageActionEmpty", cur_token_len)) { - out_int (0xb6aef7b0); - local_next_token (); - if (store_constructor_message_action_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageActionChatCreate", cur_token_len)) { - out_int (0xa6638b9a); - local_next_token (); - if (store_constructor_message_action_chat_create (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditTitle", cur_token_len)) { - out_int (0xb5a1ce5a); - local_next_token (); - if (store_constructor_message_action_chat_edit_title (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditPhoto", cur_token_len)) { - out_int (0x7fcb13a8); - local_next_token (); - if (store_constructor_message_action_chat_edit_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messageActionChatDeletePhoto", cur_token_len)) { - out_int (0x95e3fbef); - local_next_token (); - if (store_constructor_message_action_chat_delete_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messageActionChatAddUser", cur_token_len)) { - out_int (0x5e3cfc4b); - local_next_token (); - if (store_constructor_message_action_chat_add_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionChatDeleteUser", cur_token_len)) { - out_int (0xb2ae9b0c); - local_next_token (); - if (store_constructor_message_action_chat_delete_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionGeoChatCreate", cur_token_len)) { - out_int (0x6f038ebc); - local_next_token (); - if (store_constructor_message_action_geo_chat_create (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionGeoChatCheckin", cur_token_len)) { - out_int (0x0c7d53de); - local_next_token (); - if (store_constructor_message_action_geo_chat_checkin (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messageActionChatJoinedByLink", cur_token_len)) { - out_int (0xf89cf5e8); - local_next_token (); - if (store_constructor_message_action_chat_joined_by_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "messageActionEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageActionChatCreate", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_create (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditTitle", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_edit_title (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionChatEditPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_edit_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messageActionChatDeletePhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_delete_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messageActionChatAddUser", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_add_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionChatDeleteUser", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_delete_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messageActionGeoChatCreate", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_geo_chat_create (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messageActionGeoChatCheckin", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_geo_chat_checkin (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messageActionChatJoinedByLink", cur_token_len)) { - local_next_token (); - if (store_constructor_message_action_chat_joined_by_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_message_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaEmpty", cur_token_len)) { - out_int (0x3ded6320); - local_next_token (); - if (store_constructor_message_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaPhoto", cur_token_len)) { - out_int (0x3d8ce53d); - local_next_token (); - if (store_constructor_message_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVideo", cur_token_len)) { - out_int (0x5bcf1675); - local_next_token (); - if (store_constructor_message_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messageMediaGeo", cur_token_len)) { - out_int (0x56e0d474); - local_next_token (); - if (store_constructor_message_media_geo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaContact", cur_token_len)) { - out_int (0x5e7d2f39); - local_next_token (); - if (store_constructor_message_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageMediaUnsupported", cur_token_len)) { - out_int (0x9f84f49e); - local_next_token (); - if (store_constructor_message_media_unsupported (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaDocument", cur_token_len)) { - out_int (0x2fda2204); - local_next_token (); - if (store_constructor_message_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaAudio", cur_token_len)) { - out_int (0xc6b68300); - local_next_token (); - if (store_constructor_message_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaWebPage", cur_token_len)) { - out_int (0xa32dd600); - local_next_token (); - if (store_constructor_message_media_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVenue", cur_token_len)) { - out_int (0x7912b71f); - local_next_token (); - if (store_constructor_message_media_venue (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaPhotoL27", cur_token_len)) { - out_int (0xc8c45a2a); - local_next_token (); - if (store_constructor_message_media_photo_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaVideoL27", cur_token_len)) { - out_int (0xa2d24290); - local_next_token (); - if (store_constructor_message_media_video_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_message_media (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messageMediaGeo", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_geo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaContact", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_contact (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messageMediaUnsupported", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_unsupported (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messageMediaWebPage", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messageMediaVenue", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_venue (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaPhotoL27", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_photo_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messageMediaVideoL27", cur_token_len)) { - local_next_token (); - if (store_constructor_message_media_video_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_filter (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterEmpty", cur_token_len)) { - out_int (0x57e2f66c); - local_next_token (); - if (store_constructor_input_messages_filter_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputMessagesFilterPhotos", cur_token_len)) { - out_int (0x9609a51c); - local_next_token (); - if (store_constructor_input_messages_filter_photos (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterVideo", cur_token_len)) { - out_int (0x9fc00e65); - local_next_token (); - if (store_constructor_input_messages_filter_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputMessagesFilterPhotoVideo", cur_token_len)) { - out_int (0x56e9f0e4); - local_next_token (); - if (store_constructor_input_messages_filter_photo_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 38 && !memcmp (cur_token, "inputMessagesFilterPhotoVideoDocuments", cur_token_len)) { - out_int (0xd95e73bb); - local_next_token (); - if (store_constructor_input_messages_filter_photo_video_documents (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputMessagesFilterDocument", cur_token_len)) { - out_int (0x9eddf188); - local_next_token (); - if (store_constructor_input_messages_filter_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterAudio", cur_token_len)) { - out_int (0xcfc87522); - local_next_token (); - if (store_constructor_input_messages_filter_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_filter (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "inputMessagesFilterPhotos", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_photos (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 29 && !memcmp (cur_token, "inputMessagesFilterPhotoVideo", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_photo_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 38 && !memcmp (cur_token, "inputMessagesFilterPhotoVideoDocuments", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_photo_video_documents (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "inputMessagesFilterDocument", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_document (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "inputMessagesFilterAudio", cur_token_len)) { - local_next_token (); - if (store_constructor_input_messages_filter_audio (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_nearest_dc (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "nearestDc", cur_token_len)) { - out_int (0x8e1a1775); - local_next_token (); - if (store_constructor_nearest_dc (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_nearest_dc (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "nearestDc", cur_token_len)) { - local_next_token (); - if (store_constructor_nearest_dc (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_notify_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "notifyPeer", cur_token_len)) { - out_int (0x9fd40bd8); - local_next_token (); - if (store_constructor_notify_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyUsers", cur_token_len)) { - out_int (0xb4c83b4c); - local_next_token (); - if (store_constructor_notify_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyChats", cur_token_len)) { - out_int (0xc007cec3); - local_next_token (); - if (store_constructor_notify_chats (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "notifyAll", cur_token_len)) { - out_int (0x74d07c60); - local_next_token (); - if (store_constructor_notify_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_notify_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "notifyPeer", cur_token_len)) { - local_next_token (); - if (store_constructor_notify_peer (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_notify_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "notifyChats", cur_token_len)) { - local_next_token (); - if (store_constructor_notify_chats (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "notifyAll", cur_token_len)) { - local_next_token (); - if (store_constructor_notify_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_null (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 4 && !memcmp (cur_token, "null", cur_token_len)) { - out_int (0x56730bcc); - local_next_token (); - if (store_constructor_null (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_null (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 4 && !memcmp (cur_token, "null", cur_token_len)) { - local_next_token (); - if (store_constructor_null (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_p_q_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "p_q_inner_data", cur_token_len)) { - out_int (0x83c95aec); - local_next_token (); - if (store_constructor_p_q_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "p_q_inner_data_temp", cur_token_len)) { - out_int (0x3c6a84d4); - local_next_token (); - if (store_constructor_p_q_inner_data_temp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_p_q_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "p_q_inner_data", cur_token_len)) { - local_next_token (); - if (store_constructor_p_q_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "p_q_inner_data_temp", cur_token_len)) { - local_next_token (); - if (store_constructor_p_q_inner_data_temp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "peerUser", cur_token_len)) { - out_int (0x9db1bc6d); - local_next_token (); - if (store_constructor_peer_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "peerChat", cur_token_len)) { - out_int (0xbad0e5bb); - local_next_token (); - if (store_constructor_peer_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_peer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "peerUser", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "peerChat", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_chat (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_peer_notify_events (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "peerNotifyEventsEmpty", cur_token_len)) { - out_int (0xadd53cb3); - local_next_token (); - if (store_constructor_peer_notify_events_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "peerNotifyEventsAll", cur_token_len)) { - out_int (0x6d1ded88); - local_next_token (); - if (store_constructor_peer_notify_events_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_peer_notify_events (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "peerNotifyEventsEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_notify_events_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "peerNotifyEventsAll", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_notify_events_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_peer_notify_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "peerNotifySettingsEmpty", cur_token_len)) { - out_int (0x70a68512); - local_next_token (); - if (store_constructor_peer_notify_settings_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "peerNotifySettings", cur_token_len)) { - out_int (0x8d5e11ee); - local_next_token (); - if (store_constructor_peer_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_peer_notify_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "peerNotifySettingsEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_notify_settings_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "peerNotifySettings", cur_token_len)) { - local_next_token (); - if (store_constructor_peer_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "photoEmpty", cur_token_len)) { - out_int (0x2331b22d); - local_next_token (); - if (store_constructor_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - out_int (0xc3838076); - local_next_token (); - if (store_constructor_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "photoL27", cur_token_len)) { - out_int (0x22b56751); - local_next_token (); - if (store_constructor_photo_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "photoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - if (store_constructor_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "photoL27", cur_token_len)) { - local_next_token (); - if (store_constructor_photo_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_photo_size (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "photoSizeEmpty", cur_token_len)) { - out_int (0x0e17e23c); - local_next_token (); - if (store_constructor_photo_size_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "photoSize", cur_token_len)) { - out_int (0x77bfb61b); - local_next_token (); - if (store_constructor_photo_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "photoCachedSize", cur_token_len)) { - out_int (0xe9a734fa); - local_next_token (); - if (store_constructor_photo_cached_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_photo_size (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "photoSizeEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_photo_size_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 9 && !memcmp (cur_token, "photoSize", cur_token_len)) { - local_next_token (); - if (store_constructor_photo_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "photoCachedSize", cur_token_len)) { - local_next_token (); - if (store_constructor_photo_cached_size (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_privacy_key (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyKeyStatusTimestamp", cur_token_len)) { - out_int (0xbc2eab30); - local_next_token (); - if (store_constructor_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_privacy_key (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyKeyStatusTimestamp", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_key_status_timestamp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_privacy_rule (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueAllowContacts", cur_token_len)) { - out_int (0xfffe1bac); - local_next_token (); - if (store_constructor_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "privacyValueAllowAll", cur_token_len)) { - out_int (0x65427b82); - local_next_token (); - if (store_constructor_privacy_value_allow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "privacyValueAllowUsers", cur_token_len)) { - out_int (0x4d5bbe0c); - local_next_token (); - if (store_constructor_privacy_value_allow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "privacyValueDisallowContacts", cur_token_len)) { - out_int (0xf888fa1a); - local_next_token (); - if (store_constructor_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "privacyValueDisallowAll", cur_token_len)) { - out_int (0x8b73e763); - local_next_token (); - if (store_constructor_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueDisallowUsers", cur_token_len)) { - out_int (0x0c7f49b7); - local_next_token (); - if (store_constructor_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_privacy_rule (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueAllowContacts", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_allow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "privacyValueAllowAll", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_allow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "privacyValueAllowUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_allow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "privacyValueDisallowContacts", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_disallow_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "privacyValueDisallowAll", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_disallow_all (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "privacyValueDisallowUsers", cur_token_len)) { - local_next_token (); - if (store_constructor_privacy_value_disallow_users (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_received_notify_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "receivedNotifyMessage", cur_token_len)) { - out_int (0xa384b779); - local_next_token (); - if (store_constructor_received_notify_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_received_notify_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "receivedNotifyMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_received_notify_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_reply_markup (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "replyKeyboardHide", cur_token_len)) { - out_int (0xa03e5b85); - local_next_token (); - if (store_constructor_reply_keyboard_hide (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "replyKeyboardForceReply", cur_token_len)) { - out_int (0xf4108aa0); - local_next_token (); - if (store_constructor_reply_keyboard_force_reply (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "replyKeyboardMarkup", cur_token_len)) { - out_int (0x3502758c); - local_next_token (); - if (store_constructor_reply_keyboard_markup (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_reply_markup (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "replyKeyboardHide", cur_token_len)) { - local_next_token (); - if (store_constructor_reply_keyboard_hide (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "replyKeyboardForceReply", cur_token_len)) { - local_next_token (); - if (store_constructor_reply_keyboard_force_reply (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "replyKeyboardMarkup", cur_token_len)) { - local_next_token (); - if (store_constructor_reply_keyboard_markup (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_res_p_q (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "resPQ", cur_token_len)) { - out_int (0x05162463); - local_next_token (); - if (store_constructor_res_p_q (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_res_p_q (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 5 && !memcmp (cur_token, "resPQ", cur_token_len)) { - local_next_token (); - if (store_constructor_res_p_q (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_send_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageTypingAction", cur_token_len)) { - out_int (0x16bf744e); - local_next_token (); - if (store_constructor_send_message_typing_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageCancelAction", cur_token_len)) { - out_int (0xfd5ec8f5); - local_next_token (); - if (store_constructor_send_message_cancel_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordVideoAction", cur_token_len)) { - out_int (0xa187d66f); - local_next_token (); - if (store_constructor_send_message_record_video_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadVideoActionL27", cur_token_len)) { - out_int (0x92042ff7); - local_next_token (); - if (store_constructor_send_message_upload_video_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadVideoAction", cur_token_len)) { - out_int (0xe9763aec); - local_next_token (); - if (store_constructor_send_message_upload_video_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordAudioAction", cur_token_len)) { - out_int (0xd52f73f7); - local_next_token (); - if (store_constructor_send_message_record_audio_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadAudioActionL27", cur_token_len)) { - out_int (0xe6ac8a6f); - local_next_token (); - if (store_constructor_send_message_upload_audio_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadAudioAction", cur_token_len)) { - out_int (0xf351d7ab); - local_next_token (); - if (store_constructor_send_message_upload_audio_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadPhotoAction", cur_token_len)) { - out_int (0xd1d34a26); - local_next_token (); - if (store_constructor_send_message_upload_photo_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "sendMessageUploadDocumentActionL27", cur_token_len)) { - out_int (0x8faee98e); - local_next_token (); - if (store_constructor_send_message_upload_document_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadDocumentAction", cur_token_len)) { - out_int (0xaa0cd9e4); - local_next_token (); - if (store_constructor_send_message_upload_document_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageGeoLocationAction", cur_token_len)) { - out_int (0x176f8ba1); - local_next_token (); - if (store_constructor_send_message_geo_location_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "sendMessageChooseContactAction", cur_token_len)) { - out_int (0x628cbc6f); - local_next_token (); - if (store_constructor_send_message_choose_contact_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_send_message_action (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageTypingAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_typing_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "sendMessageCancelAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_cancel_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordVideoAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_record_video_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadVideoActionL27", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_video_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadVideoAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_video_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageRecordAudioAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_record_audio_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadAudioActionL27", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_audio_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadAudioAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_audio_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageUploadPhotoAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_photo_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 34 && !memcmp (cur_token, "sendMessageUploadDocumentActionL27", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_document_action_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 31 && !memcmp (cur_token, "sendMessageUploadDocumentAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_upload_document_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 28 && !memcmp (cur_token, "sendMessageGeoLocationAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_geo_location_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 30 && !memcmp (cur_token, "sendMessageChooseContactAction", cur_token_len)) { - local_next_token (); - if (store_constructor_send_message_choose_contact_action (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_server_d_h_params (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "server_DH_params_fail", cur_token_len)) { - out_int (0x79cb045d); - local_next_token (); - if (store_constructor_server_d_h_params_fail (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "server_DH_params_ok", cur_token_len)) { - out_int (0xd0e8075c); - local_next_token (); - if (store_constructor_server_d_h_params_ok (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_server_d_h_params (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "server_DH_params_fail", cur_token_len)) { - local_next_token (); - if (store_constructor_server_d_h_params_fail (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "server_DH_params_ok", cur_token_len)) { - local_next_token (); - if (store_constructor_server_d_h_params_ok (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_server_d_h_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "server_DH_inner_data", cur_token_len)) { - out_int (0xb5890dba); - local_next_token (); - if (store_constructor_server_d_h_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_server_d_h_inner_data (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "server_DH_inner_data", cur_token_len)) { - local_next_token (); - if (store_constructor_server_d_h_inner_data (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_set_client_d_h_params_answer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "dh_gen_ok", cur_token_len)) { - out_int (0x3bcbf734); - local_next_token (); - if (store_constructor_dh_gen_ok (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "dh_gen_retry", cur_token_len)) { - out_int (0x46dc1fb9); - local_next_token (); - if (store_constructor_dh_gen_retry (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "dh_gen_fail", cur_token_len)) { - out_int (0xa69dae02); - local_next_token (); - if (store_constructor_dh_gen_fail (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_set_client_d_h_params_answer (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "dh_gen_ok", cur_token_len)) { - local_next_token (); - if (store_constructor_dh_gen_ok (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "dh_gen_retry", cur_token_len)) { - local_next_token (); - if (store_constructor_dh_gen_retry (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "dh_gen_fail", cur_token_len)) { - local_next_token (); - if (store_constructor_dh_gen_fail (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_sticker_pack (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "stickerPack", cur_token_len)) { - out_int (0x12b299d4); - local_next_token (); - if (store_constructor_sticker_pack (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_sticker_pack (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "stickerPack", cur_token_len)) { - local_next_token (); - if (store_constructor_sticker_pack (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "stickerSet", cur_token_len)) { - out_int (0xa7a43b17); - local_next_token (); - if (store_constructor_sticker_set (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "stickerSet", cur_token_len)) { - local_next_token (); - if (store_constructor_sticker_set (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_string (struct paramed_type *T) { - out_int (0xb5286e24); - if (store_constructor_string (T) < 0) { return -1; } - return 0; -} -int store_type_bare_string (struct paramed_type *T) { - if (store_constructor_string (T) < 0) { return -1; } - return 0; -} -int store_type_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "updateNewMessage", cur_token_len)) { - out_int (0x1f2b0afd); - local_next_token (); - if (store_constructor_update_new_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMessageID", cur_token_len)) { - out_int (0x4e90bfd6); - local_next_token (); - if (store_constructor_update_message_i_d (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateDeleteMessages", cur_token_len)) { - out_int (0xa20db0e5); - local_next_token (); - if (store_constructor_update_delete_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserTyping", cur_token_len)) { - out_int (0x5c486927); - local_next_token (); - if (store_constructor_update_user_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateChatUserTyping", cur_token_len)) { - out_int (0x9a65ea1f); - local_next_token (); - if (store_constructor_update_chat_user_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateChatParticipants", cur_token_len)) { - out_int (0x07761198); - local_next_token (); - if (store_constructor_update_chat_participants (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserStatus", cur_token_len)) { - out_int (0x1bfbd823); - local_next_token (); - if (store_constructor_update_user_status (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "updateUserName", cur_token_len)) { - out_int (0xa7332b73); - local_next_token (); - if (store_constructor_update_user_name (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhoto", cur_token_len)) { - out_int (0x95313b0c); - local_next_token (); - if (store_constructor_update_user_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateContactRegistered", cur_token_len)) { - out_int (0x2575bbb9); - local_next_token (); - if (store_constructor_update_contact_registered (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateContactLink", cur_token_len)) { - out_int (0x9d2e67c5); - local_next_token (); - if (store_constructor_update_contact_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateNewAuthorization", cur_token_len)) { - out_int (0x8f06529a); - local_next_token (); - if (store_constructor_update_new_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateNewGeoChatMessage", cur_token_len)) { - out_int (0x5a68e3f7); - local_next_token (); - if (store_constructor_update_new_geo_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateNewEncryptedMessage", cur_token_len)) { - out_int (0x12bcbd9a); - local_next_token (); - if (store_constructor_update_new_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateEncryptedChatTyping", cur_token_len)) { - out_int (0x1710f156); - local_next_token (); - if (store_constructor_update_encrypted_chat_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateEncryption", cur_token_len)) { - out_int (0xb4a2e88d); - local_next_token (); - if (store_constructor_update_encryption (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateEncryptedMessagesRead", cur_token_len)) { - out_int (0x38fe25b7); - local_next_token (); - if (store_constructor_update_encrypted_messages_read (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "updateChatParticipantAdd", cur_token_len)) { - out_int (0x3a0eeb22); - local_next_token (); - if (store_constructor_update_chat_participant_add (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateChatParticipantDelete", cur_token_len)) { - out_int (0x6e5f8c22); - local_next_token (); - if (store_constructor_update_chat_participant_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateDcOptions", cur_token_len)) { - out_int (0x8e5e9873); - local_next_token (); - if (store_constructor_update_dc_options (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateUserBlocked", cur_token_len)) { - out_int (0x80ece81a); - local_next_token (); - if (store_constructor_update_user_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateNotifySettings", cur_token_len)) { - out_int (0xbec268ef); - local_next_token (); - if (store_constructor_update_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateServiceNotification", cur_token_len)) { - out_int (0x382dd3e4); - local_next_token (); - if (store_constructor_update_service_notification (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updatePrivacy", cur_token_len)) { - out_int (0xee3b272a); - local_next_token (); - if (store_constructor_update_privacy (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhone", cur_token_len)) { - out_int (0x12b9417b); - local_next_token (); - if (store_constructor_update_user_phone (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateReadHistoryInbox", cur_token_len)) { - out_int (0x9961fd5c); - local_next_token (); - if (store_constructor_update_read_history_inbox (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateReadHistoryOutbox", cur_token_len)) { - out_int (0x2f2f21bf); - local_next_token (); - if (store_constructor_update_read_history_outbox (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updateWebPage", cur_token_len)) { - out_int (0x2cc36971); - local_next_token (); - if (store_constructor_update_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "updateReadMessagesContents", cur_token_len)) { - out_int (0x68c13933); - local_next_token (); - if (store_constructor_update_read_messages_contents (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMsgUpdate", cur_token_len)) { - out_int (0x03114739); - local_next_token (); - if (store_constructor_update_msg_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "updateNewMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_new_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMessageID", cur_token_len)) { - local_next_token (); - if (store_constructor_update_message_i_d (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateDeleteMessages", cur_token_len)) { - local_next_token (); - if (store_constructor_update_delete_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserTyping", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateChatUserTyping", cur_token_len)) { - local_next_token (); - if (store_constructor_update_chat_user_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateChatParticipants", cur_token_len)) { - local_next_token (); - if (store_constructor_update_chat_participants (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateUserStatus", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_status (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "updateUserName", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_name (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateContactRegistered", cur_token_len)) { - local_next_token (); - if (store_constructor_update_contact_registered (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateContactLink", cur_token_len)) { - local_next_token (); - if (store_constructor_update_contact_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateNewAuthorization", cur_token_len)) { - local_next_token (); - if (store_constructor_update_new_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateNewGeoChatMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_new_geo_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateNewEncryptedMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_new_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateEncryptedChatTyping", cur_token_len)) { - local_next_token (); - if (store_constructor_update_encrypted_chat_typing (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updateEncryption", cur_token_len)) { - local_next_token (); - if (store_constructor_update_encryption (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateEncryptedMessagesRead", cur_token_len)) { - local_next_token (); - if (store_constructor_update_encrypted_messages_read (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "updateChatParticipantAdd", cur_token_len)) { - local_next_token (); - if (store_constructor_update_chat_participant_add (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 27 && !memcmp (cur_token, "updateChatParticipantDelete", cur_token_len)) { - local_next_token (); - if (store_constructor_update_chat_participant_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateDcOptions", cur_token_len)) { - local_next_token (); - if (store_constructor_update_dc_options (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "updateUserBlocked", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "updateNotifySettings", cur_token_len)) { - local_next_token (); - if (store_constructor_update_notify_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "updateServiceNotification", cur_token_len)) { - local_next_token (); - if (store_constructor_update_service_notification (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updatePrivacy", cur_token_len)) { - local_next_token (); - if (store_constructor_update_privacy (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateUserPhone", cur_token_len)) { - local_next_token (); - if (store_constructor_update_user_phone (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateReadHistoryInbox", cur_token_len)) { - local_next_token (); - if (store_constructor_update_read_history_inbox (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updateReadHistoryOutbox", cur_token_len)) { - local_next_token (); - if (store_constructor_update_read_history_outbox (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "updateWebPage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "updateReadMessagesContents", cur_token_len)) { - local_next_token (); - if (store_constructor_update_read_messages_contents (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updateMsgUpdate", cur_token_len)) { - local_next_token (); - if (store_constructor_update_msg_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_updates (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "updatesTooLong", cur_token_len)) { - out_int (0xe317af7e); - local_next_token (); - if (store_constructor_updates_too_long (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updateShortMessage", cur_token_len)) { - out_int (0xed5c2127); - local_next_token (); - if (store_constructor_update_short_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateShortChatMessage", cur_token_len)) { - out_int (0x52238b3c); - local_next_token (); - if (store_constructor_update_short_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "updateShort", cur_token_len)) { - out_int (0x78d4dec1); - local_next_token (); - if (store_constructor_update_short (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updatesCombined", cur_token_len)) { - out_int (0x725b04c3); - local_next_token (); - if (store_constructor_updates_combined (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - out_int (0x74ae4240); - local_next_token (); - if (store_constructor_updates (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_updates (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "updatesTooLong", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_too_long (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updateShortMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_short_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "updateShortChatMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_update_short_chat_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 11 && !memcmp (cur_token, "updateShort", cur_token_len)) { - local_next_token (); - if (store_constructor_update_short (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "updatesCombined", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_combined (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "updates", cur_token_len)) { - local_next_token (); - if (store_constructor_updates (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_user (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "userEmpty", cur_token_len)) { - out_int (0x200250ba); - local_next_token (); - if (store_constructor_user_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - out_int (0x22e49072); - local_next_token (); - if (store_constructor_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_user (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "userEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_user_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 4 && !memcmp (cur_token, "user", cur_token_len)) { - local_next_token (); - if (store_constructor_user (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_user_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "userFull", cur_token_len)) { - out_int (0x5a89ac5b); - local_next_token (); - if (store_constructor_user_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_user_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 8 && !memcmp (cur_token, "userFull", cur_token_len)) { - local_next_token (); - if (store_constructor_user_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_user_profile_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "userProfilePhotoEmpty", cur_token_len)) { - out_int (0x4f11bae1); - local_next_token (); - if (store_constructor_user_profile_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userProfilePhoto", cur_token_len)) { - out_int (0xd559d8c8); - local_next_token (); - if (store_constructor_user_profile_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_user_profile_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "userProfilePhotoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_user_profile_photo_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userProfilePhoto", cur_token_len)) { - local_next_token (); - if (store_constructor_user_profile_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_user_status (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "userStatusEmpty", cur_token_len)) { - out_int (0x09d05049); - local_next_token (); - if (store_constructor_user_status_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userStatusOnline", cur_token_len)) { - out_int (0xedb93949); - local_next_token (); - if (store_constructor_user_status_online (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "userStatusOffline", cur_token_len)) { - out_int (0x008c703f); - local_next_token (); - if (store_constructor_user_status_offline (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusRecently", cur_token_len)) { - out_int (0xe26f42f1); - local_next_token (); - if (store_constructor_user_status_recently (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusLastWeek", cur_token_len)) { - out_int (0x07bf09fc); - local_next_token (); - if (store_constructor_user_status_last_week (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "userStatusLastMonth", cur_token_len)) { - out_int (0x77ebc742); - local_next_token (); - if (store_constructor_user_status_last_month (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_user_status (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 15 && !memcmp (cur_token, "userStatusEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "userStatusOnline", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_online (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "userStatusOffline", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_offline (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusRecently", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_recently (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "userStatusLastWeek", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_last_week (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "userStatusLastMonth", cur_token_len)) { - local_next_token (); - if (store_constructor_user_status_last_month (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_vector (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "vector", cur_token_len)) { - out_int (0x1cb5c415); - local_next_token (); - if (store_constructor_vector (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_vector (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 6 && !memcmp (cur_token, "vector", cur_token_len)) { - local_next_token (); - if (store_constructor_vector (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_video (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "videoEmpty", cur_token_len)) { - out_int (0xc10658a8); - local_next_token (); - if (store_constructor_video_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - out_int (0xee9f4a4d); - local_next_token (); - if (store_constructor_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "videoL27", cur_token_len)) { - out_int (0x388fa391); - local_next_token (); - if (store_constructor_video_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_video (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 10 && !memcmp (cur_token, "videoEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_video_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 5 && !memcmp (cur_token, "video", cur_token_len)) { - local_next_token (); - if (store_constructor_video (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 8 && !memcmp (cur_token, "videoL27", cur_token_len)) { - local_next_token (); - if (store_constructor_video_l27 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_wall_paper (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "wallPaper", cur_token_len)) { - out_int (0xccb03657); - local_next_token (); - if (store_constructor_wall_paper (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "wallPaperSolid", cur_token_len)) { - out_int (0x63117f24); - local_next_token (); - if (store_constructor_wall_paper_solid (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_wall_paper (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 9 && !memcmp (cur_token, "wallPaper", cur_token_len)) { - local_next_token (); - if (store_constructor_wall_paper (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "wallPaperSolid", cur_token_len)) { - local_next_token (); - if (store_constructor_wall_paper_solid (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_web_page (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "webPageEmpty", cur_token_len)) { - out_int (0xeb1477e8); - local_next_token (); - if (store_constructor_web_page_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "webPagePending", cur_token_len)) { - out_int (0xc586da1c); - local_next_token (); - if (store_constructor_web_page_pending (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "webPage", cur_token_len)) { - out_int (0xa31ea0b5); - local_next_token (); - if (store_constructor_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_web_page (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "webPageEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_web_page_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "webPagePending", cur_token_len)) { - local_next_token (); - if (store_constructor_web_page_pending (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 7 && !memcmp (cur_token, "webPage", cur_token_len)) { - local_next_token (); - if (store_constructor_web_page (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_account_authorizations (struct paramed_type *T) { - out_int (0x1250abde); - if (store_constructor_account_authorizations (T) < 0) { return -1; } - return 0; -} -int store_type_bare_account_authorizations (struct paramed_type *T) { - if (store_constructor_account_authorizations (T) < 0) { return -1; } - return 0; -} -int store_type_account_password (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "account.noPassword", cur_token_len)) { - out_int (0x96dabc18); - local_next_token (); - if (store_constructor_account_no_password (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "account.password", cur_token_len)) { - out_int (0x7c18141c); - local_next_token (); - if (store_constructor_account_password (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_account_password (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "account.noPassword", cur_token_len)) { - local_next_token (); - if (store_constructor_account_no_password (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "account.password", cur_token_len)) { - local_next_token (); - if (store_constructor_account_password (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_account_password_input_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "account.passwordInputSettings", cur_token_len)) { - out_int (0xbcfc532c); - local_next_token (); - if (store_constructor_account_password_input_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_account_password_input_settings (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "account.passwordInputSettings", cur_token_len)) { - local_next_token (); - if (store_constructor_account_password_input_settings (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_account_password_settings (struct paramed_type *T) { - out_int (0xb7b72ab3); - if (store_constructor_account_password_settings (T) < 0) { return -1; } - return 0; -} -int store_type_bare_account_password_settings (struct paramed_type *T) { - if (store_constructor_account_password_settings (T) < 0) { return -1; } - return 0; -} -int store_type_account_privacy_rules (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "account.privacyRules", cur_token_len)) { - out_int (0x554abb6f); - local_next_token (); - if (store_constructor_account_privacy_rules (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_account_privacy_rules (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "account.privacyRules", cur_token_len)) { - local_next_token (); - if (store_constructor_account_privacy_rules (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_account_sent_change_phone_code (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sentChangePhoneCode", cur_token_len)) { - out_int (0xa4f58c4c); - local_next_token (); - if (store_constructor_account_sent_change_phone_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_account_sent_change_phone_code (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sentChangePhoneCode", cur_token_len)) { - local_next_token (); - if (store_constructor_account_sent_change_phone_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_auth_authorization (struct paramed_type *T) { - out_int (0xff036af1); - if (store_constructor_auth_authorization (T) < 0) { return -1; } - return 0; -} -int store_type_bare_auth_authorization (struct paramed_type *T) { - if (store_constructor_auth_authorization (T) < 0) { return -1; } - return 0; -} -int store_type_auth_checked_phone (struct paramed_type *T) { - out_int (0x811ea28e); - if (store_constructor_auth_checked_phone (T) < 0) { return -1; } - return 0; -} -int store_type_bare_auth_checked_phone (struct paramed_type *T) { - if (store_constructor_auth_checked_phone (T) < 0) { return -1; } - return 0; -} -int store_type_auth_exported_authorization (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "auth.exportedAuthorization", cur_token_len)) { - out_int (0xdf969c2d); - local_next_token (); - if (store_constructor_auth_exported_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_auth_exported_authorization (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 26 && !memcmp (cur_token, "auth.exportedAuthorization", cur_token_len)) { - local_next_token (); - if (store_constructor_auth_exported_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_auth_password_recovery (struct paramed_type *T) { - out_int (0x137948a5); - if (store_constructor_auth_password_recovery (T) < 0) { return -1; } - return 0; -} -int store_type_bare_auth_password_recovery (struct paramed_type *T) { - if (store_constructor_auth_password_recovery (T) < 0) { return -1; } - return 0; -} -int store_type_auth_sent_code (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sentCode", cur_token_len)) { - out_int (0xefed51d9); - local_next_token (); - if (store_constructor_auth_sent_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sentAppCode", cur_token_len)) { - out_int (0xe325edcf); - local_next_token (); - if (store_constructor_auth_sent_app_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_auth_sent_code (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sentCode", cur_token_len)) { - local_next_token (); - if (store_constructor_auth_sent_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sentAppCode", cur_token_len)) { - local_next_token (); - if (store_constructor_auth_sent_app_code (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_binlog_encr_key (struct paramed_type *T) { - out_int (0x0377168f); - if (store_constructor_binlog_encr_key (T) < 0) { return -1; } - return 0; -} -int store_type_bare_binlog_encr_key (struct paramed_type *T) { - if (store_constructor_binlog_encr_key (T) < 0) { return -1; } - return 0; -} -int store_type_binlog_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.start", cur_token_len)) { - out_int (0x3b06de69); - local_next_token (); - if (store_constructor_binlog_start (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcOption", cur_token_len)) { - out_int (0xf96feb32); - local_next_token (); - if (store_constructor_binlog_dc_option (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.dcOptionNew", cur_token_len)) { - out_int (0x7c0d22d8); - local_next_token (); - if (store_constructor_binlog_dc_option_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.authKey", cur_token_len)) { - out_int (0x71e8c156); - local_next_token (); - if (store_constructor_binlog_auth_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.defaultDc", cur_token_len)) { - out_int (0x9e83dbdc); - local_next_token (); - if (store_constructor_binlog_default_dc (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcSigned", cur_token_len)) { - out_int (0x26451bb5); - local_next_token (); - if (store_constructor_binlog_dc_signed (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.ourId", cur_token_len)) { - out_int (0x68a870e8); - local_next_token (); - if (store_constructor_binlog_our_id (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.setDhParams", cur_token_len)) { - out_int (0xeaeb7826); - local_next_token (); - if (store_constructor_binlog_set_dh_params (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setPts", cur_token_len)) { - out_int (0x2ca8c939); - local_next_token (); - if (store_constructor_binlog_set_pts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setQts", cur_token_len)) { - out_int (0xd95738ac); - local_next_token (); - if (store_constructor_binlog_set_qts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.setDate", cur_token_len)) { - out_int (0x1d0f4b52); - local_next_token (); - if (store_constructor_binlog_set_date (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setSeq", cur_token_len)) { - out_int (0x6eeb2989); - local_next_token (); - if (store_constructor_binlog_set_seq (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.encrChatDelete", cur_token_len)) { - out_int (0xee1b38e8); - local_next_token (); - if (store_constructor_binlog_encr_chat_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.encrChatNew", cur_token_len)) { - out_int (0x84977251); - local_next_token (); - if (store_constructor_binlog_encr_chat_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "binlog.encrChatExchangeNew", cur_token_len)) { - out_int (0x9d49488d); - local_next_token (); - if (store_constructor_binlog_encr_chat_exchange_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.userDelete", cur_token_len)) { - out_int (0xac55d447); - local_next_token (); - if (store_constructor_binlog_user_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.userNew", cur_token_len)) { - out_int (0x127cf2f9); - local_next_token (); - if (store_constructor_binlog_user_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.chatNew", cur_token_len)) { - out_int (0x0a10aa92); - local_next_token (); - if (store_constructor_binlog_chat_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatAddParticipant", cur_token_len)) { - out_int (0x535475ea); - local_next_token (); - if (store_constructor_binlog_chat_add_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatDelParticipant", cur_token_len)) { - out_int (0x7dd1a1a2); - local_next_token (); - if (store_constructor_binlog_chat_del_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.setMsgId", cur_token_len)) { - out_int (0x3c873416); - local_next_token (); - if (store_constructor_binlog_set_msg_id (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "binlog.messageDelete", cur_token_len)) { - out_int (0x847e77b1); - local_next_token (); - if (store_constructor_binlog_message_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.messageNew", cur_token_len)) { - out_int (0x427cfcdb); - local_next_token (); - if (store_constructor_binlog_message_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.messageEncrNew", cur_token_len)) { - out_int (0x6cf7cabc); - local_next_token (); - if (store_constructor_binlog_message_encr_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.msgUpdate", cur_token_len)) { - out_int (0x6dd4d85f); - local_next_token (); - if (store_constructor_binlog_msg_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.resetAuthorization", cur_token_len)) { - out_int (0x83327955); - local_next_token (); - if (store_constructor_binlog_reset_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_binlog_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.start", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_start (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcOption", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_dc_option (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.dcOptionNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_dc_option_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.authKey", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_auth_key (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.defaultDc", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_default_dc (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.dcSigned", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_dc_signed (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 12 && !memcmp (cur_token, "binlog.ourId", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_our_id (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.setDhParams", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_dh_params (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setPts", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_pts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setQts", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_qts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.setDate", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_date (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 13 && !memcmp (cur_token, "binlog.setSeq", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_seq (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.encrChatDelete", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_encr_chat_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "binlog.encrChatNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_encr_chat_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "binlog.encrChatExchangeNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_encr_chat_exchange_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.userDelete", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_user_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.userNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_user_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 14 && !memcmp (cur_token, "binlog.chatNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_chat_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatAddParticipant", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_chat_add_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.chatDelParticipant", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_chat_del_participant (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "binlog.setMsgId", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_set_msg_id (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "binlog.messageDelete", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_message_delete (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "binlog.messageNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_message_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "binlog.messageEncrNew", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_message_encr_new (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "binlog.msgUpdate", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_msg_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 25 && !memcmp (cur_token, "binlog.resetAuthorization", cur_token_len)) { - local_next_token (); - if (store_constructor_binlog_reset_authorization (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_blocked (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.blocked", cur_token_len)) { - out_int (0x1c138d15); - local_next_token (); - if (store_constructor_contacts_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.blockedSlice", cur_token_len)) { - out_int (0x900802a1); - local_next_token (); - if (store_constructor_contacts_blocked_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_blocked (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.blocked", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_blocked (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.blockedSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_blocked_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_contacts (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "contacts.contactsNotModified", cur_token_len)) { - out_int (0xb74ba9d2); - local_next_token (); - if (store_constructor_contacts_contacts_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "contacts.contacts", cur_token_len)) { - out_int (0x6f8b8cb2); - local_next_token (); - if (store_constructor_contacts_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_contacts (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "contacts.contactsNotModified", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_contacts_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "contacts.contacts", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_found (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.found", cur_token_len)) { - out_int (0x0566000e); - local_next_token (); - if (store_constructor_contacts_found (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_found (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.found", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_found (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_imported_contacts (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "contacts.importedContacts", cur_token_len)) { - out_int (0xad524315); - local_next_token (); - if (store_constructor_contacts_imported_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_imported_contacts (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "contacts.importedContacts", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_imported_contacts (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_link (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contacts.link", cur_token_len)) { - out_int (0x3ace484c); - local_next_token (); - if (store_constructor_contacts_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_link (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "contacts.link", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_contacts_suggested (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contacts.suggested", cur_token_len)) { - out_int (0x5649dcc5); - local_next_token (); - if (store_constructor_contacts_suggested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_contacts_suggested (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 18 && !memcmp (cur_token, "contacts.suggested", cur_token_len)) { - local_next_token (); - if (store_constructor_contacts_suggested (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_geochats_located (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.located", cur_token_len)) { - out_int (0x48feb267); - local_next_token (); - if (store_constructor_geochats_located (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_geochats_located (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.located", cur_token_len)) { - local_next_token (); - if (store_constructor_geochats_located (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_geochats_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "geochats.messages", cur_token_len)) { - out_int (0xd1526db1); - local_next_token (); - if (store_constructor_geochats_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.messagesSlice", cur_token_len)) { - out_int (0xbc5863e8); - local_next_token (); - if (store_constructor_geochats_messages_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_geochats_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "geochats.messages", cur_token_len)) { - local_next_token (); - if (store_constructor_geochats_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.messagesSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_geochats_messages_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_geochats_stated_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.statedMessage", cur_token_len)) { - out_int (0x17b1578b); - local_next_token (); - if (store_constructor_geochats_stated_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_geochats_stated_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.statedMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_geochats_stated_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_help_app_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "help.appUpdate", cur_token_len)) { - out_int (0x8987f311); - local_next_token (); - if (store_constructor_help_app_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "help.noAppUpdate", cur_token_len)) { - out_int (0xc45a6536); - local_next_token (); - if (store_constructor_help_no_app_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_help_app_update (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 14 && !memcmp (cur_token, "help.appUpdate", cur_token_len)) { - local_next_token (); - if (store_constructor_help_app_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "help.noAppUpdate", cur_token_len)) { - local_next_token (); - if (store_constructor_help_no_app_update (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_help_invite_text (struct paramed_type *T) { - out_int (0x18cb9f78); - if (store_constructor_help_invite_text (T) < 0) { return -1; } - return 0; -} -int store_type_bare_help_invite_text (struct paramed_type *T) { - if (store_constructor_help_invite_text (T) < 0) { return -1; } - return 0; -} -int store_type_help_support (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "help.support", cur_token_len)) { - out_int (0x17c6b5f6); - local_next_token (); - if (store_constructor_help_support (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_help_support (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "help.support", cur_token_len)) { - local_next_token (); - if (store_constructor_help_support (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_affected_history (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.affectedHistory", cur_token_len)) { - out_int (0xb45c69d1); - local_next_token (); - if (store_constructor_messages_affected_history (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_affected_history (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.affectedHistory", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_affected_history (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_affected_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.affectedMessages", cur_token_len)) { - out_int (0x84d19185); - local_next_token (); - if (store_constructor_messages_affected_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_affected_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.affectedMessages", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_affected_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_all_stickers (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 31 && !memcmp (cur_token, "messages.allStickersNotModified", cur_token_len)) { - out_int (0xe86602c3); - local_next_token (); - if (store_constructor_messages_all_stickers_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.allStickers", cur_token_len)) { - out_int (0x5ce352ec); - local_next_token (); - if (store_constructor_messages_all_stickers (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_all_stickers (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 31 && !memcmp (cur_token, "messages.allStickersNotModified", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_all_stickers_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.allStickers", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_all_stickers (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_chat_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.chatFull", cur_token_len)) { - out_int (0xe5d7d19c); - local_next_token (); - if (store_constructor_messages_chat_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_chat_full (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.chatFull", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_chat_full (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_chats (struct paramed_type *T) { - out_int (0x64ff9fd5); - if (store_constructor_messages_chats (T) < 0) { return -1; } - return 0; -} -int store_type_bare_messages_chats (struct paramed_type *T) { - if (store_constructor_messages_chats (T) < 0) { return -1; } - return 0; -} -int store_type_messages_dh_config (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.dhConfigNotModified", cur_token_len)) { - out_int (0xc0e24635); - local_next_token (); - if (store_constructor_messages_dh_config_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.dhConfig", cur_token_len)) { - out_int (0x2c221edd); - local_next_token (); - if (store_constructor_messages_dh_config (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_dh_config (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.dhConfigNotModified", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_dh_config_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.dhConfig", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_dh_config (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_dialogs (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "messages.dialogs", cur_token_len)) { - out_int (0x15ba6c40); - local_next_token (); - if (store_constructor_messages_dialogs (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.dialogsSlice", cur_token_len)) { - out_int (0x71e094f3); - local_next_token (); - if (store_constructor_messages_dialogs_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_dialogs (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 16 && !memcmp (cur_token, "messages.dialogs", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_dialogs (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.dialogsSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_dialogs_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.messageEmpty", cur_token_len)) { - out_int (0x3f4e0648); - local_next_token (); - if (store_constructor_messages_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 21 && !memcmp (cur_token, "messages.messageEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_message_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.messages", cur_token_len)) { - out_int (0x8c718e87); - local_next_token (); - if (store_constructor_messages_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.messagesSlice", cur_token_len)) { - out_int (0x0b446ae3); - local_next_token (); - if (store_constructor_messages_messages_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_messages (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.messages", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_messages (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.messagesSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_messages_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_sent_encrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sentEncryptedMessage", cur_token_len)) { - out_int (0x560f8935); - local_next_token (); - if (store_constructor_messages_sent_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sentEncryptedFile", cur_token_len)) { - out_int (0x9493ff32); - local_next_token (); - if (store_constructor_messages_sent_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_sent_encrypted_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sentEncryptedMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_sent_encrypted_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sentEncryptedFile", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_sent_encrypted_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_sent_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sentMessage", cur_token_len)) { - out_int (0x4c3d47f3); - local_next_token (); - if (store_constructor_messages_sent_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.sentMessageLink", cur_token_len)) { - out_int (0x35a1a663); - local_next_token (); - if (store_constructor_messages_sent_message_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_sent_message (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sentMessage", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_sent_message (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.sentMessageLink", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_sent_message_link (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.stickerSet", cur_token_len)) { - out_int (0xb60a24a6); - local_next_token (); - if (store_constructor_messages_sticker_set (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_sticker_set (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.stickerSet", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_sticker_set (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_messages_stickers (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.stickersNotModified", cur_token_len)) { - out_int (0xf1749a22); - local_next_token (); - if (store_constructor_messages_stickers_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.stickers", cur_token_len)) { - out_int (0x8a8ecd32); - local_next_token (); - if (store_constructor_messages_stickers (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_messages_stickers (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.stickersNotModified", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_stickers_not_modified (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.stickers", cur_token_len)) { - local_next_token (); - if (store_constructor_messages_stickers (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_photos_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "photos.photo", cur_token_len)) { - out_int (0x20212ca8); - local_next_token (); - if (store_constructor_photos_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_photos_photo (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 12 && !memcmp (cur_token, "photos.photo", cur_token_len)) { - local_next_token (); - if (store_constructor_photos_photo (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_photos_photos (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "photos.photos", cur_token_len)) { - out_int (0x8dca6aa5); - local_next_token (); - if (store_constructor_photos_photos (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "photos.photosSlice", cur_token_len)) { - out_int (0x15051f54); - local_next_token (); - if (store_constructor_photos_photos_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_photos_photos (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "photos.photos", cur_token_len)) { - local_next_token (); - if (store_constructor_photos_photos (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "photos.photosSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_photos_photos_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_storage_file_type (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.fileUnknown", cur_token_len)) { - out_int (0xaa963b05); - local_next_token (); - if (store_constructor_storage_file_unknown (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileJpeg", cur_token_len)) { - out_int (0x007efe0e); - local_next_token (); - if (store_constructor_storage_file_jpeg (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileGif", cur_token_len)) { - out_int (0xcae1aadf); - local_next_token (); - if (store_constructor_storage_file_gif (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePng", cur_token_len)) { - out_int (0x0a4f63c0); - local_next_token (); - if (store_constructor_storage_file_png (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePdf", cur_token_len)) { - out_int (0xae1e508d); - local_next_token (); - if (store_constructor_storage_file_pdf (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp3", cur_token_len)) { - out_int (0x528a0677); - local_next_token (); - if (store_constructor_storage_file_mp3 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMov", cur_token_len)) { - out_int (0x4b09ebbc); - local_next_token (); - if (store_constructor_storage_file_mov (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.filePartial", cur_token_len)) { - out_int (0x40bc6f52); - local_next_token (); - if (store_constructor_storage_file_partial (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp4", cur_token_len)) { - out_int (0xb3cea0e4); - local_next_token (); - if (store_constructor_storage_file_mp4 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileWebp", cur_token_len)) { - out_int (0x1081464c); - local_next_token (); - if (store_constructor_storage_file_webp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_storage_file_type (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.fileUnknown", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_unknown (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileJpeg", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_jpeg (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileGif", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_gif (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePng", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_png (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.filePdf", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_pdf (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp3", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_mp3 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMov", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_mov (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 19 && !memcmp (cur_token, "storage.filePartial", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_partial (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 15 && !memcmp (cur_token, "storage.fileMp4", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_mp4 (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 16 && !memcmp (cur_token, "storage.fileWebp", cur_token_len)) { - local_next_token (); - if (store_constructor_storage_file_webp (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_updates_difference (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceEmpty", cur_token_len)) { - out_int (0x5d75a138); - local_next_token (); - if (store_constructor_updates_difference_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updates.difference", cur_token_len)) { - out_int (0x00f49ca0); - local_next_token (); - if (store_constructor_updates_difference (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceSlice", cur_token_len)) { - out_int (0xa8fb1981); - local_next_token (); - if (store_constructor_updates_difference_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_updates_difference (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceEmpty", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_difference_empty (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 18 && !memcmp (cur_token, "updates.difference", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_difference (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - if (cur_token_len == 23 && !memcmp (cur_token, "updates.differenceSlice", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_difference_slice (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_updates_state (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "updates.state", cur_token_len)) { - out_int (0xa56c2a3e); - local_next_token (); - if (store_constructor_updates_state (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_updates_state (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 13 && !memcmp (cur_token, "updates.state", cur_token_len)) { - local_next_token (); - if (store_constructor_updates_state (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_upload_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "upload.file", cur_token_len)) { - out_int (0x096a18d5); - local_next_token (); - if (store_constructor_upload_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -int store_type_bare_upload_file (struct paramed_type *T) { - expect_token ("(", 1); - if (cur_token_len < 0) { return -1; } - if (cur_token_len < 0) { return -1; } - if (cur_token_len == 11 && !memcmp (cur_token, "upload.file", cur_token_len)) { - local_next_token (); - if (store_constructor_upload_file (T) < 0) { return -1; } - expect_token (")", 1); - return 0; - } - return -1; -} -struct paramed_type *store_function_account_change_phone (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_check_username (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_delete_account (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "reason", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_account_t_t_l (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb8d0afdf, .id = "AccountDaysTTL", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_authorizations (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1250abde, .id = "account.Authorizations", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_notify_settings (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02b6911b, .id = "InputNotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_notify_peer (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xfdf894fc, .id = "PeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_password (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xeac2a804, .id = "account.Password", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_password_settings (void) { - if (cur_token_len >= 0 && cur_token_len == 21 && !cur_token_quoted && !memcmp (cur_token, "current_password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb7b72ab3, .id = "account.PasswordSettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_privacy (void) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4f96cb18, .id = "InputPrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_privacy_key (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x554abb6f, .id = "account.PrivacyRules", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_get_wall_papers (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xafa14973, .id = "WallPaper", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_register_device (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "token_type", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "token", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "app_sandbox", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field6) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field7) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_reset_authorization (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_reset_notify_settings (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_send_change_phone_code (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa4f58c4c, .id = "account.SentChangePhoneCode", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_set_account_t_t_l (void) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "ttl", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb8d0afdf, .id = "AccountDaysTTL", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_account_days_t_t_l (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_set_privacy (void) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "key", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4f96cb18, .id = "InputPrivacyKey", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_privacy_key (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "rules", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4b815163, .id = "InputPrivacyRule", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x554abb6f, .id = "account.PrivacyRules", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_unregister_device (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "token_type", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "token", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_device_locked (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "period", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_notify_settings (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02b6911b, .id = "InputNotifyPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_notify_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "settings", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x46a2ce98, .id = "InputPeerNotifySettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer_notify_settings (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_password_settings (void) { - if (cur_token_len >= 0 && cur_token_len == 21 && !cur_token_quoted && !memcmp (cur_token, "current_password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "new_settings", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xbcfc532c, .id = "account.PasswordInputSettings", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_account_password_input_settings (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_profile (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_status (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "offline", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_account_update_username (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_bind_temp_auth_key (void) { - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "perm_auth_key_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "expires_at", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 17 && !cur_token_quoted && !memcmp (cur_token, "encrypted_message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_check_password (void) { - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "password_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_check_phone (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x811ea28e, .id = "auth.CheckedPhone", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_export_authorization (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "dc_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xdf969c2d, .id = "auth.ExportedAuthorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_import_authorization (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_import_bot_authorization (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "api_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "bot_auth_token", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_log_out (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_recover_password (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_request_password_recovery (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x137948a5, .id = "auth.PasswordRecovery", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_reset_authorizations (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_send_call (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_send_code (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "sms_type", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "api_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0cc8bc16, .id = "auth.SentCode", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_send_invites (void) { - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "phone_numbers", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_send_sms (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_sign_in (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_auth_sign_up (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "phone_number", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "phone_code_hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "phone_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "first_name", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "last_name", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xff036af1, .id = "auth.Authorization", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_block (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_delete_contact (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3ace484c, .id = "contacts.Link", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_delete_contacts (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_export_card (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_get_blocked (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8c1b8fb4, .id = "contacts.Blocked", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_get_contacts (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd8c02560, .id = "contacts.Contacts", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_get_statuses (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xd3680c61, .id = "ContactStatus", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_get_suggested (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5649dcc5, .id = "contacts.Suggested", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_import_card (void) { - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "export_card", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_import_contacts (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf392b7f4, .id = "InputContact", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "replace", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xad524315, .id = "contacts.ImportedContacts", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_resolve_username (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "username", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_search (void) { - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0566000e, .id = "contacts.Found", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_contacts_unblock (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_checkin (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_create_geo_chat (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_point (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "venue", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_edit_chat_photo (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3a60776d, .id = "InputChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_chat_photo (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_edit_chat_title (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "address", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_get_full_chat (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe5d7d19c, .id = "messages.ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_get_history (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_get_located (void) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_point (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "radius", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x48feb267, .id = "geochats.Located", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_get_recents (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_search (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "filter", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x80895ae0, .id = "MessagesFilter", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_messages_filter (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "min_date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x6d0a0e59, .id = "geochats.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_send_media (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_media (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_send_message (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17b1578b, .id = "geochats.StatedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_geochats_set_typing (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x74d456fa, .id = "InputGeoChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "typing", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_get_app_update (void) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ddd9627, .id = "help.AppUpdate", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_get_config (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4e32b894, .id = "Config", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_get_invite_text (void) { - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x18cb9f78, .id = "help.InviteText", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_get_nearest_dc (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8e1a1775, .id = "NearestDc", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_get_support (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17c6b5f6, .id = "help.Support", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_help_save_app_log (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "events", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x770656a8, .id = "InputAppEvent", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_init_connection (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "api_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "device_model", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "system_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "app_version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field5) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "lang_code", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field7 = store_function_any (); - if (!field7) { return 0; } - if (ODDP(field7)) { return 0; } - struct paramed_type *var0 = field7; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *store_function_invoke_after_msg (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = store_function_any (); - if (!field3) { return 0; } - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *store_function_invoke_after_msgs (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "msg_ids", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = store_function_any (); - if (!field3) { return 0; } - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *store_function_invoke_with_layer (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "layer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = store_function_any (); - if (!field3) { return 0; } - if (ODDP(field3)) { return 0; } - struct paramed_type *var0 = field3; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *store_function_invoke_without_updates (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "query", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = store_function_any (); - if (!field2) { return 0; } - if (ODDP(field2)) { return 0; } - struct paramed_type *var0 = field2; assert (var0); - struct paramed_type *R = - var0; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_accept_encryption (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_b", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_add_chat_user (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "fwd_limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_check_chat_invite (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x94f910b1, .id = "ChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_create_chat (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "users", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_delete_chat_user (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_delete_history (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb45c69d1, .id = "messages.AffectedHistory", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_delete_messages (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x84d19185, .id = "messages.AffectedMessages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_discard_encryption (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_edit_chat_photo (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "photo", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x3a60776d, .id = "InputChatPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_chat_photo (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_edit_chat_title (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "title", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_export_chat_invite (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f132d5, .id = "ExportedChatInvite", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_forward_message (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_forward_messages (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_all_stickers (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb485502f, .id = "messages.AllStickers", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_chats (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x64ff9fd5, .id = "messages.Chats", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_dh_config (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "version", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 13 && !cur_token_quoted && !memcmp (cur_token, "random_length", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xecc058e8, .id = "messages.DhConfig", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_dialogs (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x645af8b3, .id = "messages.Dialogs", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_full_chat (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe5d7d19c, .id = "messages.ChatFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_history (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_messages (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_sticker_set (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb60a24a6, .id = "messages.StickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_stickers (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "emoticon", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7bfa5710, .id = "messages.Stickers", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_get_web_page_preview (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x95f2471a, .id = "MessageMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_import_chat_invite (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "hash", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_install_sticker_set (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_read_encrypted_history (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_read_history (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb45c69d1, .id = "messages.AffectedHistory", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_read_message_contents (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x84d19185, .id = "messages.AffectedMessages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_received_messages (void) { - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa384b779, .id = "ReceivedNotifyMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_received_queue (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "max_qts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_request_encryption (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "g_a", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb1718213, .id = "EncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_search (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "filter", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x80895ae0, .id = "MessagesFilter", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_messages_filter (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "min_date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "max_date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field5) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field6) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field7 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field7) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field8 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field8) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x8735e464, .id = "messages.Messages", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_broadcast (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "contacts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_media (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_encrypted (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_encrypted_file (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0b5c064f, .id = "InputEncryptedFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_file (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_encrypted_service (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "data", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xc29c7607, .id = "messages.SentEncryptedMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_media (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - if (cur_token_len < 0) { return 0; } - if (!is_int ()) { return 0;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field2) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - } - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "media", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xb32c91dd, .id = "InputMedia", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_media (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field5) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_reply_markup (field6) < 0) { return 0;} - } - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_send_message (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "flags", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - if (cur_token_len < 0) { return 0; } - if (!is_int ()) { return 0;} - struct paramed_type *var0 = INT2PTR (get_int ()); - out_int (get_int ()); - assert (var0); - local_next_token (); - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field2) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 0)) { - if (cur_token_len >= 0 && cur_token_len == 15 && !cur_token_quoted && !memcmp (cur_token, "reply_to_msg_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - } - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "message", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field5) < 0) { return 0;} - if (PTR2INT (var0) & (1 << 2)) { - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "reply_markup", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x612ca4a9, .id = "ReplyMarkup", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_reply_markup (field6) < 0) { return 0;} - } - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x799ce190, .id = "messages.SentMessage", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_set_encrypted_typing (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf141b5e1, .id = "InputEncryptedChat", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_encrypted_chat (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "typing", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bool (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_set_typing (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "peer", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9e67268d, .id = "InputPeer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_peer (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "action", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x70541c7e, .id = "SendMessageAction", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_send_message_action (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_start_bot (void) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "bot", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "chat_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "random_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 11 && !cur_token_quoted && !memcmp (cur_token, "start_param", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x22499d27, .id = "Updates", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_messages_uninstall_sticker_set (void) { - if (cur_token_len >= 0 && cur_token_len == 10 && !cur_token_quoted && !memcmp (cur_token, "stickerset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe44d415c, .id = "InputStickerSet", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_sticker_set (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_photos_delete_photos (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_photos_get_user_photos (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "user_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "max_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x98cf75f1, .id = "photos.Photos", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_photos_update_profile_photo (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe74279c9, .id = "InputPhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo_crop (field2) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x9a486229, .id = "UserProfilePhoto", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_photos_upload_profile_photo (void) { - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "file", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x0f60f9ca, .id = "InputFile", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "caption", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "geo_point", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x17768f1f, .id = "InputGeoPoint", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_geo_point (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "crop", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x7477e321, .id = "InputPhotoCrop", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_photo_crop (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x20212ca8, .id = "photos.Photo", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_req_d_h_params (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "p", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 1 && !cur_token_quoted && !memcmp (cur_token, "q", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field4) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 22 && !cur_token_quoted && !memcmp (cur_token, "public_key_fingerprint", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field5 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field5) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "encrypted_data", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field6 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field6) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa9230301, .id = "Server_DH_Params", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_req_pq (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x05162463, .id = "ResPQ", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_set_client_d_h_params (void) { - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 12 && !cur_token_quoted && !memcmp (cur_token, "server_nonce", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x82c93bc6, .id = "Bare_Int128", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int128 (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 14 && !cur_token_quoted && !memcmp (cur_token, "encrypted_data", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x4ad791db, .id = "Bare_String", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_string (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xdb8a468f, .id = "Set_client_DH_params_answer", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_updates_get_difference (void) { - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "pts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 4 && !cur_token_quoted && !memcmp (cur_token, "date", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 3 && !cur_token_quoted && !memcmp (cur_token, "qts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf57a2419, .id = "updates.Difference", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_updates_get_state (void) { - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xa56c2a3e, .id = "updates.State", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_upload_get_file (void) { - if (cur_token_len >= 0 && cur_token_len == 8 && !cur_token_quoted && !memcmp (cur_token, "location", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xe6daa38b, .id = "InputFileLocation", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_file_location (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 6 && !cur_token_quoted && !memcmp (cur_token, "offset", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "limit", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x096a18d5, .id = "upload.File", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_upload_save_big_file_part (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "file_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "file_part", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 16 && !cur_token_quoted && !memcmp (cur_token, "file_total_parts", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field3) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field4 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field4) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_upload_save_file_part (void) { - if (cur_token_len >= 0 && cur_token_len == 7 && !cur_token_quoted && !memcmp (cur_token, "file_id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xddf89345, .id = "Bare_Long", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_long (field1) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 9 && !cur_token_quoted && !memcmp (cur_token, "file_part", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field2 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x57af6425, .id = "Bare_Int", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_int (field2) < 0) { return 0;} - if (cur_token_len >= 0 && cur_token_len == 5 && !cur_token_quoted && !memcmp (cur_token, "bytes", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field3 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xf11ec860, .id = "Bare_Bytes", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_bare_bytes (field3) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x250be282, .id = "Bool", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_users_get_full_user (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }; - if (store_type_input_user (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x5a89ac5b, .id = "UserFull", .params_num = 0, .params_types = 0}, - .params = 0, - }; - return paramed_type_dup (R); -} -struct paramed_type *store_function_users_get_users (void) { - if (cur_token_len >= 0 && cur_token_len == 2 && !cur_token_quoted && !memcmp (cur_token, "id", cur_token_len)) { - local_next_token (); - expect_token_ptr (":", 1); - } - struct paramed_type *field1 = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0xadfe0c6a, .id = "InputUser", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - if (store_type_vector (field1) < 0) { return 0;} - struct paramed_type *R = - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x1cb5c415, .id = "Vector", .params_num = 1, .params_types = 0}, - .params = (struct paramed_type *[]){ - &(struct paramed_type){ - .type = &(struct tl_type_descr) {.name = 0x02e6c0c8, .id = "User", .params_num = 0, .params_types = 0}, - .params = 0, - }, - } - }; - return paramed_type_dup (R); -} -int store_type_any (struct paramed_type *T) { - switch (T->type->name) { - case 0xb8d0afdf: return store_type_account_days_t_t_l (T); - case 0x472f5020: return store_type_bare_account_days_t_t_l (T); - case 0x9fc5ec4e: return store_type_audio (T); - case 0x603a13b1: return store_type_bare_audio (T); - case 0x7bf2e6f6: return store_type_authorization (T); - case 0x840d1909: return store_type_bare_authorization (T); - case 0x250be282: return store_type_bool (T); - case 0xdaf41d7d: return store_type_bare_bool (T); - case 0x75e7ea6c: return store_type_bot_command (T); - case 0x8a181593: return store_type_bare_bot_command (T); - case 0xb2e16f93: return store_type_bot_info (T); - case 0x4d1e906c: return store_type_bare_bot_info (T); - case 0x0ee1379f: return store_type_bytes (T); - case 0xf11ec860: return store_type_bare_bytes (T); - case 0x7bd865dc: return store_type_chat (T); - case 0x84279a23: return store_type_bare_chat (T); - case 0x2e02a614: return store_type_chat_full (T); - case 0xd1fd59eb: return store_type_bare_chat_full (T); - case 0x94f910b1: return store_type_chat_invite (T); - case 0x6b06ef4e: return store_type_bare_chat_invite (T); - case 0x3631cf4c: return store_type_chat_located (T); - case 0xc9ce30b3: return store_type_bare_chat_located (T); - case 0xc8d7493e: return store_type_chat_participant (T); - case 0x3728b6c1: return store_type_bare_chat_participant (T); - case 0x77930f9f: return store_type_chat_participants (T); - case 0x886cf060: return store_type_bare_chat_participants (T); - case 0x56922676: return store_type_chat_photo (T); - case 0xa96dd989: return store_type_bare_chat_photo (T); - case 0x6643b654: return store_type_client_d_h_inner_data (T); - case 0x99bc49ab: return store_type_bare_client_d_h_inner_data (T); - case 0x4e32b894: return store_type_config (T); - case 0xb1cd476b: return store_type_bare_config (T); - case 0xf911c994: return store_type_contact (T); - case 0x06ee366b: return store_type_bare_contact (T); - case 0x561bc879: return store_type_contact_blocked (T); - case 0xa9e43786: return store_type_bare_contact_blocked (T); - case 0xea879f95: return store_type_contact_found (T); - case 0x1578606a: return store_type_bare_contact_found (T); - case 0x522fbc63: return store_type_contact_link (T); - case 0xadd0439c: return store_type_bare_contact_link (T); - case 0xd3680c61: return store_type_contact_status (T); - case 0x2c97f39e: return store_type_bare_contact_status (T); - case 0x3de191a1: return store_type_contact_suggested (T); - case 0xc21e6e5e: return store_type_bare_contact_suggested (T); - case 0x2b1a62f0: return store_type_dc_option (T); - case 0xd4e59d0f: return store_type_bare_dc_option (T); - case 0x535b7918: return store_type_decrypted_message (T); - case 0xaca486e7: return store_type_bare_decrypted_message (T); - case 0x4e0eefde: return store_type_decrypted_message_action (T); - case 0xb1f11021: return store_type_bare_decrypted_message_action (T); - case 0x1be31789: return store_type_decrypted_message_layer (T); - case 0xe41ce876: return store_type_bare_decrypted_message_layer (T); - case 0x34e0d674: return store_type_decrypted_message_media (T); - case 0xcb1f298b: return store_type_bare_decrypted_message_media (T); - case 0xc1dd804a: return store_type_dialog (T); - case 0x3e227fb5: return store_type_bare_dialog (T); - case 0xae636f24: return store_type_disabled_feature (T); - case 0x519c90db: return store_type_bare_disabled_feature (T); - case 0x51a73418: return store_type_document (T); - case 0xae58cbe7: return store_type_bare_document (T); - case 0x97c637a3: return store_type_document_attribute (T); - case 0x6839c85c: return store_type_bare_document_attribute (T); - case 0x2210c154: return store_type_double (T); - case 0xddef3eab: return store_type_bare_double (T); - case 0xb1718213: return store_type_encrypted_chat (T); - case 0x4e8e7dec: return store_type_bare_encrypted_chat (T); - case 0x886fd032: return store_type_encrypted_file (T); - case 0x77902fcd: return store_type_bare_encrypted_file (T); - case 0xce6b8a1e: return store_type_encrypted_message (T); - case 0x319475e1: return store_type_bare_encrypted_message (T); - case 0xc4b9f9bb: return store_type_error (T); - case 0x3b460644: return store_type_bare_error (T); - case 0x95f132d5: return store_type_exported_chat_invite (T); - case 0x6a0ecd2a: return store_type_bare_exported_chat_invite (T); - case 0x2f8ffb30: return store_type_file_location (T); - case 0xd07004cf: return store_type_bare_file_location (T); - case 0xf67b4034: return store_type_geo_chat_message (T); - case 0x0984bfcb: return store_type_bare_geo_chat_message (T); - case 0x315e0a53: return store_type_geo_point (T); - case 0xcea1f5ac: return store_type_bare_geo_point (T); - case 0xd0028438: return store_type_imported_contact (T); - case 0x2ffd7bc7: return store_type_bare_imported_contact (T); - case 0x770656a8: return store_type_input_app_event (T); - case 0x88f9a957: return store_type_bare_input_app_event (T); - case 0xae8e9c7b: return store_type_input_audio (T); - case 0x51716384: return store_type_bare_input_audio (T); - case 0x3a60776d: return store_type_input_chat_photo (T); - case 0xc59f8892: return store_type_bare_input_chat_photo (T); - case 0xf392b7f4: return store_type_input_contact (T); - case 0x0c6d480b: return store_type_bare_input_contact (T); - case 0x6a8963fc: return store_type_input_document (T); - case 0x95769c03: return store_type_bare_input_document (T); - case 0xf141b5e1: return store_type_input_encrypted_chat (T); - case 0x0ebe4a1e: return store_type_bare_input_encrypted_chat (T); - case 0x0b5c064f: return store_type_input_encrypted_file (T); - case 0xf4a3f9b0: return store_type_bare_input_encrypted_file (T); - case 0x0f60f9ca: return store_type_input_file (T); - case 0xf09f0635: return store_type_bare_input_file (T); - case 0xe6daa38b: return store_type_input_file_location (T); - case 0x19255c74: return store_type_bare_input_file_location (T); - case 0x74d456fa: return store_type_input_geo_chat (T); - case 0x8b2ba905: return store_type_bare_input_geo_chat (T); - case 0x17768f1f: return store_type_input_geo_point (T); - case 0xe88970e0: return store_type_bare_input_geo_point (T); - case 0xb32c91dd: return store_type_input_media (T); - case 0x4cd36e22: return store_type_bare_input_media (T); - case 0x02b6911b: return store_type_input_notify_peer (T); - case 0xfd496ee4: return store_type_bare_input_notify_peer (T); - case 0x9e67268d: return store_type_input_peer (T); - case 0x6198d972: return store_type_bare_input_peer (T); - case 0x185a48ac: return store_type_input_peer_notify_events (T); - case 0xe7a5b753: return store_type_bare_input_peer_notify_events (T); - case 0x46a2ce98: return store_type_input_peer_notify_settings (T); - case 0xb95d3167: return store_type_bare_input_peer_notify_settings (T); - case 0xe74279c9: return store_type_input_photo (T); - case 0x18bd8636: return store_type_bare_input_photo (T); - case 0x7477e321: return store_type_input_photo_crop (T); - case 0x8b881cde: return store_type_bare_input_photo_crop (T); - case 0x4f96cb18: return store_type_input_privacy_key (T); - case 0xb06934e7: return store_type_bare_input_privacy_key (T); - case 0x4b815163: return store_type_input_privacy_rule (T); - case 0xb47eae9c: return store_type_bare_input_privacy_rule (T); - case 0xe44d415c: return store_type_input_sticker_set (T); - case 0x1bb2bea3: return store_type_bare_input_sticker_set (T); - case 0xadfe0c6a: return store_type_input_user (T); - case 0x5201f395: return store_type_bare_input_user (T); - case 0xbb5f7a27: return store_type_input_video (T); - case 0x44a085d8: return store_type_bare_input_video (T); - case 0xa8509bda: return store_type_int (T); - case 0x57af6425: return store_type_bare_int (T); - case 0x7d36c439: return store_type_int128 (T); - case 0x82c93bc6: return store_type_bare_int128 (T); - case 0xf2c798b3: return store_type_int256 (T); - case 0x0d38674c: return store_type_bare_int256 (T); - case 0xa2fa4880: return store_type_keyboard_button (T); - case 0x5d05b77f: return store_type_bare_keyboard_button (T); - case 0x77608b83: return store_type_keyboard_button_row (T); - case 0x889f747c: return store_type_bare_keyboard_button_row (T); - case 0x22076cba: return store_type_long (T); - case 0xddf89345: return store_type_bare_long (T); - case 0x5d652a7f: return store_type_message (T); - case 0xa29ad580: return store_type_bare_message (T); - case 0x383415fa: return store_type_message_action (T); - case 0xc7cbea05: return store_type_bare_message_action (T); - case 0x95f2471a: return store_type_message_media (T); - case 0x6a0db8e5: return store_type_bare_message_media (T); - case 0x80895ae0: return store_type_messages_filter (T); - case 0x7f76a51f: return store_type_bare_messages_filter (T); - case 0x8e1a1775: return store_type_nearest_dc (T); - case 0x71e5e88a: return store_type_bare_nearest_dc (T); - case 0x9fcb8237: return store_type_notify_peer (T); - case 0x60347dc8: return store_type_bare_notify_peer (T); - case 0x56730bcc: return store_type_null (T); - case 0xa98cf433: return store_type_bare_null (T); - case 0xbfa3de38: return store_type_p_q_inner_data (T); - case 0x405c21c7: return store_type_bare_p_q_inner_data (T); - case 0x276159d6: return store_type_peer (T); - case 0xd89ea629: return store_type_bare_peer (T); - case 0xc0c8d13b: return store_type_peer_notify_events (T); - case 0x3f372ec4: return store_type_bare_peer_notify_events (T); - case 0xfdf894fc: return store_type_peer_notify_settings (T); - case 0x02076b03: return store_type_bare_peer_notify_settings (T); - case 0xc207550a: return store_type_photo (T); - case 0x3df8aaf5: return store_type_bare_photo (T); - case 0x900f60dd: return store_type_photo_size (T); - case 0x6ff09f22: return store_type_bare_photo_size (T); - case 0xbc2eab30: return store_type_privacy_key (T); - case 0x43d154cf: return store_type_bare_privacy_key (T); - case 0xa8638aec: return store_type_privacy_rule (T); - case 0x579c7513: return store_type_bare_privacy_rule (T); - case 0xa384b779: return store_type_received_notify_message (T); - case 0x5c7b4886: return store_type_bare_received_notify_message (T); - case 0x612ca4a9: return store_type_reply_markup (T); - case 0x9ed35b56: return store_type_bare_reply_markup (T); - case 0x05162463: return store_type_res_p_q (T); - case 0xfae9db9c: return store_type_bare_res_p_q (T); - case 0x70541c7e: return store_type_send_message_action (T); - case 0x8fabe381: return store_type_bare_send_message_action (T); - case 0xa9230301: return store_type_server_d_h_params (T); - case 0x56dcfcfe: return store_type_bare_server_d_h_params (T); - case 0xb5890dba: return store_type_server_d_h_inner_data (T); - case 0x4a76f245: return store_type_bare_server_d_h_inner_data (T); - case 0xdb8a468f: return store_type_set_client_d_h_params_answer (T); - case 0x2475b970: return store_type_bare_set_client_d_h_params_answer (T); - case 0x12b299d4: return store_type_sticker_pack (T); - case 0xed4d662b: return store_type_bare_sticker_pack (T); - case 0xa7a43b17: return store_type_sticker_set (T); - case 0x585bc4e8: return store_type_bare_sticker_set (T); - case 0xb5286e24: return store_type_string (T); - case 0x4ad791db: return store_type_bare_string (T); - case 0x2e02b27e: return store_type_update (T); - case 0xd1fd4d81: return store_type_bare_update (T); - case 0x22499d27: return store_type_updates (T); - case 0xddb662d8: return store_type_bare_updates (T); - case 0x02e6c0c8: return store_type_user (T); - case 0xfd193f37: return store_type_bare_user (T); - case 0x5a89ac5b: return store_type_user_full (T); - case 0xa57653a4: return store_type_bare_user_full (T); - case 0x9a486229: return store_type_user_profile_photo (T); - case 0x65b79dd6: return store_type_bare_user_profile_photo (T); - case 0x76de9570: return store_type_user_status (T); - case 0x89216a8f: return store_type_bare_user_status (T); - case 0x1cb5c415: return store_type_vector (T); - case 0xe34a3bea: return store_type_bare_vector (T); - case 0x1716b174: return store_type_video (T); - case 0xe8e94e8b: return store_type_bare_video (T); - case 0xafa14973: return store_type_wall_paper (T); - case 0x505eb68c: return store_type_bare_wall_paper (T); - case 0x8d8c0d41: return store_type_web_page (T); - case 0x7273f2be: return store_type_bare_web_page (T); - case 0x1250abde: return store_type_account_authorizations (T); - case 0xedaf5421: return store_type_bare_account_authorizations (T); - case 0xeac2a804: return store_type_account_password (T); - case 0x153d57fb: return store_type_bare_account_password (T); - case 0xbcfc532c: return store_type_account_password_input_settings (T); - case 0x4303acd3: return store_type_bare_account_password_input_settings (T); - case 0xb7b72ab3: return store_type_account_password_settings (T); - case 0x4848d54c: return store_type_bare_account_password_settings (T); - case 0x554abb6f: return store_type_account_privacy_rules (T); - case 0xaab54490: return store_type_bare_account_privacy_rules (T); - case 0xa4f58c4c: return store_type_account_sent_change_phone_code (T); - case 0x5b0a73b3: return store_type_bare_account_sent_change_phone_code (T); - case 0xff036af1: return store_type_auth_authorization (T); - case 0x00fc950e: return store_type_bare_auth_authorization (T); - case 0x811ea28e: return store_type_auth_checked_phone (T); - case 0x7ee15d71: return store_type_bare_auth_checked_phone (T); - case 0xdf969c2d: return store_type_auth_exported_authorization (T); - case 0x206963d2: return store_type_bare_auth_exported_authorization (T); - case 0x137948a5: return store_type_auth_password_recovery (T); - case 0xec86b75a: return store_type_bare_auth_password_recovery (T); - case 0x0cc8bc16: return store_type_auth_sent_code (T); - case 0xf33743e9: return store_type_bare_auth_sent_code (T); - case 0x0377168f: return store_type_binlog_encr_key (T); - case 0xfc88e970: return store_type_bare_binlog_encr_key (T); - case 0x66ff03a6: return store_type_binlog_update (T); - case 0x9900fc59: return store_type_bare_binlog_update (T); - case 0x8c1b8fb4: return store_type_contacts_blocked (T); - case 0x73e4704b: return store_type_bare_contacts_blocked (T); - case 0xd8c02560: return store_type_contacts_contacts (T); - case 0x273fda9f: return store_type_bare_contacts_contacts (T); - case 0x0566000e: return store_type_contacts_found (T); - case 0xfa99fff1: return store_type_bare_contacts_found (T); - case 0xad524315: return store_type_contacts_imported_contacts (T); - case 0x52adbcea: return store_type_bare_contacts_imported_contacts (T); - case 0x3ace484c: return store_type_contacts_link (T); - case 0xc531b7b3: return store_type_bare_contacts_link (T); - case 0x5649dcc5: return store_type_contacts_suggested (T); - case 0xa9b6233a: return store_type_bare_contacts_suggested (T); - case 0x48feb267: return store_type_geochats_located (T); - case 0xb7014d98: return store_type_bare_geochats_located (T); - case 0x6d0a0e59: return store_type_geochats_messages (T); - case 0x92f5f1a6: return store_type_bare_geochats_messages (T); - case 0x17b1578b: return store_type_geochats_stated_message (T); - case 0xe84ea874: return store_type_bare_geochats_stated_message (T); - case 0x4ddd9627: return store_type_help_app_update (T); - case 0xb22269d8: return store_type_bare_help_app_update (T); - case 0x18cb9f78: return store_type_help_invite_text (T); - case 0xe7346087: return store_type_bare_help_invite_text (T); - case 0x17c6b5f6: return store_type_help_support (T); - case 0xe8394a09: return store_type_bare_help_support (T); - case 0xb45c69d1: return store_type_messages_affected_history (T); - case 0x4ba3962e: return store_type_bare_messages_affected_history (T); - case 0x84d19185: return store_type_messages_affected_messages (T); - case 0x7b2e6e7a: return store_type_bare_messages_affected_messages (T); - case 0xb485502f: return store_type_messages_all_stickers (T); - case 0x4b7aafd0: return store_type_bare_messages_all_stickers (T); - case 0xe5d7d19c: return store_type_messages_chat_full (T); - case 0x1a282e63: return store_type_bare_messages_chat_full (T); - case 0x64ff9fd5: return store_type_messages_chats (T); - case 0x9b00602a: return store_type_bare_messages_chats (T); - case 0xecc058e8: return store_type_messages_dh_config (T); - case 0x133fa717: return store_type_bare_messages_dh_config (T); - case 0x645af8b3: return store_type_messages_dialogs (T); - case 0x9ba5074c: return store_type_bare_messages_dialogs (T); - case 0x3f4e0648: return store_type_messages_message (T); - case 0xc0b1f9b7: return store_type_bare_messages_message (T); - case 0x8735e464: return store_type_messages_messages (T); - case 0x78ca1b9b: return store_type_bare_messages_messages (T); - case 0xc29c7607: return store_type_messages_sent_encrypted_message (T); - case 0x3d6389f8: return store_type_bare_messages_sent_encrypted_message (T); - case 0x799ce190: return store_type_messages_sent_message (T); - case 0x86631e6f: return store_type_bare_messages_sent_message (T); - case 0xb60a24a6: return store_type_messages_sticker_set (T); - case 0x49f5db59: return store_type_bare_messages_sticker_set (T); - case 0x7bfa5710: return store_type_messages_stickers (T); - case 0x8405a8ef: return store_type_bare_messages_stickers (T); - case 0x20212ca8: return store_type_photos_photo (T); - case 0xdfded357: return store_type_bare_photos_photo (T); - case 0x98cf75f1: return store_type_photos_photos (T); - case 0x67308a0e: return store_type_bare_photos_photos (T); - case 0x3e2838a8: return store_type_storage_file_type (T); - case 0xc1d7c757: return store_type_bare_storage_file_type (T); - case 0xf57a2419: return store_type_updates_difference (T); - case 0x0a85dbe6: return store_type_bare_updates_difference (T); - case 0xa56c2a3e: return store_type_updates_state (T); - case 0x5a93d5c1: return store_type_bare_updates_state (T); - case 0x096a18d5: return store_type_upload_file (T); - case 0xf695e72a: return store_type_bare_upload_file (T); - default: return -1; } -} -struct paramed_type *store_function_any (void) { - if (cur_token_len != 1 || *cur_token != '(') { return 0; } - local_next_token (); - if (cur_token_len == 1 || *cur_token == '.') { - local_next_token (); - if (cur_token_len != 1 || *cur_token != '=') { return 0; } - local_next_token (); - }; - if (cur_token_len < 0) { return 0; } - if (cur_token_len == 19 && !memcmp (cur_token, "account.changePhone", cur_token_len)) { - out_int (0x70c32edb); - local_next_token (); - struct paramed_type *P = store_function_account_change_phone (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.checkUsername", cur_token_len)) { - out_int (0x2714d86c); - local_next_token (); - struct paramed_type *P = store_function_account_check_username (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.deleteAccount", cur_token_len)) { - out_int (0x418d4e0b); - local_next_token (); - struct paramed_type *P = store_function_account_delete_account (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.getAccountTTL", cur_token_len)) { - out_int (0x08fc711d); - local_next_token (); - struct paramed_type *P = store_function_account_get_account_t_t_l (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "account.getAuthorizations", cur_token_len)) { - out_int (0xe320c158); - local_next_token (); - struct paramed_type *P = store_function_account_get_authorizations (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "account.getNotifySettings", cur_token_len)) { - out_int (0x12b3ad31); - local_next_token (); - struct paramed_type *P = store_function_account_get_notify_settings (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "account.getPassword", cur_token_len)) { - out_int (0x548a30f5); - local_next_token (); - struct paramed_type *P = store_function_account_get_password (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.getPasswordSettings", cur_token_len)) { - out_int (0xbc8d11bb); - local_next_token (); - struct paramed_type *P = store_function_account_get_password_settings (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "account.getPrivacy", cur_token_len)) { - out_int (0xdadbc950); - local_next_token (); - struct paramed_type *P = store_function_account_get_privacy (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.getWallPapers", cur_token_len)) { - out_int (0xc04cfac2); - local_next_token (); - struct paramed_type *P = store_function_account_get_wall_papers (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "account.registerDevice", cur_token_len)) { - out_int (0x446c712c); - local_next_token (); - struct paramed_type *P = store_function_account_register_device (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "account.resetAuthorization", cur_token_len)) { - out_int (0xdf77f3bc); - local_next_token (); - struct paramed_type *P = store_function_account_reset_authorization (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.resetNotifySettings", cur_token_len)) { - out_int (0xdb7e1747); - local_next_token (); - struct paramed_type *P = store_function_account_reset_notify_settings (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "account.sendChangePhoneCode", cur_token_len)) { - out_int (0xa407a8f4); - local_next_token (); - struct paramed_type *P = store_function_account_send_change_phone_code (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.setAccountTTL", cur_token_len)) { - out_int (0x2442485e); - local_next_token (); - struct paramed_type *P = store_function_account_set_account_t_t_l (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "account.setPrivacy", cur_token_len)) { - out_int (0xc9f81ce8); - local_next_token (); - struct paramed_type *P = store_function_account_set_privacy (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "account.unregisterDevice", cur_token_len)) { - out_int (0x65c55b40); - local_next_token (); - struct paramed_type *P = store_function_account_unregister_device (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "account.updateDeviceLocked", cur_token_len)) { - out_int (0x38df3532); - local_next_token (); - struct paramed_type *P = store_function_account_update_device_locked (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "account.updateNotifySettings", cur_token_len)) { - out_int (0x84be5b93); - local_next_token (); - struct paramed_type *P = store_function_account_update_notify_settings (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 30 && !memcmp (cur_token, "account.updatePasswordSettings", cur_token_len)) { - out_int (0xfa7c4b86); - local_next_token (); - struct paramed_type *P = store_function_account_update_password_settings (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "account.updateProfile", cur_token_len)) { - out_int (0xf0888d68); - local_next_token (); - struct paramed_type *P = store_function_account_update_profile (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "account.updateStatus", cur_token_len)) { - out_int (0x6628562c); - local_next_token (); - struct paramed_type *P = store_function_account_update_status (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "account.updateUsername", cur_token_len)) { - out_int (0x3e0bdd7c); - local_next_token (); - struct paramed_type *P = store_function_account_update_username (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "auth.bindTempAuthKey", cur_token_len)) { - out_int (0xcdd42a05); - local_next_token (); - struct paramed_type *P = store_function_auth_bind_temp_auth_key (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "auth.checkPassword", cur_token_len)) { - out_int (0x0a63011e); - local_next_token (); - struct paramed_type *P = store_function_auth_check_password (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "auth.checkPhone", cur_token_len)) { - out_int (0x6fe51dfb); - local_next_token (); - struct paramed_type *P = store_function_auth_check_phone (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.exportAuthorization", cur_token_len)) { - out_int (0xe5bfffcd); - local_next_token (); - struct paramed_type *P = store_function_auth_export_authorization (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.importAuthorization", cur_token_len)) { - out_int (0xe3ef9613); - local_next_token (); - struct paramed_type *P = store_function_auth_import_authorization (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "auth.importBotAuthorization", cur_token_len)) { - out_int (0x67a3ff2c); - local_next_token (); - struct paramed_type *P = store_function_auth_import_bot_authorization (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.logOut", cur_token_len)) { - out_int (0x5717da40); - local_next_token (); - struct paramed_type *P = store_function_auth_log_out (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "auth.recoverPassword", cur_token_len)) { - out_int (0x4ea56e92); - local_next_token (); - struct paramed_type *P = store_function_auth_recover_password (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "auth.requestPasswordRecovery", cur_token_len)) { - out_int (0xd897bc66); - local_next_token (); - struct paramed_type *P = store_function_auth_request_password_recovery (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "auth.resetAuthorizations", cur_token_len)) { - out_int (0x9fab0d1a); - local_next_token (); - struct paramed_type *P = store_function_auth_reset_authorizations (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sendCall", cur_token_len)) { - out_int (0x03c51564); - local_next_token (); - struct paramed_type *P = store_function_auth_send_call (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "auth.sendCode", cur_token_len)) { - out_int (0x768d5f4d); - local_next_token (); - struct paramed_type *P = store_function_auth_send_code (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "auth.sendInvites", cur_token_len)) { - out_int (0x771c1d97); - local_next_token (); - struct paramed_type *P = store_function_auth_send_invites (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 12 && !memcmp (cur_token, "auth.sendSms", cur_token_len)) { - out_int (0x0da9f3e8); - local_next_token (); - struct paramed_type *P = store_function_auth_send_sms (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.signIn", cur_token_len)) { - out_int (0xbcd51581); - local_next_token (); - struct paramed_type *P = store_function_auth_sign_in (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 11 && !memcmp (cur_token, "auth.signUp", cur_token_len)) { - out_int (0x1b067634); - local_next_token (); - struct paramed_type *P = store_function_auth_sign_up (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "contacts.block", cur_token_len)) { - out_int (0x332b49fc); - local_next_token (); - struct paramed_type *P = store_function_contacts_block (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "contacts.deleteContact", cur_token_len)) { - out_int (0x8e953744); - local_next_token (); - struct paramed_type *P = store_function_contacts_delete_contact (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "contacts.deleteContacts", cur_token_len)) { - out_int (0x59ab389e); - local_next_token (); - struct paramed_type *P = store_function_contacts_delete_contacts (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.exportCard", cur_token_len)) { - out_int (0x84e53737); - local_next_token (); - struct paramed_type *P = store_function_contacts_export_card (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.getBlocked", cur_token_len)) { - out_int (0xf57c350f); - local_next_token (); - struct paramed_type *P = store_function_contacts_get_blocked (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "contacts.getContacts", cur_token_len)) { - out_int (0x22c6aa08); - local_next_token (); - struct paramed_type *P = store_function_contacts_get_contacts (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "contacts.getStatuses", cur_token_len)) { - out_int (0xc4a353ee); - local_next_token (); - struct paramed_type *P = store_function_contacts_get_statuses (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "contacts.getSuggested", cur_token_len)) { - out_int (0xcd773428); - local_next_token (); - struct paramed_type *P = store_function_contacts_get_suggested (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "contacts.importCard", cur_token_len)) { - out_int (0x4fe196fe); - local_next_token (); - struct paramed_type *P = store_function_contacts_import_card (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "contacts.importContacts", cur_token_len)) { - out_int (0xda30b32d); - local_next_token (); - struct paramed_type *P = store_function_contacts_import_contacts (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "contacts.resolveUsername", cur_token_len)) { - out_int (0x0bf0131c); - local_next_token (); - struct paramed_type *P = store_function_contacts_resolve_username (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "contacts.search", cur_token_len)) { - out_int (0x11f812d8); - local_next_token (); - struct paramed_type *P = store_function_contacts_search (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "contacts.unblock", cur_token_len)) { - out_int (0xe54100bd); - local_next_token (); - struct paramed_type *P = store_function_contacts_unblock (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "geochats.checkin", cur_token_len)) { - out_int (0x55b3e8fb); - local_next_token (); - struct paramed_type *P = store_function_geochats_checkin (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.createGeoChat", cur_token_len)) { - out_int (0x0e092e16); - local_next_token (); - struct paramed_type *P = store_function_geochats_create_geo_chat (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.editChatPhoto", cur_token_len)) { - out_int (0x35d81a95); - local_next_token (); - struct paramed_type *P = store_function_geochats_edit_chat_photo (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "geochats.editChatTitle", cur_token_len)) { - out_int (0x4c8e2273); - local_next_token (); - struct paramed_type *P = store_function_geochats_edit_chat_title (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "geochats.getFullChat", cur_token_len)) { - out_int (0x6722dd6f); - local_next_token (); - struct paramed_type *P = store_function_geochats_get_full_chat (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getHistory", cur_token_len)) { - out_int (0xb53f7a68); - local_next_token (); - struct paramed_type *P = store_function_geochats_get_history (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getLocated", cur_token_len)) { - out_int (0x7f192d8f); - local_next_token (); - struct paramed_type *P = store_function_geochats_get_located (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "geochats.getRecents", cur_token_len)) { - out_int (0xe1427e6f); - local_next_token (); - struct paramed_type *P = store_function_geochats_get_recents (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "geochats.search", cur_token_len)) { - out_int (0xcfcdc44d); - local_next_token (); - struct paramed_type *P = store_function_geochats_search (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "geochats.sendMedia", cur_token_len)) { - out_int (0xb8f0deff); - local_next_token (); - struct paramed_type *P = store_function_geochats_send_media (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "geochats.sendMessage", cur_token_len)) { - out_int (0x061b0044); - local_next_token (); - struct paramed_type *P = store_function_geochats_send_message (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "geochats.setTyping", cur_token_len)) { - out_int (0x08b8a729); - local_next_token (); - struct paramed_type *P = store_function_geochats_set_typing (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "help.getAppUpdate", cur_token_len)) { - out_int (0xc812ac7e); - local_next_token (); - struct paramed_type *P = store_function_help_get_app_update (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "help.getConfig", cur_token_len)) { - out_int (0xc4f9186b); - local_next_token (); - struct paramed_type *P = store_function_help_get_config (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "help.getInviteText", cur_token_len)) { - out_int (0xa4a95186); - local_next_token (); - struct paramed_type *P = store_function_help_get_invite_text (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "help.getNearestDc", cur_token_len)) { - out_int (0x1fb33026); - local_next_token (); - struct paramed_type *P = store_function_help_get_nearest_dc (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "help.getSupport", cur_token_len)) { - out_int (0x9cdf08cd); - local_next_token (); - struct paramed_type *P = store_function_help_get_support (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "help.saveAppLog", cur_token_len)) { - out_int (0x6f02f748); - local_next_token (); - struct paramed_type *P = store_function_help_save_app_log (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "initConnection", cur_token_len)) { - out_int (0x69796de9); - local_next_token (); - struct paramed_type *P = store_function_init_connection (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "invokeAfterMsg", cur_token_len)) { - out_int (0xcb9f372d); - local_next_token (); - struct paramed_type *P = store_function_invoke_after_msg (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "invokeAfterMsgs", cur_token_len)) { - out_int (0x3dc4b4f0); - local_next_token (); - struct paramed_type *P = store_function_invoke_after_msgs (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "invokeWithLayer", cur_token_len)) { - out_int (0xda9b0d0d); - local_next_token (); - struct paramed_type *P = store_function_invoke_with_layer (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "invokeWithoutUpdates", cur_token_len)) { - out_int (0xbf9459b7); - local_next_token (); - struct paramed_type *P = store_function_invoke_without_updates (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.acceptEncryption", cur_token_len)) { - out_int (0x3dbc0415); - local_next_token (); - struct paramed_type *P = store_function_messages_accept_encryption (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.addChatUser", cur_token_len)) { - out_int (0xf9a0aa09); - local_next_token (); - struct paramed_type *P = store_function_messages_add_chat_user (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.checkChatInvite", cur_token_len)) { - out_int (0x3eadb1bb); - local_next_token (); - struct paramed_type *P = store_function_messages_check_chat_invite (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.createChat", cur_token_len)) { - out_int (0x09cb126e); - local_next_token (); - struct paramed_type *P = store_function_messages_create_chat (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.deleteChatUser", cur_token_len)) { - out_int (0xe0611f16); - local_next_token (); - struct paramed_type *P = store_function_messages_delete_chat_user (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.deleteHistory", cur_token_len)) { - out_int (0xf4f8fb61); - local_next_token (); - struct paramed_type *P = store_function_messages_delete_history (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.deleteMessages", cur_token_len)) { - out_int (0xa5f18925); - local_next_token (); - struct paramed_type *P = store_function_messages_delete_messages (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.discardEncryption", cur_token_len)) { - out_int (0xedd923c5); - local_next_token (); - struct paramed_type *P = store_function_messages_discard_encryption (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.editChatPhoto", cur_token_len)) { - out_int (0xca4c79d8); - local_next_token (); - struct paramed_type *P = store_function_messages_edit_chat_photo (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.editChatTitle", cur_token_len)) { - out_int (0xdc452855); - local_next_token (); - struct paramed_type *P = store_function_messages_edit_chat_title (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.exportChatInvite", cur_token_len)) { - out_int (0x7d885289); - local_next_token (); - struct paramed_type *P = store_function_messages_export_chat_invite (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.forwardMessage", cur_token_len)) { - out_int (0x33963bf9); - local_next_token (); - struct paramed_type *P = store_function_messages_forward_message (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 24 && !memcmp (cur_token, "messages.forwardMessages", cur_token_len)) { - out_int (0x55e1728d); - local_next_token (); - struct paramed_type *P = store_function_messages_forward_messages (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 23 && !memcmp (cur_token, "messages.getAllStickers", cur_token_len)) { - out_int (0xaa3bc868); - local_next_token (); - struct paramed_type *P = store_function_messages_get_all_stickers (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.getChats", cur_token_len)) { - out_int (0x3c6aa187); - local_next_token (); - struct paramed_type *P = store_function_messages_get_chats (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getDhConfig", cur_token_len)) { - out_int (0x26cf8950); - local_next_token (); - struct paramed_type *P = store_function_messages_get_dh_config (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.getDialogs", cur_token_len)) { - out_int (0xeccf1df6); - local_next_token (); - struct paramed_type *P = store_function_messages_get_dialogs (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getFullChat", cur_token_len)) { - out_int (0x3b831c66); - local_next_token (); - struct paramed_type *P = store_function_messages_get_full_chat (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "messages.getHistory", cur_token_len)) { - out_int (0x92a1df2f); - local_next_token (); - struct paramed_type *P = store_function_messages_get_history (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getMessages", cur_token_len)) { - out_int (0x4222fa74); - local_next_token (); - struct paramed_type *P = store_function_messages_get_messages (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.getStickerSet", cur_token_len)) { - out_int (0x2619a90e); - local_next_token (); - struct paramed_type *P = store_function_messages_get_sticker_set (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.getStickers", cur_token_len)) { - out_int (0xae22e045); - local_next_token (); - struct paramed_type *P = store_function_messages_get_stickers (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.getWebPagePreview", cur_token_len)) { - out_int (0x25223e24); - local_next_token (); - struct paramed_type *P = store_function_messages_get_web_page_preview (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.importChatInvite", cur_token_len)) { - out_int (0x6c50051c); - local_next_token (); - struct paramed_type *P = store_function_messages_import_chat_invite (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.installStickerSet", cur_token_len)) { - out_int (0xefbbfae9); - local_next_token (); - struct paramed_type *P = store_function_messages_install_sticker_set (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.readEncryptedHistory", cur_token_len)) { - out_int (0x7f4b690a); - local_next_token (); - struct paramed_type *P = store_function_messages_read_encrypted_history (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.readHistory", cur_token_len)) { - out_int (0xb04f2510); - local_next_token (); - struct paramed_type *P = store_function_messages_read_history (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.readMessageContents", cur_token_len)) { - out_int (0x36a73f77); - local_next_token (); - struct paramed_type *P = store_function_messages_read_message_contents (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "messages.receivedMessages", cur_token_len)) { - out_int (0x05a954c0); - local_next_token (); - struct paramed_type *P = store_function_messages_received_messages (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.receivedQueue", cur_token_len)) { - out_int (0x55a5bb66); - local_next_token (); - struct paramed_type *P = store_function_messages_received_queue (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.requestEncryption", cur_token_len)) { - out_int (0xf64daf43); - local_next_token (); - struct paramed_type *P = store_function_messages_request_encryption (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 15 && !memcmp (cur_token, "messages.search", cur_token_len)) { - out_int (0x07e9f2ab); - local_next_token (); - struct paramed_type *P = store_function_messages_search (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.sendBroadcast", cur_token_len)) { - out_int (0xbf73f4da); - local_next_token (); - struct paramed_type *P = store_function_messages_send_broadcast (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "messages.sendEncrypted", cur_token_len)) { - out_int (0xa9776773); - local_next_token (); - struct paramed_type *P = store_function_messages_send_encrypted (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 26 && !memcmp (cur_token, "messages.sendEncryptedFile", cur_token_len)) { - out_int (0x9a901b66); - local_next_token (); - struct paramed_type *P = store_function_messages_send_encrypted_file (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 29 && !memcmp (cur_token, "messages.sendEncryptedService", cur_token_len)) { - out_int (0x32d439a4); - local_next_token (); - struct paramed_type *P = store_function_messages_send_encrypted_service (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "messages.sendMedia", cur_token_len)) { - out_int (0xc8f16791); - local_next_token (); - struct paramed_type *P = store_function_messages_send_media (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "messages.sendMessage", cur_token_len)) { - out_int (0xfc55e6b5); - local_next_token (); - struct paramed_type *P = store_function_messages_send_message (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 27 && !memcmp (cur_token, "messages.setEncryptedTyping", cur_token_len)) { - out_int (0x791451ed); - local_next_token (); - struct paramed_type *P = store_function_messages_set_encrypted_typing (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 18 && !memcmp (cur_token, "messages.setTyping", cur_token_len)) { - out_int (0xa3825e50); - local_next_token (); - struct paramed_type *P = store_function_messages_set_typing (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "messages.startBot", cur_token_len)) { - out_int (0x1b3e0ffc); - local_next_token (); - struct paramed_type *P = store_function_messages_start_bot (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 28 && !memcmp (cur_token, "messages.uninstallStickerSet", cur_token_len)) { - out_int (0xf96e55de); - local_next_token (); - struct paramed_type *P = store_function_messages_uninstall_sticker_set (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "photos.deletePhotos", cur_token_len)) { - out_int (0x87cf7f2f); - local_next_token (); - struct paramed_type *P = store_function_photos_delete_photos (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "photos.getUserPhotos", cur_token_len)) { - out_int (0xb7ee553c); - local_next_token (); - struct paramed_type *P = store_function_photos_get_user_photos (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "photos.updateProfilePhoto", cur_token_len)) { - out_int (0xeef579a0); - local_next_token (); - struct paramed_type *P = store_function_photos_update_profile_photo (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 25 && !memcmp (cur_token, "photos.uploadProfilePhoto", cur_token_len)) { - out_int (0xd50f9c88); - local_next_token (); - struct paramed_type *P = store_function_photos_upload_profile_photo (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 13 && !memcmp (cur_token, "req_DH_params", cur_token_len)) { - out_int (0xd712e4be); - local_next_token (); - struct paramed_type *P = store_function_req_d_h_params (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 6 && !memcmp (cur_token, "req_pq", cur_token_len)) { - out_int (0x60469778); - local_next_token (); - struct paramed_type *P = store_function_req_pq (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 20 && !memcmp (cur_token, "set_client_DH_params", cur_token_len)) { - out_int (0xf5045f1f); - local_next_token (); - struct paramed_type *P = store_function_set_client_d_h_params (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 21 && !memcmp (cur_token, "updates.getDifference", cur_token_len)) { - out_int (0x0a041495); - local_next_token (); - struct paramed_type *P = store_function_updates_get_difference (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 16 && !memcmp (cur_token, "updates.getState", cur_token_len)) { - out_int (0xedd4882a); - local_next_token (); - struct paramed_type *P = store_function_updates_get_state (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "upload.getFile", cur_token_len)) { - out_int (0xe3a6cfb5); - local_next_token (); - struct paramed_type *P = store_function_upload_get_file (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 22 && !memcmp (cur_token, "upload.saveBigFilePart", cur_token_len)) { - out_int (0xde7b673d); - local_next_token (); - struct paramed_type *P = store_function_upload_save_big_file_part (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 19 && !memcmp (cur_token, "upload.saveFilePart", cur_token_len)) { - out_int (0xb304a621); - local_next_token (); - struct paramed_type *P = store_function_upload_save_file_part (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 17 && !memcmp (cur_token, "users.getFullUser", cur_token_len)) { - out_int (0xca30a5b1); - local_next_token (); - struct paramed_type *P = store_function_users_get_full_user (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - if (cur_token_len == 14 && !memcmp (cur_token, "users.getUsers", cur_token_len)) { - out_int (0x0d91a548); - local_next_token (); - struct paramed_type *P = store_function_users_get_users (); - if (!P) { return 0; } - if (cur_token_len != 1 || *cur_token != ')') { return 0; } - local_next_token (); - return P; - } - return 0; -} diff --git a/libs/tgl/src/auto/auto-store.h b/libs/tgl/src/auto/auto-store.h deleted file mode 100644 index 9a7a737ad2..0000000000 --- a/libs/tgl/src/auto/auto-store.h +++ /dev/null @@ -1,848 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -#include -struct paramed_type *tglf_extf_store (struct tgl_state *TLS, const char *data, int data_len); -int tglf_store_type (struct tgl_state *TLS, const char *work, int work_len, struct paramed_type *P); -int store_constructor_account_days_t_t_l (struct paramed_type *T); -int store_constructor_audio_empty (struct paramed_type *T); -int store_constructor_audio (struct paramed_type *T); -int store_constructor_authorization (struct paramed_type *T); -int store_constructor_bool_false (struct paramed_type *T); -int store_constructor_bool_true (struct paramed_type *T); -int store_constructor_bot_command (struct paramed_type *T); -int store_constructor_bot_command_old (struct paramed_type *T); -int store_constructor_bot_info_empty (struct paramed_type *T); -int store_constructor_bot_info (struct paramed_type *T); -int store_constructor_bytes (struct paramed_type *T); -int store_constructor_chat_empty (struct paramed_type *T); -int store_constructor_chat (struct paramed_type *T); -int store_constructor_chat_forbidden (struct paramed_type *T); -int store_constructor_geo_chat (struct paramed_type *T); -int store_constructor_chat_full (struct paramed_type *T); -int store_constructor_chat_invite_already (struct paramed_type *T); -int store_constructor_chat_invite (struct paramed_type *T); -int store_constructor_chat_located (struct paramed_type *T); -int store_constructor_chat_participant (struct paramed_type *T); -int store_constructor_chat_participants_forbidden (struct paramed_type *T); -int store_constructor_chat_participants (struct paramed_type *T); -int store_constructor_chat_photo_empty (struct paramed_type *T); -int store_constructor_chat_photo (struct paramed_type *T); -int store_constructor_client_d_h_inner_data (struct paramed_type *T); -int store_constructor_config (struct paramed_type *T); -int store_constructor_contact (struct paramed_type *T); -int store_constructor_contact_blocked (struct paramed_type *T); -int store_constructor_contact_found (struct paramed_type *T); -int store_constructor_contact_link_unknown (struct paramed_type *T); -int store_constructor_contact_link_none (struct paramed_type *T); -int store_constructor_contact_link_has_phone (struct paramed_type *T); -int store_constructor_contact_link_contact (struct paramed_type *T); -int store_constructor_contact_status (struct paramed_type *T); -int store_constructor_contact_suggested (struct paramed_type *T); -int store_constructor_dc_option_l28 (struct paramed_type *T); -int store_constructor_dc_option (struct paramed_type *T); -int store_constructor_decrypted_message (struct paramed_type *T); -int store_constructor_decrypted_message_service (struct paramed_type *T); -int store_constructor_decrypted_message_action_set_message_t_t_l (struct paramed_type *T); -int store_constructor_decrypted_message_action_read_messages (struct paramed_type *T); -int store_constructor_decrypted_message_action_delete_messages (struct paramed_type *T); -int store_constructor_decrypted_message_action_screenshot_messages (struct paramed_type *T); -int store_constructor_decrypted_message_action_flush_history (struct paramed_type *T); -int store_constructor_decrypted_message_action_resend (struct paramed_type *T); -int store_constructor_decrypted_message_action_notify_layer (struct paramed_type *T); -int store_constructor_decrypted_message_action_typing (struct paramed_type *T); -int store_constructor_decrypted_message_action_request_key (struct paramed_type *T); -int store_constructor_decrypted_message_action_accept_key (struct paramed_type *T); -int store_constructor_decrypted_message_action_abort_key (struct paramed_type *T); -int store_constructor_decrypted_message_action_commit_key (struct paramed_type *T); -int store_constructor_decrypted_message_action_noop (struct paramed_type *T); -int store_constructor_decrypted_message_layer (struct paramed_type *T); -int store_constructor_decrypted_message_media_empty (struct paramed_type *T); -int store_constructor_decrypted_message_media_photo (struct paramed_type *T); -int store_constructor_decrypted_message_media_geo_point (struct paramed_type *T); -int store_constructor_decrypted_message_media_contact (struct paramed_type *T); -int store_constructor_decrypted_message_media_document (struct paramed_type *T); -int store_constructor_decrypted_message_media_video (struct paramed_type *T); -int store_constructor_decrypted_message_media_audio (struct paramed_type *T); -int store_constructor_decrypted_message_media_external_document (struct paramed_type *T); -int store_constructor_decrypted_message_media_video_l12 (struct paramed_type *T); -int store_constructor_decrypted_message_media_audio_l12 (struct paramed_type *T); -int store_constructor_dialog (struct paramed_type *T); -int store_constructor_disabled_feature (struct paramed_type *T); -int store_constructor_document_empty (struct paramed_type *T); -int store_constructor_document (struct paramed_type *T); -int store_constructor_document_l19 (struct paramed_type *T); -int store_constructor_document_attribute_image_size (struct paramed_type *T); -int store_constructor_document_attribute_animated (struct paramed_type *T); -int store_constructor_document_attribute_sticker_l28 (struct paramed_type *T); -int store_constructor_document_attribute_sticker (struct paramed_type *T); -int store_constructor_document_attribute_video (struct paramed_type *T); -int store_constructor_document_attribute_audio (struct paramed_type *T); -int store_constructor_document_attribute_filename (struct paramed_type *T); -int store_constructor_double (struct paramed_type *T); -int store_constructor_encrypted_chat_empty (struct paramed_type *T); -int store_constructor_encrypted_chat_waiting (struct paramed_type *T); -int store_constructor_encrypted_chat_requested (struct paramed_type *T); -int store_constructor_encrypted_chat (struct paramed_type *T); -int store_constructor_encrypted_chat_discarded (struct paramed_type *T); -int store_constructor_encrypted_file_empty (struct paramed_type *T); -int store_constructor_encrypted_file (struct paramed_type *T); -int store_constructor_encrypted_message (struct paramed_type *T); -int store_constructor_encrypted_message_service (struct paramed_type *T); -int store_constructor_error (struct paramed_type *T); -int store_constructor_chat_invite_empty (struct paramed_type *T); -int store_constructor_chat_invite_exported (struct paramed_type *T); -int store_constructor_file_location_unavailable (struct paramed_type *T); -int store_constructor_file_location (struct paramed_type *T); -int store_constructor_geo_chat_message_empty (struct paramed_type *T); -int store_constructor_geo_chat_message (struct paramed_type *T); -int store_constructor_geo_chat_message_service (struct paramed_type *T); -int store_constructor_geo_point_empty (struct paramed_type *T); -int store_constructor_geo_point (struct paramed_type *T); -int store_constructor_imported_contact (struct paramed_type *T); -int store_constructor_input_app_event (struct paramed_type *T); -int store_constructor_input_audio_empty (struct paramed_type *T); -int store_constructor_input_audio (struct paramed_type *T); -int store_constructor_input_chat_photo_empty (struct paramed_type *T); -int store_constructor_input_chat_uploaded_photo (struct paramed_type *T); -int store_constructor_input_chat_photo (struct paramed_type *T); -int store_constructor_input_phone_contact (struct paramed_type *T); -int store_constructor_input_document_empty (struct paramed_type *T); -int store_constructor_input_document (struct paramed_type *T); -int store_constructor_input_encrypted_chat (struct paramed_type *T); -int store_constructor_input_encrypted_file_empty (struct paramed_type *T); -int store_constructor_input_encrypted_file_uploaded (struct paramed_type *T); -int store_constructor_input_encrypted_file (struct paramed_type *T); -int store_constructor_input_encrypted_file_big_uploaded (struct paramed_type *T); -int store_constructor_input_file (struct paramed_type *T); -int store_constructor_input_file_big (struct paramed_type *T); -int store_constructor_input_file_location (struct paramed_type *T); -int store_constructor_input_video_file_location (struct paramed_type *T); -int store_constructor_input_encrypted_file_location (struct paramed_type *T); -int store_constructor_input_audio_file_location (struct paramed_type *T); -int store_constructor_input_document_file_location (struct paramed_type *T); -int store_constructor_input_geo_chat (struct paramed_type *T); -int store_constructor_input_geo_point_empty (struct paramed_type *T); -int store_constructor_input_geo_point (struct paramed_type *T); -int store_constructor_input_media_empty (struct paramed_type *T); -int store_constructor_input_media_uploaded_photo (struct paramed_type *T); -int store_constructor_input_media_photo (struct paramed_type *T); -int store_constructor_input_media_geo_point (struct paramed_type *T); -int store_constructor_input_media_contact (struct paramed_type *T); -int store_constructor_input_media_uploaded_video (struct paramed_type *T); -int store_constructor_input_media_uploaded_thumb_video (struct paramed_type *T); -int store_constructor_input_media_video (struct paramed_type *T); -int store_constructor_input_media_uploaded_audio (struct paramed_type *T); -int store_constructor_input_media_audio (struct paramed_type *T); -int store_constructor_input_media_uploaded_document (struct paramed_type *T); -int store_constructor_input_media_uploaded_thumb_document (struct paramed_type *T); -int store_constructor_input_media_document (struct paramed_type *T); -int store_constructor_input_media_venue (struct paramed_type *T); -int store_constructor_input_notify_peer (struct paramed_type *T); -int store_constructor_input_notify_users (struct paramed_type *T); -int store_constructor_input_notify_chats (struct paramed_type *T); -int store_constructor_input_notify_all (struct paramed_type *T); -int store_constructor_input_notify_geo_chat_peer (struct paramed_type *T); -int store_constructor_input_peer_empty (struct paramed_type *T); -int store_constructor_input_peer_self (struct paramed_type *T); -int store_constructor_input_peer_contact (struct paramed_type *T); -int store_constructor_input_peer_foreign (struct paramed_type *T); -int store_constructor_input_peer_chat (struct paramed_type *T); -int store_constructor_input_peer_notify_events_empty (struct paramed_type *T); -int store_constructor_input_peer_notify_events_all (struct paramed_type *T); -int store_constructor_input_peer_notify_settings (struct paramed_type *T); -int store_constructor_input_photo_empty (struct paramed_type *T); -int store_constructor_input_photo (struct paramed_type *T); -int store_constructor_input_photo_crop_auto (struct paramed_type *T); -int store_constructor_input_photo_crop (struct paramed_type *T); -int store_constructor_input_privacy_key_status_timestamp (struct paramed_type *T); -int store_constructor_input_privacy_value_allow_contacts (struct paramed_type *T); -int store_constructor_input_privacy_value_allow_all (struct paramed_type *T); -int store_constructor_input_privacy_value_allow_users (struct paramed_type *T); -int store_constructor_input_privacy_value_disallow_contacts (struct paramed_type *T); -int store_constructor_input_privacy_value_disallow_all (struct paramed_type *T); -int store_constructor_input_privacy_value_disallow_users (struct paramed_type *T); -int store_constructor_input_sticker_set_empty (struct paramed_type *T); -int store_constructor_input_sticker_set_i_d (struct paramed_type *T); -int store_constructor_input_sticker_set_short_name (struct paramed_type *T); -int store_constructor_input_user_empty (struct paramed_type *T); -int store_constructor_input_user_self (struct paramed_type *T); -int store_constructor_input_user_contact (struct paramed_type *T); -int store_constructor_input_user_foreign (struct paramed_type *T); -int store_constructor_input_video_empty (struct paramed_type *T); -int store_constructor_input_video (struct paramed_type *T); -int store_constructor_int (struct paramed_type *T); -int store_constructor_int128 (struct paramed_type *T); -int store_constructor_int256 (struct paramed_type *T); -int store_constructor_keyboard_button (struct paramed_type *T); -int store_constructor_keyboard_button_row (struct paramed_type *T); -int store_constructor_long (struct paramed_type *T); -int store_constructor_message_empty (struct paramed_type *T); -int store_constructor_message (struct paramed_type *T); -int store_constructor_message_service (struct paramed_type *T); -int store_constructor_message_action_empty (struct paramed_type *T); -int store_constructor_message_action_chat_create (struct paramed_type *T); -int store_constructor_message_action_chat_edit_title (struct paramed_type *T); -int store_constructor_message_action_chat_edit_photo (struct paramed_type *T); -int store_constructor_message_action_chat_delete_photo (struct paramed_type *T); -int store_constructor_message_action_chat_add_user (struct paramed_type *T); -int store_constructor_message_action_chat_delete_user (struct paramed_type *T); -int store_constructor_message_action_geo_chat_create (struct paramed_type *T); -int store_constructor_message_action_geo_chat_checkin (struct paramed_type *T); -int store_constructor_message_action_chat_joined_by_link (struct paramed_type *T); -int store_constructor_message_media_empty (struct paramed_type *T); -int store_constructor_message_media_photo (struct paramed_type *T); -int store_constructor_message_media_video (struct paramed_type *T); -int store_constructor_message_media_geo (struct paramed_type *T); -int store_constructor_message_media_contact (struct paramed_type *T); -int store_constructor_message_media_unsupported (struct paramed_type *T); -int store_constructor_message_media_document (struct paramed_type *T); -int store_constructor_message_media_audio (struct paramed_type *T); -int store_constructor_message_media_web_page (struct paramed_type *T); -int store_constructor_message_media_venue (struct paramed_type *T); -int store_constructor_message_media_photo_l27 (struct paramed_type *T); -int store_constructor_message_media_video_l27 (struct paramed_type *T); -int store_constructor_input_messages_filter_empty (struct paramed_type *T); -int store_constructor_input_messages_filter_photos (struct paramed_type *T); -int store_constructor_input_messages_filter_video (struct paramed_type *T); -int store_constructor_input_messages_filter_photo_video (struct paramed_type *T); -int store_constructor_input_messages_filter_photo_video_documents (struct paramed_type *T); -int store_constructor_input_messages_filter_document (struct paramed_type *T); -int store_constructor_input_messages_filter_audio (struct paramed_type *T); -int store_constructor_nearest_dc (struct paramed_type *T); -int store_constructor_notify_peer (struct paramed_type *T); -int store_constructor_notify_users (struct paramed_type *T); -int store_constructor_notify_chats (struct paramed_type *T); -int store_constructor_notify_all (struct paramed_type *T); -int store_constructor_null (struct paramed_type *T); -int store_constructor_p_q_inner_data (struct paramed_type *T); -int store_constructor_p_q_inner_data_temp (struct paramed_type *T); -int store_constructor_peer_user (struct paramed_type *T); -int store_constructor_peer_chat (struct paramed_type *T); -int store_constructor_peer_notify_events_empty (struct paramed_type *T); -int store_constructor_peer_notify_events_all (struct paramed_type *T); -int store_constructor_peer_notify_settings_empty (struct paramed_type *T); -int store_constructor_peer_notify_settings (struct paramed_type *T); -int store_constructor_photo_empty (struct paramed_type *T); -int store_constructor_photo (struct paramed_type *T); -int store_constructor_photo_l27 (struct paramed_type *T); -int store_constructor_photo_size_empty (struct paramed_type *T); -int store_constructor_photo_size (struct paramed_type *T); -int store_constructor_photo_cached_size (struct paramed_type *T); -int store_constructor_privacy_key_status_timestamp (struct paramed_type *T); -int store_constructor_privacy_value_allow_contacts (struct paramed_type *T); -int store_constructor_privacy_value_allow_all (struct paramed_type *T); -int store_constructor_privacy_value_allow_users (struct paramed_type *T); -int store_constructor_privacy_value_disallow_contacts (struct paramed_type *T); -int store_constructor_privacy_value_disallow_all (struct paramed_type *T); -int store_constructor_privacy_value_disallow_users (struct paramed_type *T); -int store_constructor_received_notify_message (struct paramed_type *T); -int store_constructor_reply_keyboard_hide (struct paramed_type *T); -int store_constructor_reply_keyboard_force_reply (struct paramed_type *T); -int store_constructor_reply_keyboard_markup (struct paramed_type *T); -int store_constructor_res_p_q (struct paramed_type *T); -int store_constructor_send_message_typing_action (struct paramed_type *T); -int store_constructor_send_message_cancel_action (struct paramed_type *T); -int store_constructor_send_message_record_video_action (struct paramed_type *T); -int store_constructor_send_message_upload_video_action_l27 (struct paramed_type *T); -int store_constructor_send_message_upload_video_action (struct paramed_type *T); -int store_constructor_send_message_record_audio_action (struct paramed_type *T); -int store_constructor_send_message_upload_audio_action_l27 (struct paramed_type *T); -int store_constructor_send_message_upload_audio_action (struct paramed_type *T); -int store_constructor_send_message_upload_photo_action (struct paramed_type *T); -int store_constructor_send_message_upload_document_action_l27 (struct paramed_type *T); -int store_constructor_send_message_upload_document_action (struct paramed_type *T); -int store_constructor_send_message_geo_location_action (struct paramed_type *T); -int store_constructor_send_message_choose_contact_action (struct paramed_type *T); -int store_constructor_server_d_h_params_fail (struct paramed_type *T); -int store_constructor_server_d_h_params_ok (struct paramed_type *T); -int store_constructor_server_d_h_inner_data (struct paramed_type *T); -int store_constructor_dh_gen_ok (struct paramed_type *T); -int store_constructor_dh_gen_retry (struct paramed_type *T); -int store_constructor_dh_gen_fail (struct paramed_type *T); -int store_constructor_sticker_pack (struct paramed_type *T); -int store_constructor_sticker_set (struct paramed_type *T); -int store_constructor_string (struct paramed_type *T); -int store_constructor_update_new_message (struct paramed_type *T); -int store_constructor_update_message_i_d (struct paramed_type *T); -int store_constructor_update_delete_messages (struct paramed_type *T); -int store_constructor_update_user_typing (struct paramed_type *T); -int store_constructor_update_chat_user_typing (struct paramed_type *T); -int store_constructor_update_chat_participants (struct paramed_type *T); -int store_constructor_update_user_status (struct paramed_type *T); -int store_constructor_update_user_name (struct paramed_type *T); -int store_constructor_update_user_photo (struct paramed_type *T); -int store_constructor_update_contact_registered (struct paramed_type *T); -int store_constructor_update_contact_link (struct paramed_type *T); -int store_constructor_update_new_authorization (struct paramed_type *T); -int store_constructor_update_new_geo_chat_message (struct paramed_type *T); -int store_constructor_update_new_encrypted_message (struct paramed_type *T); -int store_constructor_update_encrypted_chat_typing (struct paramed_type *T); -int store_constructor_update_encryption (struct paramed_type *T); -int store_constructor_update_encrypted_messages_read (struct paramed_type *T); -int store_constructor_update_chat_participant_add (struct paramed_type *T); -int store_constructor_update_chat_participant_delete (struct paramed_type *T); -int store_constructor_update_dc_options (struct paramed_type *T); -int store_constructor_update_user_blocked (struct paramed_type *T); -int store_constructor_update_notify_settings (struct paramed_type *T); -int store_constructor_update_service_notification (struct paramed_type *T); -int store_constructor_update_privacy (struct paramed_type *T); -int store_constructor_update_user_phone (struct paramed_type *T); -int store_constructor_update_read_history_inbox (struct paramed_type *T); -int store_constructor_update_read_history_outbox (struct paramed_type *T); -int store_constructor_update_web_page (struct paramed_type *T); -int store_constructor_update_read_messages_contents (struct paramed_type *T); -int store_constructor_update_msg_update (struct paramed_type *T); -int store_constructor_updates_too_long (struct paramed_type *T); -int store_constructor_update_short_message (struct paramed_type *T); -int store_constructor_update_short_chat_message (struct paramed_type *T); -int store_constructor_update_short (struct paramed_type *T); -int store_constructor_updates_combined (struct paramed_type *T); -int store_constructor_updates (struct paramed_type *T); -int store_constructor_user_empty (struct paramed_type *T); -int store_constructor_user (struct paramed_type *T); -int store_constructor_user_full (struct paramed_type *T); -int store_constructor_user_profile_photo_empty (struct paramed_type *T); -int store_constructor_user_profile_photo (struct paramed_type *T); -int store_constructor_user_status_empty (struct paramed_type *T); -int store_constructor_user_status_online (struct paramed_type *T); -int store_constructor_user_status_offline (struct paramed_type *T); -int store_constructor_user_status_recently (struct paramed_type *T); -int store_constructor_user_status_last_week (struct paramed_type *T); -int store_constructor_user_status_last_month (struct paramed_type *T); -int store_constructor_vector (struct paramed_type *T); -int store_constructor_video_empty (struct paramed_type *T); -int store_constructor_video (struct paramed_type *T); -int store_constructor_video_l27 (struct paramed_type *T); -int store_constructor_wall_paper (struct paramed_type *T); -int store_constructor_wall_paper_solid (struct paramed_type *T); -int store_constructor_web_page_empty (struct paramed_type *T); -int store_constructor_web_page_pending (struct paramed_type *T); -int store_constructor_web_page (struct paramed_type *T); -int store_constructor_account_authorizations (struct paramed_type *T); -int store_constructor_account_no_password (struct paramed_type *T); -int store_constructor_account_password (struct paramed_type *T); -int store_constructor_account_password_input_settings (struct paramed_type *T); -int store_constructor_account_password_settings (struct paramed_type *T); -int store_constructor_account_privacy_rules (struct paramed_type *T); -int store_constructor_account_sent_change_phone_code (struct paramed_type *T); -int store_constructor_auth_authorization (struct paramed_type *T); -int store_constructor_auth_checked_phone (struct paramed_type *T); -int store_constructor_auth_exported_authorization (struct paramed_type *T); -int store_constructor_auth_password_recovery (struct paramed_type *T); -int store_constructor_auth_sent_code (struct paramed_type *T); -int store_constructor_auth_sent_app_code (struct paramed_type *T); -int store_constructor_binlog_encr_key (struct paramed_type *T); -int store_constructor_binlog_start (struct paramed_type *T); -int store_constructor_binlog_dc_option (struct paramed_type *T); -int store_constructor_binlog_dc_option_new (struct paramed_type *T); -int store_constructor_binlog_auth_key (struct paramed_type *T); -int store_constructor_binlog_default_dc (struct paramed_type *T); -int store_constructor_binlog_dc_signed (struct paramed_type *T); -int store_constructor_binlog_our_id (struct paramed_type *T); -int store_constructor_binlog_set_dh_params (struct paramed_type *T); -int store_constructor_binlog_set_pts (struct paramed_type *T); -int store_constructor_binlog_set_qts (struct paramed_type *T); -int store_constructor_binlog_set_date (struct paramed_type *T); -int store_constructor_binlog_set_seq (struct paramed_type *T); -int store_constructor_binlog_encr_chat_delete (struct paramed_type *T); -int store_constructor_binlog_encr_chat_new (struct paramed_type *T); -int store_constructor_binlog_encr_chat_exchange_new (struct paramed_type *T); -int store_constructor_binlog_user_delete (struct paramed_type *T); -int store_constructor_binlog_user_new (struct paramed_type *T); -int store_constructor_binlog_chat_new (struct paramed_type *T); -int store_constructor_binlog_chat_add_participant (struct paramed_type *T); -int store_constructor_binlog_chat_del_participant (struct paramed_type *T); -int store_constructor_binlog_set_msg_id (struct paramed_type *T); -int store_constructor_binlog_message_delete (struct paramed_type *T); -int store_constructor_binlog_message_new (struct paramed_type *T); -int store_constructor_binlog_message_encr_new (struct paramed_type *T); -int store_constructor_binlog_msg_update (struct paramed_type *T); -int store_constructor_binlog_reset_authorization (struct paramed_type *T); -int store_constructor_contacts_blocked (struct paramed_type *T); -int store_constructor_contacts_blocked_slice (struct paramed_type *T); -int store_constructor_contacts_contacts_not_modified (struct paramed_type *T); -int store_constructor_contacts_contacts (struct paramed_type *T); -int store_constructor_contacts_found (struct paramed_type *T); -int store_constructor_contacts_imported_contacts (struct paramed_type *T); -int store_constructor_contacts_link (struct paramed_type *T); -int store_constructor_contacts_suggested (struct paramed_type *T); -int store_constructor_geochats_located (struct paramed_type *T); -int store_constructor_geochats_messages (struct paramed_type *T); -int store_constructor_geochats_messages_slice (struct paramed_type *T); -int store_constructor_geochats_stated_message (struct paramed_type *T); -int store_constructor_help_app_update (struct paramed_type *T); -int store_constructor_help_no_app_update (struct paramed_type *T); -int store_constructor_help_invite_text (struct paramed_type *T); -int store_constructor_help_support (struct paramed_type *T); -int store_constructor_messages_affected_history (struct paramed_type *T); -int store_constructor_messages_affected_messages (struct paramed_type *T); -int store_constructor_messages_all_stickers_not_modified (struct paramed_type *T); -int store_constructor_messages_all_stickers (struct paramed_type *T); -int store_constructor_messages_chat_full (struct paramed_type *T); -int store_constructor_messages_chats (struct paramed_type *T); -int store_constructor_messages_dh_config_not_modified (struct paramed_type *T); -int store_constructor_messages_dh_config (struct paramed_type *T); -int store_constructor_messages_dialogs (struct paramed_type *T); -int store_constructor_messages_dialogs_slice (struct paramed_type *T); -int store_constructor_messages_message_empty (struct paramed_type *T); -int store_constructor_messages_messages (struct paramed_type *T); -int store_constructor_messages_messages_slice (struct paramed_type *T); -int store_constructor_messages_sent_encrypted_message (struct paramed_type *T); -int store_constructor_messages_sent_encrypted_file (struct paramed_type *T); -int store_constructor_messages_sent_message (struct paramed_type *T); -int store_constructor_messages_sent_message_link (struct paramed_type *T); -int store_constructor_messages_sticker_set (struct paramed_type *T); -int store_constructor_messages_stickers_not_modified (struct paramed_type *T); -int store_constructor_messages_stickers (struct paramed_type *T); -int store_constructor_photos_photo (struct paramed_type *T); -int store_constructor_photos_photos (struct paramed_type *T); -int store_constructor_photos_photos_slice (struct paramed_type *T); -int store_constructor_storage_file_unknown (struct paramed_type *T); -int store_constructor_storage_file_jpeg (struct paramed_type *T); -int store_constructor_storage_file_gif (struct paramed_type *T); -int store_constructor_storage_file_png (struct paramed_type *T); -int store_constructor_storage_file_pdf (struct paramed_type *T); -int store_constructor_storage_file_mp3 (struct paramed_type *T); -int store_constructor_storage_file_mov (struct paramed_type *T); -int store_constructor_storage_file_partial (struct paramed_type *T); -int store_constructor_storage_file_mp4 (struct paramed_type *T); -int store_constructor_storage_file_webp (struct paramed_type *T); -int store_constructor_updates_difference_empty (struct paramed_type *T); -int store_constructor_updates_difference (struct paramed_type *T); -int store_constructor_updates_difference_slice (struct paramed_type *T); -int store_constructor_updates_state (struct paramed_type *T); -int store_constructor_upload_file (struct paramed_type *T); -int store_type_account_days_t_t_l (struct paramed_type *T); -int store_type_bare_account_days_t_t_l (struct paramed_type *T); -int store_type_audio (struct paramed_type *T); -int store_type_bare_audio (struct paramed_type *T); -int store_type_authorization (struct paramed_type *T); -int store_type_bare_authorization (struct paramed_type *T); -int store_type_bool (struct paramed_type *T); -int store_type_bare_bool (struct paramed_type *T); -int store_type_bot_command (struct paramed_type *T); -int store_type_bare_bot_command (struct paramed_type *T); -int store_type_bot_info (struct paramed_type *T); -int store_type_bare_bot_info (struct paramed_type *T); -int store_type_bytes (struct paramed_type *T); -int store_type_bare_bytes (struct paramed_type *T); -int store_type_chat (struct paramed_type *T); -int store_type_bare_chat (struct paramed_type *T); -int store_type_chat_full (struct paramed_type *T); -int store_type_bare_chat_full (struct paramed_type *T); -int store_type_chat_invite (struct paramed_type *T); -int store_type_bare_chat_invite (struct paramed_type *T); -int store_type_chat_located (struct paramed_type *T); -int store_type_bare_chat_located (struct paramed_type *T); -int store_type_chat_participant (struct paramed_type *T); -int store_type_bare_chat_participant (struct paramed_type *T); -int store_type_chat_participants (struct paramed_type *T); -int store_type_bare_chat_participants (struct paramed_type *T); -int store_type_chat_photo (struct paramed_type *T); -int store_type_bare_chat_photo (struct paramed_type *T); -int store_type_client_d_h_inner_data (struct paramed_type *T); -int store_type_bare_client_d_h_inner_data (struct paramed_type *T); -int store_type_config (struct paramed_type *T); -int store_type_bare_config (struct paramed_type *T); -int store_type_contact (struct paramed_type *T); -int store_type_bare_contact (struct paramed_type *T); -int store_type_contact_blocked (struct paramed_type *T); -int store_type_bare_contact_blocked (struct paramed_type *T); -int store_type_contact_found (struct paramed_type *T); -int store_type_bare_contact_found (struct paramed_type *T); -int store_type_contact_link (struct paramed_type *T); -int store_type_bare_contact_link (struct paramed_type *T); -int store_type_contact_status (struct paramed_type *T); -int store_type_bare_contact_status (struct paramed_type *T); -int store_type_contact_suggested (struct paramed_type *T); -int store_type_bare_contact_suggested (struct paramed_type *T); -int store_type_dc_option (struct paramed_type *T); -int store_type_bare_dc_option (struct paramed_type *T); -int store_type_decrypted_message (struct paramed_type *T); -int store_type_bare_decrypted_message (struct paramed_type *T); -int store_type_decrypted_message_action (struct paramed_type *T); -int store_type_bare_decrypted_message_action (struct paramed_type *T); -int store_type_decrypted_message_layer (struct paramed_type *T); -int store_type_bare_decrypted_message_layer (struct paramed_type *T); -int store_type_decrypted_message_media (struct paramed_type *T); -int store_type_bare_decrypted_message_media (struct paramed_type *T); -int store_type_dialog (struct paramed_type *T); -int store_type_bare_dialog (struct paramed_type *T); -int store_type_disabled_feature (struct paramed_type *T); -int store_type_bare_disabled_feature (struct paramed_type *T); -int store_type_document (struct paramed_type *T); -int store_type_bare_document (struct paramed_type *T); -int store_type_document_attribute (struct paramed_type *T); -int store_type_bare_document_attribute (struct paramed_type *T); -int store_type_double (struct paramed_type *T); -int store_type_bare_double (struct paramed_type *T); -int store_type_encrypted_chat (struct paramed_type *T); -int store_type_bare_encrypted_chat (struct paramed_type *T); -int store_type_encrypted_file (struct paramed_type *T); -int store_type_bare_encrypted_file (struct paramed_type *T); -int store_type_encrypted_message (struct paramed_type *T); -int store_type_bare_encrypted_message (struct paramed_type *T); -int store_type_error (struct paramed_type *T); -int store_type_bare_error (struct paramed_type *T); -int store_type_exported_chat_invite (struct paramed_type *T); -int store_type_bare_exported_chat_invite (struct paramed_type *T); -int store_type_file_location (struct paramed_type *T); -int store_type_bare_file_location (struct paramed_type *T); -int store_type_geo_chat_message (struct paramed_type *T); -int store_type_bare_geo_chat_message (struct paramed_type *T); -int store_type_geo_point (struct paramed_type *T); -int store_type_bare_geo_point (struct paramed_type *T); -int store_type_imported_contact (struct paramed_type *T); -int store_type_bare_imported_contact (struct paramed_type *T); -int store_type_input_app_event (struct paramed_type *T); -int store_type_bare_input_app_event (struct paramed_type *T); -int store_type_input_audio (struct paramed_type *T); -int store_type_bare_input_audio (struct paramed_type *T); -int store_type_input_chat_photo (struct paramed_type *T); -int store_type_bare_input_chat_photo (struct paramed_type *T); -int store_type_input_contact (struct paramed_type *T); -int store_type_bare_input_contact (struct paramed_type *T); -int store_type_input_document (struct paramed_type *T); -int store_type_bare_input_document (struct paramed_type *T); -int store_type_input_encrypted_chat (struct paramed_type *T); -int store_type_bare_input_encrypted_chat (struct paramed_type *T); -int store_type_input_encrypted_file (struct paramed_type *T); -int store_type_bare_input_encrypted_file (struct paramed_type *T); -int store_type_input_file (struct paramed_type *T); -int store_type_bare_input_file (struct paramed_type *T); -int store_type_input_file_location (struct paramed_type *T); -int store_type_bare_input_file_location (struct paramed_type *T); -int store_type_input_geo_chat (struct paramed_type *T); -int store_type_bare_input_geo_chat (struct paramed_type *T); -int store_type_input_geo_point (struct paramed_type *T); -int store_type_bare_input_geo_point (struct paramed_type *T); -int store_type_input_media (struct paramed_type *T); -int store_type_bare_input_media (struct paramed_type *T); -int store_type_input_notify_peer (struct paramed_type *T); -int store_type_bare_input_notify_peer (struct paramed_type *T); -int store_type_input_peer (struct paramed_type *T); -int store_type_bare_input_peer (struct paramed_type *T); -int store_type_input_peer_notify_events (struct paramed_type *T); -int store_type_bare_input_peer_notify_events (struct paramed_type *T); -int store_type_input_peer_notify_settings (struct paramed_type *T); -int store_type_bare_input_peer_notify_settings (struct paramed_type *T); -int store_type_input_photo (struct paramed_type *T); -int store_type_bare_input_photo (struct paramed_type *T); -int store_type_input_photo_crop (struct paramed_type *T); -int store_type_bare_input_photo_crop (struct paramed_type *T); -int store_type_input_privacy_key (struct paramed_type *T); -int store_type_bare_input_privacy_key (struct paramed_type *T); -int store_type_input_privacy_rule (struct paramed_type *T); -int store_type_bare_input_privacy_rule (struct paramed_type *T); -int store_type_input_sticker_set (struct paramed_type *T); -int store_type_bare_input_sticker_set (struct paramed_type *T); -int store_type_input_user (struct paramed_type *T); -int store_type_bare_input_user (struct paramed_type *T); -int store_type_input_video (struct paramed_type *T); -int store_type_bare_input_video (struct paramed_type *T); -int store_type_int (struct paramed_type *T); -int store_type_bare_int (struct paramed_type *T); -int store_type_int128 (struct paramed_type *T); -int store_type_bare_int128 (struct paramed_type *T); -int store_type_int256 (struct paramed_type *T); -int store_type_bare_int256 (struct paramed_type *T); -int store_type_keyboard_button (struct paramed_type *T); -int store_type_bare_keyboard_button (struct paramed_type *T); -int store_type_keyboard_button_row (struct paramed_type *T); -int store_type_bare_keyboard_button_row (struct paramed_type *T); -int store_type_long (struct paramed_type *T); -int store_type_bare_long (struct paramed_type *T); -int store_type_message (struct paramed_type *T); -int store_type_bare_message (struct paramed_type *T); -int store_type_message_action (struct paramed_type *T); -int store_type_bare_message_action (struct paramed_type *T); -int store_type_message_media (struct paramed_type *T); -int store_type_bare_message_media (struct paramed_type *T); -int store_type_messages_filter (struct paramed_type *T); -int store_type_bare_messages_filter (struct paramed_type *T); -int store_type_nearest_dc (struct paramed_type *T); -int store_type_bare_nearest_dc (struct paramed_type *T); -int store_type_notify_peer (struct paramed_type *T); -int store_type_bare_notify_peer (struct paramed_type *T); -int store_type_null (struct paramed_type *T); -int store_type_bare_null (struct paramed_type *T); -int store_type_p_q_inner_data (struct paramed_type *T); -int store_type_bare_p_q_inner_data (struct paramed_type *T); -int store_type_peer (struct paramed_type *T); -int store_type_bare_peer (struct paramed_type *T); -int store_type_peer_notify_events (struct paramed_type *T); -int store_type_bare_peer_notify_events (struct paramed_type *T); -int store_type_peer_notify_settings (struct paramed_type *T); -int store_type_bare_peer_notify_settings (struct paramed_type *T); -int store_type_photo (struct paramed_type *T); -int store_type_bare_photo (struct paramed_type *T); -int store_type_photo_size (struct paramed_type *T); -int store_type_bare_photo_size (struct paramed_type *T); -int store_type_privacy_key (struct paramed_type *T); -int store_type_bare_privacy_key (struct paramed_type *T); -int store_type_privacy_rule (struct paramed_type *T); -int store_type_bare_privacy_rule (struct paramed_type *T); -int store_type_received_notify_message (struct paramed_type *T); -int store_type_bare_received_notify_message (struct paramed_type *T); -int store_type_reply_markup (struct paramed_type *T); -int store_type_bare_reply_markup (struct paramed_type *T); -int store_type_res_p_q (struct paramed_type *T); -int store_type_bare_res_p_q (struct paramed_type *T); -int store_type_send_message_action (struct paramed_type *T); -int store_type_bare_send_message_action (struct paramed_type *T); -int store_type_server_d_h_params (struct paramed_type *T); -int store_type_bare_server_d_h_params (struct paramed_type *T); -int store_type_server_d_h_inner_data (struct paramed_type *T); -int store_type_bare_server_d_h_inner_data (struct paramed_type *T); -int store_type_set_client_d_h_params_answer (struct paramed_type *T); -int store_type_bare_set_client_d_h_params_answer (struct paramed_type *T); -int store_type_sticker_pack (struct paramed_type *T); -int store_type_bare_sticker_pack (struct paramed_type *T); -int store_type_sticker_set (struct paramed_type *T); -int store_type_bare_sticker_set (struct paramed_type *T); -int store_type_string (struct paramed_type *T); -int store_type_bare_string (struct paramed_type *T); -int store_type_update (struct paramed_type *T); -int store_type_bare_update (struct paramed_type *T); -int store_type_updates (struct paramed_type *T); -int store_type_bare_updates (struct paramed_type *T); -int store_type_user (struct paramed_type *T); -int store_type_bare_user (struct paramed_type *T); -int store_type_user_full (struct paramed_type *T); -int store_type_bare_user_full (struct paramed_type *T); -int store_type_user_profile_photo (struct paramed_type *T); -int store_type_bare_user_profile_photo (struct paramed_type *T); -int store_type_user_status (struct paramed_type *T); -int store_type_bare_user_status (struct paramed_type *T); -int store_type_vector (struct paramed_type *T); -int store_type_bare_vector (struct paramed_type *T); -int store_type_video (struct paramed_type *T); -int store_type_bare_video (struct paramed_type *T); -int store_type_wall_paper (struct paramed_type *T); -int store_type_bare_wall_paper (struct paramed_type *T); -int store_type_web_page (struct paramed_type *T); -int store_type_bare_web_page (struct paramed_type *T); -int store_type_account_authorizations (struct paramed_type *T); -int store_type_bare_account_authorizations (struct paramed_type *T); -int store_type_account_password (struct paramed_type *T); -int store_type_bare_account_password (struct paramed_type *T); -int store_type_account_password_input_settings (struct paramed_type *T); -int store_type_bare_account_password_input_settings (struct paramed_type *T); -int store_type_account_password_settings (struct paramed_type *T); -int store_type_bare_account_password_settings (struct paramed_type *T); -int store_type_account_privacy_rules (struct paramed_type *T); -int store_type_bare_account_privacy_rules (struct paramed_type *T); -int store_type_account_sent_change_phone_code (struct paramed_type *T); -int store_type_bare_account_sent_change_phone_code (struct paramed_type *T); -int store_type_auth_authorization (struct paramed_type *T); -int store_type_bare_auth_authorization (struct paramed_type *T); -int store_type_auth_checked_phone (struct paramed_type *T); -int store_type_bare_auth_checked_phone (struct paramed_type *T); -int store_type_auth_exported_authorization (struct paramed_type *T); -int store_type_bare_auth_exported_authorization (struct paramed_type *T); -int store_type_auth_password_recovery (struct paramed_type *T); -int store_type_bare_auth_password_recovery (struct paramed_type *T); -int store_type_auth_sent_code (struct paramed_type *T); -int store_type_bare_auth_sent_code (struct paramed_type *T); -int store_type_binlog_encr_key (struct paramed_type *T); -int store_type_bare_binlog_encr_key (struct paramed_type *T); -int store_type_binlog_update (struct paramed_type *T); -int store_type_bare_binlog_update (struct paramed_type *T); -int store_type_contacts_blocked (struct paramed_type *T); -int store_type_bare_contacts_blocked (struct paramed_type *T); -int store_type_contacts_contacts (struct paramed_type *T); -int store_type_bare_contacts_contacts (struct paramed_type *T); -int store_type_contacts_found (struct paramed_type *T); -int store_type_bare_contacts_found (struct paramed_type *T); -int store_type_contacts_imported_contacts (struct paramed_type *T); -int store_type_bare_contacts_imported_contacts (struct paramed_type *T); -int store_type_contacts_link (struct paramed_type *T); -int store_type_bare_contacts_link (struct paramed_type *T); -int store_type_contacts_suggested (struct paramed_type *T); -int store_type_bare_contacts_suggested (struct paramed_type *T); -int store_type_geochats_located (struct paramed_type *T); -int store_type_bare_geochats_located (struct paramed_type *T); -int store_type_geochats_messages (struct paramed_type *T); -int store_type_bare_geochats_messages (struct paramed_type *T); -int store_type_geochats_stated_message (struct paramed_type *T); -int store_type_bare_geochats_stated_message (struct paramed_type *T); -int store_type_help_app_update (struct paramed_type *T); -int store_type_bare_help_app_update (struct paramed_type *T); -int store_type_help_invite_text (struct paramed_type *T); -int store_type_bare_help_invite_text (struct paramed_type *T); -int store_type_help_support (struct paramed_type *T); -int store_type_bare_help_support (struct paramed_type *T); -int store_type_messages_affected_history (struct paramed_type *T); -int store_type_bare_messages_affected_history (struct paramed_type *T); -int store_type_messages_affected_messages (struct paramed_type *T); -int store_type_bare_messages_affected_messages (struct paramed_type *T); -int store_type_messages_all_stickers (struct paramed_type *T); -int store_type_bare_messages_all_stickers (struct paramed_type *T); -int store_type_messages_chat_full (struct paramed_type *T); -int store_type_bare_messages_chat_full (struct paramed_type *T); -int store_type_messages_chats (struct paramed_type *T); -int store_type_bare_messages_chats (struct paramed_type *T); -int store_type_messages_dh_config (struct paramed_type *T); -int store_type_bare_messages_dh_config (struct paramed_type *T); -int store_type_messages_dialogs (struct paramed_type *T); -int store_type_bare_messages_dialogs (struct paramed_type *T); -int store_type_messages_message (struct paramed_type *T); -int store_type_bare_messages_message (struct paramed_type *T); -int store_type_messages_messages (struct paramed_type *T); -int store_type_bare_messages_messages (struct paramed_type *T); -int store_type_messages_sent_encrypted_message (struct paramed_type *T); -int store_type_bare_messages_sent_encrypted_message (struct paramed_type *T); -int store_type_messages_sent_message (struct paramed_type *T); -int store_type_bare_messages_sent_message (struct paramed_type *T); -int store_type_messages_sticker_set (struct paramed_type *T); -int store_type_bare_messages_sticker_set (struct paramed_type *T); -int store_type_messages_stickers (struct paramed_type *T); -int store_type_bare_messages_stickers (struct paramed_type *T); -int store_type_photos_photo (struct paramed_type *T); -int store_type_bare_photos_photo (struct paramed_type *T); -int store_type_photos_photos (struct paramed_type *T); -int store_type_bare_photos_photos (struct paramed_type *T); -int store_type_storage_file_type (struct paramed_type *T); -int store_type_bare_storage_file_type (struct paramed_type *T); -int store_type_updates_difference (struct paramed_type *T); -int store_type_bare_updates_difference (struct paramed_type *T); -int store_type_updates_state (struct paramed_type *T); -int store_type_bare_updates_state (struct paramed_type *T); -int store_type_upload_file (struct paramed_type *T); -int store_type_bare_upload_file (struct paramed_type *T); -struct paramed_type *store_function_account_change_phone (void); -struct paramed_type *store_function_account_check_username (void); -struct paramed_type *store_function_account_delete_account (void); -struct paramed_type *store_function_account_get_account_t_t_l (void); -struct paramed_type *store_function_account_get_authorizations (void); -struct paramed_type *store_function_account_get_notify_settings (void); -struct paramed_type *store_function_account_get_password (void); -struct paramed_type *store_function_account_get_password_settings (void); -struct paramed_type *store_function_account_get_privacy (void); -struct paramed_type *store_function_account_get_wall_papers (void); -struct paramed_type *store_function_account_register_device (void); -struct paramed_type *store_function_account_reset_authorization (void); -struct paramed_type *store_function_account_reset_notify_settings (void); -struct paramed_type *store_function_account_send_change_phone_code (void); -struct paramed_type *store_function_account_set_account_t_t_l (void); -struct paramed_type *store_function_account_set_privacy (void); -struct paramed_type *store_function_account_unregister_device (void); -struct paramed_type *store_function_account_update_device_locked (void); -struct paramed_type *store_function_account_update_notify_settings (void); -struct paramed_type *store_function_account_update_password_settings (void); -struct paramed_type *store_function_account_update_profile (void); -struct paramed_type *store_function_account_update_status (void); -struct paramed_type *store_function_account_update_username (void); -struct paramed_type *store_function_auth_bind_temp_auth_key (void); -struct paramed_type *store_function_auth_check_password (void); -struct paramed_type *store_function_auth_check_phone (void); -struct paramed_type *store_function_auth_export_authorization (void); -struct paramed_type *store_function_auth_import_authorization (void); -struct paramed_type *store_function_auth_import_bot_authorization (void); -struct paramed_type *store_function_auth_log_out (void); -struct paramed_type *store_function_auth_recover_password (void); -struct paramed_type *store_function_auth_request_password_recovery (void); -struct paramed_type *store_function_auth_reset_authorizations (void); -struct paramed_type *store_function_auth_send_call (void); -struct paramed_type *store_function_auth_send_code (void); -struct paramed_type *store_function_auth_send_invites (void); -struct paramed_type *store_function_auth_send_sms (void); -struct paramed_type *store_function_auth_sign_in (void); -struct paramed_type *store_function_auth_sign_up (void); -struct paramed_type *store_function_contacts_block (void); -struct paramed_type *store_function_contacts_delete_contact (void); -struct paramed_type *store_function_contacts_delete_contacts (void); -struct paramed_type *store_function_contacts_export_card (void); -struct paramed_type *store_function_contacts_get_blocked (void); -struct paramed_type *store_function_contacts_get_contacts (void); -struct paramed_type *store_function_contacts_get_statuses (void); -struct paramed_type *store_function_contacts_get_suggested (void); -struct paramed_type *store_function_contacts_import_card (void); -struct paramed_type *store_function_contacts_import_contacts (void); -struct paramed_type *store_function_contacts_resolve_username (void); -struct paramed_type *store_function_contacts_search (void); -struct paramed_type *store_function_contacts_unblock (void); -struct paramed_type *store_function_geochats_checkin (void); -struct paramed_type *store_function_geochats_create_geo_chat (void); -struct paramed_type *store_function_geochats_edit_chat_photo (void); -struct paramed_type *store_function_geochats_edit_chat_title (void); -struct paramed_type *store_function_geochats_get_full_chat (void); -struct paramed_type *store_function_geochats_get_history (void); -struct paramed_type *store_function_geochats_get_located (void); -struct paramed_type *store_function_geochats_get_recents (void); -struct paramed_type *store_function_geochats_search (void); -struct paramed_type *store_function_geochats_send_media (void); -struct paramed_type *store_function_geochats_send_message (void); -struct paramed_type *store_function_geochats_set_typing (void); -struct paramed_type *store_function_help_get_app_update (void); -struct paramed_type *store_function_help_get_config (void); -struct paramed_type *store_function_help_get_invite_text (void); -struct paramed_type *store_function_help_get_nearest_dc (void); -struct paramed_type *store_function_help_get_support (void); -struct paramed_type *store_function_help_save_app_log (void); -struct paramed_type *store_function_init_connection (void); -struct paramed_type *store_function_invoke_after_msg (void); -struct paramed_type *store_function_invoke_after_msgs (void); -struct paramed_type *store_function_invoke_with_layer (void); -struct paramed_type *store_function_invoke_without_updates (void); -struct paramed_type *store_function_messages_accept_encryption (void); -struct paramed_type *store_function_messages_add_chat_user (void); -struct paramed_type *store_function_messages_check_chat_invite (void); -struct paramed_type *store_function_messages_create_chat (void); -struct paramed_type *store_function_messages_delete_chat_user (void); -struct paramed_type *store_function_messages_delete_history (void); -struct paramed_type *store_function_messages_delete_messages (void); -struct paramed_type *store_function_messages_discard_encryption (void); -struct paramed_type *store_function_messages_edit_chat_photo (void); -struct paramed_type *store_function_messages_edit_chat_title (void); -struct paramed_type *store_function_messages_export_chat_invite (void); -struct paramed_type *store_function_messages_forward_message (void); -struct paramed_type *store_function_messages_forward_messages (void); -struct paramed_type *store_function_messages_get_all_stickers (void); -struct paramed_type *store_function_messages_get_chats (void); -struct paramed_type *store_function_messages_get_dh_config (void); -struct paramed_type *store_function_messages_get_dialogs (void); -struct paramed_type *store_function_messages_get_full_chat (void); -struct paramed_type *store_function_messages_get_history (void); -struct paramed_type *store_function_messages_get_messages (void); -struct paramed_type *store_function_messages_get_sticker_set (void); -struct paramed_type *store_function_messages_get_stickers (void); -struct paramed_type *store_function_messages_get_web_page_preview (void); -struct paramed_type *store_function_messages_import_chat_invite (void); -struct paramed_type *store_function_messages_install_sticker_set (void); -struct paramed_type *store_function_messages_read_encrypted_history (void); -struct paramed_type *store_function_messages_read_history (void); -struct paramed_type *store_function_messages_read_message_contents (void); -struct paramed_type *store_function_messages_received_messages (void); -struct paramed_type *store_function_messages_received_queue (void); -struct paramed_type *store_function_messages_request_encryption (void); -struct paramed_type *store_function_messages_search (void); -struct paramed_type *store_function_messages_send_broadcast (void); -struct paramed_type *store_function_messages_send_encrypted (void); -struct paramed_type *store_function_messages_send_encrypted_file (void); -struct paramed_type *store_function_messages_send_encrypted_service (void); -struct paramed_type *store_function_messages_send_media (void); -struct paramed_type *store_function_messages_send_message (void); -struct paramed_type *store_function_messages_set_encrypted_typing (void); -struct paramed_type *store_function_messages_set_typing (void); -struct paramed_type *store_function_messages_start_bot (void); -struct paramed_type *store_function_messages_uninstall_sticker_set (void); -struct paramed_type *store_function_photos_delete_photos (void); -struct paramed_type *store_function_photos_get_user_photos (void); -struct paramed_type *store_function_photos_update_profile_photo (void); -struct paramed_type *store_function_photos_upload_profile_photo (void); -struct paramed_type *store_function_req_d_h_params (void); -struct paramed_type *store_function_req_pq (void); -struct paramed_type *store_function_set_client_d_h_params (void); -struct paramed_type *store_function_updates_get_difference (void); -struct paramed_type *store_function_updates_get_state (void); -struct paramed_type *store_function_upload_get_file (void); -struct paramed_type *store_function_upload_save_big_file_part (void); -struct paramed_type *store_function_upload_save_file_part (void); -struct paramed_type *store_function_users_get_full_user (void); -struct paramed_type *store_function_users_get_users (void); -int store_type_any (struct paramed_type *T); -struct paramed_type *store_function_any (void); diff --git a/libs/tgl/src/auto/auto-types.c b/libs/tgl/src/auto/auto-types.c deleted file mode 100644 index d81edf0949..0000000000 --- a/libs/tgl/src/auto/auto-types.c +++ /dev/null @@ -1,1793 +0,0 @@ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -struct tl_type_descr tl_type_account_days_t_t_l = { - .name = 0xb8d0afdf, - .id = "AccountDaysTTL" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_days_t_t_l = { - .name = 0x472f5020, - .id = "Bare_AccountDaysTTL", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_audio = { - .name = 0x9fc5ec4e, - .id = "Audio" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_audio = { - .name = 0x603a13b1, - .id = "Bare_Audio", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_authorization = { - .name = 0x7bf2e6f6, - .id = "Authorization" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_authorization = { - .name = 0x840d1909, - .id = "Bare_Authorization", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bool = { - .name = 0x250be282, - .id = "Bool" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_bool = { - .name = 0xdaf41d7d, - .id = "Bare_Bool", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bot_command = { - .name = 0x75e7ea6c, - .id = "BotCommand" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_bot_command = { - .name = 0x8a181593, - .id = "Bare_BotCommand", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bot_info = { - .name = 0xb2e16f93, - .id = "BotInfo" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_bot_info = { - .name = 0x4d1e906c, - .id = "Bare_BotInfo", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bytes = { - .name = 0x0ee1379f, - .id = "Bytes" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_bytes = { - .name = 0xf11ec860, - .id = "Bare_Bytes", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat = { - .name = 0x7bd865dc, - .id = "Chat" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat = { - .name = 0x84279a23, - .id = "Bare_Chat", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_full = { - .name = 0x2e02a614, - .id = "ChatFull" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_full = { - .name = 0xd1fd59eb, - .id = "Bare_ChatFull", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_invite = { - .name = 0x94f910b1, - .id = "ChatInvite" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_invite = { - .name = 0x6b06ef4e, - .id = "Bare_ChatInvite", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_located = { - .name = 0x3631cf4c, - .id = "ChatLocated" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_located = { - .name = 0xc9ce30b3, - .id = "Bare_ChatLocated", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_participant = { - .name = 0xc8d7493e, - .id = "ChatParticipant" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_participant = { - .name = 0x3728b6c1, - .id = "Bare_ChatParticipant", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_participants = { - .name = 0x77930f9f, - .id = "ChatParticipants" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_participants = { - .name = 0x886cf060, - .id = "Bare_ChatParticipants", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_chat_photo = { - .name = 0x56922676, - .id = "ChatPhoto" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_chat_photo = { - .name = 0xa96dd989, - .id = "Bare_ChatPhoto", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_client_d_h_inner_data = { - .name = 0x6643b654, - .id = "Client_DH_Inner_Data" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_client_d_h_inner_data = { - .name = 0x99bc49ab, - .id = "Bare_Client_DH_Inner_Data", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_config = { - .name = 0x4e32b894, - .id = "Config" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_config = { - .name = 0xb1cd476b, - .id = "Bare_Config", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact = { - .name = 0xf911c994, - .id = "Contact" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact = { - .name = 0x06ee366b, - .id = "Bare_Contact", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact_blocked = { - .name = 0x561bc879, - .id = "ContactBlocked" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact_blocked = { - .name = 0xa9e43786, - .id = "Bare_ContactBlocked", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact_found = { - .name = 0xea879f95, - .id = "ContactFound" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact_found = { - .name = 0x1578606a, - .id = "Bare_ContactFound", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact_link = { - .name = 0x522fbc63, - .id = "ContactLink" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact_link = { - .name = 0xadd0439c, - .id = "Bare_ContactLink", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact_status = { - .name = 0xd3680c61, - .id = "ContactStatus" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact_status = { - .name = 0x2c97f39e, - .id = "Bare_ContactStatus", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contact_suggested = { - .name = 0x3de191a1, - .id = "ContactSuggested" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contact_suggested = { - .name = 0xc21e6e5e, - .id = "Bare_ContactSuggested", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_dc_option = { - .name = 0x2b1a62f0, - .id = "DcOption" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_dc_option = { - .name = 0xd4e59d0f, - .id = "Bare_DcOption", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_decrypted_message = { - .name = 0x535b7918, - .id = "DecryptedMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_decrypted_message = { - .name = 0xaca486e7, - .id = "Bare_DecryptedMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_decrypted_message_action = { - .name = 0x4e0eefde, - .id = "DecryptedMessageAction" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_decrypted_message_action = { - .name = 0xb1f11021, - .id = "Bare_DecryptedMessageAction", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_decrypted_message_layer = { - .name = 0x1be31789, - .id = "DecryptedMessageLayer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_decrypted_message_layer = { - .name = 0xe41ce876, - .id = "Bare_DecryptedMessageLayer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_decrypted_message_media = { - .name = 0x34e0d674, - .id = "DecryptedMessageMedia" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_decrypted_message_media = { - .name = 0xcb1f298b, - .id = "Bare_DecryptedMessageMedia", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_dialog = { - .name = 0xc1dd804a, - .id = "Dialog" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_dialog = { - .name = 0x3e227fb5, - .id = "Bare_Dialog", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_disabled_feature = { - .name = 0xae636f24, - .id = "DisabledFeature" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_disabled_feature = { - .name = 0x519c90db, - .id = "Bare_DisabledFeature", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_document = { - .name = 0x51a73418, - .id = "Document" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_document = { - .name = 0xae58cbe7, - .id = "Bare_Document", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_document_attribute = { - .name = 0x97c637a3, - .id = "DocumentAttribute" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_document_attribute = { - .name = 0x6839c85c, - .id = "Bare_DocumentAttribute", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_double = { - .name = 0x2210c154, - .id = "Double" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_double = { - .name = 0xddef3eab, - .id = "Bare_Double", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_encrypted_chat = { - .name = 0xb1718213, - .id = "EncryptedChat" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_encrypted_chat = { - .name = 0x4e8e7dec, - .id = "Bare_EncryptedChat", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_encrypted_file = { - .name = 0x886fd032, - .id = "EncryptedFile" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_encrypted_file = { - .name = 0x77902fcd, - .id = "Bare_EncryptedFile", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_encrypted_message = { - .name = 0xce6b8a1e, - .id = "EncryptedMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_encrypted_message = { - .name = 0x319475e1, - .id = "Bare_EncryptedMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_error = { - .name = 0xc4b9f9bb, - .id = "Error" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_error = { - .name = 0x3b460644, - .id = "Bare_Error", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_exported_chat_invite = { - .name = 0x95f132d5, - .id = "ExportedChatInvite" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_exported_chat_invite = { - .name = 0x6a0ecd2a, - .id = "Bare_ExportedChatInvite", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_file_location = { - .name = 0x2f8ffb30, - .id = "FileLocation" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_file_location = { - .name = 0xd07004cf, - .id = "Bare_FileLocation", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_geo_chat_message = { - .name = 0xf67b4034, - .id = "GeoChatMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_geo_chat_message = { - .name = 0x0984bfcb, - .id = "Bare_GeoChatMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_geo_point = { - .name = 0x315e0a53, - .id = "GeoPoint" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_geo_point = { - .name = 0xcea1f5ac, - .id = "Bare_GeoPoint", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_imported_contact = { - .name = 0xd0028438, - .id = "ImportedContact" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_imported_contact = { - .name = 0x2ffd7bc7, - .id = "Bare_ImportedContact", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_app_event = { - .name = 0x770656a8, - .id = "InputAppEvent" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_app_event = { - .name = 0x88f9a957, - .id = "Bare_InputAppEvent", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_audio = { - .name = 0xae8e9c7b, - .id = "InputAudio" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_audio = { - .name = 0x51716384, - .id = "Bare_InputAudio", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_chat_photo = { - .name = 0x3a60776d, - .id = "InputChatPhoto" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_chat_photo = { - .name = 0xc59f8892, - .id = "Bare_InputChatPhoto", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_contact = { - .name = 0xf392b7f4, - .id = "InputContact" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_contact = { - .name = 0x0c6d480b, - .id = "Bare_InputContact", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_document = { - .name = 0x6a8963fc, - .id = "InputDocument" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_document = { - .name = 0x95769c03, - .id = "Bare_InputDocument", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_encrypted_chat = { - .name = 0xf141b5e1, - .id = "InputEncryptedChat" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_encrypted_chat = { - .name = 0x0ebe4a1e, - .id = "Bare_InputEncryptedChat", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_encrypted_file = { - .name = 0x0b5c064f, - .id = "InputEncryptedFile" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_encrypted_file = { - .name = 0xf4a3f9b0, - .id = "Bare_InputEncryptedFile", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_file = { - .name = 0x0f60f9ca, - .id = "InputFile" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_file = { - .name = 0xf09f0635, - .id = "Bare_InputFile", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_file_location = { - .name = 0xe6daa38b, - .id = "InputFileLocation" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_file_location = { - .name = 0x19255c74, - .id = "Bare_InputFileLocation", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_geo_chat = { - .name = 0x74d456fa, - .id = "InputGeoChat" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_geo_chat = { - .name = 0x8b2ba905, - .id = "Bare_InputGeoChat", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_geo_point = { - .name = 0x17768f1f, - .id = "InputGeoPoint" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_geo_point = { - .name = 0xe88970e0, - .id = "Bare_InputGeoPoint", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_media = { - .name = 0xb32c91dd, - .id = "InputMedia" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_media = { - .name = 0x4cd36e22, - .id = "Bare_InputMedia", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_notify_peer = { - .name = 0x02b6911b, - .id = "InputNotifyPeer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_notify_peer = { - .name = 0xfd496ee4, - .id = "Bare_InputNotifyPeer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_peer = { - .name = 0x9e67268d, - .id = "InputPeer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_peer = { - .name = 0x6198d972, - .id = "Bare_InputPeer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_peer_notify_events = { - .name = 0x185a48ac, - .id = "InputPeerNotifyEvents" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_peer_notify_events = { - .name = 0xe7a5b753, - .id = "Bare_InputPeerNotifyEvents", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_peer_notify_settings = { - .name = 0x46a2ce98, - .id = "InputPeerNotifySettings" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_peer_notify_settings = { - .name = 0xb95d3167, - .id = "Bare_InputPeerNotifySettings", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_photo = { - .name = 0xe74279c9, - .id = "InputPhoto" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_photo = { - .name = 0x18bd8636, - .id = "Bare_InputPhoto", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_photo_crop = { - .name = 0x7477e321, - .id = "InputPhotoCrop" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_photo_crop = { - .name = 0x8b881cde, - .id = "Bare_InputPhotoCrop", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_privacy_key = { - .name = 0x4f96cb18, - .id = "InputPrivacyKey" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_privacy_key = { - .name = 0xb06934e7, - .id = "Bare_InputPrivacyKey", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_privacy_rule = { - .name = 0x4b815163, - .id = "InputPrivacyRule" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_privacy_rule = { - .name = 0xb47eae9c, - .id = "Bare_InputPrivacyRule", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_sticker_set = { - .name = 0xe44d415c, - .id = "InputStickerSet" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_sticker_set = { - .name = 0x1bb2bea3, - .id = "Bare_InputStickerSet", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_user = { - .name = 0xadfe0c6a, - .id = "InputUser" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_user = { - .name = 0x5201f395, - .id = "Bare_InputUser", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_input_video = { - .name = 0xbb5f7a27, - .id = "InputVideo" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_input_video = { - .name = 0x44a085d8, - .id = "Bare_InputVideo", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_int = { - .name = 0xa8509bda, - .id = "Int" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_int = { - .name = 0x57af6425, - .id = "Bare_Int", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_int128 = { - .name = 0x7d36c439, - .id = "Int128" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_int128 = { - .name = 0x82c93bc6, - .id = "Bare_Int128", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_int256 = { - .name = 0xf2c798b3, - .id = "Int256" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_int256 = { - .name = 0x0d38674c, - .id = "Bare_Int256", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_keyboard_button = { - .name = 0xa2fa4880, - .id = "KeyboardButton" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_keyboard_button = { - .name = 0x5d05b77f, - .id = "Bare_KeyboardButton", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_keyboard_button_row = { - .name = 0x77608b83, - .id = "KeyboardButtonRow" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_keyboard_button_row = { - .name = 0x889f747c, - .id = "Bare_KeyboardButtonRow", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_long = { - .name = 0x22076cba, - .id = "Long" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_long = { - .name = 0xddf89345, - .id = "Bare_Long", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_message = { - .name = 0x5d652a7f, - .id = "Message" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_message = { - .name = 0xa29ad580, - .id = "Bare_Message", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_message_action = { - .name = 0x383415fa, - .id = "MessageAction" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_message_action = { - .name = 0xc7cbea05, - .id = "Bare_MessageAction", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_message_media = { - .name = 0x95f2471a, - .id = "MessageMedia" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_message_media = { - .name = 0x6a0db8e5, - .id = "Bare_MessageMedia", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_filter = { - .name = 0x80895ae0, - .id = "MessagesFilter" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_filter = { - .name = 0x7f76a51f, - .id = "Bare_MessagesFilter", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_nearest_dc = { - .name = 0x8e1a1775, - .id = "NearestDc" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_nearest_dc = { - .name = 0x71e5e88a, - .id = "Bare_NearestDc", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_notify_peer = { - .name = 0x9fcb8237, - .id = "NotifyPeer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_notify_peer = { - .name = 0x60347dc8, - .id = "Bare_NotifyPeer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_null = { - .name = 0x56730bcc, - .id = "Null" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_null = { - .name = 0xa98cf433, - .id = "Bare_Null", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_p_q_inner_data = { - .name = 0xbfa3de38, - .id = "P_Q_inner_data" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_p_q_inner_data = { - .name = 0x405c21c7, - .id = "Bare_P_Q_inner_data", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_peer = { - .name = 0x276159d6, - .id = "Peer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_peer = { - .name = 0xd89ea629, - .id = "Bare_Peer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_peer_notify_events = { - .name = 0xc0c8d13b, - .id = "PeerNotifyEvents" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_peer_notify_events = { - .name = 0x3f372ec4, - .id = "Bare_PeerNotifyEvents", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_peer_notify_settings = { - .name = 0xfdf894fc, - .id = "PeerNotifySettings" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_peer_notify_settings = { - .name = 0x02076b03, - .id = "Bare_PeerNotifySettings", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_photo = { - .name = 0xc207550a, - .id = "Photo" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_photo = { - .name = 0x3df8aaf5, - .id = "Bare_Photo", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_photo_size = { - .name = 0x900f60dd, - .id = "PhotoSize" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_photo_size = { - .name = 0x6ff09f22, - .id = "Bare_PhotoSize", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_privacy_key = { - .name = 0xbc2eab30, - .id = "PrivacyKey" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_privacy_key = { - .name = 0x43d154cf, - .id = "Bare_PrivacyKey", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_privacy_rule = { - .name = 0xa8638aec, - .id = "PrivacyRule" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_privacy_rule = { - .name = 0x579c7513, - .id = "Bare_PrivacyRule", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_received_notify_message = { - .name = 0xa384b779, - .id = "ReceivedNotifyMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_received_notify_message = { - .name = 0x5c7b4886, - .id = "Bare_ReceivedNotifyMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_reply_markup = { - .name = 0x612ca4a9, - .id = "ReplyMarkup" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_reply_markup = { - .name = 0x9ed35b56, - .id = "Bare_ReplyMarkup", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_res_p_q = { - .name = 0x05162463, - .id = "ResPQ" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_res_p_q = { - .name = 0xfae9db9c, - .id = "Bare_ResPQ", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_send_message_action = { - .name = 0x70541c7e, - .id = "SendMessageAction" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_send_message_action = { - .name = 0x8fabe381, - .id = "Bare_SendMessageAction", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_server_d_h_params = { - .name = 0xa9230301, - .id = "Server_DH_Params" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_server_d_h_params = { - .name = 0x56dcfcfe, - .id = "Bare_Server_DH_Params", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_server_d_h_inner_data = { - .name = 0xb5890dba, - .id = "Server_DH_inner_data" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_server_d_h_inner_data = { - .name = 0x4a76f245, - .id = "Bare_Server_DH_inner_data", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_set_client_d_h_params_answer = { - .name = 0xdb8a468f, - .id = "Set_client_DH_params_answer" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_set_client_d_h_params_answer = { - .name = 0x2475b970, - .id = "Bare_Set_client_DH_params_answer", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_sticker_pack = { - .name = 0x12b299d4, - .id = "StickerPack" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_sticker_pack = { - .name = 0xed4d662b, - .id = "Bare_StickerPack", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_sticker_set = { - .name = 0xa7a43b17, - .id = "StickerSet" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_sticker_set = { - .name = 0x585bc4e8, - .id = "Bare_StickerSet", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_string = { - .name = 0xb5286e24, - .id = "String" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_string = { - .name = 0x4ad791db, - .id = "Bare_String", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_update = { - .name = 0x2e02b27e, - .id = "Update" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_update = { - .name = 0xd1fd4d81, - .id = "Bare_Update", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_updates = { - .name = 0x22499d27, - .id = "Updates" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_updates = { - .name = 0xddb662d8, - .id = "Bare_Updates", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_user = { - .name = 0x02e6c0c8, - .id = "User" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_user = { - .name = 0xfd193f37, - .id = "Bare_User", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_user_full = { - .name = 0x5a89ac5b, - .id = "UserFull" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_user_full = { - .name = 0xa57653a4, - .id = "Bare_UserFull", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_user_profile_photo = { - .name = 0x9a486229, - .id = "UserProfilePhoto" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_user_profile_photo = { - .name = 0x65b79dd6, - .id = "Bare_UserProfilePhoto", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_user_status = { - .name = 0x76de9570, - .id = "UserStatus" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_user_status = { - .name = 0x89216a8f, - .id = "Bare_UserStatus", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_vector = { - .name = 0x1cb5c415, - .id = "Vector" -, .params_num = 1, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_vector = { - .name = 0xe34a3bea, - .id = "Bare_Vector", - .params_num = 1, - .params_types = 0 -}; -struct tl_type_descr tl_type_video = { - .name = 0x1716b174, - .id = "Video" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_video = { - .name = 0xe8e94e8b, - .id = "Bare_Video", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_wall_paper = { - .name = 0xafa14973, - .id = "WallPaper" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_wall_paper = { - .name = 0x505eb68c, - .id = "Bare_WallPaper", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_web_page = { - .name = 0x8d8c0d41, - .id = "WebPage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_web_page = { - .name = 0x7273f2be, - .id = "Bare_WebPage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_authorizations = { - .name = 0x1250abde, - .id = "account.Authorizations" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_authorizations = { - .name = 0xedaf5421, - .id = "Bare_account.Authorizations", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_password = { - .name = 0xeac2a804, - .id = "account.Password" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_password = { - .name = 0x153d57fb, - .id = "Bare_account.Password", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_password_input_settings = { - .name = 0xbcfc532c, - .id = "account.PasswordInputSettings" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_password_input_settings = { - .name = 0x4303acd3, - .id = "Bare_account.PasswordInputSettings", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_password_settings = { - .name = 0xb7b72ab3, - .id = "account.PasswordSettings" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_password_settings = { - .name = 0x4848d54c, - .id = "Bare_account.PasswordSettings", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_privacy_rules = { - .name = 0x554abb6f, - .id = "account.PrivacyRules" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_privacy_rules = { - .name = 0xaab54490, - .id = "Bare_account.PrivacyRules", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_account_sent_change_phone_code = { - .name = 0xa4f58c4c, - .id = "account.SentChangePhoneCode" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_account_sent_change_phone_code = { - .name = 0x5b0a73b3, - .id = "Bare_account.SentChangePhoneCode", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_auth_authorization = { - .name = 0xff036af1, - .id = "auth.Authorization" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_auth_authorization = { - .name = 0x00fc950e, - .id = "Bare_auth.Authorization", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_auth_checked_phone = { - .name = 0x811ea28e, - .id = "auth.CheckedPhone" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_auth_checked_phone = { - .name = 0x7ee15d71, - .id = "Bare_auth.CheckedPhone", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_auth_exported_authorization = { - .name = 0xdf969c2d, - .id = "auth.ExportedAuthorization" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_auth_exported_authorization = { - .name = 0x206963d2, - .id = "Bare_auth.ExportedAuthorization", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_auth_password_recovery = { - .name = 0x137948a5, - .id = "auth.PasswordRecovery" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_auth_password_recovery = { - .name = 0xec86b75a, - .id = "Bare_auth.PasswordRecovery", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_auth_sent_code = { - .name = 0x0cc8bc16, - .id = "auth.SentCode" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_auth_sent_code = { - .name = 0xf33743e9, - .id = "Bare_auth.SentCode", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_binlog_encr_key = { - .name = 0x0377168f, - .id = "binlog.EncrKey" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_binlog_encr_key = { - .name = 0xfc88e970, - .id = "Bare_binlog.EncrKey", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_binlog_update = { - .name = 0x66ff03a6, - .id = "binlog.Update" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_binlog_update = { - .name = 0x9900fc59, - .id = "Bare_binlog.Update", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_blocked = { - .name = 0x8c1b8fb4, - .id = "contacts.Blocked" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_blocked = { - .name = 0x73e4704b, - .id = "Bare_contacts.Blocked", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_contacts = { - .name = 0xd8c02560, - .id = "contacts.Contacts" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_contacts = { - .name = 0x273fda9f, - .id = "Bare_contacts.Contacts", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_found = { - .name = 0x0566000e, - .id = "contacts.Found" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_found = { - .name = 0xfa99fff1, - .id = "Bare_contacts.Found", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_imported_contacts = { - .name = 0xad524315, - .id = "contacts.ImportedContacts" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_imported_contacts = { - .name = 0x52adbcea, - .id = "Bare_contacts.ImportedContacts", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_link = { - .name = 0x3ace484c, - .id = "contacts.Link" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_link = { - .name = 0xc531b7b3, - .id = "Bare_contacts.Link", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_contacts_suggested = { - .name = 0x5649dcc5, - .id = "contacts.Suggested" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_contacts_suggested = { - .name = 0xa9b6233a, - .id = "Bare_contacts.Suggested", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_geochats_located = { - .name = 0x48feb267, - .id = "geochats.Located" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_geochats_located = { - .name = 0xb7014d98, - .id = "Bare_geochats.Located", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_geochats_messages = { - .name = 0x6d0a0e59, - .id = "geochats.Messages" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_geochats_messages = { - .name = 0x92f5f1a6, - .id = "Bare_geochats.Messages", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_geochats_stated_message = { - .name = 0x17b1578b, - .id = "geochats.StatedMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_geochats_stated_message = { - .name = 0xe84ea874, - .id = "Bare_geochats.StatedMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_help_app_update = { - .name = 0x4ddd9627, - .id = "help.AppUpdate" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_help_app_update = { - .name = 0xb22269d8, - .id = "Bare_help.AppUpdate", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_help_invite_text = { - .name = 0x18cb9f78, - .id = "help.InviteText" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_help_invite_text = { - .name = 0xe7346087, - .id = "Bare_help.InviteText", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_help_support = { - .name = 0x17c6b5f6, - .id = "help.Support" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_help_support = { - .name = 0xe8394a09, - .id = "Bare_help.Support", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_affected_history = { - .name = 0xb45c69d1, - .id = "messages.AffectedHistory" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_affected_history = { - .name = 0x4ba3962e, - .id = "Bare_messages.AffectedHistory", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_affected_messages = { - .name = 0x84d19185, - .id = "messages.AffectedMessages" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_affected_messages = { - .name = 0x7b2e6e7a, - .id = "Bare_messages.AffectedMessages", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_all_stickers = { - .name = 0xb485502f, - .id = "messages.AllStickers" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_all_stickers = { - .name = 0x4b7aafd0, - .id = "Bare_messages.AllStickers", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_chat_full = { - .name = 0xe5d7d19c, - .id = "messages.ChatFull" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_chat_full = { - .name = 0x1a282e63, - .id = "Bare_messages.ChatFull", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_chats = { - .name = 0x64ff9fd5, - .id = "messages.Chats" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_chats = { - .name = 0x9b00602a, - .id = "Bare_messages.Chats", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_dh_config = { - .name = 0xecc058e8, - .id = "messages.DhConfig" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_dh_config = { - .name = 0x133fa717, - .id = "Bare_messages.DhConfig", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_dialogs = { - .name = 0x645af8b3, - .id = "messages.Dialogs" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_dialogs = { - .name = 0x9ba5074c, - .id = "Bare_messages.Dialogs", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_message = { - .name = 0x3f4e0648, - .id = "messages.Message" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_message = { - .name = 0xc0b1f9b7, - .id = "Bare_messages.Message", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_messages = { - .name = 0x8735e464, - .id = "messages.Messages" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_messages = { - .name = 0x78ca1b9b, - .id = "Bare_messages.Messages", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_sent_encrypted_message = { - .name = 0xc29c7607, - .id = "messages.SentEncryptedMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_sent_encrypted_message = { - .name = 0x3d6389f8, - .id = "Bare_messages.SentEncryptedMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_sent_message = { - .name = 0x799ce190, - .id = "messages.SentMessage" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_sent_message = { - .name = 0x86631e6f, - .id = "Bare_messages.SentMessage", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_sticker_set = { - .name = 0xb60a24a6, - .id = "messages.StickerSet" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_sticker_set = { - .name = 0x49f5db59, - .id = "Bare_messages.StickerSet", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_messages_stickers = { - .name = 0x7bfa5710, - .id = "messages.Stickers" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_messages_stickers = { - .name = 0x8405a8ef, - .id = "Bare_messages.Stickers", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_photos_photo = { - .name = 0x20212ca8, - .id = "photos.Photo" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_photos_photo = { - .name = 0xdfded357, - .id = "Bare_photos.Photo", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_photos_photos = { - .name = 0x98cf75f1, - .id = "photos.Photos" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_photos_photos = { - .name = 0x67308a0e, - .id = "Bare_photos.Photos", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_storage_file_type = { - .name = 0x3e2838a8, - .id = "storage.FileType" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_storage_file_type = { - .name = 0xc1d7c757, - .id = "Bare_storage.FileType", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_updates_difference = { - .name = 0xf57a2419, - .id = "updates.Difference" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_updates_difference = { - .name = 0x0a85dbe6, - .id = "Bare_updates.Difference", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_updates_state = { - .name = 0xa56c2a3e, - .id = "updates.State" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_updates_state = { - .name = 0x5a93d5c1, - .id = "Bare_updates.State", - .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_upload_file = { - .name = 0x096a18d5, - .id = "upload.File" -, .params_num = 0, - .params_types = 0 -}; -struct tl_type_descr tl_type_bare_upload_file = { - .name = 0xf695e72a, - .id = "Bare_upload.File", - .params_num = 0, - .params_types = 0 -}; diff --git a/libs/tgl/src/auto/auto-types.h b/libs/tgl/src/auto/auto-types.h deleted file mode 100644 index 74e8de9039..0000000000 --- a/libs/tgl/src/auto/auto-types.h +++ /dev/null @@ -1,1589 +0,0 @@ -#ifndef __AUTO_TYPES_H__ -#define __AUTO_TYPES_H__ -#ifdef _MSC_VER -#include "..\auto.h" -#else -#include "auto.h" -#endif -extern struct tl_type_descr tl_type_account_days_t_t_l; -extern struct tl_type_descr tl_type_bare_account_days_t_t_l; -extern struct tl_type_descr tl_type_audio; -extern struct tl_type_descr tl_type_bare_audio; -extern struct tl_type_descr tl_type_authorization; -extern struct tl_type_descr tl_type_bare_authorization; -extern struct tl_type_descr tl_type_bool; -extern struct tl_type_descr tl_type_bare_bool; -extern struct tl_type_descr tl_type_bot_command; -extern struct tl_type_descr tl_type_bare_bot_command; -extern struct tl_type_descr tl_type_bot_info; -extern struct tl_type_descr tl_type_bare_bot_info; -extern struct tl_type_descr tl_type_bytes; -extern struct tl_type_descr tl_type_bare_bytes; -extern struct tl_type_descr tl_type_chat; -extern struct tl_type_descr tl_type_bare_chat; -extern struct tl_type_descr tl_type_chat_full; -extern struct tl_type_descr tl_type_bare_chat_full; -extern struct tl_type_descr tl_type_chat_invite; -extern struct tl_type_descr tl_type_bare_chat_invite; -extern struct tl_type_descr tl_type_chat_located; -extern struct tl_type_descr tl_type_bare_chat_located; -extern struct tl_type_descr tl_type_chat_participant; -extern struct tl_type_descr tl_type_bare_chat_participant; -extern struct tl_type_descr tl_type_chat_participants; -extern struct tl_type_descr tl_type_bare_chat_participants; -extern struct tl_type_descr tl_type_chat_photo; -extern struct tl_type_descr tl_type_bare_chat_photo; -extern struct tl_type_descr tl_type_client_d_h_inner_data; -extern struct tl_type_descr tl_type_bare_client_d_h_inner_data; -extern struct tl_type_descr tl_type_config; -extern struct tl_type_descr tl_type_bare_config; -extern struct tl_type_descr tl_type_contact; -extern struct tl_type_descr tl_type_bare_contact; -extern struct tl_type_descr tl_type_contact_blocked; -extern struct tl_type_descr tl_type_bare_contact_blocked; -extern struct tl_type_descr tl_type_contact_found; -extern struct tl_type_descr tl_type_bare_contact_found; -extern struct tl_type_descr tl_type_contact_link; -extern struct tl_type_descr tl_type_bare_contact_link; -extern struct tl_type_descr tl_type_contact_status; -extern struct tl_type_descr tl_type_bare_contact_status; -extern struct tl_type_descr tl_type_contact_suggested; -extern struct tl_type_descr tl_type_bare_contact_suggested; -extern struct tl_type_descr tl_type_dc_option; -extern struct tl_type_descr tl_type_bare_dc_option; -extern struct tl_type_descr tl_type_decrypted_message; -extern struct tl_type_descr tl_type_bare_decrypted_message; -extern struct tl_type_descr tl_type_decrypted_message_action; -extern struct tl_type_descr tl_type_bare_decrypted_message_action; -extern struct tl_type_descr tl_type_decrypted_message_layer; -extern struct tl_type_descr tl_type_bare_decrypted_message_layer; -extern struct tl_type_descr tl_type_decrypted_message_media; -extern struct tl_type_descr tl_type_bare_decrypted_message_media; -extern struct tl_type_descr tl_type_dialog; -extern struct tl_type_descr tl_type_bare_dialog; -extern struct tl_type_descr tl_type_disabled_feature; -extern struct tl_type_descr tl_type_bare_disabled_feature; -extern struct tl_type_descr tl_type_document; -extern struct tl_type_descr tl_type_bare_document; -extern struct tl_type_descr tl_type_document_attribute; -extern struct tl_type_descr tl_type_bare_document_attribute; -extern struct tl_type_descr tl_type_double; -extern struct tl_type_descr tl_type_bare_double; -extern struct tl_type_descr tl_type_encrypted_chat; -extern struct tl_type_descr tl_type_bare_encrypted_chat; -extern struct tl_type_descr tl_type_encrypted_file; -extern struct tl_type_descr tl_type_bare_encrypted_file; -extern struct tl_type_descr tl_type_encrypted_message; -extern struct tl_type_descr tl_type_bare_encrypted_message; -extern struct tl_type_descr tl_type_error; -extern struct tl_type_descr tl_type_bare_error; -extern struct tl_type_descr tl_type_exported_chat_invite; -extern struct tl_type_descr tl_type_bare_exported_chat_invite; -extern struct tl_type_descr tl_type_file_location; -extern struct tl_type_descr tl_type_bare_file_location; -extern struct tl_type_descr tl_type_geo_chat_message; -extern struct tl_type_descr tl_type_bare_geo_chat_message; -extern struct tl_type_descr tl_type_geo_point; -extern struct tl_type_descr tl_type_bare_geo_point; -extern struct tl_type_descr tl_type_imported_contact; -extern struct tl_type_descr tl_type_bare_imported_contact; -extern struct tl_type_descr tl_type_input_app_event; -extern struct tl_type_descr tl_type_bare_input_app_event; -extern struct tl_type_descr tl_type_input_audio; -extern struct tl_type_descr tl_type_bare_input_audio; -extern struct tl_type_descr tl_type_input_chat_photo; -extern struct tl_type_descr tl_type_bare_input_chat_photo; -extern struct tl_type_descr tl_type_input_contact; -extern struct tl_type_descr tl_type_bare_input_contact; -extern struct tl_type_descr tl_type_input_document; -extern struct tl_type_descr tl_type_bare_input_document; -extern struct tl_type_descr tl_type_input_encrypted_chat; -extern struct tl_type_descr tl_type_bare_input_encrypted_chat; -extern struct tl_type_descr tl_type_input_encrypted_file; -extern struct tl_type_descr tl_type_bare_input_encrypted_file; -extern struct tl_type_descr tl_type_input_file; -extern struct tl_type_descr tl_type_bare_input_file; -extern struct tl_type_descr tl_type_input_file_location; -extern struct tl_type_descr tl_type_bare_input_file_location; -extern struct tl_type_descr tl_type_input_geo_chat; -extern struct tl_type_descr tl_type_bare_input_geo_chat; -extern struct tl_type_descr tl_type_input_geo_point; -extern struct tl_type_descr tl_type_bare_input_geo_point; -extern struct tl_type_descr tl_type_input_media; -extern struct tl_type_descr tl_type_bare_input_media; -extern struct tl_type_descr tl_type_input_notify_peer; -extern struct tl_type_descr tl_type_bare_input_notify_peer; -extern struct tl_type_descr tl_type_input_peer; -extern struct tl_type_descr tl_type_bare_input_peer; -extern struct tl_type_descr tl_type_input_peer_notify_events; -extern struct tl_type_descr tl_type_bare_input_peer_notify_events; -extern struct tl_type_descr tl_type_input_peer_notify_settings; -extern struct tl_type_descr tl_type_bare_input_peer_notify_settings; -extern struct tl_type_descr tl_type_input_photo; -extern struct tl_type_descr tl_type_bare_input_photo; -extern struct tl_type_descr tl_type_input_photo_crop; -extern struct tl_type_descr tl_type_bare_input_photo_crop; -extern struct tl_type_descr tl_type_input_privacy_key; -extern struct tl_type_descr tl_type_bare_input_privacy_key; -extern struct tl_type_descr tl_type_input_privacy_rule; -extern struct tl_type_descr tl_type_bare_input_privacy_rule; -extern struct tl_type_descr tl_type_input_sticker_set; -extern struct tl_type_descr tl_type_bare_input_sticker_set; -extern struct tl_type_descr tl_type_input_user; -extern struct tl_type_descr tl_type_bare_input_user; -extern struct tl_type_descr tl_type_input_video; -extern struct tl_type_descr tl_type_bare_input_video; -extern struct tl_type_descr tl_type_int; -extern struct tl_type_descr tl_type_bare_int; -extern struct tl_type_descr tl_type_int128; -extern struct tl_type_descr tl_type_bare_int128; -extern struct tl_type_descr tl_type_int256; -extern struct tl_type_descr tl_type_bare_int256; -extern struct tl_type_descr tl_type_keyboard_button; -extern struct tl_type_descr tl_type_bare_keyboard_button; -extern struct tl_type_descr tl_type_keyboard_button_row; -extern struct tl_type_descr tl_type_bare_keyboard_button_row; -extern struct tl_type_descr tl_type_long; -extern struct tl_type_descr tl_type_bare_long; -extern struct tl_type_descr tl_type_message; -extern struct tl_type_descr tl_type_bare_message; -extern struct tl_type_descr tl_type_message_action; -extern struct tl_type_descr tl_type_bare_message_action; -extern struct tl_type_descr tl_type_message_media; -extern struct tl_type_descr tl_type_bare_message_media; -extern struct tl_type_descr tl_type_messages_filter; -extern struct tl_type_descr tl_type_bare_messages_filter; -extern struct tl_type_descr tl_type_nearest_dc; -extern struct tl_type_descr tl_type_bare_nearest_dc; -extern struct tl_type_descr tl_type_notify_peer; -extern struct tl_type_descr tl_type_bare_notify_peer; -extern struct tl_type_descr tl_type_null; -extern struct tl_type_descr tl_type_bare_null; -extern struct tl_type_descr tl_type_p_q_inner_data; -extern struct tl_type_descr tl_type_bare_p_q_inner_data; -extern struct tl_type_descr tl_type_peer; -extern struct tl_type_descr tl_type_bare_peer; -extern struct tl_type_descr tl_type_peer_notify_events; -extern struct tl_type_descr tl_type_bare_peer_notify_events; -extern struct tl_type_descr tl_type_peer_notify_settings; -extern struct tl_type_descr tl_type_bare_peer_notify_settings; -extern struct tl_type_descr tl_type_photo; -extern struct tl_type_descr tl_type_bare_photo; -extern struct tl_type_descr tl_type_photo_size; -extern struct tl_type_descr tl_type_bare_photo_size; -extern struct tl_type_descr tl_type_privacy_key; -extern struct tl_type_descr tl_type_bare_privacy_key; -extern struct tl_type_descr tl_type_privacy_rule; -extern struct tl_type_descr tl_type_bare_privacy_rule; -extern struct tl_type_descr tl_type_received_notify_message; -extern struct tl_type_descr tl_type_bare_received_notify_message; -extern struct tl_type_descr tl_type_reply_markup; -extern struct tl_type_descr tl_type_bare_reply_markup; -extern struct tl_type_descr tl_type_res_p_q; -extern struct tl_type_descr tl_type_bare_res_p_q; -extern struct tl_type_descr tl_type_send_message_action; -extern struct tl_type_descr tl_type_bare_send_message_action; -extern struct tl_type_descr tl_type_server_d_h_params; -extern struct tl_type_descr tl_type_bare_server_d_h_params; -extern struct tl_type_descr tl_type_server_d_h_inner_data; -extern struct tl_type_descr tl_type_bare_server_d_h_inner_data; -extern struct tl_type_descr tl_type_set_client_d_h_params_answer; -extern struct tl_type_descr tl_type_bare_set_client_d_h_params_answer; -extern struct tl_type_descr tl_type_sticker_pack; -extern struct tl_type_descr tl_type_bare_sticker_pack; -extern struct tl_type_descr tl_type_sticker_set; -extern struct tl_type_descr tl_type_bare_sticker_set; -extern struct tl_type_descr tl_type_string; -extern struct tl_type_descr tl_type_bare_string; -extern struct tl_type_descr tl_type_update; -extern struct tl_type_descr tl_type_bare_update; -extern struct tl_type_descr tl_type_updates; -extern struct tl_type_descr tl_type_bare_updates; -extern struct tl_type_descr tl_type_user; -extern struct tl_type_descr tl_type_bare_user; -extern struct tl_type_descr tl_type_user_full; -extern struct tl_type_descr tl_type_bare_user_full; -extern struct tl_type_descr tl_type_user_profile_photo; -extern struct tl_type_descr tl_type_bare_user_profile_photo; -extern struct tl_type_descr tl_type_user_status; -extern struct tl_type_descr tl_type_bare_user_status; -extern struct tl_type_descr tl_type_vector; -extern struct tl_type_descr tl_type_bare_vector; -extern struct tl_type_descr tl_type_video; -extern struct tl_type_descr tl_type_bare_video; -extern struct tl_type_descr tl_type_wall_paper; -extern struct tl_type_descr tl_type_bare_wall_paper; -extern struct tl_type_descr tl_type_web_page; -extern struct tl_type_descr tl_type_bare_web_page; -extern struct tl_type_descr tl_type_account_authorizations; -extern struct tl_type_descr tl_type_bare_account_authorizations; -extern struct tl_type_descr tl_type_account_password; -extern struct tl_type_descr tl_type_bare_account_password; -extern struct tl_type_descr tl_type_account_password_input_settings; -extern struct tl_type_descr tl_type_bare_account_password_input_settings; -extern struct tl_type_descr tl_type_account_password_settings; -extern struct tl_type_descr tl_type_bare_account_password_settings; -extern struct tl_type_descr tl_type_account_privacy_rules; -extern struct tl_type_descr tl_type_bare_account_privacy_rules; -extern struct tl_type_descr tl_type_account_sent_change_phone_code; -extern struct tl_type_descr tl_type_bare_account_sent_change_phone_code; -extern struct tl_type_descr tl_type_auth_authorization; -extern struct tl_type_descr tl_type_bare_auth_authorization; -extern struct tl_type_descr tl_type_auth_checked_phone; -extern struct tl_type_descr tl_type_bare_auth_checked_phone; -extern struct tl_type_descr tl_type_auth_exported_authorization; -extern struct tl_type_descr tl_type_bare_auth_exported_authorization; -extern struct tl_type_descr tl_type_auth_password_recovery; -extern struct tl_type_descr tl_type_bare_auth_password_recovery; -extern struct tl_type_descr tl_type_auth_sent_code; -extern struct tl_type_descr tl_type_bare_auth_sent_code; -extern struct tl_type_descr tl_type_binlog_encr_key; -extern struct tl_type_descr tl_type_bare_binlog_encr_key; -extern struct tl_type_descr tl_type_binlog_update; -extern struct tl_type_descr tl_type_bare_binlog_update; -extern struct tl_type_descr tl_type_contacts_blocked; -extern struct tl_type_descr tl_type_bare_contacts_blocked; -extern struct tl_type_descr tl_type_contacts_contacts; -extern struct tl_type_descr tl_type_bare_contacts_contacts; -extern struct tl_type_descr tl_type_contacts_found; -extern struct tl_type_descr tl_type_bare_contacts_found; -extern struct tl_type_descr tl_type_contacts_imported_contacts; -extern struct tl_type_descr tl_type_bare_contacts_imported_contacts; -extern struct tl_type_descr tl_type_contacts_link; -extern struct tl_type_descr tl_type_bare_contacts_link; -extern struct tl_type_descr tl_type_contacts_suggested; -extern struct tl_type_descr tl_type_bare_contacts_suggested; -extern struct tl_type_descr tl_type_geochats_located; -extern struct tl_type_descr tl_type_bare_geochats_located; -extern struct tl_type_descr tl_type_geochats_messages; -extern struct tl_type_descr tl_type_bare_geochats_messages; -extern struct tl_type_descr tl_type_geochats_stated_message; -extern struct tl_type_descr tl_type_bare_geochats_stated_message; -extern struct tl_type_descr tl_type_help_app_update; -extern struct tl_type_descr tl_type_bare_help_app_update; -extern struct tl_type_descr tl_type_help_invite_text; -extern struct tl_type_descr tl_type_bare_help_invite_text; -extern struct tl_type_descr tl_type_help_support; -extern struct tl_type_descr tl_type_bare_help_support; -extern struct tl_type_descr tl_type_messages_affected_history; -extern struct tl_type_descr tl_type_bare_messages_affected_history; -extern struct tl_type_descr tl_type_messages_affected_messages; -extern struct tl_type_descr tl_type_bare_messages_affected_messages; -extern struct tl_type_descr tl_type_messages_all_stickers; -extern struct tl_type_descr tl_type_bare_messages_all_stickers; -extern struct tl_type_descr tl_type_messages_chat_full; -extern struct tl_type_descr tl_type_bare_messages_chat_full; -extern struct tl_type_descr tl_type_messages_chats; -extern struct tl_type_descr tl_type_bare_messages_chats; -extern struct tl_type_descr tl_type_messages_dh_config; -extern struct tl_type_descr tl_type_bare_messages_dh_config; -extern struct tl_type_descr tl_type_messages_dialogs; -extern struct tl_type_descr tl_type_bare_messages_dialogs; -extern struct tl_type_descr tl_type_messages_message; -extern struct tl_type_descr tl_type_bare_messages_message; -extern struct tl_type_descr tl_type_messages_messages; -extern struct tl_type_descr tl_type_bare_messages_messages; -extern struct tl_type_descr tl_type_messages_sent_encrypted_message; -extern struct tl_type_descr tl_type_bare_messages_sent_encrypted_message; -extern struct tl_type_descr tl_type_messages_sent_message; -extern struct tl_type_descr tl_type_bare_messages_sent_message; -extern struct tl_type_descr tl_type_messages_sticker_set; -extern struct tl_type_descr tl_type_bare_messages_sticker_set; -extern struct tl_type_descr tl_type_messages_stickers; -extern struct tl_type_descr tl_type_bare_messages_stickers; -extern struct tl_type_descr tl_type_photos_photo; -extern struct tl_type_descr tl_type_bare_photos_photo; -extern struct tl_type_descr tl_type_photos_photos; -extern struct tl_type_descr tl_type_bare_photos_photos; -extern struct tl_type_descr tl_type_storage_file_type; -extern struct tl_type_descr tl_type_bare_storage_file_type; -extern struct tl_type_descr tl_type_updates_difference; -extern struct tl_type_descr tl_type_bare_updates_difference; -extern struct tl_type_descr tl_type_updates_state; -extern struct tl_type_descr tl_type_bare_updates_state; -extern struct tl_type_descr tl_type_upload_file; -extern struct tl_type_descr tl_type_bare_upload_file; -struct tl_ds_account_days_t_t_l { - int *days; -}; -struct tl_ds_audio { - unsigned magic; - long long *id; - long long *access_hash; - int *user_id; - int *date; - int *duration; - struct tl_ds_string *mime_type; - int *size; - int *dc_id; -}; -struct tl_ds_authorization { - long long *hash; - int *flags; - struct tl_ds_string *device_model; - struct tl_ds_string *platform; - struct tl_ds_string *system_version; - int *api_id; - struct tl_ds_string *app_name; - struct tl_ds_string *app_version; - int *date_created; - int *date_active; - struct tl_ds_string *ip; - struct tl_ds_string *country; - struct tl_ds_string *region; -}; -struct tl_ds_bool { - unsigned magic; -}; -struct tl_ds_bot_command { - unsigned magic; - struct tl_ds_string *command; - struct tl_ds_string *description; - struct tl_ds_string *params; -}; -struct tl_ds_bot_info { - unsigned magic; - int *user_id; - int *version; - struct tl_ds_string *share_text; - struct tl_ds_string *description; - struct { - int *cnt; - struct tl_ds_bot_command **data; - } *commands; -}; -struct tl_ds_bytes { - int len; - char *data; -}; -struct tl_ds_chat { - unsigned magic; - int *id; - struct tl_ds_string *title; - struct tl_ds_chat_photo *photo; - int *participants_count; - int *date; - struct tl_ds_bool *left; - int *version; - long long *access_hash; - struct tl_ds_string *address; - struct tl_ds_string *venue; - struct tl_ds_geo_point *geo; - struct tl_ds_bool *checked_in; -}; -struct tl_ds_chat_full { - int *id; - struct tl_ds_chat_participants *participants; - struct tl_ds_photo *chat_photo; - struct tl_ds_peer_notify_settings *notify_settings; - struct tl_ds_exported_chat_invite *exported_invite; - struct { - int *cnt; - struct tl_ds_bot_info **data; - } *bot_info; -}; -struct tl_ds_chat_invite { - unsigned magic; - struct tl_ds_chat *chat; - struct tl_ds_string *title; -}; -struct tl_ds_chat_located { - int *chat_id; - int *distance; -}; -struct tl_ds_chat_participant { - int *user_id; - int *inviter_id; - int *date; -}; -struct tl_ds_chat_participants { - unsigned magic; - int *chat_id; - int *admin_id; - struct { - int *cnt; - struct tl_ds_chat_participant **data; - } *participants; - int *version; -}; -struct tl_ds_chat_photo { - unsigned magic; - struct tl_ds_file_location *photo_small; - struct tl_ds_file_location *photo_big; -}; -struct tl_ds_client_d_h_inner_data { - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - long long *retry_id; - struct tl_ds_string *g_b; -}; -struct tl_ds_config { - int *date; - int *expires; - struct tl_ds_bool *test_mode; - int *this_dc; - struct { - int *cnt; - struct tl_ds_dc_option **data; - } *dc_options; - int *chat_size_max; - int *broadcast_size_max; - int *forwarded_count_max; - int *online_update_period_ms; - int *offline_blur_timeout_ms; - int *offline_idle_timeout_ms; - int *online_cloud_timeout_ms; - int *notify_cloud_delay_ms; - int *notify_default_delay_ms; - int *chat_big_size; - int *push_chat_period_ms; - int *push_chat_limit; - struct { - int *cnt; - struct tl_ds_disabled_feature **data; - } *disabled_features; -}; -struct tl_ds_contact { - int *user_id; - struct tl_ds_bool *mutual; -}; -struct tl_ds_contact_blocked { - int *user_id; - int *date; -}; -struct tl_ds_contact_found { - int *user_id; -}; -struct tl_ds_contact_link { - unsigned magic; -}; -struct tl_ds_contact_status { - int *user_id; - struct tl_ds_user_status *status; -}; -struct tl_ds_contact_suggested { - int *user_id; - int *mutual_contacts; -}; -struct tl_ds_dc_option { - unsigned magic; - int *id; - struct tl_ds_string *hostname; - struct tl_ds_string *ip_address; - int *port; - int *flags; -}; -struct tl_ds_decrypted_message { - unsigned magic; - long long *random_id; - int *ttl; - struct tl_ds_string *message; - struct tl_ds_decrypted_message_media *media; - struct tl_ds_decrypted_message_action *action; -}; -struct tl_ds_decrypted_message_action { - unsigned magic; - int *ttl_seconds; - struct { - int *cnt; - long long **data; - } *random_ids; - int *start_seq_no; - int *end_seq_no; - int *layer; - struct tl_ds_send_message_action *action; - long long *exchange_id; - struct tl_ds_string *g_a; - struct tl_ds_string *g_b; - long long *key_fingerprint; -}; -struct tl_ds_decrypted_message_layer { - struct tl_ds_string *random_bytes; - int *layer; - int *in_seq_no; - int *out_seq_no; - struct tl_ds_decrypted_message *message; -}; -struct tl_ds_decrypted_message_media { - unsigned magic; - struct tl_ds_string *str_thumb; - int *thumb_w; - int *thumb_h; - int *w; - int *h; - int *size; - struct tl_ds_string *key; - struct tl_ds_string *iv; - double *latitude; - double *longitude; - struct tl_ds_string *phone_number; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - int *user_id; - struct tl_ds_string *file_name; - struct tl_ds_string *mime_type; - int *duration; - long long *id; - long long *access_hash; - int *date; - struct tl_ds_photo_size *thumb; - int *dc_id; - struct { - int *cnt; - struct tl_ds_document_attribute **data; - } *attributes; -}; -struct tl_ds_dialog { - struct tl_ds_peer *peer; - int *top_message; - int *read_inbox_max_id; - int *unread_count; - struct tl_ds_peer_notify_settings *notify_settings; -}; -struct tl_ds_disabled_feature { - struct tl_ds_string *feature; - struct tl_ds_string *description; -}; -struct tl_ds_document { - unsigned magic; - long long *id; - long long *access_hash; - int *date; - struct tl_ds_string *mime_type; - int *size; - struct tl_ds_photo_size *thumb; - int *dc_id; - struct { - int *cnt; - struct tl_ds_document_attribute **data; - } *attributes; - int *user_id; - struct tl_ds_string *file_name; -}; -struct tl_ds_document_attribute { - unsigned magic; - int *w; - int *h; - struct tl_ds_string *alt; - struct tl_ds_input_sticker_set *stickerset; - int *duration; - struct tl_ds_string *file_name; -}; -struct tl_ds_double { - int : 0; -}; -struct tl_ds_encrypted_chat { - unsigned magic; - int *id; - long long *access_hash; - int *date; - int *admin_id; - int *participant_id; - struct tl_ds_string *g_a; - struct tl_ds_string *g_a_or_b; - long long *key_fingerprint; -}; -struct tl_ds_encrypted_file { - unsigned magic; - long long *id; - long long *access_hash; - int *size; - int *dc_id; - int *key_fingerprint; -}; -struct tl_ds_encrypted_message { - unsigned magic; - long long *random_id; - int *chat_id; - int *date; - struct tl_ds_string *bytes; - struct tl_ds_encrypted_file *file; -}; -struct tl_ds_error { - int *code; - struct tl_ds_string *text; -}; -struct tl_ds_exported_chat_invite { - unsigned magic; - struct tl_ds_string *link; -}; -struct tl_ds_file_location { - unsigned magic; - long long *volume_id; - int *local_id; - long long *secret; - int *dc_id; -}; -struct tl_ds_geo_chat_message { - unsigned magic; - int *chat_id; - int *id; - int *from_id; - int *date; - struct tl_ds_string *message; - struct tl_ds_message_media *media; - struct tl_ds_message_action *action; -}; -struct tl_ds_geo_point { - unsigned magic; - double *longitude; - double *latitude; -}; -struct tl_ds_imported_contact { - int *user_id; - long long *client_id; -}; -struct tl_ds_input_app_event { - double *time; - struct tl_ds_string *type; - long long *peer; - struct tl_ds_string *data; -}; -struct tl_ds_input_audio { - unsigned magic; - long long *id; - long long *access_hash; -}; -struct tl_ds_input_chat_photo { - unsigned magic; - struct tl_ds_input_file *file; - struct tl_ds_input_photo_crop *crop; - struct tl_ds_input_photo *id; -}; -struct tl_ds_input_contact { - long long *client_id; - struct tl_ds_string *phone; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; -}; -struct tl_ds_input_document { - unsigned magic; - long long *id; - long long *access_hash; -}; -struct tl_ds_input_encrypted_chat { - int *chat_id; - long long *access_hash; -}; -struct tl_ds_input_encrypted_file { - unsigned magic; - long long *id; - int *parts; - struct tl_ds_string *md5_checksum; - int *key_fingerprint; - long long *access_hash; -}; -struct tl_ds_input_file { - unsigned magic; - long long *id; - int *parts; - struct tl_ds_string *name; - struct tl_ds_string *md5_checksum; -}; -struct tl_ds_input_file_location { - unsigned magic; - long long *volume_id; - int *local_id; - long long *secret; - long long *id; - long long *access_hash; -}; -struct tl_ds_input_geo_chat { - int *chat_id; - long long *access_hash; -}; -struct tl_ds_input_geo_point { - unsigned magic; - double *latitude; - double *longitude; -}; -struct tl_ds_input_media { - unsigned magic; - struct tl_ds_input_file *file; - struct tl_ds_string *caption; - struct tl_ds_input_photo *id; - struct tl_ds_input_geo_point *geo_point; - struct tl_ds_string *phone_number; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - int *duration; - int *w; - int *h; - struct tl_ds_input_file *thumb; - struct tl_ds_input_video *video_id; - struct tl_ds_string *mime_type; - struct tl_ds_input_audio *audio_id; - struct { - int *cnt; - struct tl_ds_document_attribute **data; - } *attributes; - struct tl_ds_input_document *document_id; - struct tl_ds_string *title; - struct tl_ds_string *address; - struct tl_ds_string *provider; - struct tl_ds_string *venue_id; -}; -struct tl_ds_input_notify_peer { - unsigned magic; - struct tl_ds_input_peer *peer; - struct tl_ds_input_geo_chat *geo_peer; -}; -struct tl_ds_input_peer { - unsigned magic; - int *user_id; - long long *access_hash; - int *chat_id; -}; -struct tl_ds_input_peer_notify_events { - unsigned magic; -}; -struct tl_ds_input_peer_notify_settings { - int *mute_until; - struct tl_ds_string *sound; - struct tl_ds_bool *show_previews; - int *events_mask; -}; -struct tl_ds_input_photo { - unsigned magic; - long long *id; - long long *access_hash; -}; -struct tl_ds_input_photo_crop { - unsigned magic; - double *crop_left; - double *crop_top; - double *crop_width; -}; -struct tl_ds_input_privacy_key { - int : 0; -}; -struct tl_ds_input_privacy_rule { - unsigned magic; - struct { - int *cnt; - struct tl_ds_input_user **data; - } *users; -}; -struct tl_ds_input_sticker_set { - unsigned magic; - long long *id; - long long *access_hash; - struct tl_ds_string *short_name; -}; -struct tl_ds_input_user { - unsigned magic; - int *user_id; - long long *access_hash; -}; -struct tl_ds_input_video { - unsigned magic; - long long *id; - long long *access_hash; -}; -struct tl_ds_int { - int : 0; -}; -struct tl_ds_int128 { - long long *f0; - long long *f1; -}; -struct tl_ds_int256 { - long long *f0; - long long *f1; - long long *f2; - long long *f3; -}; -struct tl_ds_keyboard_button { - struct tl_ds_string *text; -}; -struct tl_ds_keyboard_button_row { - struct { - int *cnt; - struct tl_ds_keyboard_button **data; - } *buttons; -}; -struct tl_ds_long { - int : 0; -}; -struct tl_ds_message { - unsigned magic; - int *id; - int *flags; - int *from_id; - struct tl_ds_peer *to_id; - int *fwd_from_id; - int *fwd_date; - int *reply_to_msg_id; - int *date; - struct tl_ds_string *message; - struct tl_ds_message_media *media; - struct tl_ds_reply_markup *reply_markup; - struct tl_ds_message_action *action; -}; -struct tl_ds_message_action { - unsigned magic; - struct tl_ds_string *title; - struct { - int *cnt; - int **data; - } *users; - struct tl_ds_photo *photo; - int *user_id; - struct tl_ds_string *address; - int *inviter_id; -}; -struct tl_ds_message_media { - unsigned magic; - struct tl_ds_photo *photo; - struct tl_ds_string *caption; - struct tl_ds_video *video; - struct tl_ds_geo_point *geo; - struct tl_ds_string *phone_number; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - int *user_id; - struct tl_ds_document *document; - struct tl_ds_audio *audio; - struct tl_ds_web_page *webpage; - struct tl_ds_string *title; - struct tl_ds_string *address; - struct tl_ds_string *provider; - struct tl_ds_string *venue_id; -}; -struct tl_ds_messages_filter { - unsigned magic; -}; -struct tl_ds_nearest_dc { - struct tl_ds_string *country; - int *this_dc; - int *nearest_dc; -}; -struct tl_ds_notify_peer { - unsigned magic; - struct tl_ds_peer *peer; -}; -struct tl_ds_null { - int : 0; -}; -struct tl_ds_p_q_inner_data { - unsigned magic; - struct tl_ds_string *pq; - struct tl_ds_string *p; - struct tl_ds_string *q; - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - struct tl_ds_int256 *new_nonce; - int *expires_in; -}; -struct tl_ds_peer { - unsigned magic; - int *user_id; - int *chat_id; -}; -struct tl_ds_peer_notify_events { - unsigned magic; -}; -struct tl_ds_peer_notify_settings { - unsigned magic; - int *mute_until; - struct tl_ds_string *sound; - struct tl_ds_bool *show_previews; - int *events_mask; -}; -struct tl_ds_photo { - unsigned magic; - long long *id; - long long *access_hash; - int *user_id; - int *date; - struct tl_ds_geo_point *geo; - struct { - int *cnt; - struct tl_ds_photo_size **data; - } *sizes; - struct tl_ds_string *caption; -}; -struct tl_ds_photo_size { - unsigned magic; - struct tl_ds_string *type; - struct tl_ds_file_location *location; - int *w; - int *h; - int *size; - struct tl_ds_string *bytes; -}; -struct tl_ds_privacy_key { - int : 0; -}; -struct tl_ds_privacy_rule { - unsigned magic; - struct { - int *cnt; - int **data; - } *users; -}; -struct tl_ds_received_notify_message { - int *id; - int *flags; -}; -struct tl_ds_reply_markup { - unsigned magic; - int *flags; - struct { - int *cnt; - struct tl_ds_keyboard_button_row **data; - } *rows; -}; -struct tl_ds_res_p_q { - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - struct tl_ds_string *pq; - struct { - int *cnt; - long long **data; - } *server_public_key_fingerprints; -}; -struct tl_ds_send_message_action { - unsigned magic; - int *progress; -}; -struct tl_ds_server_d_h_params { - unsigned magic; - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - struct tl_ds_int128 *new_nonce_hash; - struct tl_ds_string *encrypted_answer; -}; -struct tl_ds_server_d_h_inner_data { - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - int *g; - struct tl_ds_string *dh_prime; - struct tl_ds_string *g_a; - int *server_time; -}; -struct tl_ds_set_client_d_h_params_answer { - unsigned magic; - struct tl_ds_int128 *nonce; - struct tl_ds_int128 *server_nonce; - struct tl_ds_int128 *new_nonce_hash1; - struct tl_ds_int128 *new_nonce_hash2; - struct tl_ds_int128 *new_nonce_hash3; -}; -struct tl_ds_sticker_pack { - struct tl_ds_string *emoticon; - struct { - int *cnt; - long long **data; - } *documents; -}; -struct tl_ds_sticker_set { - long long *id; - long long *access_hash; - struct tl_ds_string *title; - struct tl_ds_string *short_name; -}; -struct tl_ds_string { - int len; - char *data; -}; -struct tl_ds_update { - unsigned magic; - struct tl_ds_message *message; - int *pts; - int *pts_count; - int *id; - long long *random_id; - struct { - int *cnt; - int **data; - } *messages; - int *user_id; - struct tl_ds_send_message_action *action; - int *chat_id; - struct tl_ds_chat_participants *participants; - struct tl_ds_user_status *status; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - struct tl_ds_string *username; - int *date; - struct tl_ds_user_profile_photo *photo; - struct tl_ds_bool *previous; - struct tl_ds_contact_link *my_link; - struct tl_ds_contact_link *foreign_link; - long long *auth_key_id; - struct tl_ds_string *device; - struct tl_ds_string *location; - struct tl_ds_geo_chat_message *geo_message; - struct tl_ds_encrypted_message *encr_message; - int *qts; - struct tl_ds_encrypted_chat *encr_chat; - int *max_date; - int *inviter_id; - int *version; - struct { - int *cnt; - struct tl_ds_dc_option **data; - } *dc_options; - struct tl_ds_bool *blocked; - struct tl_ds_notify_peer *notify_peer; - struct tl_ds_peer_notify_settings *notify_settings; - struct tl_ds_string *type; - struct tl_ds_string *message_text; - struct tl_ds_message_media *media; - struct tl_ds_bool *popup; - struct tl_ds_privacy_key *key; - struct { - int *cnt; - struct tl_ds_privacy_rule **data; - } *rules; - struct tl_ds_string *phone; - struct tl_ds_peer *peer; - int *max_id; - struct tl_ds_web_page *webpage; -}; -struct tl_ds_updates { - unsigned magic; - int *flags; - int *id; - int *user_id; - struct tl_ds_string *message; - int *pts; - int *pts_count; - int *date; - int *fwd_from_id; - int *fwd_date; - int *reply_to_msg_id; - int *from_id; - int *chat_id; - struct tl_ds_update *update; - struct { - int *cnt; - struct tl_ds_update **data; - } *updates; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - int *seq_start; - int *seq; -}; -struct tl_ds_user { - unsigned magic; - int *id; - int *flags; - long long *access_hash; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - struct tl_ds_string *username; - struct tl_ds_string *phone; - struct tl_ds_user_profile_photo *photo; - struct tl_ds_user_status *status; - int *bot_info_version; -}; -struct tl_ds_user_full { - struct tl_ds_user *user; - struct tl_ds_contacts_link *link; - struct tl_ds_photo *profile_photo; - struct tl_ds_peer_notify_settings *notify_settings; - struct tl_ds_bool *blocked; - struct tl_ds_bot_info *bot_info; -}; -struct tl_ds_user_profile_photo { - unsigned magic; - long long *photo_id; - struct tl_ds_file_location *photo_small; - struct tl_ds_file_location *photo_big; -}; -struct tl_ds_user_status { - unsigned magic; - int *expires; - int *was_online; -}; -struct tl_ds_vector { - int *f1; - void **f2; -}; -struct tl_ds_video { - unsigned magic; - long long *id; - long long *access_hash; - int *user_id; - int *date; - int *duration; - int *size; - struct tl_ds_photo_size *thumb; - int *dc_id; - int *w; - int *h; - struct tl_ds_string *caption; - struct tl_ds_string *mime_type; -}; -struct tl_ds_wall_paper { - unsigned magic; - int *id; - struct tl_ds_string *title; - struct { - int *cnt; - struct tl_ds_photo_size **data; - } *sizes; - int *color; - int *bg_color; -}; -struct tl_ds_web_page { - unsigned magic; - long long *id; - int *date; - int *flags; - struct tl_ds_string *url; - struct tl_ds_string *display_url; - struct tl_ds_string *type; - struct tl_ds_string *site_name; - struct tl_ds_string *title; - struct tl_ds_string *description; - struct tl_ds_photo *photo; - struct tl_ds_string *embed_url; - struct tl_ds_string *embed_type; - int *embed_width; - int *embed_height; - int *duration; - struct tl_ds_string *author; -}; -struct tl_ds_account_authorizations { - struct { - int *cnt; - struct tl_ds_authorization **data; - } *authorizations; -}; -struct tl_ds_account_password { - unsigned magic; - struct tl_ds_string *new_salt; - struct tl_ds_string *email_unconfirmed_pattern; - struct tl_ds_string *current_salt; - struct tl_ds_string *hint; - struct tl_ds_bool *has_recovery; -}; -struct tl_ds_account_password_input_settings { - int *flags; - struct tl_ds_string *new_salt; - struct tl_ds_string *new_password_hash; - struct tl_ds_string *hint; - struct tl_ds_string *email; -}; -struct tl_ds_account_password_settings { - struct tl_ds_string *email; -}; -struct tl_ds_account_privacy_rules { - struct { - int *cnt; - struct tl_ds_privacy_rule **data; - } *rules; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_account_sent_change_phone_code { - struct tl_ds_string *phone_code_hash; - int *send_call_timeout; -}; -struct tl_ds_auth_authorization { - struct tl_ds_user *user; -}; -struct tl_ds_auth_checked_phone { - struct tl_ds_bool *phone_registered; -}; -struct tl_ds_auth_exported_authorization { - int *id; - struct tl_ds_string *bytes; -}; -struct tl_ds_auth_password_recovery { - struct tl_ds_string *email_pattern; -}; -struct tl_ds_auth_sent_code { - unsigned magic; - struct tl_ds_bool *phone_registered; - struct tl_ds_string *phone_code_hash; - int *send_call_timeout; - struct tl_ds_bool *is_password; -}; -struct tl_ds_binlog_encr_key { - int **key; -}; -struct tl_ds_binlog_update { - unsigned magic; - int *dc; - struct tl_ds_string *name; - struct tl_ds_string *ip; - int *port; - int *flags; - struct tl_ds_binlog_encr_key *key; - int *id; - int *root; - struct tl_ds_binlog_encr_key *prime; - int *version; - int *pts; - int *qts; - int *date; - int *seq; - long long *access_hash; - int *admin; - int *user_id; - struct tl_ds_binlog_encr_key *g_key; - int *state; - int *ttl; - int *layer; - int *in_seq_no; - int *last_in_seq_no; - int *out_seq_no; - long long *key_fingerprint; - long long *exchange_id; - struct tl_ds_string *first_name; - struct tl_ds_string *last_name; - struct tl_ds_string *phone; - struct tl_ds_string *username; - struct tl_ds_photo *photo; - struct tl_ds_string *real_first_name; - struct tl_ds_string *real_last_name; - struct tl_ds_user_profile_photo *user_photo; - int *last_read_in; - int *last_read_out; - struct tl_ds_bot_info *bot_info; - struct tl_ds_string *title; - int *user_num; - struct { - int *cnt; - struct tl_ds_chat_participant **data; - } *participants; - struct tl_ds_chat_photo *chat_photo; - int *inviter_id; - long long *old_id; - int *new_id; - long long *lid; - int *from_id; - int *to_type; - int *to_id; - int *fwd_from_id; - int *fwd_date; - struct tl_ds_string *message; - struct tl_ds_message_media *media; - struct tl_ds_message_action *action; - int *reply_id; - struct tl_ds_reply_markup *reply_markup; - struct tl_ds_decrypted_message_media *encr_media; - struct tl_ds_decrypted_message_action *encr_action; - struct tl_ds_encrypted_file *file; -}; -struct tl_ds_contacts_blocked { - unsigned magic; - struct { - int *cnt; - struct tl_ds_contact_blocked **data; - } *blocked; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *count; -}; -struct tl_ds_contacts_contacts { - unsigned magic; - struct { - int *cnt; - struct tl_ds_contact **data; - } *contacts; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_contacts_found { - struct { - int *cnt; - struct tl_ds_contact_found **data; - } *results; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_contacts_imported_contacts { - struct { - int *cnt; - struct tl_ds_imported_contact **data; - } *imported; - struct { - int *cnt; - long long **data; - } *retry_contacts; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_contacts_link { - struct tl_ds_contact_link *my_link; - struct tl_ds_contact_link *foreign_link; - struct tl_ds_user *user; -}; -struct tl_ds_contacts_suggested { - struct { - int *cnt; - struct tl_ds_contact_suggested **data; - } *results; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_geochats_located { - struct { - int *cnt; - struct tl_ds_chat_located **data; - } *results; - struct { - int *cnt; - struct tl_ds_geo_chat_message **data; - } *messages; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_geochats_messages { - unsigned magic; - struct { - int *cnt; - struct tl_ds_geo_chat_message **data; - } *messages; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *count; -}; -struct tl_ds_geochats_stated_message { - struct tl_ds_geo_chat_message *message; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *seq; -}; -struct tl_ds_help_app_update { - unsigned magic; - int *id; - struct tl_ds_bool *critical; - struct tl_ds_string *url; - struct tl_ds_string *text; -}; -struct tl_ds_help_invite_text { - struct tl_ds_string *message; -}; -struct tl_ds_help_support { - struct tl_ds_string *phone_number; - struct tl_ds_user *user; -}; -struct tl_ds_messages_affected_history { - int *pts; - int *pts_count; - int *offset; -}; -struct tl_ds_messages_affected_messages { - int *pts; - int *pts_count; -}; -struct tl_ds_messages_all_stickers { - unsigned magic; - struct tl_ds_string *hash; - struct { - int *cnt; - struct tl_ds_sticker_pack **data; - } *packs; - struct { - int *cnt; - struct tl_ds_sticker_set **data; - } *sets; - struct { - int *cnt; - struct tl_ds_document **data; - } *documents; -}; -struct tl_ds_messages_chat_full { - struct tl_ds_chat_full *full_chat; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_messages_chats { - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; -}; -struct tl_ds_messages_dh_config { - unsigned magic; - struct tl_ds_string *random; - int *g; - struct tl_ds_string *p; - int *version; -}; -struct tl_ds_messages_dialogs { - unsigned magic; - struct { - int *cnt; - struct tl_ds_dialog **data; - } *dialogs; - struct { - int *cnt; - struct tl_ds_message **data; - } *messages; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *count; -}; -struct tl_ds_messages_message { - int : 0; -}; -struct tl_ds_messages_messages { - unsigned magic; - struct { - int *cnt; - struct tl_ds_message **data; - } *messages; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *count; -}; -struct tl_ds_messages_sent_encrypted_message { - unsigned magic; - int *date; - struct tl_ds_encrypted_file *file; -}; -struct tl_ds_messages_sent_message { - unsigned magic; - int *id; - int *date; - struct tl_ds_message_media *media; - int *pts; - int *pts_count; - struct { - int *cnt; - struct tl_ds_contacts_link **data; - } *links; - int *seq; -}; -struct tl_ds_messages_sticker_set { - struct tl_ds_sticker_set *set; - struct { - int *cnt; - struct tl_ds_sticker_pack **data; - } *packs; - struct { - int *cnt; - struct tl_ds_document **data; - } *documents; -}; -struct tl_ds_messages_stickers { - unsigned magic; - struct tl_ds_string *hash; - struct { - int *cnt; - struct tl_ds_document **data; - } *stickers; -}; -struct tl_ds_photos_photo { - struct tl_ds_photo *photo; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; -}; -struct tl_ds_photos_photos { - unsigned magic; - struct { - int *cnt; - struct tl_ds_photo **data; - } *photos; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - int *count; -}; -struct tl_ds_storage_file_type { - unsigned magic; -}; -struct tl_ds_updates_difference { - unsigned magic; - int *date; - int *seq; - struct { - int *cnt; - struct tl_ds_message **data; - } *new_messages; - struct { - int *cnt; - struct tl_ds_encrypted_message **data; - } *new_encrypted_messages; - struct { - int *cnt; - struct tl_ds_update **data; - } *other_updates; - struct { - int *cnt; - struct tl_ds_chat **data; - } *chats; - struct { - int *cnt; - struct tl_ds_user **data; - } *users; - struct tl_ds_updates_state *state; - struct tl_ds_updates_state *intermediate_state; -}; -struct tl_ds_updates_state { - int *pts; - int *qts; - int *date; - int *seq; - int *unread_count; -}; -struct tl_ds_upload_file { - struct tl_ds_storage_file_type *type; - int *mtime; - struct tl_ds_string *bytes; -}; -#endif diff --git a/libs/tgl/src/auto/constants.h b/libs/tgl/src/auto/constants.h deleted file mode 100644 index 643496f2d2..0000000000 --- a/libs/tgl/src/auto/constants.h +++ /dev/null @@ -1,561 +0,0 @@ -/* - This file is part of telegram-client. - - Telegram-client is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 2 of the License, or - (at your option) any later version. - - Telegram-client is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this telegram-client. If not, see . - - Copyright Vitaly Valtman 2013 -*/ -#ifndef CONSTANTS_H -#define CONSTANTS_H -#define CODE_int 0xa8509bda -#define CODE_long 0x22076cba -#define CODE_double 0x2210c154 -#define CODE_string 0xb5286e24 -#define CODE_bytes 0x0ee1379f -#define CODE_int128 0x7d36c439 -#define CODE_int256 0xf2c798b3 -#define CODE_bool_false 0xbc799737 -#define CODE_bool_true 0x997275b5 -#define CODE_vector 0x1cb5c415 -#define CODE_error 0xc4b9f9bb -#define CODE_null 0x56730bcc -#define CODE_input_peer_empty 0x7f3b18ea -#define CODE_input_peer_self 0x7da07ec9 -#define CODE_input_peer_contact 0x1023dbe8 -#define CODE_input_peer_foreign 0x9b447325 -#define CODE_input_peer_chat 0x179be863 -#define CODE_input_user_empty 0xb98886cf -#define CODE_input_user_self 0xf7c1b13f -#define CODE_input_user_contact 0x86e94f65 -#define CODE_input_user_foreign 0x655e74ff -#define CODE_input_phone_contact 0xf392b7f4 -#define CODE_input_file 0xf52ff27f -#define CODE_input_media_empty 0x9664f57f -#define CODE_input_media_uploaded_photo 0xf7aff1c0 -#define CODE_input_media_photo 0xe9bfb4f3 -#define CODE_input_media_geo_point 0xf9c44144 -#define CODE_input_media_contact 0xa6e45987 -#define CODE_input_media_uploaded_video 0xe13fd4bc -#define CODE_input_media_uploaded_thumb_video 0x96fb97dc -#define CODE_input_media_video 0x936a4ebd -#define CODE_input_chat_photo_empty 0x1ca48f57 -#define CODE_input_chat_uploaded_photo 0x94254732 -#define CODE_input_chat_photo 0xb2e1bf08 -#define CODE_input_geo_point_empty 0xe4c123d6 -#define CODE_input_geo_point 0xf3b7acc9 -#define CODE_input_photo_empty 0x1cd7bf0d -#define CODE_input_photo 0xfb95c6c4 -#define CODE_input_video_empty 0x5508ec75 -#define CODE_input_video 0xee579652 -#define CODE_input_file_location 0x14637196 -#define CODE_input_video_file_location 0x3d0364ec -#define CODE_input_photo_crop_auto 0xade6b004 -#define CODE_input_photo_crop 0xd9915325 -#define CODE_input_app_event 0x770656a8 -#define CODE_peer_user 0x9db1bc6d -#define CODE_peer_chat 0xbad0e5bb -#define CODE_storage_file_unknown 0xaa963b05 -#define CODE_storage_file_jpeg 0x007efe0e -#define CODE_storage_file_gif 0xcae1aadf -#define CODE_storage_file_png 0x0a4f63c0 -#define CODE_storage_file_pdf 0xae1e508d -#define CODE_storage_file_mp3 0x528a0677 -#define CODE_storage_file_mov 0x4b09ebbc -#define CODE_storage_file_partial 0x40bc6f52 -#define CODE_storage_file_mp4 0xb3cea0e4 -#define CODE_storage_file_webp 0x1081464c -#define CODE_file_location_unavailable 0x7c596b46 -#define CODE_file_location 0x53d69076 -#define CODE_user_empty 0x200250ba -#define CODE_user_profile_photo_empty 0x4f11bae1 -#define CODE_user_profile_photo 0xd559d8c8 -#define CODE_user_status_empty 0x09d05049 -#define CODE_user_status_online 0xedb93949 -#define CODE_user_status_offline 0x008c703f -#define CODE_chat_empty 0x9ba2d800 -#define CODE_chat 0x6e9c9bc7 -#define CODE_chat_forbidden 0xfb0ccc41 -#define CODE_chat_full 0x2e02a614 -#define CODE_chat_participant 0xc8d7493e -#define CODE_chat_participants_forbidden 0x0fd2bb8a -#define CODE_chat_participants 0x7841b415 -#define CODE_chat_photo_empty 0x37c1011c -#define CODE_chat_photo 0x6153276a -#define CODE_message_empty 0x83e5de54 -#define CODE_message 0xc3060325 -#define CODE_message_service 0x1d86f70e -#define CODE_message_media_empty 0x3ded6320 -#define CODE_message_media_photo 0x3d8ce53d -#define CODE_message_media_video 0x5bcf1675 -#define CODE_message_media_geo 0x56e0d474 -#define CODE_message_media_contact 0x5e7d2f39 -#define CODE_message_media_unsupported 0x9f84f49e -#define CODE_message_action_empty 0xb6aef7b0 -#define CODE_message_action_chat_create 0xa6638b9a -#define CODE_message_action_chat_edit_title 0xb5a1ce5a -#define CODE_message_action_chat_edit_photo 0x7fcb13a8 -#define CODE_message_action_chat_delete_photo 0x95e3fbef -#define CODE_message_action_chat_add_user 0x5e3cfc4b -#define CODE_message_action_chat_delete_user 0xb2ae9b0c -#define CODE_dialog 0xc1dd804a -#define CODE_photo_empty 0x2331b22d -#define CODE_photo 0xc3838076 -#define CODE_photo_l27 0x22b56751 -#define CODE_photo_size_empty 0x0e17e23c -#define CODE_photo_size 0x77bfb61b -#define CODE_photo_cached_size 0xe9a734fa -#define CODE_video_empty 0xc10658a8 -#define CODE_video 0xee9f4a4d -#define CODE_video_l27 0x388fa391 -#define CODE_geo_point_empty 0x1117dd5f -#define CODE_geo_point 0x2049d70c -#define CODE_auth_checked_phone 0x811ea28e -#define CODE_auth_sent_code 0xefed51d9 -#define CODE_auth_authorization 0xff036af1 -#define CODE_auth_exported_authorization 0xdf969c2d -#define CODE_input_notify_peer 0xb8bc5b0c -#define CODE_input_notify_users 0x193b4417 -#define CODE_input_notify_chats 0x4a95e84e -#define CODE_input_notify_all 0xa429b886 -#define CODE_input_peer_notify_events_empty 0xf03064d8 -#define CODE_input_peer_notify_events_all 0xe86a2c74 -#define CODE_input_peer_notify_settings 0x46a2ce98 -#define CODE_peer_notify_events_empty 0xadd53cb3 -#define CODE_peer_notify_events_all 0x6d1ded88 -#define CODE_peer_notify_settings_empty 0x70a68512 -#define CODE_peer_notify_settings 0x8d5e11ee -#define CODE_wall_paper 0xccb03657 -#define CODE_user_full 0x5a89ac5b -#define CODE_contact 0xf911c994 -#define CODE_imported_contact 0xd0028438 -#define CODE_contact_blocked 0x561bc879 -#define CODE_contact_suggested 0x3de191a1 -#define CODE_contact_status 0xd3680c61 -#define CODE_chat_located 0x3631cf4c -#define CODE_contacts_link 0x3ace484c -#define CODE_contacts_contacts_not_modified 0xb74ba9d2 -#define CODE_contacts_contacts 0x6f8b8cb2 -#define CODE_contacts_imported_contacts 0xad524315 -#define CODE_contacts_blocked 0x1c138d15 -#define CODE_contacts_blocked_slice 0x900802a1 -#define CODE_contacts_suggested 0x5649dcc5 -#define CODE_messages_dialogs 0x15ba6c40 -#define CODE_messages_dialogs_slice 0x71e094f3 -#define CODE_messages_messages 0x8c718e87 -#define CODE_messages_messages_slice 0x0b446ae3 -#define CODE_messages_message_empty 0x3f4e0648 -#define CODE_messages_sent_message 0x4c3d47f3 -#define CODE_messages_chats 0x64ff9fd5 -#define CODE_messages_chat_full 0xe5d7d19c -#define CODE_messages_affected_history 0xb45c69d1 -#define CODE_input_messages_filter_empty 0x57e2f66c -#define CODE_input_messages_filter_photos 0x9609a51c -#define CODE_input_messages_filter_video 0x9fc00e65 -#define CODE_input_messages_filter_photo_video 0x56e9f0e4 -#define CODE_input_messages_filter_photo_video_documents 0xd95e73bb -#define CODE_input_messages_filter_document 0x9eddf188 -#define CODE_input_messages_filter_audio 0xcfc87522 -#define CODE_update_new_message 0x1f2b0afd -#define CODE_update_message_i_d 0x4e90bfd6 -#define CODE_update_delete_messages 0xa20db0e5 -#define CODE_update_user_typing 0x5c486927 -#define CODE_update_chat_user_typing 0x9a65ea1f -#define CODE_update_chat_participants 0x07761198 -#define CODE_update_user_status 0x1bfbd823 -#define CODE_update_user_name 0xa7332b73 -#define CODE_update_user_photo 0x95313b0c -#define CODE_update_contact_registered 0x2575bbb9 -#define CODE_update_contact_link 0x9d2e67c5 -#define CODE_update_new_authorization 0x8f06529a -#define CODE_updates_state 0xa56c2a3e -#define CODE_updates_difference_empty 0x5d75a138 -#define CODE_updates_difference 0x00f49ca0 -#define CODE_updates_difference_slice 0xa8fb1981 -#define CODE_updates_too_long 0xe317af7e -#define CODE_update_short_message 0xed5c2127 -#define CODE_update_short_chat_message 0x52238b3c -#define CODE_update_short 0x78d4dec1 -#define CODE_updates_combined 0x725b04c3 -#define CODE_updates 0x74ae4240 -#define CODE_photos_photos 0x8dca6aa5 -#define CODE_photos_photos_slice 0x15051f54 -#define CODE_photos_photo 0x20212ca8 -#define CODE_upload_file 0x096a18d5 -#define CODE_dc_option_l28 0x2ec2a43c -#define CODE_dc_option 0x05d8c6cc -#define CODE_config 0x4e32b894 -#define CODE_nearest_dc 0x8e1a1775 -#define CODE_help_app_update 0x8987f311 -#define CODE_help_no_app_update 0xc45a6536 -#define CODE_help_invite_text 0x18cb9f78 -#define CODE_messages_sent_message_link 0x35a1a663 -#define CODE_input_geo_chat 0x74d456fa -#define CODE_input_notify_geo_chat_peer 0x4d8ddec8 -#define CODE_geo_chat 0x75eaea5a -#define CODE_geo_chat_message_empty 0x60311a9b -#define CODE_geo_chat_message 0x4505f8e1 -#define CODE_geo_chat_message_service 0xd34fa24e -#define CODE_geochats_stated_message 0x17b1578b -#define CODE_geochats_located 0x48feb267 -#define CODE_geochats_messages 0xd1526db1 -#define CODE_geochats_messages_slice 0xbc5863e8 -#define CODE_message_action_geo_chat_create 0x6f038ebc -#define CODE_message_action_geo_chat_checkin 0x0c7d53de -#define CODE_update_new_geo_chat_message 0x5a68e3f7 -#define CODE_wall_paper_solid 0x63117f24 -#define CODE_update_new_encrypted_message 0x12bcbd9a -#define CODE_update_encrypted_chat_typing 0x1710f156 -#define CODE_update_encryption 0xb4a2e88d -#define CODE_update_encrypted_messages_read 0x38fe25b7 -#define CODE_encrypted_chat_empty 0xab7ec0a0 -#define CODE_encrypted_chat_waiting 0x3bf703dc -#define CODE_encrypted_chat_requested 0xc878527e -#define CODE_encrypted_chat 0xfa56ce36 -#define CODE_encrypted_chat_discarded 0x13d6dd27 -#define CODE_input_encrypted_chat 0xf141b5e1 -#define CODE_encrypted_file_empty 0xc21f497e -#define CODE_encrypted_file 0x4a70994c -#define CODE_input_encrypted_file_empty 0x1837c364 -#define CODE_input_encrypted_file_uploaded 0x64bd0306 -#define CODE_input_encrypted_file 0x5a17b5e5 -#define CODE_input_encrypted_file_location 0xf5235d55 -#define CODE_encrypted_message 0xed18c118 -#define CODE_encrypted_message_service 0x23734b06 -#define CODE_messages_dh_config_not_modified 0xc0e24635 -#define CODE_messages_dh_config 0x2c221edd -#define CODE_messages_sent_encrypted_message 0x560f8935 -#define CODE_messages_sent_encrypted_file 0x9493ff32 -#define CODE_input_file_big 0xfa4f0bb5 -#define CODE_input_encrypted_file_big_uploaded 0x2dc173c8 -#define CODE_update_chat_participant_add 0x3a0eeb22 -#define CODE_update_chat_participant_delete 0x6e5f8c22 -#define CODE_update_dc_options 0x8e5e9873 -#define CODE_input_media_uploaded_audio 0x4e498cab -#define CODE_input_media_audio 0x89938781 -#define CODE_input_media_uploaded_document 0xffe76b78 -#define CODE_input_media_uploaded_thumb_document 0x41481486 -#define CODE_input_media_document 0xd184e841 -#define CODE_message_media_document 0x2fda2204 -#define CODE_message_media_audio 0xc6b68300 -#define CODE_input_audio_empty 0xd95adc84 -#define CODE_input_audio 0x77d440ff -#define CODE_input_document_empty 0x72f0eaae -#define CODE_input_document 0x18798952 -#define CODE_input_audio_file_location 0x74dc404d -#define CODE_input_document_file_location 0x4e45abe9 -#define CODE_audio_empty 0x586988d8 -#define CODE_audio 0xc7ac6496 -#define CODE_document_empty 0x36f8c871 -#define CODE_document 0xf9a39f4f -#define CODE_document_l19 0x9efc6326 -#define CODE_help_support 0x17c6b5f6 -#define CODE_notify_peer 0x9fd40bd8 -#define CODE_notify_users 0xb4c83b4c -#define CODE_notify_chats 0xc007cec3 -#define CODE_notify_all 0x74d07c60 -#define CODE_update_user_blocked 0x80ece81a -#define CODE_update_notify_settings 0xbec268ef -#define CODE_auth_sent_app_code 0xe325edcf -#define CODE_send_message_typing_action 0x16bf744e -#define CODE_send_message_cancel_action 0xfd5ec8f5 -#define CODE_send_message_record_video_action 0xa187d66f -#define CODE_send_message_upload_video_action_l27 0x92042ff7 -#define CODE_send_message_upload_video_action 0xe9763aec -#define CODE_send_message_record_audio_action 0xd52f73f7 -#define CODE_send_message_upload_audio_action_l27 0xe6ac8a6f -#define CODE_send_message_upload_audio_action 0xf351d7ab -#define CODE_send_message_upload_photo_action 0xd1d34a26 -#define CODE_send_message_upload_document_action_l27 0x8faee98e -#define CODE_send_message_upload_document_action 0xaa0cd9e4 -#define CODE_send_message_geo_location_action 0x176f8ba1 -#define CODE_send_message_choose_contact_action 0x628cbc6f -#define CODE_contact_found 0xea879f95 -#define CODE_contacts_found 0x0566000e -#define CODE_update_service_notification 0x382dd3e4 -#define CODE_user_status_recently 0xe26f42f1 -#define CODE_user_status_last_week 0x07bf09fc -#define CODE_user_status_last_month 0x77ebc742 -#define CODE_update_privacy 0xee3b272a -#define CODE_input_privacy_key_status_timestamp 0x4f96cb18 -#define CODE_privacy_key_status_timestamp 0xbc2eab30 -#define CODE_input_privacy_value_allow_contacts 0x0d09e07b -#define CODE_input_privacy_value_allow_all 0x184b35ce -#define CODE_input_privacy_value_allow_users 0x131cc67f -#define CODE_input_privacy_value_disallow_contacts 0x0ba52007 -#define CODE_input_privacy_value_disallow_all 0xd66b66c9 -#define CODE_input_privacy_value_disallow_users 0x90110467 -#define CODE_privacy_value_allow_contacts 0xfffe1bac -#define CODE_privacy_value_allow_all 0x65427b82 -#define CODE_privacy_value_allow_users 0x4d5bbe0c -#define CODE_privacy_value_disallow_contacts 0xf888fa1a -#define CODE_privacy_value_disallow_all 0x8b73e763 -#define CODE_privacy_value_disallow_users 0x0c7f49b7 -#define CODE_account_privacy_rules 0x554abb6f -#define CODE_account_days_t_t_l 0xb8d0afdf -#define CODE_account_sent_change_phone_code 0xa4f58c4c -#define CODE_update_user_phone 0x12b9417b -#define CODE_document_attribute_image_size 0x6c37c15c -#define CODE_document_attribute_animated 0x11b58939 -#define CODE_document_attribute_sticker_l28 0x994c9882 -#define CODE_document_attribute_sticker 0x3a556302 -#define CODE_document_attribute_video 0x5910cccb -#define CODE_document_attribute_audio 0x051448e5 -#define CODE_document_attribute_filename 0x15590068 -#define CODE_messages_stickers_not_modified 0xf1749a22 -#define CODE_messages_stickers 0x8a8ecd32 -#define CODE_sticker_pack 0x12b299d4 -#define CODE_messages_all_stickers_not_modified 0xe86602c3 -#define CODE_messages_all_stickers 0x5ce352ec -#define CODE_disabled_feature 0xae636f24 -#define CODE_update_read_history_inbox 0x9961fd5c -#define CODE_update_read_history_outbox 0x2f2f21bf -#define CODE_messages_affected_messages 0x84d19185 -#define CODE_contact_link_unknown 0x5f4f9247 -#define CODE_contact_link_none 0xfeedd3ad -#define CODE_contact_link_has_phone 0x268f3f59 -#define CODE_contact_link_contact 0xd502c2d0 -#define CODE_update_web_page 0x2cc36971 -#define CODE_web_page_empty 0xeb1477e8 -#define CODE_web_page_pending 0xc586da1c -#define CODE_web_page 0xa31ea0b5 -#define CODE_message_media_web_page 0xa32dd600 -#define CODE_authorization 0x7bf2e6f6 -#define CODE_account_authorizations 0x1250abde -#define CODE_account_no_password 0x96dabc18 -#define CODE_account_password 0x7c18141c -#define CODE_account_password_settings 0xb7b72ab3 -#define CODE_account_password_input_settings 0xbcfc532c -#define CODE_auth_password_recovery 0x137948a5 -#define CODE_input_media_venue 0x2827a81a -#define CODE_message_media_venue 0x7912b71f -#define CODE_received_notify_message 0xa384b779 -#define CODE_chat_invite_empty 0x69df3769 -#define CODE_chat_invite_exported 0xfc2e05bc -#define CODE_chat_invite_already 0x5a686d7c -#define CODE_chat_invite 0xce917dcd -#define CODE_message_action_chat_joined_by_link 0xf89cf5e8 -#define CODE_update_read_messages_contents 0x68c13933 -#define CODE_input_sticker_set_empty 0xffb62b95 -#define CODE_input_sticker_set_i_d 0x9de7a269 -#define CODE_input_sticker_set_short_name 0x861cc8a0 -#define CODE_sticker_set 0xa7a43b17 -#define CODE_messages_sticker_set 0xb60a24a6 -#define CODE_user 0x22e49072 -#define CODE_bot_command 0xc27ac8c7 -#define CODE_bot_command_old 0xb79d22ab -#define CODE_bot_info_empty 0xbb2e37ce -#define CODE_bot_info 0x09cf585d -#define CODE_keyboard_button 0xa2fa4880 -#define CODE_keyboard_button_row 0x77608b83 -#define CODE_reply_keyboard_hide 0xa03e5b85 -#define CODE_reply_keyboard_force_reply 0xf4108aa0 -#define CODE_reply_keyboard_markup 0x3502758c -#define CODE_invoke_after_msg 0xcb9f372d -#define CODE_invoke_after_msgs 0x3dc4b4f0 -#define CODE_auth_check_phone 0x6fe51dfb -#define CODE_auth_send_code 0x768d5f4d -#define CODE_auth_send_call 0x03c51564 -#define CODE_auth_sign_up 0x1b067634 -#define CODE_auth_sign_in 0xbcd51581 -#define CODE_auth_log_out 0x5717da40 -#define CODE_auth_reset_authorizations 0x9fab0d1a -#define CODE_auth_send_invites 0x771c1d97 -#define CODE_auth_export_authorization 0xe5bfffcd -#define CODE_auth_import_authorization 0xe3ef9613 -#define CODE_auth_bind_temp_auth_key 0xcdd42a05 -#define CODE_account_register_device 0x446c712c -#define CODE_account_unregister_device 0x65c55b40 -#define CODE_account_update_notify_settings 0x84be5b93 -#define CODE_account_get_notify_settings 0x12b3ad31 -#define CODE_account_reset_notify_settings 0xdb7e1747 -#define CODE_account_update_profile 0xf0888d68 -#define CODE_account_update_status 0x6628562c -#define CODE_account_get_wall_papers 0xc04cfac2 -#define CODE_users_get_users 0x0d91a548 -#define CODE_users_get_full_user 0xca30a5b1 -#define CODE_contacts_get_statuses 0xc4a353ee -#define CODE_contacts_get_contacts 0x22c6aa08 -#define CODE_contacts_import_contacts 0xda30b32d -#define CODE_contacts_get_suggested 0xcd773428 -#define CODE_contacts_delete_contact 0x8e953744 -#define CODE_contacts_delete_contacts 0x59ab389e -#define CODE_contacts_block 0x332b49fc -#define CODE_contacts_unblock 0xe54100bd -#define CODE_contacts_get_blocked 0xf57c350f -#define CODE_contacts_export_card 0x84e53737 -#define CODE_contacts_import_card 0x4fe196fe -#define CODE_messages_get_messages 0x4222fa74 -#define CODE_messages_get_dialogs 0xeccf1df6 -#define CODE_messages_get_history 0x92a1df2f -#define CODE_messages_search 0x07e9f2ab -#define CODE_messages_read_history 0xb04f2510 -#define CODE_messages_delete_history 0xf4f8fb61 -#define CODE_messages_delete_messages 0xa5f18925 -#define CODE_messages_received_messages 0x05a954c0 -#define CODE_messages_set_typing 0xa3825e50 -#define CODE_messages_send_message 0xfc55e6b5 -#define CODE_messages_send_media 0xc8f16791 -#define CODE_messages_forward_messages 0x55e1728d -#define CODE_messages_get_chats 0x3c6aa187 -#define CODE_messages_get_full_chat 0x3b831c66 -#define CODE_messages_edit_chat_title 0xdc452855 -#define CODE_messages_edit_chat_photo 0xca4c79d8 -#define CODE_messages_add_chat_user 0xf9a0aa09 -#define CODE_messages_delete_chat_user 0xe0611f16 -#define CODE_messages_create_chat 0x09cb126e -#define CODE_updates_get_state 0xedd4882a -#define CODE_updates_get_difference 0x0a041495 -#define CODE_photos_update_profile_photo 0xeef579a0 -#define CODE_photos_upload_profile_photo 0xd50f9c88 -#define CODE_photos_delete_photos 0x87cf7f2f -#define CODE_upload_save_file_part 0xb304a621 -#define CODE_upload_get_file 0xe3a6cfb5 -#define CODE_help_get_config 0xc4f9186b -#define CODE_help_get_nearest_dc 0x1fb33026 -#define CODE_help_get_app_update 0xc812ac7e -#define CODE_help_save_app_log 0x6f02f748 -#define CODE_help_get_invite_text 0xa4a95186 -#define CODE_photos_get_user_photos 0xb7ee553c -#define CODE_messages_forward_message 0x33963bf9 -#define CODE_messages_send_broadcast 0xbf73f4da -#define CODE_geochats_get_located 0x7f192d8f -#define CODE_geochats_get_recents 0xe1427e6f -#define CODE_geochats_checkin 0x55b3e8fb -#define CODE_geochats_get_full_chat 0x6722dd6f -#define CODE_geochats_edit_chat_title 0x4c8e2273 -#define CODE_geochats_edit_chat_photo 0x35d81a95 -#define CODE_geochats_search 0xcfcdc44d -#define CODE_geochats_get_history 0xb53f7a68 -#define CODE_geochats_set_typing 0x08b8a729 -#define CODE_geochats_send_message 0x061b0044 -#define CODE_geochats_send_media 0xb8f0deff -#define CODE_geochats_create_geo_chat 0x0e092e16 -#define CODE_messages_get_dh_config 0x26cf8950 -#define CODE_messages_request_encryption 0xf64daf43 -#define CODE_messages_accept_encryption 0x3dbc0415 -#define CODE_messages_discard_encryption 0xedd923c5 -#define CODE_messages_set_encrypted_typing 0x791451ed -#define CODE_messages_read_encrypted_history 0x7f4b690a -#define CODE_messages_send_encrypted 0xa9776773 -#define CODE_messages_send_encrypted_file 0x9a901b66 -#define CODE_messages_send_encrypted_service 0x32d439a4 -#define CODE_messages_received_queue 0x55a5bb66 -#define CODE_upload_save_big_file_part 0xde7b673d -#define CODE_init_connection 0x69796de9 -#define CODE_help_get_support 0x9cdf08cd -#define CODE_auth_send_sms 0x0da9f3e8 -#define CODE_messages_read_message_contents 0x36a73f77 -#define CODE_account_check_username 0x2714d86c -#define CODE_account_update_username 0x3e0bdd7c -#define CODE_contacts_search 0x11f812d8 -#define CODE_account_get_privacy 0xdadbc950 -#define CODE_account_set_privacy 0xc9f81ce8 -#define CODE_account_delete_account 0x418d4e0b -#define CODE_account_get_account_t_t_l 0x08fc711d -#define CODE_account_set_account_t_t_l 0x2442485e -#define CODE_invoke_with_layer 0xda9b0d0d -#define CODE_contacts_resolve_username 0x0bf0131c -#define CODE_account_send_change_phone_code 0xa407a8f4 -#define CODE_account_change_phone 0x70c32edb -#define CODE_messages_get_stickers 0xae22e045 -#define CODE_messages_get_all_stickers 0xaa3bc868 -#define CODE_account_update_device_locked 0x38df3532 -#define CODE_auth_import_bot_authorization 0x67a3ff2c -#define CODE_messages_get_web_page_preview 0x25223e24 -#define CODE_account_get_authorizations 0xe320c158 -#define CODE_account_reset_authorization 0xdf77f3bc -#define CODE_account_get_password 0x548a30f5 -#define CODE_account_get_password_settings 0xbc8d11bb -#define CODE_account_update_password_settings 0xfa7c4b86 -#define CODE_auth_check_password 0x0a63011e -#define CODE_auth_request_password_recovery 0xd897bc66 -#define CODE_auth_recover_password 0x4ea56e92 -#define CODE_invoke_without_updates 0xbf9459b7 -#define CODE_messages_export_chat_invite 0x7d885289 -#define CODE_messages_check_chat_invite 0x3eadb1bb -#define CODE_messages_import_chat_invite 0x6c50051c -#define CODE_messages_get_sticker_set 0x2619a90e -#define CODE_messages_install_sticker_set 0xefbbfae9 -#define CODE_messages_uninstall_sticker_set 0xf96e55de -#define CODE_messages_start_bot 0x1b3e0ffc -#define CODE_decrypted_message_media_empty 0x089f5c4a -#define CODE_decrypted_message_media_photo 0x32798a8c -#define CODE_decrypted_message_media_geo_point 0x35480a59 -#define CODE_decrypted_message_media_contact 0x588a0a97 -#define CODE_decrypted_message_action_set_message_t_t_l 0xa1733aec -#define CODE_decrypted_message_media_document 0xb095434b -#define CODE_decrypted_message_action_read_messages 0x0c4f40be -#define CODE_decrypted_message_action_delete_messages 0x65614304 -#define CODE_decrypted_message_action_screenshot_messages 0x8ac1f475 -#define CODE_decrypted_message_action_flush_history 0x6719e45c -#define CODE_decrypted_message 0x204d3878 -#define CODE_decrypted_message_service 0x73164160 -#define CODE_decrypted_message_media_video 0x524a415d -#define CODE_decrypted_message_media_audio 0x57e0a9cb -#define CODE_decrypted_message_layer 0x1be31789 -#define CODE_decrypted_message_action_resend 0x511110b0 -#define CODE_decrypted_message_action_notify_layer 0xf3048883 -#define CODE_decrypted_message_action_typing 0xccb27641 -#define CODE_decrypted_message_action_request_key 0xf3c9611b -#define CODE_decrypted_message_action_accept_key 0x6fe1735b -#define CODE_decrypted_message_action_abort_key 0xdd05ec6b -#define CODE_decrypted_message_action_commit_key 0xec2e0b9b -#define CODE_decrypted_message_action_noop 0xa82fdd63 -#define CODE_decrypted_message_media_external_document 0xfa95b0dd -#define CODE_binlog_encr_key 0x0377168f -#define CODE_binlog_start 0x3b06de69 -#define CODE_binlog_dc_option 0xf96feb32 -#define CODE_binlog_dc_option_new 0x7c0d22d8 -#define CODE_binlog_auth_key 0x71e8c156 -#define CODE_binlog_default_dc 0x9e83dbdc -#define CODE_binlog_dc_signed 0x26451bb5 -#define CODE_binlog_our_id 0x68a870e8 -#define CODE_binlog_set_dh_params 0xeaeb7826 -#define CODE_binlog_set_pts 0x2ca8c939 -#define CODE_binlog_set_qts 0xd95738ac -#define CODE_binlog_set_date 0x1d0f4b52 -#define CODE_binlog_set_seq 0x6eeb2989 -#define CODE_binlog_encr_chat_delete 0xee1b38e8 -#define CODE_binlog_encr_chat_new 0x84977251 -#define CODE_binlog_encr_chat_exchange_new 0x9d49488d -#define CODE_binlog_user_delete 0xac55d447 -#define CODE_binlog_user_new 0x127cf2f9 -#define CODE_binlog_chat_new 0x0a10aa92 -#define CODE_binlog_chat_add_participant 0x535475ea -#define CODE_binlog_chat_del_participant 0x7dd1a1a2 -#define CODE_binlog_set_msg_id 0x3c873416 -#define CODE_binlog_message_delete 0x847e77b1 -#define CODE_binlog_message_new 0x427cfcdb -#define CODE_binlog_message_encr_new 0x6cf7cabc -#define CODE_binlog_msg_update 0x6dd4d85f -#define CODE_binlog_reset_authorization 0x83327955 -#define CODE_res_p_q 0x05162463 -#define CODE_server__d_h_params_fail 0x79cb045d -#define CODE_server__d_h_params_ok 0xd0e8075c -#define CODE_p_q_inner_data 0x83c95aec -#define CODE_p_q_inner_data_temp 0x3c6a84d4 -#define CODE_client__d_h_inner_data 0x6643b654 -#define CODE_dh_gen_ok 0x3bcbf734 -#define CODE_dh_gen_retry 0x46dc1fb9 -#define CODE_dh_gen_fail 0xa69dae02 -#define CODE_server__d_h_inner_data 0xb5890dba -#define CODE_req_pq 0x60469778 -#define CODE_req__d_h_params 0xd712e4be -#define CODE_set_client__d_h_params 0xf5045f1f -#define CODE_decrypted_message_media_video_l12 0x4cee6ef3 -#define CODE_decrypted_message_media_audio_l12 0x6080758f -#define CODE_update_msg_update 0x03114739 -#define CODE_message_media_photo_l27 0xc8c45a2a -#define CODE_message_media_video_l27 0xa2d24290 -#endif -- cgit v1.2.3