diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-06 13:07:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-06 13:07:48 +0300 |
commit | 16cdadb00226f80774b2106a8a7bd25ab59231d9 (patch) | |
tree | 46d91d2a748eb17c6b091fa1b814289449528a96 /protocols/WhatsApp | |
parent | dc418014faa677baf581d14ec101c1ecbc916fe8 (diff) |
fixes #3539 (WhatsApp: падение при получении сообщения с кнопками)
Diffstat (limited to 'protocols/WhatsApp')
-rw-r--r-- | protocols/WhatsApp/src/generate.cpp | 142 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.cpp | 6449 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.h | 5863 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.proto | 551 |
4 files changed, 8835 insertions, 4170 deletions
diff --git a/protocols/WhatsApp/src/generate.cpp b/protocols/WhatsApp/src/generate.cpp index 6985e8b17a..0dc59578e3 100644 --- a/protocols/WhatsApp/src/generate.cpp +++ b/protocols/WhatsApp/src/generate.cpp @@ -43,231 +43,237 @@ protobuf_c_text_to_string_internal(CMStringA &str, f = d->fields; for (unsigned i = 0; i < d->n_fields; i++) { + auto &F = f[i]; + /* Decide if something needs to be done for this field. */ - switch (f[i].label) { + switch (F.label) { case PROTOBUF_C_LABEL_OPTIONAL: - if (f[i].type == PROTOBUF_C_TYPE_STRING) { - if (!STRUCT_MEMBER(char *, m, f[i].offset) - || (STRUCT_MEMBER(char *, m, f[i].offset) - == (char *)f[i].default_value)) { + if (F.flags & PROTOBUF_C_FIELD_FLAG_ONEOF) + if (STRUCT_MEMBER(unsigned, m, F.quantifier_offset) != F.id) + continue; + + if (F.type == PROTOBUF_C_TYPE_STRING) { + if (!STRUCT_MEMBER(char *, m, F.offset) + || (STRUCT_MEMBER(char *, m, F.offset) + == (char *)F.default_value)) { continue; } } - else if (f[i].type == PROTOBUF_C_TYPE_MESSAGE) { - if (!STRUCT_MEMBER(char *, m, f[i].offset)) { + else if (F.type == PROTOBUF_C_TYPE_MESSAGE) { + if (!STRUCT_MEMBER(char *, m, F.offset)) { continue; } } else { - if (!STRUCT_MEMBER(protobuf_c_boolean, m, f[i].quantifier_offset)) { + if (!STRUCT_MEMBER(protobuf_c_boolean, m, F.quantifier_offset)) { continue; } } break; case PROTOBUF_C_LABEL_REPEATED: - if (!STRUCT_MEMBER(size_t, m, f[i].quantifier_offset)) { + if (!STRUCT_MEMBER(size_t, m, F.quantifier_offset)) { continue; } break; } - quantifier_offset = STRUCT_MEMBER(size_t, m, f[i].quantifier_offset); + quantifier_offset = STRUCT_MEMBER(size_t, m, F.quantifier_offset); /* Field exists and has data, dump it. */ - switch (f[i].type) { + switch (F.type) { case PROTOBUF_C_TYPE_INT32: case PROTOBUF_C_TYPE_UINT32: case PROTOBUF_C_TYPE_FIXED32: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %u\n", - level, "", f[i].name, - STRUCT_MEMBER(uint32_t *, m, f[i].offset)[j]); + level, "", F.name, + STRUCT_MEMBER(uint32_t *, m, F.offset)[j]); } } else { str.AppendFormat( "%*s%s: %u\n", - level, "", f[i].name, - STRUCT_MEMBER(uint32_t, m, f[i].offset)); + level, "", F.name, + STRUCT_MEMBER(uint32_t, m, F.offset)); } break; case PROTOBUF_C_TYPE_SINT32: case PROTOBUF_C_TYPE_SFIXED32: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %d\n", - level, "", f[i].name, - STRUCT_MEMBER(int32_t *, m, f[i].offset)[j]); + level, "", F.name, + STRUCT_MEMBER(int32_t *, m, F.offset)[j]); } } else { str.AppendFormat( "%*s%s: %d\n", - level, "", f[i].name, - STRUCT_MEMBER(int32_t, m, f[i].offset)); + level, "", F.name, + STRUCT_MEMBER(int32_t, m, F.offset)); } break; case PROTOBUF_C_TYPE_INT64: case PROTOBUF_C_TYPE_UINT64: case PROTOBUF_C_TYPE_FIXED64: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %lu\n", - level, "", f[i].name, - STRUCT_MEMBER(uint64_t *, m, f[i].offset)[j]); + level, "", F.name, + STRUCT_MEMBER(uint64_t *, m, F.offset)[j]); } } else { str.AppendFormat( "%*s%s: %lu\n", - level, "", f[i].name, - STRUCT_MEMBER(uint64_t, m, f[i].offset)); + level, "", F.name, + STRUCT_MEMBER(uint64_t, m, F.offset)); } break; case PROTOBUF_C_TYPE_SINT64: case PROTOBUF_C_TYPE_SFIXED64: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %ld\n", - level, "", f[i].name, - STRUCT_MEMBER(int64_t *, m, f[i].offset)[j]); + level, "", F.name, + STRUCT_MEMBER(int64_t *, m, F.offset)[j]); } } else { str.AppendFormat( "%*s%s: %ld\n", - level, "", f[i].name, - STRUCT_MEMBER(int64_t, m, f[i].offset)); + level, "", F.name, + STRUCT_MEMBER(int64_t, m, F.offset)); } break; case PROTOBUF_C_TYPE_FLOAT: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { - float_var = STRUCT_MEMBER(float *, m, f[i].offset)[j]; + float_var = STRUCT_MEMBER(float *, m, F.offset)[j]; str.AppendFormat( "%*s%s: %g\n", - level, "", f[i].name, + level, "", F.name, float_var); } } else { - float_var = STRUCT_MEMBER(float, m, f[i].offset); + float_var = STRUCT_MEMBER(float, m, F.offset); str.AppendFormat( "%*s%s: %g\n", - level, "", f[i].name, + level, "", F.name, float_var); } break; case PROTOBUF_C_TYPE_DOUBLE: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %g\n", - level, "", f[i].name, - STRUCT_MEMBER(double *, m, f[i].offset)[j]); + level, "", F.name, + STRUCT_MEMBER(double *, m, F.offset)[j]); } } else { str.AppendFormat( "%*s%s: %g\n", - level, "", f[i].name, - STRUCT_MEMBER(double, m, f[i].offset)); + level, "", F.name, + STRUCT_MEMBER(double, m, F.offset)); } break; case PROTOBUF_C_TYPE_BOOL: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( "%*s%s: %s\n", - level, "", f[i].name, - STRUCT_MEMBER(protobuf_c_boolean *, m, f[i].offset)[j] ? + level, "", F.name, + STRUCT_MEMBER(protobuf_c_boolean *, m, F.offset)[j] ? "true" : "false"); } } else { str.AppendFormat( "%*s%s: %s\n", - level, "", f[i].name, - STRUCT_MEMBER(protobuf_c_boolean, m, f[i].offset) ? + level, "", F.name, + STRUCT_MEMBER(protobuf_c_boolean, m, F.offset) ? "true" : "false"); } break; case PROTOBUF_C_TYPE_ENUM: - enumd = (ProtobufCEnumDescriptor *)f[i].descriptor; - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + enumd = (ProtobufCEnumDescriptor *)F.descriptor; + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { enumv = protobuf_c_enum_descriptor_get_value( - enumd, STRUCT_MEMBER(int *, m, f[i].offset)[j]); + enumd, STRUCT_MEMBER(int *, m, F.offset)[j]); str.AppendFormat( "%*s%s: %s\n", - level, "", f[i].name, + level, "", F.name, enumv ? enumv->name : "unknown"); } } else { enumv = protobuf_c_enum_descriptor_get_value( - enumd, STRUCT_MEMBER(int, m, f[i].offset)); + enumd, STRUCT_MEMBER(int, m, F.offset)); str.AppendFormat( "%*s%s: %s\n", - level, "", f[i].name, + level, "", F.name, enumv ? enumv->name : "unknown"); } break; case PROTOBUF_C_TYPE_STRING: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { str.AppendFormat( - "%*s%s: \"%s\"\n", level, "", f[i].name, STRUCT_MEMBER(unsigned char **, m, f[i].offset)[j]); + "%*s%s: \"%s\"\n", level, "", F.name, STRUCT_MEMBER(unsigned char **, m, F.offset)[j]); } } else { str.AppendFormat( - "%*s%s: \"%s\"\n", level, "", f[i].name, STRUCT_MEMBER(unsigned char *, m, f[i].offset)); + "%*s%s: \"%s\"\n", level, "", F.name, STRUCT_MEMBER(unsigned char *, m, F.offset)); } break; case PROTOBUF_C_TYPE_BYTES: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; j < quantifier_offset; j++) { - ProtobufCBinaryData &pData = STRUCT_MEMBER(ProtobufCBinaryData *, m, f[i].offset)[j]; + ProtobufCBinaryData &pData = STRUCT_MEMBER(ProtobufCBinaryData *, m, F.offset)[j]; ptrA tmp((char *)mir_alloc(pData.len * 2 + 1)); bin2hex(pData.data, pData.len, tmp); str.AppendFormat( - "%*s%s: \"%s\"\n", level, "", f[i].name, tmp.get()); + "%*s%s: \"%s\"\n", level, "", F.name, tmp.get()); } } else { - ProtobufCBinaryData &pData = STRUCT_MEMBER(ProtobufCBinaryData, m, f[i].offset); + ProtobufCBinaryData &pData = STRUCT_MEMBER(ProtobufCBinaryData, m, F.offset); ptrA tmp((char *)mir_alloc(pData.len * 2 + 1)); bin2hex(pData.data, pData.len, tmp); str.AppendFormat( - "%*s%s: \"%s\"\n", level, "", f[i].name, tmp.get()); + "%*s%s: \"%s\"\n", level, "", F.name, tmp.get()); } break; case PROTOBUF_C_TYPE_MESSAGE: - if (f[i].label == PROTOBUF_C_LABEL_REPEATED) { + if (F.label == PROTOBUF_C_LABEL_REPEATED) { for (j = 0; - j < STRUCT_MEMBER(size_t, m, f[i].quantifier_offset); + j < STRUCT_MEMBER(size_t, m, F.quantifier_offset); j++) { str.AppendFormat( - "%*s%s {\n", level, "", f[i].name); + "%*s%s {\n", level, "", F.name); protobuf_c_text_to_string_internal(str, level + 2, - STRUCT_MEMBER(ProtobufCMessage **, m, f[i].offset)[j], - (ProtobufCMessageDescriptor *)f[i].descriptor); + STRUCT_MEMBER(ProtobufCMessage **, m, F.offset)[j], + (ProtobufCMessageDescriptor *)F.descriptor); str.AppendFormat( "%*s}\n", level, ""); } } else { str.AppendFormat( - "%*s%s {\n", level, "", f[i].name); + "%*s%s {\n", level, "", F.name); protobuf_c_text_to_string_internal(str, level + 2, - STRUCT_MEMBER(ProtobufCMessage *, m, f[i].offset), - (ProtobufCMessageDescriptor *)f[i].descriptor); + STRUCT_MEMBER(ProtobufCMessage *, m, F.offset), + (ProtobufCMessageDescriptor *)F.descriptor); str.AppendFormat( "%*s}\n", level, ""); } diff --git a/protocols/WhatsApp/src/pmsg.pb-c.cpp b/protocols/WhatsApp/src/pmsg.pb-c.cpp index 38138cfc1b..f291032187 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.cpp +++ b/protocols/WhatsApp/src/pmsg.pb-c.cpp @@ -288,6 +288,45 @@ void wa__auto_download_settings__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__avatar_user_settings__get_packed_size + (const Wa__AvatarUserSettings *message) +{ + assert(message->descriptor == &wa__avatar_user_settings__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__avatar_user_settings__pack + (const Wa__AvatarUserSettings *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__avatar_user_settings__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__avatar_user_settings__pack_to_buffer + (const Wa__AvatarUserSettings *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__avatar_user_settings__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__AvatarUserSettings * + wa__avatar_user_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__AvatarUserSettings *) + protobuf_c_message_unpack (&wa__avatar_user_settings__descriptor, + allocator, len, data); +} +void wa__avatar_user_settings__free_unpacked + (Wa__AvatarUserSettings *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__avatar_user_settings__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} size_t wa__biz_account_link_info__get_packed_size (const Wa__BizAccountLinkInfo *message) { @@ -328,6 +367,12 @@ void wa__biz_account_link_info__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__biz_account_payload__get_packed_size + (const Wa__BizAccountPayload *message) +{ + assert(message->descriptor == &wa__biz_account_payload__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} size_t wa__biz_account_payload__pack (const Wa__BizAccountPayload *message, uint8_t *out) @@ -442,86 +487,6 @@ void wa__cert_chain__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -size_t wa__chain__get_packed_size - (const Wa__Chain *message) -{ - assert(message->descriptor == &wa__chain__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t wa__chain__pack - (const Wa__Chain *message, - uint8_t *out) -{ - assert(message->descriptor == &wa__chain__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t wa__chain__pack_to_buffer - (const Wa__Chain *message, - ProtobufCBuffer *buffer) -{ - assert(message->descriptor == &wa__chain__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Wa__Chain * - wa__chain__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Wa__Chain *) - protobuf_c_message_unpack (&wa__chain__descriptor, - allocator, len, data); -} -void wa__chain__free_unpacked - (Wa__Chain *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->descriptor == &wa__chain__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} - -size_t wa__chain_key__get_packed_size - (const Wa__ChainKey *message) -{ - assert(message->descriptor == &wa__chain_key__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t wa__chain_key__pack - (const Wa__ChainKey *message, - uint8_t *out) -{ - assert(message->descriptor == &wa__chain_key__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t wa__chain_key__pack_to_buffer - (const Wa__ChainKey *message, - ProtobufCBuffer *buffer) -{ - assert(message->descriptor == &wa__chain_key__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Wa__ChainKey * - wa__chain_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Wa__ChainKey *) - protobuf_c_message_unpack (&wa__chain_key__descriptor, - allocator, len, data); -} -void wa__chain_key__free_unpacked - (Wa__ChainKey *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->descriptor == &wa__chain_key__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} - size_t wa__client_payload__get_packed_size (const Wa__ClientPayload *message) { @@ -642,6 +607,45 @@ void wa__conversation__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__device_consistency_code_message__get_packed_size + (const Wa__DeviceConsistencyCodeMessage *message) +{ + assert(message->descriptor == &wa__device_consistency_code_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__device_consistency_code_message__pack + (const Wa__DeviceConsistencyCodeMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__device_consistency_code_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__device_consistency_code_message__pack_to_buffer + (const Wa__DeviceConsistencyCodeMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__device_consistency_code_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__DeviceConsistencyCodeMessage * + wa__device_consistency_code_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__DeviceConsistencyCodeMessage *) + protobuf_c_message_unpack (&wa__device_consistency_code_message__descriptor, + allocator, len, data); +} +void wa__device_consistency_code_message__free_unpacked + (Wa__DeviceConsistencyCodeMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__device_consistency_code_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} size_t wa__device_list_metadata__get_packed_size (const Wa__DeviceListMetadata *message) { @@ -922,6 +926,46 @@ void wa__global_settings__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__group_mention__get_packed_size + (const Wa__GroupMention *message) +{ + assert(message->descriptor == &wa__group_mention__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__group_mention__pack + (const Wa__GroupMention *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__group_mention__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__group_mention__pack_to_buffer + (const Wa__GroupMention *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__group_mention__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__GroupMention * + wa__group_mention__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__GroupMention *) + protobuf_c_message_unpack (&wa__group_mention__descriptor, + allocator, len, data); +} +void wa__group_mention__free_unpacked + (Wa__GroupMention *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__group_mention__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__group_participant__get_packed_size (const Wa__GroupParticipant *message) { @@ -1242,6 +1286,46 @@ void wa__keep_in_chat__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__key_exchange_message__get_packed_size + (const Wa__KeyExchangeMessage *message) +{ + assert(message->descriptor == &wa__key_exchange_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__key_exchange_message__pack + (const Wa__KeyExchangeMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__key_exchange_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__key_exchange_message__pack_to_buffer + (const Wa__KeyExchangeMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__key_exchange_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__KeyExchangeMessage * + wa__key_exchange_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__KeyExchangeMessage *) + protobuf_c_message_unpack (&wa__key_exchange_message__descriptor, + allocator, len, data); +} +void wa__key_exchange_message__free_unpacked + (Wa__KeyExchangeMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__key_exchange_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__key_id__get_packed_size (const Wa__KeyId *message) { @@ -1441,6 +1525,7 @@ void wa__media_retry_notification__free_unpacked assert(message->descriptor == &wa__media_retry_notification__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } + size_t wa__message__get_packed_size (const Wa__Message *message) { @@ -1481,6 +1566,46 @@ void wa__message__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__message_add_on_context_info__get_packed_size + (const Wa__MessageAddOnContextInfo *message) +{ + assert(message->descriptor == &wa__message_add_on_context_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__message_add_on_context_info__pack + (const Wa__MessageAddOnContextInfo *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__message_add_on_context_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__message_add_on_context_info__pack_to_buffer + (const Wa__MessageAddOnContextInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__message_add_on_context_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__MessageAddOnContextInfo * + wa__message_add_on_context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__MessageAddOnContextInfo *) + protobuf_c_message_unpack (&wa__message_add_on_context_info__descriptor, + allocator, len, data); +} +void wa__message_add_on_context_info__free_unpacked + (Wa__MessageAddOnContextInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__message_add_on_context_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__message_context_info__get_packed_size (const Wa__MessageContextInfo *message) { @@ -1761,6 +1886,46 @@ void wa__notification_message_info__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__notification_settings__get_packed_size + (const Wa__NotificationSettings *message) +{ + assert(message->descriptor == &wa__notification_settings__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__notification_settings__pack + (const Wa__NotificationSettings *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__notification_settings__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__notification_settings__pack_to_buffer + (const Wa__NotificationSettings *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__notification_settings__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__NotificationSettings * + wa__notification_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__NotificationSettings *) + protobuf_c_message_unpack (&wa__notification_settings__descriptor, + allocator, len, data); +} +void wa__notification_settings__free_unpacked + (Wa__NotificationSettings *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__notification_settings__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__past_participant__get_packed_size (const Wa__PastParticipant *message) { @@ -1792,13 +1957,13 @@ Wa__PastParticipant * allocator, len, data); } void wa__past_participant__free_unpacked -(Wa__PastParticipant *message, - ProtobufCAllocator *allocator) + (Wa__PastParticipant *message, + ProtobufCAllocator *allocator) { - if (!message) - return; - assert(message->descriptor == &wa__past_participant__descriptor); - protobuf_c_message_free_unpacked((ProtobufCMessage *)message, allocator); + if(!message) + return; + assert(message->descriptor == &wa__past_participant__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } size_t wa__past_participants__get_packed_size @@ -1921,123 +2086,83 @@ void wa__payment_info__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -size_t wa__pending_key_exchange__get_packed_size - (const Wa__PendingKeyExchange *message) +size_t wa__photo_change__get_packed_size + (const Wa__PhotoChange *message) { - assert(message->descriptor == &wa__pending_key_exchange__descriptor); + assert(message->descriptor == &wa__photo_change__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t wa__pending_key_exchange__pack - (const Wa__PendingKeyExchange *message, +size_t wa__photo_change__pack + (const Wa__PhotoChange *message, uint8_t *out) { - assert(message->descriptor == &wa__pending_key_exchange__descriptor); + assert(message->descriptor == &wa__photo_change__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t wa__pending_key_exchange__pack_to_buffer - (const Wa__PendingKeyExchange *message, +size_t wa__photo_change__pack_to_buffer + (const Wa__PhotoChange *message, ProtobufCBuffer *buffer) { - assert(message->descriptor == &wa__pending_key_exchange__descriptor); + assert(message->descriptor == &wa__photo_change__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -Wa__PendingKeyExchange * - wa__pending_key_exchange__unpack +Wa__PhotoChange * + wa__photo_change__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (Wa__PendingKeyExchange *) - protobuf_c_message_unpack (&wa__pending_key_exchange__descriptor, + return (Wa__PhotoChange *) + protobuf_c_message_unpack (&wa__photo_change__descriptor, allocator, len, data); } -void wa__pending_key_exchange__free_unpacked - (Wa__PendingKeyExchange *message, +void wa__photo_change__free_unpacked + (Wa__PhotoChange *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->descriptor == &wa__pending_key_exchange__descriptor); + assert(message->descriptor == &wa__photo_change__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -size_t wa__pending_pre_key__get_packed_size - (const Wa__PendingPreKey *message) +size_t wa__pin_in_chat__get_packed_size + (const Wa__PinInChat *message) { - assert(message->descriptor == &wa__pending_pre_key__descriptor); + assert(message->descriptor == &wa__pin_in_chat__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t wa__pending_pre_key__pack - (const Wa__PendingPreKey *message, +size_t wa__pin_in_chat__pack + (const Wa__PinInChat *message, uint8_t *out) { - assert(message->descriptor == &wa__pending_pre_key__descriptor); + assert(message->descriptor == &wa__pin_in_chat__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t wa__pending_pre_key__pack_to_buffer - (const Wa__PendingPreKey *message, +size_t wa__pin_in_chat__pack_to_buffer + (const Wa__PinInChat *message, ProtobufCBuffer *buffer) { - assert(message->descriptor == &wa__pending_pre_key__descriptor); + assert(message->descriptor == &wa__pin_in_chat__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -Wa__PendingPreKey * - wa__pending_pre_key__unpack +Wa__PinInChat * + wa__pin_in_chat__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (Wa__PendingPreKey *) - protobuf_c_message_unpack (&wa__pending_pre_key__descriptor, + return (Wa__PinInChat *) + protobuf_c_message_unpack (&wa__pin_in_chat__descriptor, allocator, len, data); } -void wa__pending_pre_key__free_unpacked - (Wa__PendingPreKey *message, +void wa__pin_in_chat__free_unpacked + (Wa__PinInChat *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->descriptor == &wa__pending_pre_key__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} - -size_t wa__photo_change__get_packed_size - (const Wa__PhotoChange *message) -{ - assert(message->descriptor == &wa__photo_change__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t wa__photo_change__pack - (const Wa__PhotoChange *message, - uint8_t *out) -{ - assert(message->descriptor == &wa__photo_change__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t wa__photo_change__pack_to_buffer - (const Wa__PhotoChange *message, - ProtobufCBuffer *buffer) -{ - assert(message->descriptor == &wa__photo_change__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Wa__PhotoChange * - wa__photo_change__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Wa__PhotoChange *) - protobuf_c_message_unpack (&wa__photo_change__descriptor, - allocator, len, data); -} -void wa__photo_change__free_unpacked - (Wa__PhotoChange *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->descriptor == &wa__photo_change__descriptor); + assert(message->descriptor == &wa__pin_in_chat__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } @@ -2241,6 +2366,46 @@ void wa__pre_key_record_structure__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__pre_key_signal_message__get_packed_size + (const Wa__PreKeySignalMessage *message) +{ + assert(message->descriptor == &wa__pre_key_signal_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__pre_key_signal_message__pack + (const Wa__PreKeySignalMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__pre_key_signal_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__pre_key_signal_message__pack_to_buffer + (const Wa__PreKeySignalMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__pre_key_signal_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__PreKeySignalMessage * + wa__pre_key_signal_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__PreKeySignalMessage *) + protobuf_c_message_unpack (&wa__pre_key_signal_message__descriptor, + allocator, len, data); +} +void wa__pre_key_signal_message__free_unpacked + (Wa__PreKeySignalMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__pre_key_signal_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__pushname__get_packed_size (const Wa__Pushname *message) { @@ -2401,43 +2566,83 @@ void wa__record_structure__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -size_t wa__sender_chain_key__get_packed_size - (const Wa__SenderChainKey *message) +size_t wa__sender_key_distribution_message__get_packed_size + (const Wa__SenderKeyDistributionMessage *message) { - assert(message->descriptor == &wa__sender_chain_key__descriptor); + assert(message->descriptor == &wa__sender_key_distribution_message__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t wa__sender_chain_key__pack - (const Wa__SenderChainKey *message, +size_t wa__sender_key_distribution_message__pack + (const Wa__SenderKeyDistributionMessage *message, uint8_t *out) { - assert(message->descriptor == &wa__sender_chain_key__descriptor); + assert(message->descriptor == &wa__sender_key_distribution_message__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t wa__sender_chain_key__pack_to_buffer - (const Wa__SenderChainKey *message, +size_t wa__sender_key_distribution_message__pack_to_buffer + (const Wa__SenderKeyDistributionMessage *message, ProtobufCBuffer *buffer) { - assert(message->descriptor == &wa__sender_chain_key__descriptor); + assert(message->descriptor == &wa__sender_key_distribution_message__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -Wa__SenderChainKey * - wa__sender_chain_key__unpack +Wa__SenderKeyDistributionMessage * + wa__sender_key_distribution_message__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (Wa__SenderChainKey *) - protobuf_c_message_unpack (&wa__sender_chain_key__descriptor, + return (Wa__SenderKeyDistributionMessage *) + protobuf_c_message_unpack (&wa__sender_key_distribution_message__descriptor, allocator, len, data); } -void wa__sender_chain_key__free_unpacked - (Wa__SenderChainKey *message, +void wa__sender_key_distribution_message__free_unpacked + (Wa__SenderKeyDistributionMessage *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->descriptor == &wa__sender_chain_key__descriptor); + assert(message->descriptor == &wa__sender_key_distribution_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + +size_t wa__sender_key_message__get_packed_size + (const Wa__SenderKeyMessage *message) +{ + assert(message->descriptor == &wa__sender_key_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__sender_key_message__pack + (const Wa__SenderKeyMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__sender_key_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__sender_key_message__pack_to_buffer + (const Wa__SenderKeyMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__sender_key_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SenderKeyMessage * + wa__sender_key_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SenderKeyMessage *) + protobuf_c_message_unpack (&wa__sender_key_message__descriptor, + allocator, len, data); +} +void wa__sender_key_message__free_unpacked + (Wa__SenderKeyMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__sender_key_message__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } @@ -2521,86 +2726,6 @@ void wa__sender_key_state_structure__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -size_t wa__sender_message_key__get_packed_size - (const Wa__SenderMessageKey *message) -{ - assert(message->descriptor == &wa__sender_message_key__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t wa__sender_message_key__pack - (const Wa__SenderMessageKey *message, - uint8_t *out) -{ - assert(message->descriptor == &wa__sender_message_key__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t wa__sender_message_key__pack_to_buffer - (const Wa__SenderMessageKey *message, - ProtobufCBuffer *buffer) -{ - assert(message->descriptor == &wa__sender_message_key__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Wa__SenderMessageKey * - wa__sender_message_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Wa__SenderMessageKey *) - protobuf_c_message_unpack (&wa__sender_message_key__descriptor, - allocator, len, data); -} -void wa__sender_message_key__free_unpacked - (Wa__SenderMessageKey *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->descriptor == &wa__sender_message_key__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} - -size_t wa__sender_signing_key__get_packed_size - (const Wa__SenderSigningKey *message) -{ - assert(message->descriptor == &wa__sender_signing_key__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t wa__sender_signing_key__pack - (const Wa__SenderSigningKey *message, - uint8_t *out) -{ - assert(message->descriptor == &wa__sender_signing_key__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t wa__sender_signing_key__pack_to_buffer - (const Wa__SenderSigningKey *message, - ProtobufCBuffer *buffer) -{ - assert(message->descriptor == &wa__sender_signing_key__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -Wa__SenderSigningKey * - wa__sender_signing_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (Wa__SenderSigningKey *) - protobuf_c_message_unpack (&wa__sender_signing_key__descriptor, - allocator, len, data); -} -void wa__sender_signing_key__free_unpacked - (Wa__SenderSigningKey *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->descriptor == &wa__sender_signing_key__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} - size_t wa__server_error_receipt__get_packed_size (const Wa__ServerErrorReceipt *message) { @@ -2681,6 +2806,46 @@ void wa__session_structure__free_unpacked protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } +size_t wa__signal_message__get_packed_size + (const Wa__SignalMessage *message) +{ + assert(message->descriptor == &wa__signal_message__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t wa__signal_message__pack + (const Wa__SignalMessage *message, + uint8_t *out) +{ + assert(message->descriptor == &wa__signal_message__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t wa__signal_message__pack_to_buffer + (const Wa__SignalMessage *message, + ProtobufCBuffer *buffer) +{ + assert(message->descriptor == &wa__signal_message__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Wa__SignalMessage * + wa__signal_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Wa__SignalMessage *) + protobuf_c_message_unpack (&wa__signal_message__descriptor, + allocator, len, data); +} +void wa__signal_message__free_unpacked + (Wa__SignalMessage *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->descriptor == &wa__signal_message__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} + size_t wa__signed_pre_key_record_structure__get_packed_size (const Wa__SignedPreKeyRecordStructure *message) { @@ -2840,6 +3005,7 @@ void wa__sync_action_data__free_unpacked assert(message->descriptor == &wa__sync_action_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } + size_t wa__sync_action_value__get_packed_size (const Wa__SyncActionValue *message) { @@ -3479,7 +3645,7 @@ void wa__web_notifications_info__free_unpacked assert(message->descriptor == &wa__web_notifications_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor wa__advdevice_identity__field_descriptors[3] = +static const ProtobufCFieldDescriptor wa__advdevice_identity__field_descriptors[5] = { { "rawId", @@ -3517,8 +3683,34 @@ static const ProtobufCFieldDescriptor wa__advdevice_identity__field_descriptors[ 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "accountType", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ADVDeviceIdentity, has_accounttype), + offsetof(Wa__ADVDeviceIdentity, accounttype), + &wa__advencryption_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "deviceType", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ADVDeviceIdentity, has_devicetype), + offsetof(Wa__ADVDeviceIdentity, devicetype), + &wa__advencryption_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__advdevice_identity__field_indices_by_name[] = { + 3, /* field[3] = accountType */ + 4, /* field[4] = deviceType */ 2, /* field[2] = keyIndex */ 0, /* field[0] = rawId */ 1, /* field[1] = timestamp */ @@ -3526,7 +3718,7 @@ static const unsigned wa__advdevice_identity__field_indices_by_name[] = { static const ProtobufCIntRange wa__advdevice_identity__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 5 } }; const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor = { @@ -3536,13 +3728,13 @@ const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor = "Wa__ADVDeviceIdentity", "wa", sizeof(Wa__ADVDeviceIdentity), - 3, + 5, wa__advdevice_identity__field_descriptors, wa__advdevice_identity__field_indices_by_name, 1, wa__advdevice_identity__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__advkey_index_list__field_descriptors[4] = +static const ProtobufCFieldDescriptor wa__advkey_index_list__field_descriptors[5] = { { "rawId", @@ -3592,8 +3784,21 @@ static const ProtobufCFieldDescriptor wa__advkey_index_list__field_descriptors[4 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "accountType", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__ADVKeyIndexList, has_accounttype), + offsetof(Wa__ADVKeyIndexList, accounttype), + &wa__advencryption_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__advkey_index_list__field_indices_by_name[] = { + 4, /* field[4] = accountType */ 2, /* field[2] = currentIndex */ 0, /* field[0] = rawId */ 1, /* field[1] = timestamp */ @@ -3602,7 +3807,7 @@ static const unsigned wa__advkey_index_list__field_indices_by_name[] = { static const ProtobufCIntRange wa__advkey_index_list__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 5 } }; const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor = { @@ -3612,7 +3817,7 @@ const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor = "Wa__ADVKeyIndexList", "wa", sizeof(Wa__ADVKeyIndexList), - 4, + 5, wa__advkey_index_list__field_descriptors, wa__advkey_index_list__field_indices_by_name, 1, wa__advkey_index_list__number_ranges, @@ -3920,6 +4125,56 @@ const ProtobufCMessageDescriptor wa__auto_download_settings__descriptor = 1, wa__auto_download_settings__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; +static const ProtobufCFieldDescriptor wa__avatar_user_settings__field_descriptors[2] = +{ + { + "fbid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__AvatarUserSettings, fbid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "password", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__AvatarUserSettings, password), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__avatar_user_settings__field_indices_by_name[] = { + 0, /* field[0] = fbid */ + 1, /* field[1] = password */ +}; +static const ProtobufCIntRange wa__avatar_user_settings__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__avatar_user_settings__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.AvatarUserSettings", + "AvatarUserSettings", + "Wa__AvatarUserSettings", + "wa", + sizeof(Wa__AvatarUserSettings), + 2, + wa__avatar_user_settings__field_descriptors, + wa__avatar_user_settings__field_indices_by_name, + 1, wa__avatar_user_settings__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; static const ProtobufCEnumValue wa__biz_account_link_info__account_type__enum_values_by_number[1] = { { "ENTERPRISE", "WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE", 0 }, @@ -4516,132 +4771,6 @@ const ProtobufCMessageDescriptor wa__cert_chain__descriptor = 1, wa__cert_chain__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__chain__field_descriptors[4] = -{ - { - "senderRatchetKey", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__Chain, has_senderratchetkey), - offsetof(Wa__Chain, senderratchetkey), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "senderRatchetKeyPrivate", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__Chain, has_senderratchetkeyprivate), - offsetof(Wa__Chain, senderratchetkeyprivate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "chainKey", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Wa__Chain, chainkey), - &wa__chain_key__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "messageKeys", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(Wa__Chain, n_messagekeys), - offsetof(Wa__Chain, messagekeys), - &wa__message_key__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__chain__field_indices_by_name[] = { - 2, /* field[2] = chainKey */ - 3, /* field[3] = messageKeys */ - 0, /* field[0] = senderRatchetKey */ - 1, /* field[1] = senderRatchetKeyPrivate */ -}; -static const ProtobufCIntRange wa__chain__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor wa__chain__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Chain", - "Chain", - "Wa__Chain", - "wa", - sizeof(Wa__Chain), - 4, - wa__chain__field_descriptors, - wa__chain__field_indices_by_name, - 1, wa__chain__number_ranges, - NULL,NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__chain_key__field_descriptors[2] = -{ - { - "index", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__ChainKey, has_index), - offsetof(Wa__ChainKey, index), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "key", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__ChainKey, has_key), - offsetof(Wa__ChainKey, key), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__chain_key__field_indices_by_name[] = { - 0, /* field[0] = index */ - 1, /* field[1] = key */ -}; -static const ProtobufCIntRange wa__chain_key__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wa__chain_key__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.ChainKey", - "ChainKey", - "Wa__ChainKey", - "wa", - sizeof(Wa__ChainKey), - 2, - wa__chain_key__field_descriptors, - wa__chain_key__field_indices_by_name, - 1, wa__chain_key__number_ranges, - NULL,NULL,NULL,NULL /* reserved[123] */ -}; static const ProtobufCEnumValue wa__client_payload__dnssource__dnsresolution_method__enum_values_by_number[5] = { { "SYSTEM", "WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM", 0 }, @@ -4854,6 +4983,69 @@ const ProtobufCMessageDescriptor wa__client_payload__device_pairing_registration 1, wa__client_payload__device_pairing_registration_data__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; +static const ProtobufCFieldDescriptor wa__client_payload__interop_data__field_descriptors[3] = +{ + { + "accountId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT64, + offsetof(Wa__ClientPayload__InteropData, has_accountid), + offsetof(Wa__ClientPayload__InteropData, accountid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "integratorId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ClientPayload__InteropData, has_integratorid), + offsetof(Wa__ClientPayload__InteropData, integratorid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "token", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__ClientPayload__InteropData, has_token), + offsetof(Wa__ClientPayload__InteropData, token), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__client_payload__interop_data__field_indices_by_name[] = { + 0, /* field[0] = accountId */ + 1, /* field[1] = integratorId */ + 2, /* field[2] = token */ +}; +static const ProtobufCIntRange wa__client_payload__interop_data__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__client_payload__interop_data__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ClientPayload.InteropData", + "InteropData", + "Wa__ClientPayload__InteropData", + "wa", + sizeof(Wa__ClientPayload__InteropData), + 3, + wa__client_payload__interop_data__field_descriptors, + wa__client_payload__interop_data__field_indices_by_name, + 1, wa__client_payload__interop_data__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; static const ProtobufCFieldDescriptor wa__client_payload__user_agent__app_version__field_descriptors[5] = { { @@ -4943,7 +5135,7 @@ const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__de 1, wa__client_payload__user_agent__app_version__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__client_payload__user_agent__platform__enum_values_by_number[29] = +static const ProtobufCEnumValue wa__client_payload__user_agent__platform__enum_values_by_number[34] = { { "ANDROID", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID", 0 }, { "IOS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IOS", 1 }, @@ -4974,17 +5166,24 @@ static const ProtobufCEnumValue wa__client_payload__user_agent__platform__enum_v { "OCULUS_CALL", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_CALL", 26 }, { "MILAN", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MILAN", 27 }, { "CAPI", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__CAPI", 28 }, + { "WEAROS", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEAROS", 29 }, + { "ARDEVICE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ARDEVICE", 30 }, + { "VRDEVICE", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__VRDEVICE", 31 }, + { "BLUE_WEB", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_WEB", 32 }, + { "IPAD", "WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IPAD", 33 }, }; static const ProtobufCIntRange wa__client_payload__user_agent__platform__value_ranges[] = { -{0, 0},{0, 29} +{0, 0},{0, 34} }; -static const ProtobufCEnumValueIndex wa__client_payload__user_agent__platform__enum_values_by_name[29] = +static const ProtobufCEnumValueIndex wa__client_payload__user_agent__platform__enum_values_by_name[34] = { { "ANDROID", 0 }, + { "ARDEVICE", 30 }, { "BLACKBERRY", 3 }, { "BLACKBERRYX", 4 }, { "BLUE_ANDROID", 18 }, { "BLUE_IPHONE", 19 }, + { "BLUE_WEB", 32 }, { "CAPI", 28 }, { "ENTERPRISE", 9 }, { "FBLITE_ANDROID", 20 }, @@ -4992,6 +5191,7 @@ static const ProtobufCEnumValueIndex wa__client_payload__user_agent__platform__e { "GREEN_IPHONE", 17 }, { "IGLITE_ANDROID", 22 }, { "IOS", 1 }, + { "IPAD", 33 }, { "KAIOS", 11 }, { "MACOS", 24 }, { "MILAN", 27 }, @@ -5006,6 +5206,8 @@ static const ProtobufCEnumValueIndex wa__client_payload__user_agent__platform__e { "SMB_ANDROID", 10 }, { "SMB_IOS", 12 }, { "TIZEN", 8 }, + { "VRDEVICE", 31 }, + { "WEAROS", 29 }, { "WEB", 14 }, { "WINDOWS", 13 }, { "WINDOWS_PHONE", 2 }, @@ -5017,9 +5219,9 @@ const ProtobufCEnumDescriptor wa__client_payload__user_agent__platform__descript "Platform", "Wa__ClientPayload__UserAgent__Platform", "wa", - 29, + 34, wa__client_payload__user_agent__platform__enum_values_by_number, - 29, + 34, wa__client_payload__user_agent__platform__enum_values_by_name, 1, wa__client_payload__user_agent__platform__value_ranges, @@ -5057,7 +5259,7 @@ const ProtobufCEnumDescriptor wa__client_payload__user_agent__release_channel__d wa__client_payload__user_agent__release_channel__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__client_payload__user_agent__field_descriptors[13] = +static const ProtobufCFieldDescriptor wa__client_payload__user_agent__field_descriptors[14] = { { "platform", @@ -5215,11 +5417,24 @@ static const ProtobufCFieldDescriptor wa__client_payload__user_agent__field_desc 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "deviceExpId", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload__UserAgent, deviceexpid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__client_payload__user_agent__field_indices_by_name[] = { 1, /* field[1] = appVersion */ 6, /* field[6] = device */ 12, /* field[12] = deviceBoard */ + 13, /* field[13] = deviceExpId */ 11, /* field[11] = localeCountryIso31661Alpha2 */ 10, /* field[10] = localeLanguageIso6391 */ 5, /* field[5] = manufacturer */ @@ -5234,7 +5449,7 @@ static const unsigned wa__client_payload__user_agent__field_indices_by_name[] = static const ProtobufCIntRange wa__client_payload__user_agent__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 13 } + { 0, 14 } }; const ProtobufCMessageDescriptor wa__client_payload__user_agent__descriptor = { @@ -5244,7 +5459,7 @@ const ProtobufCMessageDescriptor wa__client_payload__user_agent__descriptor = "Wa__ClientPayload__UserAgent", "wa", sizeof(Wa__ClientPayload__UserAgent), - 13, + 14, wa__client_payload__user_agent__field_descriptors, wa__client_payload__user_agent__field_indices_by_name, 1, wa__client_payload__user_agent__number_ranges, @@ -5423,7 +5638,7 @@ static const ProtobufCEnumValue wa__client_payload__web_info__web_sub_platform__ { "APP_STORE", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__APP_STORE", 1 }, { "WIN_STORE", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN_STORE", 2 }, { "DARWIN", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__DARWIN", 3 }, - { "WINDA", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WINDA", 4 }, + { "WIN32", "WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN32", 4 }, }; static const ProtobufCIntRange wa__client_payload__web_info__web_sub_platform__value_ranges[] = { {0, 0},{0, 5} @@ -5433,7 +5648,7 @@ static const ProtobufCEnumValueIndex wa__client_payload__web_info__web_sub_platf { "APP_STORE", 1 }, { "DARWIN", 3 }, { "WEB_BROWSER", 0 }, - { "WINDA", 4 }, + { "WIN32", 4 }, { "WIN_STORE", 2 }, }; const ProtobufCEnumDescriptor wa__client_payload__web_info__web_sub_platform__descriptor = @@ -5527,7 +5742,7 @@ const ProtobufCMessageDescriptor wa__client_payload__web_info__descriptor = 1, wa__client_payload__web_info__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__client_payload__connect_reason__enum_values_by_number[6] = +static const ProtobufCEnumValue wa__client_payload__connect_reason__enum_values_by_number[7] = { { "PUSH", "WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH", 0 }, { "USER_ACTIVATED", "WA__CLIENT_PAYLOAD__CONNECT_REASON__USER_ACTIVATED", 1 }, @@ -5535,17 +5750,19 @@ static const ProtobufCEnumValue wa__client_payload__connect_reason__enum_values_ { "ERROR_RECONNECT", "WA__CLIENT_PAYLOAD__CONNECT_REASON__ERROR_RECONNECT", 3 }, { "NETWORK_SWITCH", "WA__CLIENT_PAYLOAD__CONNECT_REASON__NETWORK_SWITCH", 4 }, { "PING_RECONNECT", "WA__CLIENT_PAYLOAD__CONNECT_REASON__PING_RECONNECT", 5 }, + { "UNKNOWN", "WA__CLIENT_PAYLOAD__CONNECT_REASON__UNKNOWN", 6 }, }; static const ProtobufCIntRange wa__client_payload__connect_reason__value_ranges[] = { -{0, 0},{0, 6} +{0, 0},{0, 7} }; -static const ProtobufCEnumValueIndex wa__client_payload__connect_reason__enum_values_by_name[6] = +static const ProtobufCEnumValueIndex wa__client_payload__connect_reason__enum_values_by_name[7] = { { "ERROR_RECONNECT", 3 }, { "NETWORK_SWITCH", 4 }, { "PING_RECONNECT", 5 }, { "PUSH", 0 }, { "SCHEDULED", 2 }, + { "UNKNOWN", 6 }, { "USER_ACTIVATED", 1 }, }; const ProtobufCEnumDescriptor wa__client_payload__connect_reason__descriptor = @@ -5555,9 +5772,9 @@ const ProtobufCEnumDescriptor wa__client_payload__connect_reason__descriptor = "ConnectReason", "Wa__ClientPayload__ConnectReason", "wa", - 6, + 7, wa__client_payload__connect_reason__enum_values_by_number, - 6, + 7, wa__client_payload__connect_reason__enum_values_by_name, 1, wa__client_payload__connect_reason__value_ranges, @@ -5647,16 +5864,18 @@ const ProtobufCEnumDescriptor wa__client_payload__iosapp_extension__descriptor = wa__client_payload__iosapp_extension__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCEnumValue wa__client_payload__product__enum_values_by_number[2] = +static const ProtobufCEnumValue wa__client_payload__product__enum_values_by_number[3] = { { "WHATSAPP", "WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP", 0 }, { "MESSENGER", "WA__CLIENT_PAYLOAD__PRODUCT__MESSENGER", 1 }, + { "INTEROP", "WA__CLIENT_PAYLOAD__PRODUCT__INTEROP", 2 }, }; static const ProtobufCIntRange wa__client_payload__product__value_ranges[] = { -{0, 0},{0, 2} +{0, 0},{0, 3} }; -static const ProtobufCEnumValueIndex wa__client_payload__product__enum_values_by_name[2] = +static const ProtobufCEnumValueIndex wa__client_payload__product__enum_values_by_name[3] = { + { "INTEROP", 2 }, { "MESSENGER", 1 }, { "WHATSAPP", 0 }, }; @@ -5667,15 +5886,15 @@ const ProtobufCEnumDescriptor wa__client_payload__product__descriptor = "Product", "Wa__ClientPayload__Product", "wa", - 2, + 3, wa__client_payload__product__enum_values_by_number, - 2, + 3, wa__client_payload__product__enum_values_by_name, 1, wa__client_payload__product__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__client_payload__field_descriptors[24] = +static const ProtobufCFieldDescriptor wa__client_payload__field_descriptors[27] = { { "username", @@ -5965,6 +6184,42 @@ static const ProtobufCFieldDescriptor wa__client_payload__field_descriptors[24] 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "yearClass", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__ClientPayload, has_yearclass), + offsetof(Wa__ClientPayload, yearclass), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "memClass", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__ClientPayload, has_memclass), + offsetof(Wa__ClientPayload, memclass), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "interopData", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ClientPayload, interopdata), + &wa__client_payload__interop_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__client_payload__field_indices_by_name[] = { 11, /* field[11] = connectAttemptCount */ @@ -5977,8 +6232,10 @@ static const unsigned wa__client_payload__field_indices_by_name[] = { 15, /* field[15] = fbCat */ 21, /* field[21] = fbDeviceId */ 16, /* field[16] = fbUserAgent */ + 26, /* field[26] = interopData */ 19, /* field[19] = iosAppExtension */ 18, /* field[18] = lc */ + 25, /* field[25] = memClass */ 17, /* field[17] = oc */ 23, /* field[23] = paddingBytes */ 1, /* field[1] = passive */ @@ -5991,8 +6248,9 @@ static const unsigned wa__client_payload__field_indices_by_name[] = { 2, /* field[2] = userAgent */ 0, /* field[0] = username */ 3, /* field[3] = webInfo */ + 24, /* field[24] = yearClass */ }; -static const ProtobufCIntRange wa__client_payload__number_ranges[7 + 1] = +static const ProtobufCIntRange wa__client_payload__number_ranges[8 + 1] = { { 1, 0 }, { 3, 1 }, @@ -6001,7 +6259,8 @@ static const ProtobufCIntRange wa__client_payload__number_ranges[7 + 1] = { 12, 7 }, { 18, 12 }, { 30, 19 }, - { 0, 24 } + { 36, 24 }, + { 0, 27 } }; const ProtobufCMessageDescriptor wa__client_payload__descriptor = { @@ -6011,10 +6270,10 @@ const ProtobufCMessageDescriptor wa__client_payload__descriptor = "Wa__ClientPayload", "wa", sizeof(Wa__ClientPayload), - 24, + 27, wa__client_payload__field_descriptors, wa__client_payload__field_indices_by_name, - 7, wa__client_payload__number_ranges, + 8, wa__client_payload__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__context_info__ad_reply_info__media_type__enum_values_by_number[3] = @@ -6154,7 +6413,7 @@ const ProtobufCEnumDescriptor wa__context_info__external_ad_reply_info__media_ty wa__context_info__external_ad_reply_info__media_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__context_info__external_ad_reply_info__field_descriptors[12] = +static const ProtobufCFieldDescriptor wa__context_info__external_ad_reply_info__field_descriptors[14] = { { "title", @@ -6300,12 +6559,38 @@ static const ProtobufCFieldDescriptor wa__context_info__external_ad_reply_info__ 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "ctwaClid", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, ctwaclid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ref", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__ExternalAdReplyInfo, ref), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__context_info__external_ad_reply_info__field_indices_by_name[] = { 1, /* field[1] = body */ 9, /* field[9] = containsAutoReply */ + 12, /* field[12] = ctwaClid */ 2, /* field[2] = mediaType */ 4, /* field[4] = mediaUrl */ + 13, /* field[13] = ref */ 10, /* field[10] = renderLargerThumbnail */ 11, /* field[11] = showAdAttribution */ 7, /* field[7] = sourceId */ @@ -6318,7 +6603,7 @@ static const unsigned wa__context_info__external_ad_reply_info__field_indices_by static const ProtobufCIntRange wa__context_info__external_ad_reply_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 12 } + { 0, 14 } }; const ProtobufCMessageDescriptor wa__context_info__external_ad_reply_info__descriptor = { @@ -6328,13 +6613,63 @@ const ProtobufCMessageDescriptor wa__context_info__external_ad_reply_info__descr "Wa__ContextInfo__ExternalAdReplyInfo", "wa", sizeof(Wa__ContextInfo__ExternalAdReplyInfo), - 12, + 14, wa__context_info__external_ad_reply_info__field_descriptors, wa__context_info__external_ad_reply_info__field_indices_by_name, 1, wa__context_info__external_ad_reply_info__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__context_info__field_descriptors[23] = +static const ProtobufCFieldDescriptor wa__context_info__utminfo__field_descriptors[2] = +{ + { + "utmSource", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__UTMInfo, utmsource), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "utmCampaign", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo__UTMInfo, utmcampaign), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__context_info__utminfo__field_indices_by_name[] = { + 1, /* field[1] = utmCampaign */ + 0, /* field[0] = utmSource */ +}; +static const ProtobufCIntRange wa__context_info__utminfo__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__context_info__utminfo__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ContextInfo.UTMInfo", + "UTMInfo", + "Wa__ContextInfo__UTMInfo", + "wa", + sizeof(Wa__ContextInfo__UTMInfo), + 2, + wa__context_info__utminfo__field_descriptors, + wa__context_info__utminfo__field_indices_by_name, + 1, wa__context_info__utminfo__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__context_info__field_descriptors[28] = { { "stanzaId", @@ -6612,6 +6947,66 @@ static const ProtobufCFieldDescriptor wa__context_info__field_descriptors[23] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "trustBannerType", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, trustbannertype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "trustBannerAction", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__ContextInfo, has_trustbanneraction), + offsetof(Wa__ContextInfo, trustbanneraction), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isSampled", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__ContextInfo, has_issampled), + offsetof(Wa__ContextInfo, issampled), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupMentions", + 40, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__ContextInfo, n_groupmentions), + offsetof(Wa__ContextInfo, groupmentions), + &wa__group_mention__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "utm", + 41, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__ContextInfo, utm), + &wa__context_info__utminfo__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__context_info__field_indices_by_name[] = { 20, /* field[20] = actionLink */ @@ -6627,8 +7022,10 @@ static const unsigned wa__context_info__field_indices_by_name[] = { 12, /* field[12] = expiration */ 15, /* field[15] = externalAdReply */ 8, /* field[8] = forwardingScore */ + 26, /* field[26] = groupMentions */ 21, /* field[21] = groupSubject */ 9, /* field[9] = isForwarded */ + 25, /* field[25] = isSampled */ 4, /* field[4] = mentionedJid */ 22, /* field[22] = parentGroupJid */ 1, /* field[1] = participant */ @@ -6637,13 +7034,17 @@ static const unsigned wa__context_info__field_indices_by_name[] = { 2, /* field[2] = quotedMessage */ 3, /* field[3] = remoteJid */ 0, /* field[0] = stanzaId */ + 24, /* field[24] = trustBannerAction */ + 23, /* field[23] = trustBannerType */ + 27, /* field[27] = utm */ }; -static const ProtobufCIntRange wa__context_info__number_ranges[3 + 1] = +static const ProtobufCIntRange wa__context_info__number_ranges[4 + 1] = { { 1, 0 }, { 15, 4 }, { 18, 5 }, - { 0, 23 } + { 37, 23 }, + { 0, 28 } }; const ProtobufCMessageDescriptor wa__context_info__descriptor = { @@ -6653,24 +7054,26 @@ const ProtobufCMessageDescriptor wa__context_info__descriptor = "Wa__ContextInfo", "wa", sizeof(Wa__ContextInfo), - 23, + 28, wa__context_info__field_descriptors, wa__context_info__field_indices_by_name, - 3, wa__context_info__number_ranges, + 4, wa__context_info__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__conversation__end_of_history_transfer_type__enum_values_by_number[2] = +static const ProtobufCEnumValue wa__conversation__end_of_history_transfer_type__enum_values_by_number[3] = { { "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", "WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", 0 }, { "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", "WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", 1 }, + { "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", "WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", 2 }, }; static const ProtobufCIntRange wa__conversation__end_of_history_transfer_type__value_ranges[] = { -{0, 0},{0, 2} +{0, 0},{0, 3} }; -static const ProtobufCEnumValueIndex wa__conversation__end_of_history_transfer_type__enum_values_by_name[2] = +static const ProtobufCEnumValueIndex wa__conversation__end_of_history_transfer_type__enum_values_by_name[3] = { { "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", 1 }, { "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", 0 }, + { "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", 2 }, }; const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__descriptor = { @@ -6679,15 +7082,15 @@ const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__de "EndOfHistoryTransferType", "Wa__Conversation__EndOfHistoryTransferType", "wa", - 2, + 3, wa__conversation__end_of_history_transfer_type__enum_values_by_number, - 2, + 3, wa__conversation__end_of_history_transfer_type__enum_values_by_name, 1, wa__conversation__end_of_history_transfer_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__conversation__field_descriptors[40] = +static const ProtobufCFieldDescriptor wa__conversation__field_descriptors[42] = { { "id", @@ -7158,12 +7561,36 @@ static const ProtobufCFieldDescriptor wa__conversation__field_descriptors[40] = 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "selfPnExposed", + "shareOwnPn", 40, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BOOL, - offsetof(Wa__Conversation, has_selfpnexposed), - offsetof(Wa__Conversation, selfpnexposed), + offsetof(Wa__Conversation, has_shareownpn), + offsetof(Wa__Conversation, shareownpn), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pnhDuplicateLidThread", + 41, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Conversation, has_pnhduplicatelidthread), + offsetof(Wa__Conversation, pnhduplicatelidthread), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lidJid", + 42, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Conversation, lidjid), NULL, NULL, 0, /* flags */ @@ -7187,6 +7614,7 @@ static const unsigned wa__conversation__field_indices_by_name[] = { 35, /* field[35] = isDefaultSubgroup */ 34, /* field[34] = isParentGroup */ 4, /* field[4] = lastMsgTimestamp */ + 41, /* field[41] = lidJid */ 18, /* field[18] = markedAsUnread */ 26, /* field[26] = mediaVisibility */ 1, /* field[1] = messages */ @@ -7200,8 +7628,9 @@ static const unsigned wa__conversation__field_indices_by_name[] = { 19, /* field[19] = participant */ 23, /* field[23] = pinned */ 38, /* field[38] = pnJid */ + 40, /* field[40] = pnhDuplicateLidThread */ 6, /* field[6] = readOnly */ - 39, /* field[39] = selfPnExposed */ + 39, /* field[39] = shareOwnPn */ 33, /* field[33] = support */ 28, /* field[28] = suspended */ 20, /* field[20] = tcToken */ @@ -7215,7 +7644,7 @@ static const unsigned wa__conversation__field_indices_by_name[] = { static const ProtobufCIntRange wa__conversation__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 40 } + { 0, 42 } }; const ProtobufCMessageDescriptor wa__conversation__descriptor = { @@ -7225,12 +7654,62 @@ const ProtobufCMessageDescriptor wa__conversation__descriptor = "Wa__Conversation", "wa", sizeof(Wa__Conversation), - 40, + 42, wa__conversation__field_descriptors, wa__conversation__field_indices_by_name, 1, wa__conversation__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; +static const ProtobufCFieldDescriptor wa__device_consistency_code_message__field_descriptors[2] = +{ + { + "generation", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceConsistencyCodeMessage, has_generation), + offsetof(Wa__DeviceConsistencyCodeMessage, generation), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signature", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__DeviceConsistencyCodeMessage, has_signature), + offsetof(Wa__DeviceConsistencyCodeMessage, signature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__device_consistency_code_message__field_indices_by_name[] = { + 0, /* field[0] = generation */ + 1, /* field[1] = signature */ +}; +static const ProtobufCIntRange wa__device_consistency_code_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__device_consistency_code_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DeviceConsistencyCodeMessage", + "DeviceConsistencyCodeMessage", + "Wa__DeviceConsistencyCodeMessage", + "wa", + sizeof(Wa__DeviceConsistencyCodeMessage), + 2, + wa__device_consistency_code_message__field_descriptors, + wa__device_consistency_code_message__field_indices_by_name, + 1, wa__device_consistency_code_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; static const ProtobufCFieldDescriptor wa__device_list_metadata__field_descriptors[6] = { { @@ -7423,7 +7902,96 @@ const ProtobufCMessageDescriptor wa__device_props__app_version__descriptor = 1, wa__device_props__app_version__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__device_props__platform_type__enum_values_by_number[14] = +static const ProtobufCFieldDescriptor wa__device_props__history_sync_config__field_descriptors[5] = +{ + { + "fullSyncDaysLimit", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__HistorySyncConfig, has_fullsyncdayslimit), + offsetof(Wa__DeviceProps__HistorySyncConfig, fullsyncdayslimit), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fullSyncSizeMbLimit", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__HistorySyncConfig, has_fullsyncsizemblimit), + offsetof(Wa__DeviceProps__HistorySyncConfig, fullsyncsizemblimit), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "storageQuotaMb", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__HistorySyncConfig, has_storagequotamb), + offsetof(Wa__DeviceProps__HistorySyncConfig, storagequotamb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "inlineInitialPayloadInE2EeMsg", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__DeviceProps__HistorySyncConfig, has_inlineinitialpayloadine2eemsg), + offsetof(Wa__DeviceProps__HistorySyncConfig, inlineinitialpayloadine2eemsg), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "recentSyncDaysLimit", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__DeviceProps__HistorySyncConfig, has_recentsyncdayslimit), + offsetof(Wa__DeviceProps__HistorySyncConfig, recentsyncdayslimit), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__device_props__history_sync_config__field_indices_by_name[] = { + 0, /* field[0] = fullSyncDaysLimit */ + 1, /* field[1] = fullSyncSizeMbLimit */ + 3, /* field[3] = inlineInitialPayloadInE2EeMsg */ + 4, /* field[4] = recentSyncDaysLimit */ + 2, /* field[2] = storageQuotaMb */ +}; +static const ProtobufCIntRange wa__device_props__history_sync_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__device_props__history_sync_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.DeviceProps.HistorySyncConfig", + "HistorySyncConfig", + "Wa__DeviceProps__HistorySyncConfig", + "wa", + sizeof(Wa__DeviceProps__HistorySyncConfig), + 5, + wa__device_props__history_sync_config__field_descriptors, + wa__device_props__history_sync_config__field_indices_by_name, + 1, wa__device_props__history_sync_config__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__device_props__platform_type__enum_values_by_number[21] = { { "UNKNOWN", "WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN", 0 }, { "CHROME", "WA__DEVICE_PROPS__PLATFORM_TYPE__CHROME", 1 }, @@ -7439,26 +8007,40 @@ static const ProtobufCEnumValue wa__device_props__platform_type__enum_values_by_ { "ALOHA", "WA__DEVICE_PROPS__PLATFORM_TYPE__ALOHA", 11 }, { "CATALINA", "WA__DEVICE_PROPS__PLATFORM_TYPE__CATALINA", 12 }, { "TCL_TV", "WA__DEVICE_PROPS__PLATFORM_TYPE__TCL_TV", 13 }, + { "IOS_PHONE", "WA__DEVICE_PROPS__PLATFORM_TYPE__IOS_PHONE", 14 }, + { "IOS_CATALYST", "WA__DEVICE_PROPS__PLATFORM_TYPE__IOS_CATALYST", 15 }, + { "ANDROID_PHONE", "WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_PHONE", 16 }, + { "ANDROID_AMBIGUOUS", "WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_AMBIGUOUS", 17 }, + { "WEAR_OS", "WA__DEVICE_PROPS__PLATFORM_TYPE__WEAR_OS", 18 }, + { "AR_WRIST", "WA__DEVICE_PROPS__PLATFORM_TYPE__AR_WRIST", 19 }, + { "AR_DEVICE", "WA__DEVICE_PROPS__PLATFORM_TYPE__AR_DEVICE", 20 }, }; static const ProtobufCIntRange wa__device_props__platform_type__value_ranges[] = { -{0, 0},{0, 14} +{0, 0},{0, 21} }; -static const ProtobufCEnumValueIndex wa__device_props__platform_type__enum_values_by_name[14] = +static const ProtobufCEnumValueIndex wa__device_props__platform_type__enum_values_by_name[21] = { { "ALOHA", 11 }, + { "ANDROID_AMBIGUOUS", 17 }, + { "ANDROID_PHONE", 16 }, { "ANDROID_TABLET", 9 }, + { "AR_DEVICE", 20 }, + { "AR_WRIST", 19 }, { "CATALINA", 12 }, { "CHROME", 1 }, { "DESKTOP", 7 }, { "EDGE", 6 }, { "FIREFOX", 2 }, { "IE", 3 }, + { "IOS_CATALYST", 15 }, + { "IOS_PHONE", 14 }, { "IPAD", 8 }, { "OHANA", 10 }, { "OPERA", 4 }, { "SAFARI", 5 }, { "TCL_TV", 13 }, { "UNKNOWN", 0 }, + { "WEAR_OS", 18 }, }; const ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor = { @@ -7467,15 +8049,15 @@ const ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor = "PlatformType", "Wa__DeviceProps__PlatformType", "wa", - 14, + 21, wa__device_props__platform_type__enum_values_by_number, - 14, + 21, wa__device_props__platform_type__enum_values_by_name, 1, wa__device_props__platform_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__device_props__field_descriptors[4] = +static const ProtobufCFieldDescriptor wa__device_props__field_descriptors[5] = { { "os", @@ -7525,8 +8107,21 @@ static const ProtobufCFieldDescriptor wa__device_props__field_descriptors[4] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "historySyncConfig", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__DeviceProps, historysyncconfig), + &wa__device_props__history_sync_config__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__device_props__field_indices_by_name[] = { + 4, /* field[4] = historySyncConfig */ 0, /* field[0] = os */ 2, /* field[2] = platformType */ 3, /* field[3] = requireFullSync */ @@ -7535,7 +8130,7 @@ static const unsigned wa__device_props__field_indices_by_name[] = { static const ProtobufCIntRange wa__device_props__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 5 } }; const ProtobufCMessageDescriptor wa__device_props__descriptor = { @@ -7545,7 +8140,7 @@ const ProtobufCMessageDescriptor wa__device_props__descriptor = "Wa__DeviceProps", "wa", sizeof(Wa__DeviceProps), - 4, + 5, wa__device_props__field_descriptors, wa__device_props__field_indices_by_name, 1, wa__device_props__number_ranges, @@ -7820,7 +8415,7 @@ const ProtobufCMessageDescriptor wa__external_blob_reference__descriptor = 1, wa__external_blob_reference__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__global_settings__field_descriptors[10] = +static const ProtobufCFieldDescriptor wa__global_settings__field_descriptors[18] = { { "lightThemeWallpaper", @@ -7942,23 +8537,127 @@ static const ProtobufCFieldDescriptor wa__global_settings__field_descriptors[10] 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "avatarUserSettings", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, avatarusersettings), + &wa__avatar_user_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fontSize", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__GlobalSettings, has_fontsize), + offsetof(Wa__GlobalSettings, fontsize), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "securityNotifications", + 13, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__GlobalSettings, has_securitynotifications), + offsetof(Wa__GlobalSettings, securitynotifications), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "autoUnarchiveChats", + 14, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__GlobalSettings, has_autounarchivechats), + offsetof(Wa__GlobalSettings, autounarchivechats), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "videoQualityMode", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__GlobalSettings, has_videoqualitymode), + offsetof(Wa__GlobalSettings, videoqualitymode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "photoQualityMode", + 16, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__GlobalSettings, has_photoqualitymode), + offsetof(Wa__GlobalSettings, photoqualitymode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "individualNotificationSettings", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, individualnotificationsettings), + &wa__notification_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupNotificationSettings", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__GlobalSettings, groupnotificationsettings), + &wa__notification_settings__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__global_settings__field_indices_by_name[] = { 4, /* field[4] = autoDownloadCellular */ 5, /* field[5] = autoDownloadRoaming */ 3, /* field[3] = autoDownloadWiFi */ + 13, /* field[13] = autoUnarchiveChats */ + 10, /* field[10] = avatarUserSettings */ 2, /* field[2] = darkThemeWallpaper */ 8, /* field[8] = disappearingModeDuration */ 9, /* field[9] = disappearingModeTimestamp */ + 11, /* field[11] = fontSize */ + 17, /* field[17] = groupNotificationSettings */ + 16, /* field[16] = individualNotificationSettings */ 0, /* field[0] = lightThemeWallpaper */ 1, /* field[1] = mediaVisibility */ + 15, /* field[15] = photoQualityMode */ + 12, /* field[12] = securityNotifications */ 7, /* field[7] = showGroupNotificationsPreview */ 6, /* field[6] = showIndividualNotificationsPreview */ + 14, /* field[14] = videoQualityMode */ }; static const ProtobufCIntRange wa__global_settings__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 10 } + { 0, 18 } }; const ProtobufCMessageDescriptor wa__global_settings__descriptor = { @@ -7968,12 +8667,62 @@ const ProtobufCMessageDescriptor wa__global_settings__descriptor = "Wa__GlobalSettings", "wa", sizeof(Wa__GlobalSettings), - 10, + 18, wa__global_settings__field_descriptors, wa__global_settings__field_indices_by_name, 1, wa__global_settings__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; +static const ProtobufCFieldDescriptor wa__group_mention__field_descriptors[2] = +{ + { + "groupJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__GroupMention, groupjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupSubject", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__GroupMention, groupsubject), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__group_mention__field_indices_by_name[] = { + 0, /* field[0] = groupJid */ + 1, /* field[1] = groupSubject */ +}; +static const ProtobufCIntRange wa__group_mention__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__group_mention__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.GroupMention", + "GroupMention", + "Wa__GroupMention", + "wa", + sizeof(Wa__GroupMention), + 2, + wa__group_mention__field_descriptors, + wa__group_mention__field_indices_by_name, + 1, wa__group_mention__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; static const ProtobufCEnumValue wa__group_participant__rank__enum_values_by_number[3] = { { "REGULAR", "WA__GROUP_PARTICIPANT__RANK__REGULAR", 0 }, @@ -8293,26 +9042,28 @@ const ProtobufCMessageDescriptor wa__handshake_message__descriptor = 1, wa__handshake_message__number_ranges, NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__history_sync__history_sync_type__enum_values_by_number[6] = +static const ProtobufCEnumValue wa__history_sync__history_sync_type__enum_values_by_number[7] = { { "INITIAL_BOOTSTRAP", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP", 0 }, { "INITIAL_STATUS_V3", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3", 1 }, { "FULL", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__FULL", 2 }, { "RECENT", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__RECENT", 3 }, { "PUSH_NAME", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__PUSH_NAME", 4 }, - { "UNBLOCKING_DATA", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__UNBLOCKING_DATA", 5 }, + { "NON_BLOCKING_DATA", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__NON_BLOCKING_DATA", 5 }, + { "ON_DEMAND", "WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__ON_DEMAND", 6 }, }; static const ProtobufCIntRange wa__history_sync__history_sync_type__value_ranges[] = { -{0, 0},{0, 6} +{0, 0},{0, 7} }; -static const ProtobufCEnumValueIndex wa__history_sync__history_sync_type__enum_values_by_name[6] = +static const ProtobufCEnumValueIndex wa__history_sync__history_sync_type__enum_values_by_name[7] = { { "FULL", 2 }, { "INITIAL_BOOTSTRAP", 0 }, { "INITIAL_STATUS_V3", 1 }, + { "NON_BLOCKING_DATA", 5 }, + { "ON_DEMAND", 6 }, { "PUSH_NAME", 4 }, { "RECENT", 3 }, - { "UNBLOCKING_DATA", 5 }, }; const ProtobufCEnumDescriptor wa__history_sync__history_sync_type__descriptor = { @@ -8321,9 +9072,9 @@ const ProtobufCEnumDescriptor wa__history_sync__history_sync_type__descriptor = "HistorySyncType", "Wa__HistorySync__HistorySyncType", "wa", - 6, + 7, wa__history_sync__history_sync_type__enum_values_by_number, - 6, + 7, wa__history_sync__history_sync_type__enum_values_by_name, 1, wa__history_sync__history_sync_type__value_ranges, @@ -8821,8 +9572,7 @@ const ProtobufCMessageDescriptor wa__identity_key_pair_structure__descriptor = wa__identity_key_pair_structure__field_descriptors, wa__identity_key_pair_structure__field_indices_by_name, 1, wa__identity_key_pair_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__interactive_annotation__field_descriptors[2] = { @@ -8872,10 +9622,9 @@ const ProtobufCMessageDescriptor wa__interactive_annotation__descriptor = wa__interactive_annotation__field_descriptors, wa__interactive_annotation__field_indices_by_name, 1, wa__interactive_annotation__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__keep_in_chat__field_descriptors[4] = +static const ProtobufCFieldDescriptor wa__keep_in_chat__field_descriptors[6] = { { "keepType", @@ -8925,17 +9674,43 @@ static const ProtobufCFieldDescriptor wa__keep_in_chat__field_descriptors[4] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "clientTimestampMs", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__KeepInChat, has_clienttimestampms), + offsetof(Wa__KeepInChat, clienttimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "serverTimestampMs", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__KeepInChat, has_servertimestampms), + offsetof(Wa__KeepInChat, servertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__keep_in_chat__field_indices_by_name[] = { + 4, /* field[4] = clientTimestampMs */ 3, /* field[3] = deviceJid */ 0, /* field[0] = keepType */ 2, /* field[2] = key */ 1, /* field[1] = serverTimestamp */ + 5, /* field[5] = serverTimestampMs */ }; static const ProtobufCIntRange wa__keep_in_chat__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 6 } }; const ProtobufCMessageDescriptor wa__keep_in_chat__descriptor = { @@ -8945,12 +9720,100 @@ const ProtobufCMessageDescriptor wa__keep_in_chat__descriptor = "Wa__KeepInChat", "wa", sizeof(Wa__KeepInChat), - 4, + 6, wa__keep_in_chat__field_descriptors, wa__keep_in_chat__field_indices_by_name, 1, wa__keep_in_chat__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__key_exchange_message__field_descriptors[5] = +{ + { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__KeyExchangeMessage, has_id), + offsetof(Wa__KeyExchangeMessage, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "baseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__KeyExchangeMessage, has_basekey), + offsetof(Wa__KeyExchangeMessage, basekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ratchetKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__KeyExchangeMessage, has_ratchetkey), + offsetof(Wa__KeyExchangeMessage, ratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "identityKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__KeyExchangeMessage, has_identitykey), + offsetof(Wa__KeyExchangeMessage, identitykey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "baseKeySignature", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__KeyExchangeMessage, has_basekeysignature), + offsetof(Wa__KeyExchangeMessage, basekeysignature), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__key_exchange_message__field_indices_by_name[] = { + 1, /* field[1] = baseKey */ + 4, /* field[4] = baseKeySignature */ + 0, /* field[0] = id */ + 3, /* field[3] = identityKey */ + 2, /* field[2] = ratchetKey */ +}; +static const ProtobufCIntRange wa__key_exchange_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__key_exchange_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.KeyExchangeMessage", + "KeyExchangeMessage", + "Wa__KeyExchangeMessage", + "wa", + sizeof(Wa__KeyExchangeMessage), + 5, + wa__key_exchange_message__field_descriptors, + wa__key_exchange_message__field_indices_by_name, + 1, wa__key_exchange_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__key_id__field_descriptors[1] = { @@ -8987,8 +9850,7 @@ const ProtobufCMessageDescriptor wa__key_id__descriptor = wa__key_id__field_descriptors, wa__key_id__field_indices_by_name, 1, wa__key_id__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__localized_name__field_descriptors[3] = { @@ -9051,8 +9913,7 @@ const ProtobufCMessageDescriptor wa__localized_name__descriptor = wa__localized_name__field_descriptors, wa__localized_name__field_indices_by_name, 1, wa__localized_name__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__location__field_descriptors[3] = { @@ -9115,8 +9976,7 @@ const ProtobufCMessageDescriptor wa__location__descriptor = wa__location__field_descriptors, wa__location__field_indices_by_name, 1, wa__location__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__media_data__field_descriptors[1] = { @@ -9153,8 +10013,7 @@ const ProtobufCMessageDescriptor wa__media_data__descriptor = wa__media_data__field_descriptors, wa__media_data__field_indices_by_name, 1, wa__media_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__media_retry_notification__result_type__enum_values_by_number[4] = { @@ -9249,8 +10108,7 @@ const ProtobufCMessageDescriptor wa__media_retry_notification__descriptor = wa__media_retry_notification__field_descriptors, wa__media_retry_notification__field_indices_by_name, 1, wa__media_retry_notification__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_fatal_exception_notification__field_descriptors[2] = { @@ -9300,8 +10158,57 @@ const ProtobufCMessageDescriptor wa__message__app_state_fatal_exception_notifica wa__message__app_state_fatal_exception_notification__field_descriptors, wa__message__app_state_fatal_exception_notification__field_indices_by_name, 1, wa__message__app_state_fatal_exception_notification__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__app_state_sync_key__field_descriptors[2] = +{ + { + "keyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AppStateSyncKey, keyid), + &wa__message__app_state_sync_key_id__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "keyData", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__AppStateSyncKey, keydata), + &wa__message__app_state_sync_key_data__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__app_state_sync_key__field_indices_by_name[] = { + 1, /* field[1] = keyData */ + 0, /* field[0] = keyId */ +}; +static const ProtobufCIntRange wa__message__app_state_sync_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.AppStateSyncKey", + "AppStateSyncKey", + "Wa__Message__AppStateSyncKey", + "wa", + sizeof(Wa__Message__AppStateSyncKey), + 2, + wa__message__app_state_sync_key__field_descriptors, + wa__message__app_state_sync_key__field_indices_by_name, + 1, wa__message__app_state_sync_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_data__field_descriptors[3] = { @@ -9364,8 +10271,7 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key_data__descripto wa__message__app_state_sync_key_data__field_descriptors, wa__message__app_state_sync_key_data__field_indices_by_name, 1, wa__message__app_state_sync_key_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_fingerprint__field_descriptors[3] = { @@ -9428,8 +10334,7 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key_fingerprint__de wa__message__app_state_sync_key_fingerprint__field_descriptors, wa__message__app_state_sync_key_fingerprint__field_indices_by_name, 1, wa__message__app_state_sync_key_fingerprint__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_id__field_descriptors[1] = { @@ -9466,8 +10371,7 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key_id__descriptor wa__message__app_state_sync_key_id__field_descriptors, wa__message__app_state_sync_key_id__field_indices_by_name, 1, wa__message__app_state_sync_key_id__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_request__field_descriptors[1] = { @@ -9504,8 +10408,7 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key_request__descri wa__message__app_state_sync_key_request__field_descriptors, wa__message__app_state_sync_key_request__field_indices_by_name, 1, wa__message__app_state_sync_key_request__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_share__field_descriptors[1] = { @@ -9542,61 +10445,9 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key_share__descript wa__message__app_state_sync_key_share__field_descriptors, wa__message__app_state_sync_key_share__field_indices_by_name, 1, wa__message__app_state_sync_key_share__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__message__app_state_sync_key__field_descriptors[2] = -{ - { - "keyId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Wa__Message__AppStateSyncKey, keyid), - &wa__message__app_state_sync_key_id__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "keyData", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Wa__Message__AppStateSyncKey, keydata), - &wa__message__app_state_sync_key_data__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__message__app_state_sync_key__field_indices_by_name[] = { - 1, /* field[1] = keyData */ - 0, /* field[0] = keyId */ -}; -static const ProtobufCIntRange wa__message__app_state_sync_key__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.AppStateSyncKey", - "AppStateSyncKey", - "Wa__Message__AppStateSyncKey", - "wa", - sizeof(Wa__Message__AppStateSyncKey), - 2, - wa__message__app_state_sync_key__field_descriptors, - wa__message__app_state_sync_key__field_indices_by_name, - 1, wa__message__app_state_sync_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message__audio_message__field_descriptors[13] = +static const ProtobufCFieldDescriptor wa__message__audio_message__field_descriptors[15] = { { "url", @@ -9754,8 +10605,33 @@ static const ProtobufCFieldDescriptor wa__message__audio_message__field_descript 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "backgroundArgb", + 20, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_FIXED32, + offsetof(Wa__Message__AudioMessage, has_backgroundargb), + offsetof(Wa__Message__AudioMessage, backgroundargb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnce", + 21, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__AudioMessage, has_viewonce), + offsetof(Wa__Message__AudioMessage, viewonce), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__audio_message__field_indices_by_name[] = { + 13, /* field[13] = backgroundArgb */ 10, /* field[10] = contextInfo */ 8, /* field[8] = directPath */ 7, /* field[7] = fileEncSha256 */ @@ -9768,13 +10644,14 @@ static const unsigned wa__message__audio_message__field_indices_by_name[] = { 4, /* field[4] = seconds */ 11, /* field[11] = streamingSidecar */ 0, /* field[0] = url */ + 14, /* field[14] = viewOnce */ 12, /* field[12] = waveform */ }; static const ProtobufCIntRange wa__message__audio_message__number_ranges[2 + 1] = { { 1, 0 }, { 17, 10 }, - { 0, 13 } + { 0, 15 } }; const ProtobufCMessageDescriptor wa__message__audio_message__descriptor = { @@ -9784,12 +10661,11 @@ const ProtobufCMessageDescriptor wa__message__audio_message__descriptor = "Wa__Message__AudioMessage", "wa", sizeof(Wa__Message__AudioMessage), - 13, + 15, wa__message__audio_message__field_descriptors, wa__message__audio_message__field_indices_by_name, 2, wa__message__audio_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__buttons_message__button__button_text__field_descriptors[1] = { @@ -9826,8 +10702,7 @@ const ProtobufCMessageDescriptor wa__message__buttons_message__button__button_te wa__message__buttons_message__button__button_text__field_descriptors, wa__message__buttons_message__button__button_text__field_indices_by_name, 1, wa__message__buttons_message__button__button_text__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__buttons_message__button__native_flow_info__field_descriptors[2] = { @@ -9877,8 +10752,7 @@ const ProtobufCMessageDescriptor wa__message__buttons_message__button__native_fl wa__message__buttons_message__button__native_flow_info__field_descriptors, wa__message__buttons_message__button__native_flow_info__field_indices_by_name, 1, wa__message__buttons_message__button__native_flow_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_message__button__type__enum_values_by_number[3] = { @@ -9984,8 +10858,7 @@ const ProtobufCMessageDescriptor wa__message__buttons_message__button__descripto wa__message__buttons_message__button__field_descriptors, wa__message__buttons_message__button__field_indices_by_name, 1, wa__message__buttons_message__button__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_message__header_type__enum_values_by_number[7] = { @@ -10177,8 +11050,7 @@ const ProtobufCMessageDescriptor wa__message__buttons_message__descriptor = wa__message__buttons_message__field_descriptors, wa__message__buttons_message__field_indices_by_name, 1, wa__message__buttons_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_response_message__type__enum_values_by_number[2] = { @@ -10282,8 +11154,7 @@ const ProtobufCMessageDescriptor wa__message__buttons_response_message__descript wa__message__buttons_response_message__field_descriptors, wa__message__buttons_response_message__field_indices_by_name, 1, wa__message__buttons_response_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__call__field_descriptors[4] = { @@ -10359,8 +11230,7 @@ const ProtobufCMessageDescriptor wa__message__call__descriptor = wa__message__call__field_descriptors, wa__message__call__field_indices_by_name, 1, wa__message__call__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__cancel_payment_request_message__field_descriptors[1] = { @@ -10397,8 +11267,7 @@ const ProtobufCMessageDescriptor wa__message__cancel_payment_request_message__de wa__message__cancel_payment_request_message__field_descriptors, wa__message__cancel_payment_request_message__field_indices_by_name, 1, wa__message__cancel_payment_request_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__chat__field_descriptors[2] = { @@ -10448,8 +11317,7 @@ const ProtobufCMessageDescriptor wa__message__chat__descriptor = wa__message__chat__field_descriptors, wa__message__chat__field_indices_by_name, 1, wa__message__chat__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__contact_message__field_descriptors[3] = { @@ -10513,8 +11381,7 @@ const ProtobufCMessageDescriptor wa__message__contact_message__descriptor = wa__message__contact_message__field_descriptors, wa__message__contact_message__field_indices_by_name, 2, wa__message__contact_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__contacts_array_message__field_descriptors[3] = { @@ -10578,8 +11445,7 @@ const ProtobufCMessageDescriptor wa__message__contacts_array_message__descriptor wa__message__contacts_array_message__field_descriptors, wa__message__contacts_array_message__field_indices_by_name, 2, wa__message__contacts_array_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__decline_payment_request_message__field_descriptors[1] = { @@ -10616,8 +11482,7 @@ const ProtobufCMessageDescriptor wa__message__decline_payment_request_message__d wa__message__decline_payment_request_message__field_descriptors, wa__message__decline_payment_request_message__field_indices_by_name, 1, wa__message__decline_payment_request_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__device_sent_message__field_descriptors[3] = { @@ -10680,8 +11545,7 @@ const ProtobufCMessageDescriptor wa__message__device_sent_message__descriptor = wa__message__device_sent_message__field_descriptors, wa__message__device_sent_message__field_indices_by_name, 1, wa__message__device_sent_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__document_message__field_descriptors[20] = { @@ -10965,10 +11829,72 @@ const ProtobufCMessageDescriptor wa__message__document_message__descriptor = wa__message__document_message__field_descriptors, wa__message__document_message__field_indices_by_name, 1, wa__message__document_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__enc_reaction_message__field_descriptors[3] = +{ + { + "targetMessageKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__EncReactionMessage, targetmessagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encPayload", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__EncReactionMessage, has_encpayload), + offsetof(Wa__Message__EncReactionMessage, encpayload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encIv", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__EncReactionMessage, has_enciv), + offsetof(Wa__Message__EncReactionMessage, enciv), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__enc_reaction_message__field_indices_by_name[] = { + 2, /* field[2] = encIv */ + 1, /* field[1] = encPayload */ + 0, /* field[0] = targetMessageKey */ +}; +static const ProtobufCIntRange wa__message__enc_reaction_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__enc_reaction_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.EncReactionMessage", + "EncReactionMessage", + "Wa__Message__EncReactionMessage", + "wa", + sizeof(Wa__Message__EncReactionMessage), + 3, + wa__message__enc_reaction_message__field_descriptors, + wa__message__enc_reaction_message__field_indices_by_name, + 1, wa__message__enc_reaction_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__message__extended_text_message__font_type__enum_values_by_number[6] = +static const ProtobufCEnumValue wa__message__extended_text_message__font_type__enum_values_by_number[11] = { { "SANS_SERIF", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF", 0 }, { "SERIF", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SERIF", 1 }, @@ -10976,18 +11902,28 @@ static const ProtobufCEnumValue wa__message__extended_text_message__font_type__e { "BRYNDAN_WRITE", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BRYNDAN_WRITE", 3 }, { "BEBASNEUE_REGULAR", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BEBASNEUE_REGULAR", 4 }, { "OSWALD_HEAVY", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__OSWALD_HEAVY", 5 }, + { "SYSTEM_BOLD", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SYSTEM_BOLD", 6 }, + { "MORNINGBREEZE_REGULAR", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__MORNINGBREEZE_REGULAR", 7 }, + { "CALISTOGA_REGULAR", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__CALISTOGA_REGULAR", 8 }, + { "EXO2_EXTRABOLD", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__EXO2_EXTRABOLD", 9 }, + { "COURIERPRIME_BOLD", "WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__COURIERPRIME_BOLD", 10 }, }; static const ProtobufCIntRange wa__message__extended_text_message__font_type__value_ranges[] = { -{0, 0},{0, 6} +{0, 0},{0, 11} }; -static const ProtobufCEnumValueIndex wa__message__extended_text_message__font_type__enum_values_by_name[6] = +static const ProtobufCEnumValueIndex wa__message__extended_text_message__font_type__enum_values_by_name[11] = { { "BEBASNEUE_REGULAR", 4 }, { "BRYNDAN_WRITE", 3 }, + { "CALISTOGA_REGULAR", 8 }, + { "COURIERPRIME_BOLD", 10 }, + { "EXO2_EXTRABOLD", 9 }, + { "MORNINGBREEZE_REGULAR", 7 }, { "NORICAN_REGULAR", 2 }, { "OSWALD_HEAVY", 5 }, { "SANS_SERIF", 0 }, { "SERIF", 1 }, + { "SYSTEM_BOLD", 6 }, }; const ProtobufCEnumDescriptor wa__message__extended_text_message__font_type__descriptor = { @@ -10996,9 +11932,9 @@ const ProtobufCEnumDescriptor wa__message__extended_text_message__font_type__des "FontType", "Wa__Message__ExtendedTextMessage__FontType", "wa", - 6, + 11, wa__message__extended_text_message__font_type__enum_values_by_number, - 6, + 11, wa__message__extended_text_message__font_type__enum_values_by_name, 1, wa__message__extended_text_message__font_type__value_ranges, @@ -11064,7 +12000,7 @@ const ProtobufCEnumDescriptor wa__message__extended_text_message__preview_type__ wa__message__extended_text_message__preview_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__message__extended_text_message__field_descriptors[23] = +static const ProtobufCFieldDescriptor wa__message__extended_text_message__field_descriptors[24] = { { "text", @@ -11342,6 +12278,18 @@ static const ProtobufCFieldDescriptor wa__message__extended_text_message__field_ 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "viewOnce", + 30, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__ExtendedTextMessage, has_viewonce), + offsetof(Wa__Message__ExtendedTextMessage, viewonce), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__extended_text_message__field_indices_by_name[] = { 6, /* field[6] = backgroundArgb */ @@ -11367,13 +12315,14 @@ static const unsigned wa__message__extended_text_message__field_indices_by_name[ 13, /* field[13] = thumbnailSha256 */ 18, /* field[18] = thumbnailWidth */ 4, /* field[4] = title */ + 23, /* field[23] = viewOnce */ }; static const ProtobufCIntRange wa__message__extended_text_message__number_ranges[3 + 1] = { { 1, 0 }, { 4, 2 }, { 16, 9 }, - { 0, 23 } + { 0, 24 } }; const ProtobufCMessageDescriptor wa__message__extended_text_message__descriptor = { @@ -11383,12 +12332,11 @@ const ProtobufCMessageDescriptor wa__message__extended_text_message__descriptor "Wa__Message__ExtendedTextMessage", "wa", sizeof(Wa__Message__ExtendedTextMessage), - 23, + 24, wa__message__extended_text_message__field_descriptors, wa__message__extended_text_message__field_indices_by_name, 3, wa__message__extended_text_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__future_proof_message__field_descriptors[1] = { @@ -11425,8 +12373,7 @@ const ProtobufCMessageDescriptor wa__message__future_proof_message__descriptor = wa__message__future_proof_message__field_descriptors, wa__message__future_proof_message__field_indices_by_name, 1, wa__message__future_proof_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__group_invite_message__group_type__enum_values_by_number[2] = { @@ -11582,8 +12529,7 @@ const ProtobufCMessageDescriptor wa__message__group_invite_message__descriptor = wa__message__group_invite_message__field_descriptors, wa__message__group_invite_message__field_indices_by_name, 1, wa__message__group_invite_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_descriptors[2] = { @@ -11633,8 +12579,7 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmloca wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_descriptors, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_indices_by_name, 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__enum_values_by_number[2] = { @@ -11815,8 +12760,7 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmloca wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_descriptors, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__field_indices_by_name, 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_descriptors[1] = { @@ -11853,8 +12797,7 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmloca wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_descriptors, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__field_indices_by_name, 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_descriptors[2] = { @@ -11904,8 +12847,7 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmloca wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_descriptors, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_indices_by_name, 1, wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__field_descriptors[3] = { @@ -11968,8 +12910,7 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmloca wa__message__highly_structured_message__hsmlocalizable_parameter__field_descriptors, wa__message__highly_structured_message__hsmlocalizable_parameter__field_indices_by_name, 1, wa__message__highly_structured_message__hsmlocalizable_parameter__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__field_descriptors[9] = { @@ -12110,25 +13051,28 @@ const ProtobufCMessageDescriptor wa__message__highly_structured_message__descrip wa__message__highly_structured_message__field_descriptors, wa__message__highly_structured_message__field_indices_by_name, 1, wa__message__highly_structured_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__message__history_sync_notification__history_sync_type__enum_values_by_number[5] = +static const ProtobufCEnumValue wa__message__history_sync_notification__history_sync_type__enum_values_by_number[7] = { { "INITIAL_BOOTSTRAP", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP", 0 }, { "INITIAL_STATUS_V3", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3", 1 }, { "FULL", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__FULL", 2 }, { "RECENT", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__RECENT", 3 }, { "PUSH_NAME", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__PUSH_NAME", 4 }, + { "NON_BLOCKING_DATA", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__NON_BLOCKING_DATA", 5 }, + { "ON_DEMAND", "WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__ON_DEMAND", 6 }, }; static const ProtobufCIntRange wa__message__history_sync_notification__history_sync_type__value_ranges[] = { -{0, 0},{0, 5} +{0, 0},{0, 7} }; -static const ProtobufCEnumValueIndex wa__message__history_sync_notification__history_sync_type__enum_values_by_name[5] = +static const ProtobufCEnumValueIndex wa__message__history_sync_notification__history_sync_type__enum_values_by_name[7] = { { "FULL", 2 }, { "INITIAL_BOOTSTRAP", 0 }, { "INITIAL_STATUS_V3", 1 }, + { "NON_BLOCKING_DATA", 5 }, + { "ON_DEMAND", 6 }, { "PUSH_NAME", 4 }, { "RECENT", 3 }, }; @@ -12139,15 +13083,15 @@ const ProtobufCEnumDescriptor wa__message__history_sync_notification__history_sy "HistorySyncType", "Wa__Message__HistorySyncNotification__HistorySyncType", "wa", - 5, + 7, wa__message__history_sync_notification__history_sync_type__enum_values_by_number, - 5, + 7, wa__message__history_sync_notification__history_sync_type__enum_values_by_name, 1, wa__message__history_sync_notification__history_sync_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__message__history_sync_notification__field_descriptors[9] = +static const ProtobufCFieldDescriptor wa__message__history_sync_notification__field_descriptors[12] = { { "fileSha256", @@ -12257,6 +13201,42 @@ static const ProtobufCFieldDescriptor wa__message__history_sync_notification__fi 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "oldestMsgInChunkTimestampSec", + 10, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__HistorySyncNotification, has_oldestmsginchunktimestampsec), + offsetof(Wa__Message__HistorySyncNotification, oldestmsginchunktimestampsec), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "initialHistBootstrapInlinePayload", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__HistorySyncNotification, has_initialhistbootstrapinlinepayload), + offsetof(Wa__Message__HistorySyncNotification, initialhistbootstrapinlinepayload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "peerDataRequestSessionId", + 12, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__HistorySyncNotification, peerdatarequestsessionid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__history_sync_notification__field_indices_by_name[] = { 6, /* field[6] = chunkOrder */ @@ -12264,15 +13244,18 @@ static const unsigned wa__message__history_sync_notification__field_indices_by_n 3, /* field[3] = fileEncSha256 */ 1, /* field[1] = fileLength */ 0, /* field[0] = fileSha256 */ + 10, /* field[10] = initialHistBootstrapInlinePayload */ 2, /* field[2] = mediaKey */ + 9, /* field[9] = oldestMsgInChunkTimestampSec */ 7, /* field[7] = originalMessageId */ + 11, /* field[11] = peerDataRequestSessionId */ 8, /* field[8] = progress */ 5, /* field[5] = syncType */ }; static const ProtobufCIntRange wa__message__history_sync_notification__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 9 } + { 0, 12 } }; const ProtobufCMessageDescriptor wa__message__history_sync_notification__descriptor = { @@ -12282,12 +13265,11 @@ const ProtobufCMessageDescriptor wa__message__history_sync_notification__descrip "Wa__Message__HistorySyncNotification", "wa", sizeof(Wa__Message__HistorySyncNotification), - 9, + 12, wa__message__history_sync_notification__field_descriptors, wa__message__history_sync_notification__field_indices_by_name, 1, wa__message__history_sync_notification__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__image_message__field_descriptors[26] = { @@ -12650,8 +13632,7 @@ const ProtobufCMessageDescriptor wa__message__image_message__descriptor = wa__message__image_message__field_descriptors, wa__message__image_message__field_indices_by_name, 2, wa__message__image_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__initial_security_notification_setting_sync__field_descriptors[1] = { @@ -12688,8 +13669,7 @@ const ProtobufCMessageDescriptor wa__message__initial_security_notification_sett wa__message__initial_security_notification_setting_sync__field_descriptors, wa__message__initial_security_notification_setting_sync__field_indices_by_name, 1, wa__message__initial_security_notification_setting_sync__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__body__field_descriptors[1] = { @@ -12726,8 +13706,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__body__descrip wa__message__interactive_message__body__field_descriptors, wa__message__interactive_message__body__field_indices_by_name, 1, wa__message__interactive_message__body__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__collection_message__field_descriptors[3] = { @@ -12790,8 +13769,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__collection_me wa__message__interactive_message__collection_message__field_descriptors, wa__message__interactive_message__collection_message__field_indices_by_name, 1, wa__message__interactive_message__collection_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__footer__field_descriptors[1] = { @@ -12828,10 +13806,9 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__footer__descr wa__message__interactive_message__footer__field_descriptors, wa__message__interactive_message__footer__field_indices_by_name, 1, wa__message__interactive_message__footer__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message__interactive_message__header__field_descriptors[7] = +static const ProtobufCFieldDescriptor wa__message__interactive_message__header__field_descriptors[8] = { { "title", @@ -12917,12 +13894,25 @@ static const ProtobufCFieldDescriptor wa__message__interactive_message__header__ 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "locationMessage", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__InteractiveMessage__Header, media_case), + offsetof(Wa__Message__InteractiveMessage__Header, locationmessage), + &wa__message__location_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__interactive_message__header__field_indices_by_name[] = { 2, /* field[2] = documentMessage */ 4, /* field[4] = hasMediaAttachment */ 3, /* field[3] = imageMessage */ 5, /* field[5] = jpegThumbnail */ + 7, /* field[7] = locationMessage */ 1, /* field[1] = subtitle */ 0, /* field[0] = title */ 6, /* field[6] = videoMessage */ @@ -12930,7 +13920,7 @@ static const unsigned wa__message__interactive_message__header__field_indices_by static const ProtobufCIntRange wa__message__interactive_message__header__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 8 } }; const ProtobufCMessageDescriptor wa__message__interactive_message__header__descriptor = { @@ -12940,12 +13930,11 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__header__descr "Wa__Message__InteractiveMessage__Header", "wa", sizeof(Wa__Message__InteractiveMessage__Header), - 7, + 8, wa__message__interactive_message__header__field_descriptors, wa__message__interactive_message__header__field_indices_by_name, 1, wa__message__interactive_message__header__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__field_descriptors[2] = { @@ -12995,8 +13984,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_m wa__message__interactive_message__native_flow_message__native_flow_button__field_descriptors, wa__message__interactive_message__native_flow_message__native_flow_button__field_indices_by_name, 1, wa__message__interactive_message__native_flow_message__native_flow_button__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__field_descriptors[3] = { @@ -13059,8 +14047,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_m wa__message__interactive_message__native_flow_message__field_descriptors, wa__message__interactive_message__native_flow_message__field_indices_by_name, 1, wa__message__interactive_message__native_flow_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__interactive_message__shop_message__surface__enum_values_by_number[4] = { @@ -13155,8 +14142,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__shop_message_ wa__message__interactive_message__shop_message__field_descriptors, wa__message__interactive_message__shop_message__field_indices_by_name, 1, wa__message__interactive_message__shop_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__field_descriptors[7] = { @@ -13272,10 +14258,37 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__descriptor = wa__message__interactive_message__field_descriptors, wa__message__interactive_message__field_indices_by_name, 2, wa__message__interactive_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message__interactive_response_message__body__field_descriptors[1] = +static const ProtobufCEnumValue wa__message__interactive_response_message__body__format__enum_values_by_number[2] = +{ + { "DEFAULT", "WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__FORMAT__DEFAULT", 0 }, + { "EXTENSIONS_1", "WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__FORMAT__EXTENSIONS_1", 1 }, +}; +static const ProtobufCIntRange wa__message__interactive_response_message__body__format__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__interactive_response_message__body__format__enum_values_by_name[2] = +{ + { "DEFAULT", 0 }, + { "EXTENSIONS_1", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__interactive_response_message__body__format__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.InteractiveResponseMessage.Body.Format", + "Format", + "Wa__Message__InteractiveResponseMessage__Body__Format", + "wa", + 2, + wa__message__interactive_response_message__body__format__enum_values_by_number, + 2, + wa__message__interactive_response_message__body__format__enum_values_by_name, + 1, + wa__message__interactive_response_message__body__format__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__interactive_response_message__body__field_descriptors[2] = { { "text", @@ -13289,14 +14302,27 @@ static const ProtobufCFieldDescriptor wa__message__interactive_response_message_ 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "format", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__InteractiveResponseMessage__Body, has_format), + offsetof(Wa__Message__InteractiveResponseMessage__Body, format), + &wa__message__interactive_response_message__body__format__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__interactive_response_message__body__field_indices_by_name[] = { + 1, /* field[1] = format */ 0, /* field[0] = text */ }; static const ProtobufCIntRange wa__message__interactive_response_message__body__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; const ProtobufCMessageDescriptor wa__message__interactive_response_message__body__descriptor = { @@ -13306,12 +14332,11 @@ const ProtobufCMessageDescriptor wa__message__interactive_response_message__body "Wa__Message__InteractiveResponseMessage__Body", "wa", sizeof(Wa__Message__InteractiveResponseMessage__Body), - 1, + 2, wa__message__interactive_response_message__body__field_descriptors, wa__message__interactive_response_message__body__field_indices_by_name, 1, wa__message__interactive_response_message__body__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_response_message__native_flow_response_message__field_descriptors[3] = { @@ -13374,8 +14399,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_response_message__nati wa__message__interactive_response_message__native_flow_response_message__field_descriptors, wa__message__interactive_response_message__native_flow_response_message__field_indices_by_name, 1, wa__message__interactive_response_message__native_flow_response_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_response_message__field_descriptors[3] = { @@ -13439,8 +14463,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_response_message__desc wa__message__interactive_response_message__field_descriptors, wa__message__interactive_response_message__field_indices_by_name, 2, wa__message__interactive_response_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__invoice_message__attachment_type__enum_values_by_number[2] = { @@ -13622,8 +14645,7 @@ const ProtobufCMessageDescriptor wa__message__invoice_message__descriptor = wa__message__invoice_message__field_descriptors, wa__message__invoice_message__field_indices_by_name, 1, wa__message__invoice_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__keep_in_chat_message__field_descriptors[3] = { @@ -13686,8 +14708,44 @@ const ProtobufCMessageDescriptor wa__message__keep_in_chat_message__descriptor = wa__message__keep_in_chat_message__field_descriptors, wa__message__keep_in_chat_message__field_indices_by_name, 1, wa__message__keep_in_chat_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__list_message__product__field_descriptors[1] = +{ + { + "productId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ListMessage__Product, productid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__list_message__product__field_indices_by_name[] = { + 0, /* field[0] = productId */ +}; +static const ProtobufCIntRange wa__message__list_message__product__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ListMessage.Product", + "Product", + "Wa__Message__ListMessage__Product", + "wa", + sizeof(Wa__Message__ListMessage__Product), + 1, + wa__message__list_message__product__field_descriptors, + wa__message__list_message__product__field_indices_by_name, + 1, wa__message__list_message__product__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_list_header_image__field_descriptors[2] = { @@ -13737,8 +14795,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__product_list_header_ wa__message__list_message__product_list_header_image__field_descriptors, wa__message__list_message__product_list_header_image__field_indices_by_name, 1, wa__message__list_message__product_list_header_image__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_list_info__field_descriptors[3] = { @@ -13801,8 +14858,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__product_list_info__d wa__message__list_message__product_list_info__field_descriptors, wa__message__list_message__product_list_info__field_indices_by_name, 1, wa__message__list_message__product_list_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_section__field_descriptors[2] = { @@ -13852,46 +14908,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__product_section__des wa__message__list_message__product_section__field_descriptors, wa__message__list_message__product_section__field_indices_by_name, 1, wa__message__list_message__product_section__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__message__list_message__product__field_descriptors[1] = -{ - { - "productId", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(Wa__Message__ListMessage__Product, productid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__message__list_message__product__field_indices_by_name[] = { - 0, /* field[0] = productId */ -}; -static const ProtobufCIntRange wa__message__list_message__product__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.ListMessage.Product", - "Product", - "Wa__Message__ListMessage__Product", - "wa", - sizeof(Wa__Message__ListMessage__Product), - 1, - wa__message__list_message__product__field_descriptors, - wa__message__list_message__product__field_indices_by_name, - 1, wa__message__list_message__product__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__row__field_descriptors[3] = { @@ -13954,8 +14971,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__row__descriptor = wa__message__list_message__row__field_descriptors, wa__message__list_message__row__field_indices_by_name, 1, wa__message__list_message__row__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__section__field_descriptors[2] = { @@ -14005,8 +15021,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__section__descriptor wa__message__list_message__section__field_descriptors, wa__message__list_message__section__field_indices_by_name, 1, wa__message__list_message__section__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__list_message__list_type__enum_values_by_number[3] = { @@ -14164,8 +15179,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__descriptor = wa__message__list_message__field_descriptors, wa__message__list_message__field_indices_by_name, 1, wa__message__list_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_response_message__single_select_reply__field_descriptors[1] = { @@ -14202,8 +15216,7 @@ const ProtobufCMessageDescriptor wa__message__list_response_message__single_sele wa__message__list_response_message__single_select_reply__field_descriptors, wa__message__list_response_message__single_select_reply__field_indices_by_name, 1, wa__message__list_response_message__single_select_reply__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__list_response_message__list_type__enum_values_by_number[2] = { @@ -14320,8 +15333,7 @@ const ProtobufCMessageDescriptor wa__message__list_response_message__descriptor wa__message__list_response_message__field_descriptors, wa__message__list_response_message__field_indices_by_name, 1, wa__message__list_response_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__live_location_message__field_descriptors[10] = { @@ -14476,8 +15488,7 @@ const ProtobufCMessageDescriptor wa__message__live_location_message__descriptor wa__message__live_location_message__field_descriptors, wa__message__live_location_message__field_indices_by_name, 2, wa__message__live_location_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__location_message__field_descriptors[12] = { @@ -14659,8 +15670,7 @@ const ProtobufCMessageDescriptor wa__message__location_message__descriptor = wa__message__location_message__field_descriptors, wa__message__location_message__field_indices_by_name, 3, wa__message__location_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__order_message__order_status__enum_values_by_number[1] = { @@ -14893,8 +15903,7 @@ const ProtobufCMessageDescriptor wa__message__order_message__descriptor = wa__message__order_message__field_descriptors, wa__message__order_message__field_indices_by_name, 2, wa__message__order_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__payment_invite_message__service_type__enum_values_by_number[4] = { @@ -14976,8 +15985,821 @@ const ProtobufCMessageDescriptor wa__message__payment_invite_message__descriptor wa__message__payment_invite_message__field_descriptors, wa__message__payment_invite_message__field_indices_by_name, 1, wa__message__payment_invite_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_message__history_sync_on_demand_request__field_descriptors[5] = +{ + { + "chatJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, chatjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "oldestMsgId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, oldestmsgid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "oldestMsgFromMe", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, has_oldestmsgfromme), + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, oldestmsgfromme), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "onDemandMsgCount", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, has_ondemandmsgcount), + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, ondemandmsgcount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "oldestMsgTimestampMs", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, has_oldestmsgtimestampms), + offsetof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest, oldestmsgtimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_message__history_sync_on_demand_request__field_indices_by_name[] = { + 0, /* field[0] = chatJid */ + 2, /* field[2] = oldestMsgFromMe */ + 1, /* field[1] = oldestMsgId */ + 4, /* field[4] = oldestMsgTimestampMs */ + 3, /* field[3] = onDemandMsgCount */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_message__history_sync_on_demand_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest", + "HistorySyncOnDemandRequest", + "Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest), + 5, + wa__message__peer_data_operation_request_message__history_sync_on_demand_request__field_descriptors, + wa__message__peer_data_operation_request_message__history_sync_on_demand_request__field_indices_by_name, + 1, wa__message__peer_data_operation_request_message__history_sync_on_demand_request__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_message__placeholder_message_resend_request__field_descriptors[1] = +{ + { + "messageKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest, messagekey), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_message__placeholder_message_resend_request__field_indices_by_name[] = { + 0, /* field[0] = messageKey */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_message__placeholder_message_resend_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest", + "PlaceholderMessageResendRequest", + "Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest), + 1, + wa__message__peer_data_operation_request_message__placeholder_message_resend_request__field_descriptors, + wa__message__peer_data_operation_request_message__placeholder_message_resend_request__field_indices_by_name, + 1, wa__message__peer_data_operation_request_message__placeholder_message_resend_request__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_message__request_sticker_reupload__field_descriptors[1] = +{ + { + "fileSha256", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload, filesha256), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_message__request_sticker_reupload__field_indices_by_name[] = { + 0, /* field[0] = fileSha256 */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_message__request_sticker_reupload__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestMessage.RequestStickerReupload", + "RequestStickerReupload", + "Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload), + 1, + wa__message__peer_data_operation_request_message__request_sticker_reupload__field_descriptors, + wa__message__peer_data_operation_request_message__request_sticker_reupload__field_indices_by_name, + 1, wa__message__peer_data_operation_request_message__request_sticker_reupload__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_message__request_url_preview__field_descriptors[2] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "includeHqThumbnail", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview, has_includehqthumbnail), + offsetof(Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview, includehqthumbnail), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_message__request_url_preview__field_indices_by_name[] = { + 1, /* field[1] = includeHqThumbnail */ + 0, /* field[0] = url */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_message__request_url_preview__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__request_url_preview__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestMessage.RequestUrlPreview", + "RequestUrlPreview", + "Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview), + 2, + wa__message__peer_data_operation_request_message__request_url_preview__field_descriptors, + wa__message__peer_data_operation_request_message__request_url_preview__field_indices_by_name, + 1, wa__message__peer_data_operation_request_message__request_url_preview__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_message__field_descriptors[5] = +{ + { + "peerDataOperationRequestType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__PeerDataOperationRequestMessage, has_peerdataoperationrequesttype), + offsetof(Wa__Message__PeerDataOperationRequestMessage, peerdataoperationrequesttype), + &wa__message__peer_data_operation_request_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestStickerReupload", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__PeerDataOperationRequestMessage, n_requeststickerreupload), + offsetof(Wa__Message__PeerDataOperationRequestMessage, requeststickerreupload), + &wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "requestUrlPreview", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__PeerDataOperationRequestMessage, n_requesturlpreview), + offsetof(Wa__Message__PeerDataOperationRequestMessage, requesturlpreview), + &wa__message__peer_data_operation_request_message__request_url_preview__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "historySyncOnDemandRequest", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestMessage, historysyncondemandrequest), + &wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "placeholderMessageResendRequest", + 5, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__PeerDataOperationRequestMessage, n_placeholdermessageresendrequest), + offsetof(Wa__Message__PeerDataOperationRequestMessage, placeholdermessageresendrequest), + &wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_message__field_indices_by_name[] = { + 3, /* field[3] = historySyncOnDemandRequest */ + 0, /* field[0] = peerDataOperationRequestType */ + 4, /* field[4] = placeholderMessageResendRequest */ + 1, /* field[1] = requestStickerReupload */ + 2, /* field[2] = requestUrlPreview */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestMessage", + "PeerDataOperationRequestMessage", + "Wa__Message__PeerDataOperationRequestMessage", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestMessage), + 5, + wa__message__peer_data_operation_request_message__field_descriptors, + wa__message__peer_data_operation_request_message__field_indices_by_name, + 1, wa__message__peer_data_operation_request_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__field_descriptors[7] = +{ + { + "directPath", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, directpath), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbHash", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, thumbhash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encThumbHash", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, encthumbhash), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, has_mediakey), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, mediakey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaKeyTimestampMs", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, has_mediakeytimestampms), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, mediakeytimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbWidth", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, has_thumbwidth), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, thumbwidth), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbHeight", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, has_thumbheight), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail, thumbheight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__field_indices_by_name[] = { + 0, /* field[0] = directPath */ + 2, /* field[2] = encThumbHash */ + 3, /* field[3] = mediaKey */ + 4, /* field[4] = mediaKeyTimestampMs */ + 1, /* field[1] = thumbHash */ + 6, /* field[6] = thumbHeight */ + 5, /* field[5] = thumbWidth */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail", + "LinkPreviewHighQualityThumbnail", + "Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail), + 7, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__field_descriptors, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__field_indices_by_name, + 1, wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__field_descriptors[8] = +{ + { + "url", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, url), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "description", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, description), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "thumbData", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, has_thumbdata), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, thumbdata), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "canonicalUrl", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, canonicalurl), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "matchText", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, matchtext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "previewType", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, previewtype), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "hqThumbnail", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse, hqthumbnail), + &wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__field_indices_by_name[] = { + 4, /* field[4] = canonicalUrl */ + 2, /* field[2] = description */ + 7, /* field[7] = hqThumbnail */ + 5, /* field[5] = matchText */ + 6, /* field[6] = previewType */ + 3, /* field[3] = thumbData */ + 1, /* field[1] = title */ + 0, /* field[0] = url */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse", + "LinkPreviewResponse", + "Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse), + 8, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__field_descriptors, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__field_indices_by_name, + 1, wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__field_descriptors[1] = +{ + { + "webMessageInfoBytes", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse, has_webmessageinfobytes), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse, webmessageinfobytes), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__field_indices_by_name[] = { + 0, /* field[0] = webMessageInfoBytes */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse", + "PlaceholderMessageResendResponse", + "Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse), + 1, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__field_descriptors, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__field_indices_by_name, + 1, wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__field_descriptors[4] = +{ + { + "mediaUploadResult", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult, has_mediauploadresult), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult, mediauploadresult), + &wa__media_retry_notification__result_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stickerMessage", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult, stickermessage), + &wa__message__sticker_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "linkPreviewResponse", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult, linkpreviewresponse), + &wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "placeholderMessageResendResponse", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult, placeholdermessageresendresponse), + &wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_response_message__peer_data_operation_result__field_indices_by_name[] = { + 2, /* field[2] = linkPreviewResponse */ + 0, /* field[0] = mediaUploadResult */ + 3, /* field[3] = placeholderMessageResendResponse */ + 1, /* field[1] = stickerMessage */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_response_message__peer_data_operation_result__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult", + "PeerDataOperationResult", + "Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult), + 4, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__field_descriptors, + wa__message__peer_data_operation_request_response_message__peer_data_operation_result__field_indices_by_name, + 1, wa__message__peer_data_operation_request_response_message__peer_data_operation_result__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message__peer_data_operation_request_response_message__field_descriptors[3] = +{ + { + "peerDataOperationRequestType", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage, has_peerdataoperationrequesttype), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage, peerdataoperationrequesttype), + &wa__message__peer_data_operation_request_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stanzaId", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "peerDataOperationResult", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage, n_peerdataoperationresult), + offsetof(Wa__Message__PeerDataOperationRequestResponseMessage, peerdataoperationresult), + &wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__peer_data_operation_request_response_message__field_indices_by_name[] = { + 0, /* field[0] = peerDataOperationRequestType */ + 2, /* field[2] = peerDataOperationResult */ + 1, /* field[1] = stanzaId */ +}; +static const ProtobufCIntRange wa__message__peer_data_operation_request_response_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PeerDataOperationRequestResponseMessage", + "PeerDataOperationRequestResponseMessage", + "Wa__Message__PeerDataOperationRequestResponseMessage", + "wa", + sizeof(Wa__Message__PeerDataOperationRequestResponseMessage), + 3, + wa__message__peer_data_operation_request_response_message__field_descriptors, + wa__message__peer_data_operation_request_response_message__field_indices_by_name, + 1, wa__message__peer_data_operation_request_response_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__pin_in_chat_message__type__enum_values_by_number[3] = +{ + { "UNKNOWN_TYPE", "WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__UNKNOWN_TYPE", 0 }, + { "PIN_FOR_ALL", "WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__PIN_FOR_ALL", 1 }, + { "UNPIN_FOR_ALL", "WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__UNPIN_FOR_ALL", 2 }, +}; +static const ProtobufCIntRange wa__message__pin_in_chat_message__type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__message__pin_in_chat_message__type__enum_values_by_name[3] = +{ + { "PIN_FOR_ALL", 1 }, + { "UNKNOWN_TYPE", 0 }, + { "UNPIN_FOR_ALL", 2 }, +}; +const ProtobufCEnumDescriptor wa__message__pin_in_chat_message__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.PinInChatMessage.Type", + "Type", + "Wa__Message__PinInChatMessage__Type", + "wa", + 3, + wa__message__pin_in_chat_message__type__enum_values_by_number, + 3, + wa__message__pin_in_chat_message__type__enum_values_by_name, + 1, + wa__message__pin_in_chat_message__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__pin_in_chat_message__field_descriptors[3] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__PinInChatMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__PinInChatMessage, has_type), + offsetof(Wa__Message__PinInChatMessage, type), + &wa__message__pin_in_chat_message__type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderTimestampMs", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__PinInChatMessage, has_sendertimestampms), + offsetof(Wa__Message__PinInChatMessage, sendertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__pin_in_chat_message__field_indices_by_name[] = { + 0, /* field[0] = key */ + 2, /* field[2] = senderTimestampMs */ + 1, /* field[1] = type */ +}; +static const ProtobufCIntRange wa__message__pin_in_chat_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__pin_in_chat_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PinInChatMessage", + "PinInChatMessage", + "Wa__Message__PinInChatMessage", + "wa", + sizeof(Wa__Message__PinInChatMessage), + 3, + wa__message__pin_in_chat_message__field_descriptors, + wa__message__pin_in_chat_message__field_indices_by_name, + 1, wa__message__pin_in_chat_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_creation_message__option__field_descriptors[1] = { @@ -15014,8 +16836,7 @@ const ProtobufCMessageDescriptor wa__message__poll_creation_message__option__des wa__message__poll_creation_message__option__field_descriptors, wa__message__poll_creation_message__option__field_indices_by_name, 1, wa__message__poll_creation_message__option__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_creation_message__field_descriptors[5] = { @@ -15104,8 +16925,7 @@ const ProtobufCMessageDescriptor wa__message__poll_creation_message__descriptor wa__message__poll_creation_message__field_descriptors, wa__message__poll_creation_message__field_indices_by_name, 1, wa__message__poll_creation_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_enc_value__field_descriptors[2] = { @@ -15155,26 +16975,7 @@ const ProtobufCMessageDescriptor wa__message__poll_enc_value__descriptor = wa__message__poll_enc_value__field_descriptors, wa__message__poll_enc_value__field_indices_by_name, 1, wa__message__poll_enc_value__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -#define wa__message__poll_update_message_metadata__field_descriptors NULL -#define wa__message__poll_update_message_metadata__field_indices_by_name NULL -#define wa__message__poll_update_message_metadata__number_ranges NULL -const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.PollUpdateMessageMetadata", - "PollUpdateMessageMetadata", - "Wa__Message__PollUpdateMessageMetadata", - "wa", - sizeof(Wa__Message__PollUpdateMessageMetadata), - 0, - wa__message__poll_update_message_metadata__field_descriptors, - wa__message__poll_update_message_metadata__field_indices_by_name, - 0, wa__message__poll_update_message_metadata__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_update_message__field_descriptors[4] = { @@ -15250,8 +17051,24 @@ const ProtobufCMessageDescriptor wa__message__poll_update_message__descriptor = wa__message__poll_update_message__field_descriptors, wa__message__poll_update_message__field_indices_by_name, 1, wa__message__poll_update_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +#define wa__message__poll_update_message_metadata__field_descriptors NULL +#define wa__message__poll_update_message_metadata__field_indices_by_name NULL +#define wa__message__poll_update_message_metadata__number_ranges NULL +const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.PollUpdateMessageMetadata", + "PollUpdateMessageMetadata", + "Wa__Message__PollUpdateMessageMetadata", + "wa", + sizeof(Wa__Message__PollUpdateMessageMetadata), + 0, + wa__message__poll_update_message_metadata__field_descriptors, + wa__message__poll_update_message_metadata__field_indices_by_name, + 0, wa__message__poll_update_message_metadata__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_vote_message__field_descriptors[1] = { @@ -15288,8 +17105,7 @@ const ProtobufCMessageDescriptor wa__message__poll_vote_message__descriptor = wa__message__poll_vote_message__field_descriptors, wa__message__poll_vote_message__field_indices_by_name, 1, wa__message__poll_vote_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__catalog_snapshot__field_descriptors[3] = { @@ -15352,8 +17168,7 @@ const ProtobufCMessageDescriptor wa__message__product_message__catalog_snapshot_ wa__message__product_message__catalog_snapshot__field_descriptors, wa__message__product_message__catalog_snapshot__field_indices_by_name, 1, wa__message__product_message__catalog_snapshot__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__product_snapshot__field_descriptors[11] = { @@ -15521,8 +17336,7 @@ const ProtobufCMessageDescriptor wa__message__product_message__product_snapshot_ wa__message__product_message__product_snapshot__field_descriptors, wa__message__product_message__product_snapshot__field_indices_by_name, 2, wa__message__product_message__product_snapshot__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__field_descriptors[6] = { @@ -15626,10 +17440,9 @@ const ProtobufCMessageDescriptor wa__message__product_message__descriptor = wa__message__product_message__field_descriptors, wa__message__product_message__field_indices_by_name, 3, wa__message__product_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__message__protocol_message__type__enum_values_by_number[12] = +static const ProtobufCEnumValue wa__message__protocol_message__type__enum_values_by_number[13] = { { "REVOKE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE", 0 }, { "EPHEMERAL_SETTING", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SETTING", 3 }, @@ -15641,13 +17454,14 @@ static const ProtobufCEnumValue wa__message__protocol_message__type__enum_values { "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", 9 }, { "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION", 10 }, { "SHARE_PHONE_NUMBER", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__SHARE_PHONE_NUMBER", 11 }, - { "REQUEST_MEDIA_UPLOAD_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_MESSAGE", 12 }, - { "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", 13 }, + { "MESSAGE_EDIT", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__MESSAGE_EDIT", 14 }, + { "PEER_DATA_OPERATION_REQUEST_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__PEER_DATA_OPERATION_REQUEST_MESSAGE", 16 }, + { "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", "WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", 17 }, }; static const ProtobufCIntRange wa__message__protocol_message__type__value_ranges[] = { -{0, 0},{3, 1},{0, 12} +{0, 0},{3, 1},{14, 10},{16, 11},{0, 13} }; -static const ProtobufCEnumValueIndex wa__message__protocol_message__type__enum_values_by_name[12] = +static const ProtobufCEnumValueIndex wa__message__protocol_message__type__enum_values_by_name[13] = { { "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", 8 }, { "APP_STATE_SYNC_KEY_REQUEST", 5 }, @@ -15656,9 +17470,10 @@ static const ProtobufCEnumValueIndex wa__message__protocol_message__type__enum_v { "EPHEMERAL_SYNC_RESPONSE", 2 }, { "HISTORY_SYNC_NOTIFICATION", 3 }, { "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", 7 }, + { "MESSAGE_EDIT", 10 }, { "MSG_FANOUT_BACKFILL_REQUEST", 6 }, - { "REQUEST_MEDIA_UPLOAD_MESSAGE", 10 }, - { "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", 11 }, + { "PEER_DATA_OPERATION_REQUEST_MESSAGE", 11 }, + { "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", 12 }, { "REVOKE", 0 }, { "SHARE_PHONE_NUMBER", 9 }, }; @@ -15669,15 +17484,15 @@ const ProtobufCEnumDescriptor wa__message__protocol_message__type__descriptor = "Type", "Wa__Message__ProtocolMessage__Type", "wa", - 12, + 13, wa__message__protocol_message__type__enum_values_by_number, - 12, + 13, wa__message__protocol_message__type__enum_values_by_name, - 2, + 4, wa__message__protocol_message__type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__message__protocol_message__field_descriptors[12] = +static const ProtobufCFieldDescriptor wa__message__protocol_message__field_descriptors[14] = { { "key", @@ -15800,25 +17615,49 @@ static const ProtobufCFieldDescriptor wa__message__protocol_message__field_descr 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "requestMediaUploadMessage", - 12, + "editedMessage", + 14, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(Wa__Message__ProtocolMessage, requestmediauploadmessage), - &wa__message__request_media_upload_message__descriptor, + offsetof(Wa__Message__ProtocolMessage, editedmessage), + &wa__message__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "requestMediaUploadResponseMessage", - 13, + "timestampMs", + 15, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ProtocolMessage, has_timestampms), + offsetof(Wa__Message__ProtocolMessage, timestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "peerDataOperationRequestMessage", + 16, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(Wa__Message__ProtocolMessage, requestmediauploadresponsemessage), - &wa__message__request_media_upload_response_message__descriptor, + offsetof(Wa__Message__ProtocolMessage, peerdataoperationrequestmessage), + &wa__message__peer_data_operation_request_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "peerDataOperationRequestResponseMessage", + 17, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ProtocolMessage, peerdataoperationrequestresponsemessage), + &wa__message__peer_data_operation_request_response_message__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -15829,20 +17668,23 @@ static const unsigned wa__message__protocol_message__field_indices_by_name[] = { 6, /* field[6] = appStateSyncKeyRequest */ 5, /* field[5] = appStateSyncKeyShare */ 9, /* field[9] = disappearingMode */ + 10, /* field[10] = editedMessage */ 2, /* field[2] = ephemeralExpiration */ 3, /* field[3] = ephemeralSettingTimestamp */ 4, /* field[4] = historySyncNotification */ 7, /* field[7] = initialSecurityNotificationSettingSync */ 0, /* field[0] = key */ - 10, /* field[10] = requestMediaUploadMessage */ - 11, /* field[11] = requestMediaUploadResponseMessage */ + 12, /* field[12] = peerDataOperationRequestMessage */ + 13, /* field[13] = peerDataOperationRequestResponseMessage */ + 11, /* field[11] = timestampMs */ 1, /* field[1] = type */ }; -static const ProtobufCIntRange wa__message__protocol_message__number_ranges[2 + 1] = +static const ProtobufCIntRange wa__message__protocol_message__number_ranges[3 + 1] = { { 1, 0 }, { 4, 2 }, - { 0, 12 } + { 14, 10 }, + { 0, 14 } }; const ProtobufCMessageDescriptor wa__message__protocol_message__descriptor = { @@ -15852,12 +17694,11 @@ const ProtobufCMessageDescriptor wa__message__protocol_message__descriptor = "Wa__Message__ProtocolMessage", "wa", sizeof(Wa__Message__ProtocolMessage), - 12, + 14, wa__message__protocol_message__field_descriptors, wa__message__protocol_message__field_indices_by_name, - 2, wa__message__protocol_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + 3, wa__message__protocol_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__reaction_message__field_descriptors[4] = { @@ -15933,187 +17774,7 @@ const ProtobufCMessageDescriptor wa__message__reaction_message__descriptor = wa__message__reaction_message__field_descriptors, wa__message__reaction_message__field_indices_by_name, 1, wa__message__reaction_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__message__request_media_upload_message__field_descriptors[2] = -{ - { - "fileSha256", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_STRING, - offsetof(Wa__Message__RequestMediaUploadMessage, n_filesha256), - offsetof(Wa__Message__RequestMediaUploadMessage, filesha256), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rmrSource", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(Wa__Message__RequestMediaUploadMessage, has_rmrsource), - offsetof(Wa__Message__RequestMediaUploadMessage, rmrsource), - &wa__message__rmr_source__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__message__request_media_upload_message__field_indices_by_name[] = { - 0, /* field[0] = fileSha256 */ - 1, /* field[1] = rmrSource */ -}; -static const ProtobufCIntRange wa__message__request_media_upload_message__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wa__message__request_media_upload_message__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.RequestMediaUploadMessage", - "RequestMediaUploadMessage", - "Wa__Message__RequestMediaUploadMessage", - "wa", - sizeof(Wa__Message__RequestMediaUploadMessage), - 2, - wa__message__request_media_upload_message__field_descriptors, - wa__message__request_media_upload_message__field_indices_by_name, - 1, wa__message__request_media_upload_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__field_descriptors[3] = -{ - { - "fileSha256", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, filesha256), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mediaUploadResult", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, has_mediauploadresult), - offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, mediauploadresult), - &wa__media_retry_notification__result_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stickerMessage", - 3, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult, stickermessage), - &wa__message__sticker_message__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__message__request_media_upload_response_message__request_media_upload_result__field_indices_by_name[] = { - 0, /* field[0] = fileSha256 */ - 1, /* field[1] = mediaUploadResult */ - 2, /* field[2] = stickerMessage */ -}; -static const ProtobufCIntRange wa__message__request_media_upload_response_message__request_media_upload_result__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.RequestMediaUploadResponseMessage.RequestMediaUploadResult", - "RequestMediaUploadResult", - "Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult", - "wa", - sizeof(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult), - 3, - wa__message__request_media_upload_response_message__request_media_upload_result__field_descriptors, - wa__message__request_media_upload_response_message__request_media_upload_result__field_indices_by_name, - 1, wa__message__request_media_upload_response_message__request_media_upload_result__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__field_descriptors[3] = -{ - { - "rmrSource", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_ENUM, - offsetof(Wa__Message__RequestMediaUploadResponseMessage, has_rmrsource), - offsetof(Wa__Message__RequestMediaUploadResponseMessage, rmrsource), - &wa__message__rmr_source__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stanzaId", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(Wa__Message__RequestMediaUploadResponseMessage, stanzaid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reuploadResult", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(Wa__Message__RequestMediaUploadResponseMessage, n_reuploadresult), - offsetof(Wa__Message__RequestMediaUploadResponseMessage, reuploadresult), - &wa__message__request_media_upload_response_message__request_media_upload_result__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__message__request_media_upload_response_message__field_indices_by_name[] = { - 2, /* field[2] = reuploadResult */ - 0, /* field[0] = rmrSource */ - 1, /* field[1] = stanzaId */ -}; -static const ProtobufCIntRange wa__message__request_media_upload_response_message__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.Message.RequestMediaUploadResponseMessage", - "RequestMediaUploadResponseMessage", - "Wa__Message__RequestMediaUploadResponseMessage", - "wa", - sizeof(Wa__Message__RequestMediaUploadResponseMessage), - 3, - wa__message__request_media_upload_response_message__field_descriptors, - wa__message__request_media_upload_response_message__field_indices_by_name, - 1, wa__message__request_media_upload_response_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_payment_message__field_descriptors[7] = { @@ -16228,8 +17889,7 @@ const ProtobufCMessageDescriptor wa__message__request_payment_message__descripto wa__message__request_payment_message__field_descriptors, wa__message__request_payment_message__field_indices_by_name, 1, wa__message__request_payment_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_phone_number_message__field_descriptors[1] = { @@ -16266,8 +17926,178 @@ const ProtobufCMessageDescriptor wa__message__request_phone_number_message__desc wa__message__request_phone_number_message__field_descriptors, wa__message__request_phone_number_message__field_indices_by_name, 1, wa__message__request_phone_number_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__scheduled_call_creation_message__call_type__enum_values_by_number[3] = +{ + { "UNKNOWN", "WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__UNKNOWN", 0 }, + { "VOICE", "WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__VOICE", 1 }, + { "VIDEO", "WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__VIDEO", 2 }, +}; +static const ProtobufCIntRange wa__message__scheduled_call_creation_message__call_type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__message__scheduled_call_creation_message__call_type__enum_values_by_name[3] = +{ + { "UNKNOWN", 0 }, + { "VIDEO", 2 }, + { "VOICE", 1 }, +}; +const ProtobufCEnumDescriptor wa__message__scheduled_call_creation_message__call_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ScheduledCallCreationMessage.CallType", + "CallType", + "Wa__Message__ScheduledCallCreationMessage__CallType", + "wa", + 3, + wa__message__scheduled_call_creation_message__call_type__enum_values_by_number, + 3, + wa__message__scheduled_call_creation_message__call_type__enum_values_by_name, + 1, + wa__message__scheduled_call_creation_message__call_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__scheduled_call_creation_message__field_descriptors[3] = +{ + { + "scheduledTimestampMs", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__ScheduledCallCreationMessage, has_scheduledtimestampms), + offsetof(Wa__Message__ScheduledCallCreationMessage, scheduledtimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "callType", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ScheduledCallCreationMessage, has_calltype), + offsetof(Wa__Message__ScheduledCallCreationMessage, calltype), + &wa__message__scheduled_call_creation_message__call_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "title", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ScheduledCallCreationMessage, title), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__scheduled_call_creation_message__field_indices_by_name[] = { + 1, /* field[1] = callType */ + 0, /* field[0] = scheduledTimestampMs */ + 2, /* field[2] = title */ +}; +static const ProtobufCIntRange wa__message__scheduled_call_creation_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__message__scheduled_call_creation_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ScheduledCallCreationMessage", + "ScheduledCallCreationMessage", + "Wa__Message__ScheduledCallCreationMessage", + "wa", + sizeof(Wa__Message__ScheduledCallCreationMessage), + 3, + wa__message__scheduled_call_creation_message__field_descriptors, + wa__message__scheduled_call_creation_message__field_indices_by_name, + 1, wa__message__scheduled_call_creation_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__message__scheduled_call_edit_message__edit_type__enum_values_by_number[2] = +{ + { "UNKNOWN", "WA__MESSAGE__SCHEDULED_CALL_EDIT_MESSAGE__EDIT_TYPE__UNKNOWN", 0 }, + { "CANCEL", "WA__MESSAGE__SCHEDULED_CALL_EDIT_MESSAGE__EDIT_TYPE__CANCEL", 1 }, +}; +static const ProtobufCIntRange wa__message__scheduled_call_edit_message__edit_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__message__scheduled_call_edit_message__edit_type__enum_values_by_name[2] = +{ + { "CANCEL", 1 }, + { "UNKNOWN", 0 }, +}; +const ProtobufCEnumDescriptor wa__message__scheduled_call_edit_message__edit_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.Message.ScheduledCallEditMessage.EditType", + "EditType", + "Wa__Message__ScheduledCallEditMessage__EditType", + "wa", + 2, + wa__message__scheduled_call_edit_message__edit_type__enum_values_by_number, + 2, + wa__message__scheduled_call_edit_message__edit_type__enum_values_by_name, + 1, + wa__message__scheduled_call_edit_message__edit_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__message__scheduled_call_edit_message__field_descriptors[2] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message__ScheduledCallEditMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "editType", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__Message__ScheduledCallEditMessage, has_edittype), + offsetof(Wa__Message__ScheduledCallEditMessage, edittype), + &wa__message__scheduled_call_edit_message__edit_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message__scheduled_call_edit_message__field_indices_by_name[] = { + 1, /* field[1] = editType */ + 0, /* field[0] = key */ +}; +static const ProtobufCIntRange wa__message__scheduled_call_edit_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__message__scheduled_call_edit_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.Message.ScheduledCallEditMessage", + "ScheduledCallEditMessage", + "Wa__Message__ScheduledCallEditMessage", + "wa", + sizeof(Wa__Message__ScheduledCallEditMessage), + 2, + wa__message__scheduled_call_edit_message__field_descriptors, + wa__message__scheduled_call_edit_message__field_indices_by_name, + 1, wa__message__scheduled_call_edit_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__send_payment_message__field_descriptors[3] = { @@ -16330,8 +18160,7 @@ const ProtobufCMessageDescriptor wa__message__send_payment_message__descriptor = wa__message__send_payment_message__field_descriptors, wa__message__send_payment_message__field_indices_by_name, 1, wa__message__send_payment_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__sender_key_distribution_message__field_descriptors[2] = { @@ -16381,10 +18210,9 @@ const ProtobufCMessageDescriptor wa__message__sender_key_distribution_message__d wa__message__sender_key_distribution_message__field_descriptors, wa__message__sender_key_distribution_message__field_indices_by_name, 1, wa__message__sender_key_distribution_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message__sticker_message__field_descriptors[15] = +static const ProtobufCFieldDescriptor wa__message__sticker_message__field_descriptors[17] = { { "url", @@ -16566,6 +18394,30 @@ static const ProtobufCFieldDescriptor wa__message__sticker_message__field_descri 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "stickerSentTs", + 18, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__Message__StickerMessage, has_stickersentts), + offsetof(Wa__Message__StickerMessage, stickersentts), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isAvatar", + 19, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__Message__StickerMessage, has_isavatar), + offsetof(Wa__Message__StickerMessage, isavatar), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__sticker_message__field_indices_by_name[] = { 14, /* field[14] = contextInfo */ @@ -16577,10 +18429,12 @@ static const unsigned wa__message__sticker_message__field_indices_by_name[] = { 11, /* field[11] = firstFrameSidecar */ 5, /* field[5] = height */ 12, /* field[12] = isAnimated */ + 16, /* field[16] = isAvatar */ 3, /* field[3] = mediaKey */ 9, /* field[9] = mediaKeyTimestamp */ 4, /* field[4] = mimetype */ 13, /* field[13] = pngThumbnail */ + 15, /* field[15] = stickerSentTs */ 0, /* field[0] = url */ 6, /* field[6] = width */ }; @@ -16588,7 +18442,7 @@ static const ProtobufCIntRange wa__message__sticker_message__number_ranges[2 + 1 { { 1, 0 }, { 16, 13 }, - { 0, 15 } + { 0, 17 } }; const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor = { @@ -16598,12 +18452,11 @@ const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor = "Wa__Message__StickerMessage", "wa", sizeof(Wa__Message__StickerMessage), - 15, + 17, wa__message__sticker_message__field_descriptors, wa__message__sticker_message__field_indices_by_name, 2, wa__message__sticker_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__sticker_sync_rmrmessage__field_descriptors[3] = { @@ -16666,8 +18519,7 @@ const ProtobufCMessageDescriptor wa__message__sticker_sync_rmrmessage__descripto wa__message__sticker_sync_rmrmessage__field_descriptors, wa__message__sticker_sync_rmrmessage__field_indices_by_name, 1, wa__message__sticker_sync_rmrmessage__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_button_reply_message__field_descriptors[4] = { @@ -16743,8 +18595,7 @@ const ProtobufCMessageDescriptor wa__message__template_button_reply_message__des wa__message__template_button_reply_message__field_descriptors, wa__message__template_button_reply_message__field_indices_by_name, 1, wa__message__template_button_reply_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_message__four_row_template__field_descriptors[8] = { @@ -16872,8 +18723,7 @@ const ProtobufCMessageDescriptor wa__message__template_message__four_row_templat wa__message__template_message__four_row_template__field_descriptors, wa__message__template_message__four_row_template__field_indices_by_name, 1, wa__message__template_message__four_row_template__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_message__hydrated_four_row_template__field_descriptors[9] = { @@ -17014,10 +18864,9 @@ const ProtobufCMessageDescriptor wa__message__template_message__hydrated_four_ro wa__message__template_message__hydrated_four_row_template__field_descriptors, wa__message__template_message__hydrated_four_row_template__field_indices_by_name, 1, wa__message__template_message__hydrated_four_row_template__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message__template_message__field_descriptors[4] = +static const ProtobufCFieldDescriptor wa__message__template_message__field_descriptors[6] = { { "fourRowTemplate", @@ -17067,17 +18916,44 @@ static const ProtobufCFieldDescriptor wa__message__template_message__field_descr 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "interactiveMessageTemplate", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__Message__TemplateMessage, format_case), + offsetof(Wa__Message__TemplateMessage, interactivemessagetemplate), + &wa__message__interactive_message__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "templateId", + 9, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__Message__TemplateMessage, templateid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__template_message__field_indices_by_name[] = { 2, /* field[2] = contextInfo */ 0, /* field[0] = fourRowTemplate */ 1, /* field[1] = hydratedFourRowTemplate */ 3, /* field[3] = hydratedTemplate */ + 4, /* field[4] = interactiveMessageTemplate */ + 5, /* field[5] = templateId */ }; -static const ProtobufCIntRange wa__message__template_message__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__message__template_message__number_ranges[2 + 1] = { { 1, 0 }, - { 0, 4 } + { 9, 5 }, + { 0, 6 } }; const ProtobufCMessageDescriptor wa__message__template_message__descriptor = { @@ -17087,12 +18963,11 @@ const ProtobufCMessageDescriptor wa__message__template_message__descriptor = "Wa__Message__TemplateMessage", "wa", sizeof(Wa__Message__TemplateMessage), - 4, + 6, wa__message__template_message__field_descriptors, wa__message__template_message__field_indices_by_name, - 1, wa__message__template_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + 2, wa__message__template_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__video_message__attribution__enum_values_by_number[3] = { @@ -17446,38 +19321,43 @@ const ProtobufCMessageDescriptor wa__message__video_message__descriptor = wa__message__video_message__field_descriptors, wa__message__video_message__field_indices_by_name, 2, wa__message__video_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCEnumValue wa__message__rmr_source__enum_values_by_number[2] = +static const ProtobufCEnumValue wa__message__peer_data_operation_request_type__enum_values_by_number[5] = { - { "FAVORITE_STICKER", "WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER", 0 }, - { "RECENT_STICKER", "WA__MESSAGE__RMR_SOURCE__RECENT_STICKER", 1 }, + { "UPLOAD_STICKER", "WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__UPLOAD_STICKER", 0 }, + { "SEND_RECENT_STICKER_BOOTSTRAP", "WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__SEND_RECENT_STICKER_BOOTSTRAP", 1 }, + { "GENERATE_LINK_PREVIEW", "WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__GENERATE_LINK_PREVIEW", 2 }, + { "HISTORY_SYNC_ON_DEMAND", "WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__HISTORY_SYNC_ON_DEMAND", 3 }, + { "PLACEHOLDER_MESSAGE_RESEND", "WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__PLACEHOLDER_MESSAGE_RESEND", 4 }, }; -static const ProtobufCIntRange wa__message__rmr_source__value_ranges[] = { -{0, 0},{0, 2} +static const ProtobufCIntRange wa__message__peer_data_operation_request_type__value_ranges[] = { +{0, 0},{0, 5} }; -static const ProtobufCEnumValueIndex wa__message__rmr_source__enum_values_by_name[2] = +static const ProtobufCEnumValueIndex wa__message__peer_data_operation_request_type__enum_values_by_name[5] = { - { "FAVORITE_STICKER", 0 }, - { "RECENT_STICKER", 1 }, + { "GENERATE_LINK_PREVIEW", 2 }, + { "HISTORY_SYNC_ON_DEMAND", 3 }, + { "PLACEHOLDER_MESSAGE_RESEND", 4 }, + { "SEND_RECENT_STICKER_BOOTSTRAP", 1 }, + { "UPLOAD_STICKER", 0 }, }; -const ProtobufCEnumDescriptor wa__message__rmr_source__descriptor = +const ProtobufCEnumDescriptor wa__message__peer_data_operation_request_type__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "wa.Message.RmrSource", - "RmrSource", - "Wa__Message__RmrSource", + "wa.Message.PeerDataOperationRequestType", + "PeerDataOperationRequestType", + "Wa__Message__PeerDataOperationRequestType", "wa", - 2, - wa__message__rmr_source__enum_values_by_number, - 2, - wa__message__rmr_source__enum_values_by_name, + 5, + wa__message__peer_data_operation_request_type__enum_values_by_number, + 5, + wa__message__peer_data_operation_request_type__enum_values_by_name, 1, - wa__message__rmr_source__value_ranges, + wa__message__peer_data_operation_request_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__message__field_descriptors[46] = +static const ProtobufCFieldDescriptor wa__message__field_descriptors[56] = { { "conversation", @@ -18031,6 +19911,126 @@ static const ProtobufCFieldDescriptor wa__message__field_descriptors[46] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "encReactionMessage", + 56, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, encreactionmessage), + &wa__message__enc_reaction_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "editedMessage", + 58, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, editedmessage), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "viewOnceMessageV2Extension", + 59, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, viewoncemessagev2extension), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollCreationMessageV2", + 60, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, pollcreationmessagev2), + &wa__message__poll_creation_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "scheduledCallCreationMessage", + 61, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, scheduledcallcreationmessage), + &wa__message__scheduled_call_creation_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "groupMentionedMessage", + 62, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, groupmentionedmessage), + &wa__message__future_proof_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pinInChatMessage", + 63, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, pininchatmessage), + &wa__message__pin_in_chat_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pollCreationMessageV3", + 64, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, pollcreationmessagev3), + &wa__message__poll_creation_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "scheduledCallEditMessage", + 65, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, scheduledcalleditmessage), + &wa__message__scheduled_call_edit_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ptvMessage", + 66, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__Message, ptvmessage), + &wa__message__video_message__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message__field_indices_by_name[] = { 7, /* field[7] = audioMessage */ @@ -18046,10 +20046,13 @@ static const unsigned wa__message__field_indices_by_name[] = { 25, /* field[25] = deviceSentMessage */ 6, /* field[6] = documentMessage */ 43, /* field[43] = documentWithCaptionMessage */ + 47, /* field[47] = editedMessage */ + 46, /* field[46] = encReactionMessage */ 31, /* field[31] = ephemeralMessage */ 5, /* field[5] = extendedTextMessage */ 14, /* field[14] = fastRatchetKeySenderKeyDistributionMessage */ 22, /* field[22] = groupInviteMessage */ + 51, /* field[51] = groupMentionedMessage */ 13, /* field[13] = highlyStructuredMessage */ 2, /* field[2] = imageMessage */ 36, /* field[36] = interactiveMessage */ @@ -18063,13 +20066,19 @@ static const unsigned wa__message__field_indices_by_name[] = { 26, /* field[26] = messageContextInfo */ 29, /* field[29] = orderMessage */ 35, /* field[35] = paymentInviteMessage */ + 52, /* field[52] = pinInChatMessage */ 40, /* field[40] = pollCreationMessage */ + 49, /* field[49] = pollCreationMessageV2 */ + 53, /* field[53] = pollCreationMessageV3 */ 41, /* field[41] = pollUpdateMessage */ 24, /* field[24] = productMessage */ 11, /* field[11] = protocolMessage */ + 55, /* field[55] = ptvMessage */ 37, /* field[37] = reactionMessage */ 17, /* field[17] = requestPaymentMessage */ 44, /* field[44] = requestPhoneNumberMessage */ + 50, /* field[50] = scheduledCallCreationMessage */ + 54, /* field[54] = scheduledCallEditMessage */ 15, /* field[15] = sendPaymentMessage */ 1, /* field[1] = senderKeyDistributionMessage */ 21, /* field[21] = stickerMessage */ @@ -18079,8 +20088,9 @@ static const unsigned wa__message__field_indices_by_name[] = { 8, /* field[8] = videoMessage */ 28, /* field[28] = viewOnceMessage */ 45, /* field[45] = viewOnceMessageV2 */ + 48, /* field[48] = viewOnceMessageV2Extension */ }; -static const ProtobufCIntRange wa__message__number_ranges[6 + 1] = +static const ProtobufCIntRange wa__message__number_ranges[7 + 1] = { { 1, 0 }, { 18, 16 }, @@ -18088,7 +20098,8 @@ static const ProtobufCIntRange wa__message__number_ranges[6 + 1] = { 28, 22 }, { 35, 26 }, { 53, 43 }, - { 0, 46 } + { 58, 47 }, + { 0, 56 } }; const ProtobufCMessageDescriptor wa__message__descriptor = { @@ -18098,14 +20109,50 @@ const ProtobufCMessageDescriptor wa__message__descriptor = "Wa__Message", "wa", sizeof(Wa__Message), - 46, + 56, wa__message__field_descriptors, wa__message__field_indices_by_name, - 6, wa__message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + 7, wa__message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__message_context_info__field_descriptors[4] = +static const ProtobufCFieldDescriptor wa__message_add_on_context_info__field_descriptors[1] = +{ + { + "messageAddOnDurationInSecs", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__MessageAddOnContextInfo, has_messageaddondurationinsecs), + offsetof(Wa__MessageAddOnContextInfo, messageaddondurationinsecs), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__message_add_on_context_info__field_indices_by_name[] = { + 0, /* field[0] = messageAddOnDurationInSecs */ +}; +static const ProtobufCIntRange wa__message_add_on_context_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__message_add_on_context_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.MessageAddOnContextInfo", + "MessageAddOnContextInfo", + "Wa__MessageAddOnContextInfo", + "wa", + sizeof(Wa__MessageAddOnContextInfo), + 1, + wa__message_add_on_context_info__field_descriptors, + wa__message_add_on_context_info__field_indices_by_name, + 1, wa__message_add_on_context_info__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__message_context_info__field_descriptors[5] = { { "deviceListMetadata", @@ -18155,17 +20202,30 @@ static const ProtobufCFieldDescriptor wa__message_context_info__field_descriptor 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "messageAddOnDurationInSecs", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__MessageContextInfo, has_messageaddondurationinsecs), + offsetof(Wa__MessageContextInfo, messageaddondurationinsecs), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__message_context_info__field_indices_by_name[] = { 0, /* field[0] = deviceListMetadata */ 1, /* field[1] = deviceListMetadataVersion */ + 4, /* field[4] = messageAddOnDurationInSecs */ 2, /* field[2] = messageSecret */ 3, /* field[3] = paddingBytes */ }; static const ProtobufCIntRange wa__message_context_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 5 } }; const ProtobufCMessageDescriptor wa__message_context_info__descriptor = { @@ -18175,12 +20235,11 @@ const ProtobufCMessageDescriptor wa__message_context_info__descriptor = "Wa__MessageContextInfo", "wa", sizeof(Wa__MessageContextInfo), - 4, + 5, wa__message_context_info__field_descriptors, wa__message_context_info__field_indices_by_name, 1, wa__message_context_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message_key__field_descriptors[4] = { @@ -18256,8 +20315,7 @@ const ProtobufCMessageDescriptor wa__message_key__descriptor = wa__message_key__field_descriptors, wa__message_key__field_indices_by_name, 1, wa__message_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__money__field_descriptors[3] = { @@ -18320,8 +20378,7 @@ const ProtobufCMessageDescriptor wa__money__descriptor = wa__money__field_descriptors, wa__money__field_indices_by_name, 1, wa__money__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__msg_opaque_data__poll_option__field_descriptors[1] = { @@ -18358,10 +20415,9 @@ const ProtobufCMessageDescriptor wa__msg_opaque_data__poll_option__descriptor = wa__msg_opaque_data__poll_option__field_descriptors, wa__msg_opaque_data__poll_option__field_indices_by_name, 1, wa__msg_opaque_data__poll_option__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__msg_opaque_data__field_descriptors[21] = +static const ProtobufCFieldDescriptor wa__msg_opaque_data__field_descriptors[26] = { { "body", @@ -18615,6 +20671,66 @@ static const ProtobufCFieldDescriptor wa__msg_opaque_data__field_descriptors[21] 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "encReactionTargetMessageKey", + 25, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, encreactiontargetmessagekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encReactionEncPayload", + 26, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MsgOpaqueData, has_encreactionencpayload), + offsetof(Wa__MsgOpaqueData, encreactionencpayload), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "encReactionEncIv", + 27, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__MsgOpaqueData, has_encreactionenciv), + offsetof(Wa__MsgOpaqueData, encreactionenciv), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isSentCagPollCreation", + 28, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__MsgOpaqueData, has_issentcagpollcreation), + offsetof(Wa__MsgOpaqueData, issentcagpollcreation), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "originalSelfAuthor", + 51, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__MsgOpaqueData, originalselfauthor), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__msg_opaque_data__field_indices_by_name[] = { 0, /* field[0] = body */ @@ -18623,13 +20739,18 @@ static const unsigned wa__msg_opaque_data__field_indices_by_name[] = { 12, /* field[12] = clientUrl */ 10, /* field[10] = description */ 20, /* field[20] = encPollVote */ + 23, /* field[23] = encReactionEncIv */ + 22, /* field[22] = encReactionEncPayload */ + 21, /* field[21] = encReactionTargetMessageKey */ 11, /* field[11] = futureproofBuffer */ 3, /* field[3] = isLive */ + 24, /* field[24] = isSentCagPollCreation */ 4, /* field[4] = lat */ 2, /* field[2] = lng */ 13, /* field[13] = loc */ 8, /* field[8] = matchedText */ 17, /* field[17] = messageSecret */ + 25, /* field[25] = originalSelfAuthor */ 5, /* field[5] = paymentAmount1000 */ 6, /* field[6] = paymentNoteMsgBody */ 14, /* field[14] = pollName */ @@ -18639,13 +20760,14 @@ static const unsigned wa__msg_opaque_data__field_indices_by_name[] = { 18, /* field[18] = senderTimestampMs */ 9, /* field[9] = title */ }; -static const ProtobufCIntRange wa__msg_opaque_data__number_ranges[4 + 1] = +static const ProtobufCIntRange wa__msg_opaque_data__number_ranges[5 + 1] = { { 1, 0 }, { 3, 1 }, { 5, 2 }, { 20, 16 }, - { 0, 21 } + { 51, 25 }, + { 0, 26 } }; const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor = { @@ -18655,12 +20777,11 @@ const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor = "Wa__MsgOpaqueData", "wa", sizeof(Wa__MsgOpaqueData), - 21, + 26, wa__msg_opaque_data__field_descriptors, wa__msg_opaque_data__field_indices_by_name, - 4, wa__msg_opaque_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + 5, wa__msg_opaque_data__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__msg_row_opaque_data__field_descriptors[2] = { @@ -18710,8 +20831,7 @@ const ProtobufCMessageDescriptor wa__msg_row_opaque_data__descriptor = wa__msg_row_opaque_data__field_descriptors, wa__msg_row_opaque_data__field_indices_by_name, 1, wa__msg_row_opaque_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__noise_certificate__details__field_descriptors[5] = { @@ -18800,8 +20920,7 @@ const ProtobufCMessageDescriptor wa__noise_certificate__details__descriptor = wa__noise_certificate__details__field_descriptors, wa__noise_certificate__details__field_indices_by_name, 1, wa__noise_certificate__details__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__noise_certificate__field_descriptors[2] = { @@ -18851,8 +20970,7 @@ const ProtobufCMessageDescriptor wa__noise_certificate__descriptor = wa__noise_certificate__field_descriptors, wa__noise_certificate__field_indices_by_name, 1, wa__noise_certificate__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__notification_message_info__field_descriptors[4] = { @@ -18928,8 +21046,109 @@ const ProtobufCMessageDescriptor wa__notification_message_info__descriptor = wa__notification_message_info__field_descriptors, wa__notification_message_info__field_indices_by_name, 1, wa__notification_message_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__notification_settings__field_descriptors[6] = +{ + { + "messageVibrate", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationSettings, messagevibrate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messagePopup", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationSettings, messagepopup), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageLight", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationSettings, messagelight), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lowPriorityNotifications", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__NotificationSettings, has_lowprioritynotifications), + offsetof(Wa__NotificationSettings, lowprioritynotifications), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "reactionsMuted", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__NotificationSettings, has_reactionsmuted), + offsetof(Wa__NotificationSettings, reactionsmuted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "callVibrate", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__NotificationSettings, callvibrate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__notification_settings__field_indices_by_name[] = { + 5, /* field[5] = callVibrate */ + 3, /* field[3] = lowPriorityNotifications */ + 2, /* field[2] = messageLight */ + 1, /* field[1] = messagePopup */ + 0, /* field[0] = messageVibrate */ + 4, /* field[4] = reactionsMuted */ +}; +static const ProtobufCIntRange wa__notification_settings__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__notification_settings__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.NotificationSettings", + "NotificationSettings", + "Wa__NotificationSettings", + "wa", + sizeof(Wa__NotificationSettings), + 6, + wa__notification_settings__field_descriptors, + wa__notification_settings__field_indices_by_name, + 1, wa__notification_settings__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__past_participant__leave_reason__enum_values_by_number[2] = { @@ -18964,7 +21183,7 @@ static const ProtobufCFieldDescriptor wa__past_participant__field_descriptors[3] { "userJid", 1, - PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(Wa__PastParticipant, userjid), @@ -18976,9 +21195,9 @@ static const ProtobufCFieldDescriptor wa__past_participant__field_descriptors[3] { "leaveReason", 2, - PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ + offsetof(Wa__PastParticipant, has_leavereason), offsetof(Wa__PastParticipant, leavereason), &wa__past_participant__leave_reason__descriptor, NULL, @@ -18988,9 +21207,9 @@ static const ProtobufCFieldDescriptor wa__past_participant__field_descriptors[3] { "leaveTs", 3, - PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ + offsetof(Wa__PastParticipant, has_leavets), offsetof(Wa__PastParticipant, leavets), NULL, NULL, @@ -19020,15 +21239,14 @@ const ProtobufCMessageDescriptor wa__past_participant__descriptor = wa__past_participant__field_descriptors, wa__past_participant__field_indices_by_name, 1, wa__past_participant__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__past_participants__field_descriptors[2] = { { "groupJid", 1, - PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(Wa__PastParticipants, groupjid), @@ -19071,8 +21289,7 @@ const ProtobufCMessageDescriptor wa__past_participants__descriptor = wa__past_participants__field_descriptors, wa__past_participants__field_indices_by_name, 1, wa__past_participants__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__payment_background__media_data__field_descriptors[5] = { @@ -19161,8 +21378,7 @@ const ProtobufCMessageDescriptor wa__payment_background__media_data__descriptor wa__payment_background__media_data__field_descriptors, wa__payment_background__media_data__field_indices_by_name, 1, wa__payment_background__media_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__payment_background__type__enum_values_by_number[2] = { @@ -19344,8 +21560,7 @@ const ProtobufCMessageDescriptor wa__payment_background__descriptor = wa__payment_background__field_descriptors, wa__payment_background__field_indices_by_name, 1, wa__payment_background__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__payment_info__currency__enum_values_by_number[2] = { @@ -19702,253 +21917,189 @@ const ProtobufCMessageDescriptor wa__payment_info__descriptor = wa__payment_info__field_descriptors, wa__payment_info__field_indices_by_name, 1, wa__payment_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__pending_key_exchange__field_descriptors[7] = +static const ProtobufCFieldDescriptor wa__photo_change__field_descriptors[3] = { { - "sequence", + "oldPhoto", 1, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__PendingKeyExchange, has_sequence), - offsetof(Wa__PendingKeyExchange, sequence), + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PhotoChange, has_oldphoto), + offsetof(Wa__PhotoChange, oldphoto), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "localBaseKey", + "newPhoto", 2, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localbasekey), - offsetof(Wa__PendingKeyExchange, localbasekey), + offsetof(Wa__PhotoChange, has_newphoto), + offsetof(Wa__PhotoChange, newphoto), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "localBaseKeyPrivate", + "newPhotoId", 3, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localbasekeyprivate), - offsetof(Wa__PendingKeyExchange, localbasekeyprivate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "localRatchetKey", - 4, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localratchetkey), - offsetof(Wa__PendingKeyExchange, localratchetkey), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "localRatchetKeyPrivate", - 5, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localratchetkeyprivate), - offsetof(Wa__PendingKeyExchange, localratchetkeyprivate), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "localIdentityKey", - 7, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localidentitykey), - offsetof(Wa__PendingKeyExchange, localidentitykey), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "localIdentityKeyPrivate", - 8, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingKeyExchange, has_localidentitykeyprivate), - offsetof(Wa__PendingKeyExchange, localidentitykeyprivate), + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PhotoChange, has_newphotoid), + offsetof(Wa__PhotoChange, newphotoid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__pending_key_exchange__field_indices_by_name[] = { - 1, /* field[1] = localBaseKey */ - 2, /* field[2] = localBaseKeyPrivate */ - 5, /* field[5] = localIdentityKey */ - 6, /* field[6] = localIdentityKeyPrivate */ - 3, /* field[3] = localRatchetKey */ - 4, /* field[4] = localRatchetKeyPrivate */ - 0, /* field[0] = sequence */ +static const unsigned wa__photo_change__field_indices_by_name[] = { + 1, /* field[1] = newPhoto */ + 2, /* field[2] = newPhotoId */ + 0, /* field[0] = oldPhoto */ }; -static const ProtobufCIntRange wa__pending_key_exchange__number_ranges[2 + 1] = +static const ProtobufCIntRange wa__photo_change__number_ranges[1 + 1] = { { 1, 0 }, - { 7, 5 }, - { 0, 7 } + { 0, 3 } }; -const ProtobufCMessageDescriptor wa__pending_key_exchange__descriptor = +const ProtobufCMessageDescriptor wa__photo_change__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.PendingKeyExchange", - "PendingKeyExchange", - "Wa__PendingKeyExchange", + "wa.PhotoChange", + "PhotoChange", + "Wa__PhotoChange", "wa", - sizeof(Wa__PendingKeyExchange), - 7, - wa__pending_key_exchange__field_descriptors, - wa__pending_key_exchange__field_indices_by_name, - 2, wa__pending_key_exchange__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + sizeof(Wa__PhotoChange), + 3, + wa__photo_change__field_descriptors, + wa__photo_change__field_indices_by_name, + 1, wa__photo_change__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__pin_in_chat__type__enum_values_by_number[3] = +{ + { "UNKNOWN_TYPE", "WA__PIN_IN_CHAT__TYPE__UNKNOWN_TYPE", 0 }, + { "PIN_FOR_ALL", "WA__PIN_IN_CHAT__TYPE__PIN_FOR_ALL", 1 }, + { "UNPIN_FOR_ALL", "WA__PIN_IN_CHAT__TYPE__UNPIN_FOR_ALL", 2 }, +}; +static const ProtobufCIntRange wa__pin_in_chat__type__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex wa__pin_in_chat__type__enum_values_by_name[3] = +{ + { "PIN_FOR_ALL", 1 }, + { "UNKNOWN_TYPE", 0 }, + { "UNPIN_FOR_ALL", 2 }, +}; +const ProtobufCEnumDescriptor wa__pin_in_chat__type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.PinInChat.Type", + "Type", + "Wa__PinInChat__Type", + "wa", + 3, + wa__pin_in_chat__type__enum_values_by_number, + 3, + wa__pin_in_chat__type__enum_values_by_name, + 1, + wa__pin_in_chat__type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__pending_pre_key__field_descriptors[3] = +static const ProtobufCFieldDescriptor wa__pin_in_chat__field_descriptors[5] = { { - "preKeyId", + "type", 1, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__PendingPreKey, has_prekeyid), - offsetof(Wa__PendingPreKey, prekeyid), - NULL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__PinInChat, has_type), + offsetof(Wa__PinInChat, type), + &wa__pin_in_chat__type__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "baseKey", + "key", 2, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PendingPreKey, has_basekey), - offsetof(Wa__PendingPreKey, basekey), - NULL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PinInChat, key), + &wa__message_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "signedPreKeyId", + "senderTimestampMs", 3, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT32, - offsetof(Wa__PendingPreKey, has_signedprekeyid), - offsetof(Wa__PendingPreKey, signedprekeyid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__pending_pre_key__field_indices_by_name[] = { - 1, /* field[1] = baseKey */ - 0, /* field[0] = preKeyId */ - 2, /* field[2] = signedPreKeyId */ -}; -static const ProtobufCIntRange wa__pending_pre_key__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor wa__pending_pre_key__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.PendingPreKey", - "PendingPreKey", - "Wa__PendingPreKey", - "wa", - sizeof(Wa__PendingPreKey), - 3, - wa__pending_pre_key__field_descriptors, - wa__pending_pre_key__field_indices_by_name, - 1, wa__pending_pre_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__photo_change__field_descriptors[3] = -{ - { - "oldPhoto", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PhotoChange, has_oldphoto), - offsetof(Wa__PhotoChange, oldphoto), + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__PinInChat, has_sendertimestampms), + offsetof(Wa__PinInChat, sendertimestampms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "newPhoto", - 2, + "serverTimestampMs", + 4, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__PhotoChange, has_newphoto), - offsetof(Wa__PhotoChange, newphoto), + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__PinInChat, has_servertimestampms), + offsetof(Wa__PinInChat, servertimestampms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "newPhotoId", - 3, + "messageAddOnContextInfo", + 5, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__PhotoChange, has_newphotoid), - offsetof(Wa__PhotoChange, newphotoid), - NULL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__PinInChat, messageaddoncontextinfo), + &wa__message_add_on_context_info__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__photo_change__field_indices_by_name[] = { - 1, /* field[1] = newPhoto */ - 2, /* field[2] = newPhotoId */ - 0, /* field[0] = oldPhoto */ +static const unsigned wa__pin_in_chat__field_indices_by_name[] = { + 1, /* field[1] = key */ + 4, /* field[4] = messageAddOnContextInfo */ + 2, /* field[2] = senderTimestampMs */ + 3, /* field[3] = serverTimestampMs */ + 0, /* field[0] = type */ }; -static const ProtobufCIntRange wa__photo_change__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__pin_in_chat__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 5 } }; -const ProtobufCMessageDescriptor wa__photo_change__descriptor = +const ProtobufCMessageDescriptor wa__pin_in_chat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.PhotoChange", - "PhotoChange", - "Wa__PhotoChange", + "wa.PinInChat", + "PinInChat", + "Wa__PinInChat", "wa", - sizeof(Wa__PhotoChange), - 3, - wa__photo_change__field_descriptors, - wa__photo_change__field_indices_by_name, - 1, wa__photo_change__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + sizeof(Wa__PinInChat), + 5, + wa__pin_in_chat__field_descriptors, + wa__pin_in_chat__field_indices_by_name, + 1, wa__pin_in_chat__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__point__field_descriptors[4] = { @@ -20024,8 +22175,7 @@ const ProtobufCMessageDescriptor wa__point__descriptor = wa__point__field_descriptors, wa__point__field_indices_by_name, 1, wa__point__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__poll_additional_metadata__field_descriptors[1] = { @@ -20062,8 +22212,7 @@ const ProtobufCMessageDescriptor wa__poll_additional_metadata__descriptor = wa__poll_additional_metadata__field_descriptors, wa__poll_additional_metadata__field_indices_by_name, 1, wa__poll_additional_metadata__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__poll_enc_value__field_descriptors[2] = { @@ -20113,10 +22262,9 @@ const ProtobufCMessageDescriptor wa__poll_enc_value__descriptor = wa__poll_enc_value__field_descriptors, wa__poll_enc_value__field_indices_by_name, 1, wa__poll_enc_value__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__poll_update__field_descriptors[3] = +static const ProtobufCFieldDescriptor wa__poll_update__field_descriptors[5] = { { "pollUpdateMessageKey", @@ -20154,16 +22302,42 @@ static const ProtobufCFieldDescriptor wa__poll_update__field_descriptors[3] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "serverTimestampMs", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__PollUpdate, has_servertimestampms), + offsetof(Wa__PollUpdate, servertimestampms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "unread", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__PollUpdate, has_unread), + offsetof(Wa__PollUpdate, unread), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__poll_update__field_indices_by_name[] = { 0, /* field[0] = pollUpdateMessageKey */ 2, /* field[2] = senderTimestampMs */ + 3, /* field[3] = serverTimestampMs */ + 4, /* field[4] = unread */ 1, /* field[1] = vote */ }; static const ProtobufCIntRange wa__poll_update__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 5 } }; const ProtobufCMessageDescriptor wa__poll_update__descriptor = { @@ -20173,12 +22347,11 @@ const ProtobufCMessageDescriptor wa__poll_update__descriptor = "Wa__PollUpdate", "wa", sizeof(Wa__PollUpdate), - 3, + 5, wa__poll_update__field_descriptors, wa__poll_update__field_indices_by_name, 1, wa__poll_update__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pre_key_record_structure__field_descriptors[3] = { @@ -20241,8 +22414,109 @@ const ProtobufCMessageDescriptor wa__pre_key_record_structure__descriptor = wa__pre_key_record_structure__field_descriptors, wa__pre_key_record_structure__field_indices_by_name, 1, wa__pre_key_record_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__pre_key_signal_message__field_descriptors[6] = +{ + { + "preKeyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PreKeySignalMessage, has_prekeyid), + offsetof(Wa__PreKeySignalMessage, prekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "baseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PreKeySignalMessage, has_basekey), + offsetof(Wa__PreKeySignalMessage, basekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "identityKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PreKeySignalMessage, has_identitykey), + offsetof(Wa__PreKeySignalMessage, identitykey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__PreKeySignalMessage, has_message), + offsetof(Wa__PreKeySignalMessage, message), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "registrationId", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PreKeySignalMessage, has_registrationid), + offsetof(Wa__PreKeySignalMessage, registrationid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signedPreKeyId", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__PreKeySignalMessage, has_signedprekeyid), + offsetof(Wa__PreKeySignalMessage, signedprekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__pre_key_signal_message__field_indices_by_name[] = { + 1, /* field[1] = baseKey */ + 2, /* field[2] = identityKey */ + 3, /* field[3] = message */ + 0, /* field[0] = preKeyId */ + 4, /* field[4] = registrationId */ + 5, /* field[5] = signedPreKeyId */ +}; +static const ProtobufCIntRange wa__pre_key_signal_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 6 } +}; +const ProtobufCMessageDescriptor wa__pre_key_signal_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.PreKeySignalMessage", + "PreKeySignalMessage", + "Wa__PreKeySignalMessage", + "wa", + sizeof(Wa__PreKeySignalMessage), + 6, + wa__pre_key_signal_message__field_descriptors, + wa__pre_key_signal_message__field_indices_by_name, + 1, wa__pre_key_signal_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pushname__field_descriptors[2] = { @@ -20292,8 +22566,7 @@ const ProtobufCMessageDescriptor wa__pushname__descriptor = wa__pushname__field_descriptors, wa__pushname__field_indices_by_name, 1, wa__pushname__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__reaction__field_descriptors[5] = { @@ -20382,8 +22655,7 @@ const ProtobufCMessageDescriptor wa__reaction__descriptor = wa__reaction__field_descriptors, wa__reaction__field_indices_by_name, 1, wa__reaction__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__recent_emoji_weight__field_descriptors[2] = { @@ -20433,8 +22705,7 @@ const ProtobufCMessageDescriptor wa__recent_emoji_weight__descriptor = wa__recent_emoji_weight__field_descriptors, wa__recent_emoji_weight__field_indices_by_name, 1, wa__recent_emoji_weight__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__record_structure__field_descriptors[2] = { @@ -20484,59 +22755,146 @@ const ProtobufCMessageDescriptor wa__record_structure__descriptor = wa__record_structure__field_descriptors, wa__record_structure__field_indices_by_name, 1, wa__record_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sender_chain_key__field_descriptors[2] = +static const ProtobufCFieldDescriptor wa__sender_key_distribution_message__field_descriptors[4] = { { + "id", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyDistributionMessage, has_id), + offsetof(Wa__SenderKeyDistributionMessage, id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { "iteration", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyDistributionMessage, has_iteration), + offsetof(Wa__SenderKeyDistributionMessage, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chainKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyDistributionMessage, has_chainkey), + offsetof(Wa__SenderKeyDistributionMessage, chainkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signingKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyDistributionMessage, has_signingkey), + offsetof(Wa__SenderKeyDistributionMessage, signingkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_distribution_message__field_indices_by_name[] = { + 2, /* field[2] = chainKey */ + 0, /* field[0] = id */ + 1, /* field[1] = iteration */ + 3, /* field[3] = signingKey */ +}; +static const ProtobufCIntRange wa__sender_key_distribution_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__sender_key_distribution_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyDistributionMessage", + "SenderKeyDistributionMessage", + "Wa__SenderKeyDistributionMessage", + "wa", + sizeof(Wa__SenderKeyDistributionMessage), + 4, + wa__sender_key_distribution_message__field_descriptors, + wa__sender_key_distribution_message__field_indices_by_name, + 1, wa__sender_key_distribution_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_message__field_descriptors[3] = +{ + { + "id", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__SenderChainKey, has_iteration), - offsetof(Wa__SenderChainKey, iteration), + offsetof(Wa__SenderKeyMessage, has_id), + offsetof(Wa__SenderKeyMessage, id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "seed", + "iteration", 2, PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyMessage, has_iteration), + offsetof(Wa__SenderKeyMessage, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ciphertext", + 3, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__SenderChainKey, has_seed), - offsetof(Wa__SenderChainKey, seed), + offsetof(Wa__SenderKeyMessage, has_ciphertext), + offsetof(Wa__SenderKeyMessage, ciphertext), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__sender_chain_key__field_indices_by_name[] = { - 0, /* field[0] = iteration */ - 1, /* field[1] = seed */ +static const unsigned wa__sender_key_message__field_indices_by_name[] = { + 2, /* field[2] = ciphertext */ + 0, /* field[0] = id */ + 1, /* field[1] = iteration */ }; -static const ProtobufCIntRange wa__sender_chain_key__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__sender_key_message__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 3 } }; -const ProtobufCMessageDescriptor wa__sender_chain_key__descriptor = +const ProtobufCMessageDescriptor wa__sender_key_message__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.SenderChainKey", - "SenderChainKey", - "Wa__SenderChainKey", + "wa.SenderKeyMessage", + "SenderKeyMessage", + "Wa__SenderKeyMessage", "wa", - sizeof(Wa__SenderChainKey), - 2, - wa__sender_chain_key__field_descriptors, - wa__sender_chain_key__field_indices_by_name, - 1, wa__sender_chain_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + sizeof(Wa__SenderKeyMessage), + 3, + wa__sender_key_message__field_descriptors, + wa__sender_key_message__field_indices_by_name, + 1, wa__sender_key_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_key_record_structure__field_descriptors[1] = { @@ -20573,8 +22931,157 @@ const ProtobufCMessageDescriptor wa__sender_key_record_structure__descriptor = wa__sender_key_record_structure__field_descriptors, wa__sender_key_record_structure__field_indices_by_name, 1, wa__sender_key_record_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_state_structure__sender_chain_key__field_descriptors[2] = +{ + { + "iteration", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyStateStructure__SenderChainKey, has_iteration), + offsetof(Wa__SenderKeyStateStructure__SenderChainKey, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyStateStructure__SenderChainKey, has_seed), + offsetof(Wa__SenderKeyStateStructure__SenderChainKey, seed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_state_structure__sender_chain_key__field_indices_by_name[] = { + 0, /* field[0] = iteration */ + 1, /* field[1] = seed */ +}; +static const ProtobufCIntRange wa__sender_key_state_structure__sender_chain_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_chain_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyStateStructure.SenderChainKey", + "SenderChainKey", + "Wa__SenderKeyStateStructure__SenderChainKey", + "wa", + sizeof(Wa__SenderKeyStateStructure__SenderChainKey), + 2, + wa__sender_key_state_structure__sender_chain_key__field_descriptors, + wa__sender_key_state_structure__sender_chain_key__field_indices_by_name, + 1, wa__sender_key_state_structure__sender_chain_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_state_structure__sender_message_key__field_descriptors[2] = +{ + { + "iteration", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SenderKeyStateStructure__SenderMessageKey, has_iteration), + offsetof(Wa__SenderKeyStateStructure__SenderMessageKey, iteration), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "seed", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyStateStructure__SenderMessageKey, has_seed), + offsetof(Wa__SenderKeyStateStructure__SenderMessageKey, seed), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_state_structure__sender_message_key__field_indices_by_name[] = { + 0, /* field[0] = iteration */ + 1, /* field[1] = seed */ +}; +static const ProtobufCIntRange wa__sender_key_state_structure__sender_message_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_message_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyStateStructure.SenderMessageKey", + "SenderMessageKey", + "Wa__SenderKeyStateStructure__SenderMessageKey", + "wa", + sizeof(Wa__SenderKeyStateStructure__SenderMessageKey), + 2, + wa__sender_key_state_structure__sender_message_key__field_descriptors, + wa__sender_key_state_structure__sender_message_key__field_indices_by_name, + 1, wa__sender_key_state_structure__sender_message_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sender_key_state_structure__sender_signing_key__field_descriptors[2] = +{ + { + "public", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyStateStructure__SenderSigningKey, has_public_), + offsetof(Wa__SenderKeyStateStructure__SenderSigningKey, public_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "private", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SenderKeyStateStructure__SenderSigningKey, has_private_), + offsetof(Wa__SenderKeyStateStructure__SenderSigningKey, private_), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sender_key_state_structure__sender_signing_key__field_indices_by_name[] = { + 1, /* field[1] = private */ + 0, /* field[0] = public */ +}; +static const ProtobufCIntRange wa__sender_key_state_structure__sender_signing_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_signing_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SenderKeyStateStructure.SenderSigningKey", + "SenderSigningKey", + "Wa__SenderKeyStateStructure__SenderSigningKey", + "wa", + sizeof(Wa__SenderKeyStateStructure__SenderSigningKey), + 2, + wa__sender_key_state_structure__sender_signing_key__field_descriptors, + wa__sender_key_state_structure__sender_signing_key__field_indices_by_name, + 1, wa__sender_key_state_structure__sender_signing_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_descriptors[4] = { @@ -20597,7 +23104,7 @@ static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_desc PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Wa__SenderKeyStateStructure, senderchainkey), - &wa__sender_chain_key__descriptor, + &wa__sender_key_state_structure__sender_chain_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20609,7 +23116,7 @@ static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_desc PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Wa__SenderKeyStateStructure, sendersigningkey), - &wa__sender_signing_key__descriptor, + &wa__sender_key_state_structure__sender_signing_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20621,7 +23128,7 @@ static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_desc PROTOBUF_C_TYPE_MESSAGE, offsetof(Wa__SenderKeyStateStructure, n_sendermessagekeys), offsetof(Wa__SenderKeyStateStructure, sendermessagekeys), - &wa__sender_message_key__descriptor, + &wa__sender_key_state_structure__sender_message_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20650,148 +23157,425 @@ const ProtobufCMessageDescriptor wa__sender_key_state_structure__descriptor = wa__sender_key_state_structure__field_descriptors, wa__sender_key_state_structure__field_indices_by_name, 1, wa__sender_key_state_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sender_message_key__field_descriptors[2] = +static const ProtobufCFieldDescriptor wa__server_error_receipt__field_descriptors[1] = { { - "iteration", + "stanzaId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__ServerErrorReceipt, stanzaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__server_error_receipt__field_indices_by_name[] = { + 0, /* field[0] = stanzaId */ +}; +static const ProtobufCIntRange wa__server_error_receipt__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__server_error_receipt__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.ServerErrorReceipt", + "ServerErrorReceipt", + "Wa__ServerErrorReceipt", + "wa", + sizeof(Wa__ServerErrorReceipt), + 1, + wa__server_error_receipt__field_descriptors, + wa__server_error_receipt__field_indices_by_name, + 1, wa__server_error_receipt__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__session_structure__chain__chain_key__field_descriptors[2] = +{ + { + "index", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_UINT32, - offsetof(Wa__SenderMessageKey, has_iteration), - offsetof(Wa__SenderMessageKey, iteration), + offsetof(Wa__SessionStructure__Chain__ChainKey, has_index), + offsetof(Wa__SessionStructure__Chain__ChainKey, index), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "seed", + "key", 2, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__SenderMessageKey, has_seed), - offsetof(Wa__SenderMessageKey, seed), + offsetof(Wa__SessionStructure__Chain__ChainKey, has_key), + offsetof(Wa__SessionStructure__Chain__ChainKey, key), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__sender_message_key__field_indices_by_name[] = { - 0, /* field[0] = iteration */ - 1, /* field[1] = seed */ +static const unsigned wa__session_structure__chain__chain_key__field_indices_by_name[] = { + 0, /* field[0] = index */ + 1, /* field[1] = key */ }; -static const ProtobufCIntRange wa__sender_message_key__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__session_structure__chain__chain_key__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wa__sender_message_key__descriptor = +const ProtobufCMessageDescriptor wa__session_structure__chain__chain_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.SenderMessageKey", - "SenderMessageKey", - "Wa__SenderMessageKey", + "wa.SessionStructure.Chain.ChainKey", + "ChainKey", + "Wa__SessionStructure__Chain__ChainKey", "wa", - sizeof(Wa__SenderMessageKey), + sizeof(Wa__SessionStructure__Chain__ChainKey), 2, - wa__sender_message_key__field_descriptors, - wa__sender_message_key__field_indices_by_name, - 1, wa__sender_message_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + wa__session_structure__chain__chain_key__field_descriptors, + wa__session_structure__chain__chain_key__field_indices_by_name, + 1, wa__session_structure__chain__chain_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sender_signing_key__field_descriptors[2] = +static const ProtobufCFieldDescriptor wa__session_structure__chain__message_key__field_descriptors[4] = { { - "public", + "index", 1, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__SenderSigningKey, has_public_), - offsetof(Wa__SenderSigningKey, public_), + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure__Chain__MessageKey, has_index), + offsetof(Wa__SessionStructure__Chain__MessageKey, index), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "private", + "cipherKey", 2, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BYTES, - offsetof(Wa__SenderSigningKey, has_private_), - offsetof(Wa__SenderSigningKey, private_), + offsetof(Wa__SessionStructure__Chain__MessageKey, has_cipherkey), + offsetof(Wa__SessionStructure__Chain__MessageKey, cipherkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "macKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__Chain__MessageKey, has_mackey), + offsetof(Wa__SessionStructure__Chain__MessageKey, mackey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "iv", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__Chain__MessageKey, has_iv), + offsetof(Wa__SessionStructure__Chain__MessageKey, iv), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__sender_signing_key__field_indices_by_name[] = { - 1, /* field[1] = private */ - 0, /* field[0] = public */ +static const unsigned wa__session_structure__chain__message_key__field_indices_by_name[] = { + 1, /* field[1] = cipherKey */ + 0, /* field[0] = index */ + 3, /* field[3] = iv */ + 2, /* field[2] = macKey */ }; -static const ProtobufCIntRange wa__sender_signing_key__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__session_structure__chain__message_key__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 4 } }; -const ProtobufCMessageDescriptor wa__sender_signing_key__descriptor = +const ProtobufCMessageDescriptor wa__session_structure__chain__message_key__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.SenderSigningKey", - "SenderSigningKey", - "Wa__SenderSigningKey", + "wa.SessionStructure.Chain.MessageKey", + "MessageKey", + "Wa__SessionStructure__Chain__MessageKey", "wa", - sizeof(Wa__SenderSigningKey), - 2, - wa__sender_signing_key__field_descriptors, - wa__sender_signing_key__field_indices_by_name, - 1, wa__sender_signing_key__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + sizeof(Wa__SessionStructure__Chain__MessageKey), + 4, + wa__session_structure__chain__message_key__field_descriptors, + wa__session_structure__chain__message_key__field_indices_by_name, + 1, wa__session_structure__chain__message_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__server_error_receipt__field_descriptors[1] = +static const ProtobufCFieldDescriptor wa__session_structure__chain__field_descriptors[4] = { { - "stanzaId", + "senderRatchetKey", 1, PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_STRING, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__Chain, has_senderratchetkey), + offsetof(Wa__SessionStructure__Chain, senderratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "senderRatchetKeyPrivate", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__Chain, has_senderratchetkeyprivate), + offsetof(Wa__SessionStructure__Chain, senderratchetkeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chainKey", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(Wa__ServerErrorReceipt, stanzaid), + offsetof(Wa__SessionStructure__Chain, chainkey), + &wa__session_structure__chain__chain_key__descriptor, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "messageKeys", + 4, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Wa__SessionStructure__Chain, n_messagekeys), + offsetof(Wa__SessionStructure__Chain, messagekeys), + &wa__session_structure__chain__message_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wa__server_error_receipt__field_indices_by_name[] = { - 0, /* field[0] = stanzaId */ +static const unsigned wa__session_structure__chain__field_indices_by_name[] = { + 2, /* field[2] = chainKey */ + 3, /* field[3] = messageKeys */ + 0, /* field[0] = senderRatchetKey */ + 1, /* field[1] = senderRatchetKeyPrivate */ }; -static const ProtobufCIntRange wa__server_error_receipt__number_ranges[1 + 1] = +static const ProtobufCIntRange wa__session_structure__chain__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 4 } }; -const ProtobufCMessageDescriptor wa__server_error_receipt__descriptor = +const ProtobufCMessageDescriptor wa__session_structure__chain__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.ServerErrorReceipt", - "ServerErrorReceipt", - "Wa__ServerErrorReceipt", + "wa.SessionStructure.Chain", + "Chain", + "Wa__SessionStructure__Chain", "wa", - sizeof(Wa__ServerErrorReceipt), - 1, - wa__server_error_receipt__field_descriptors, - wa__server_error_receipt__field_indices_by_name, - 1, wa__server_error_receipt__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + sizeof(Wa__SessionStructure__Chain), + 4, + wa__session_structure__chain__field_descriptors, + wa__session_structure__chain__field_indices_by_name, + 1, wa__session_structure__chain__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__session_structure__pending_key_exchange__field_descriptors[7] = +{ + { + "sequence", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_sequence), + offsetof(Wa__SessionStructure__PendingKeyExchange, sequence), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localBaseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localbasekey), + offsetof(Wa__SessionStructure__PendingKeyExchange, localbasekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localBaseKeyPrivate", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localbasekeyprivate), + offsetof(Wa__SessionStructure__PendingKeyExchange, localbasekeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localRatchetKey", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localratchetkey), + offsetof(Wa__SessionStructure__PendingKeyExchange, localratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localRatchetKeyPrivate", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localratchetkeyprivate), + offsetof(Wa__SessionStructure__PendingKeyExchange, localratchetkeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localIdentityKey", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localidentitykey), + offsetof(Wa__SessionStructure__PendingKeyExchange, localidentitykey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "localIdentityKeyPrivate", + 8, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingKeyExchange, has_localidentitykeyprivate), + offsetof(Wa__SessionStructure__PendingKeyExchange, localidentitykeyprivate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__session_structure__pending_key_exchange__field_indices_by_name[] = { + 1, /* field[1] = localBaseKey */ + 2, /* field[2] = localBaseKeyPrivate */ + 5, /* field[5] = localIdentityKey */ + 6, /* field[6] = localIdentityKeyPrivate */ + 3, /* field[3] = localRatchetKey */ + 4, /* field[4] = localRatchetKeyPrivate */ + 0, /* field[0] = sequence */ +}; +static const ProtobufCIntRange wa__session_structure__pending_key_exchange__number_ranges[2 + 1] = +{ + { 1, 0 }, + { 7, 5 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__session_structure__pending_key_exchange__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SessionStructure.PendingKeyExchange", + "PendingKeyExchange", + "Wa__SessionStructure__PendingKeyExchange", + "wa", + sizeof(Wa__SessionStructure__PendingKeyExchange), + 7, + wa__session_structure__pending_key_exchange__field_descriptors, + wa__session_structure__pending_key_exchange__field_indices_by_name, + 2, wa__session_structure__pending_key_exchange__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__session_structure__pending_pre_key__field_descriptors[3] = +{ + { + "preKeyId", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SessionStructure__PendingPreKey, has_prekeyid), + offsetof(Wa__SessionStructure__PendingPreKey, prekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "baseKey", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SessionStructure__PendingPreKey, has_basekey), + offsetof(Wa__SessionStructure__PendingPreKey, basekey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "signedPreKeyId", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SessionStructure__PendingPreKey, has_signedprekeyid), + offsetof(Wa__SessionStructure__PendingPreKey, signedprekeyid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__session_structure__pending_pre_key__field_indices_by_name[] = { + 1, /* field[1] = baseKey */ + 0, /* field[0] = preKeyId */ + 2, /* field[2] = signedPreKeyId */ +}; +static const ProtobufCIntRange wa__session_structure__pending_pre_key__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 3 } +}; +const ProtobufCMessageDescriptor wa__session_structure__pending_pre_key__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SessionStructure.PendingPreKey", + "PendingPreKey", + "Wa__SessionStructure__PendingPreKey", + "wa", + sizeof(Wa__SessionStructure__PendingPreKey), + 3, + wa__session_structure__pending_pre_key__field_descriptors, + wa__session_structure__pending_pre_key__field_indices_by_name, + 1, wa__session_structure__pending_pre_key__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[13] = { @@ -20862,7 +23646,7 @@ static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[1 PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Wa__SessionStructure, senderchain), - &wa__chain__descriptor, + &wa__session_structure__chain__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20874,7 +23658,7 @@ static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[1 PROTOBUF_C_TYPE_MESSAGE, offsetof(Wa__SessionStructure, n_receiverchains), offsetof(Wa__SessionStructure, receiverchains), - &wa__chain__descriptor, + &wa__session_structure__chain__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20886,7 +23670,7 @@ static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[1 PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Wa__SessionStructure, pendingkeyexchange), - &wa__pending_key_exchange__descriptor, + &wa__session_structure__pending_key_exchange__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20898,7 +23682,7 @@ static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[1 PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Wa__SessionStructure, pendingprekey), - &wa__pending_pre_key__descriptor, + &wa__session_structure__pending_pre_key__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ @@ -20984,8 +23768,83 @@ const ProtobufCMessageDescriptor wa__session_structure__descriptor = wa__session_structure__field_descriptors, wa__session_structure__field_indices_by_name, 1, wa__session_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__signal_message__field_descriptors[4] = +{ + { + "ratchetKey", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SignalMessage, has_ratchetkey), + offsetof(Wa__SignalMessage, ratchetkey), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "counter", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SignalMessage, has_counter), + offsetof(Wa__SignalMessage, counter), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "previousCounter", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_UINT32, + offsetof(Wa__SignalMessage, has_previouscounter), + offsetof(Wa__SignalMessage, previouscounter), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ciphertext", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BYTES, + offsetof(Wa__SignalMessage, has_ciphertext), + offsetof(Wa__SignalMessage, ciphertext), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__signal_message__field_indices_by_name[] = { + 3, /* field[3] = ciphertext */ + 1, /* field[1] = counter */ + 2, /* field[2] = previousCounter */ + 0, /* field[0] = ratchetKey */ +}; +static const ProtobufCIntRange wa__signal_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wa__signal_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SignalMessage", + "SignalMessage", + "Wa__SignalMessage", + "wa", + sizeof(Wa__SignalMessage), + 4, + wa__signal_message__field_descriptors, + wa__signal_message__field_indices_by_name, + 1, wa__signal_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__signed_pre_key_record_structure__field_descriptors[5] = { @@ -21074,8 +23933,7 @@ const ProtobufCMessageDescriptor wa__signed_pre_key_record_structure__descriptor wa__signed_pre_key_record_structure__field_descriptors, wa__signed_pre_key_record_structure__field_indices_by_name, 1, wa__signed_pre_key_record_structure__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__status_psa__field_descriptors[2] = { @@ -21125,10 +23983,9 @@ const ProtobufCMessageDescriptor wa__status_psa__descriptor = wa__status_psa__field_descriptors, wa__status_psa__field_indices_by_name, 1, wa__status_psa__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sticker_metadata__field_descriptors[10] = +static const ProtobufCFieldDescriptor wa__sticker_metadata__field_descriptors[11] = { { "url", @@ -21250,6 +24107,18 @@ static const ProtobufCFieldDescriptor wa__sticker_metadata__field_descriptors[10 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "lastStickerSentTs", + 11, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__StickerMetadata, has_laststickersentts), + offsetof(Wa__StickerMetadata, laststickersentts), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__sticker_metadata__field_indices_by_name[] = { 7, /* field[7] = directPath */ @@ -21257,6 +24126,7 @@ static const unsigned wa__sticker_metadata__field_indices_by_name[] = { 8, /* field[8] = fileLength */ 1, /* field[1] = fileSha256 */ 5, /* field[5] = height */ + 10, /* field[10] = lastStickerSentTs */ 3, /* field[3] = mediaKey */ 4, /* field[4] = mimetype */ 0, /* field[0] = url */ @@ -21266,7 +24136,7 @@ static const unsigned wa__sticker_metadata__field_indices_by_name[] = { static const ProtobufCIntRange wa__sticker_metadata__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 10 } + { 0, 11 } }; const ProtobufCMessageDescriptor wa__sticker_metadata__descriptor = { @@ -21276,12 +24146,11 @@ const ProtobufCMessageDescriptor wa__sticker_metadata__descriptor = "Wa__StickerMetadata", "wa", sizeof(Wa__StickerMetadata), - 10, + 11, wa__sticker_metadata__field_descriptors, wa__sticker_metadata__field_indices_by_name, 1, wa__sticker_metadata__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_data__field_descriptors[4] = { @@ -21357,8 +24226,7 @@ const ProtobufCMessageDescriptor wa__sync_action_data__descriptor = wa__sync_action_data__field_descriptors, wa__sync_action_data__field_indices_by_name, 1, wa__sync_action_data__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__agent_action__field_descriptors[3] = { @@ -21421,8 +24289,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__agent_action__descriptor wa__sync_action_value__agent_action__field_descriptors, wa__sync_action_value__agent_action__field_indices_by_name, 1, wa__sync_action_value__agent_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__android_unsupported_actions__field_descriptors[1] = { @@ -21459,8 +24326,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__android_unsupported_acti wa__sync_action_value__android_unsupported_actions__field_descriptors, wa__sync_action_value__android_unsupported_actions__field_indices_by_name, 1, wa__sync_action_value__android_unsupported_actions__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__archive_chat_action__field_descriptors[2] = { @@ -21510,8 +24376,81 @@ const ProtobufCMessageDescriptor wa__sync_action_value__archive_chat_action__des wa__sync_action_value__archive_chat_action__field_descriptors, wa__sync_action_value__archive_chat_action__field_indices_by_name, 1, wa__sync_action_value__archive_chat_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__chat_assignment_action__field_descriptors[1] = +{ + { + "deviceAgentID", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ChatAssignmentAction, deviceagentid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__chat_assignment_action__field_indices_by_name[] = { + 0, /* field[0] = deviceAgentID */ +}; +static const ProtobufCIntRange wa__sync_action_value__chat_assignment_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__chat_assignment_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ChatAssignmentAction", + "ChatAssignmentAction", + "Wa__SyncActionValue__ChatAssignmentAction", + "wa", + sizeof(Wa__SyncActionValue__ChatAssignmentAction), + 1, + wa__sync_action_value__chat_assignment_action__field_descriptors, + wa__sync_action_value__chat_assignment_action__field_indices_by_name, + 1, wa__sync_action_value__chat_assignment_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__chat_assignment_opened_status_action__field_descriptors[1] = +{ + { + "chatOpened", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__ChatAssignmentOpenedStatusAction, has_chatopened), + offsetof(Wa__SyncActionValue__ChatAssignmentOpenedStatusAction, chatopened), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__chat_assignment_opened_status_action__field_indices_by_name[] = { + 0, /* field[0] = chatOpened */ +}; +static const ProtobufCIntRange wa__sync_action_value__chat_assignment_opened_status_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__chat_assignment_opened_status_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ChatAssignmentOpenedStatusAction", + "ChatAssignmentOpenedStatusAction", + "Wa__SyncActionValue__ChatAssignmentOpenedStatusAction", + "wa", + sizeof(Wa__SyncActionValue__ChatAssignmentOpenedStatusAction), + 1, + wa__sync_action_value__chat_assignment_opened_status_action__field_descriptors, + wa__sync_action_value__chat_assignment_opened_status_action__field_indices_by_name, + 1, wa__sync_action_value__chat_assignment_opened_status_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__clear_chat_action__field_descriptors[1] = { @@ -21548,10 +24487,9 @@ const ProtobufCMessageDescriptor wa__sync_action_value__clear_chat_action__descr wa__sync_action_value__clear_chat_action__field_descriptors, wa__sync_action_value__clear_chat_action__field_indices_by_name, 1, wa__sync_action_value__clear_chat_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sync_action_value__contact_action__field_descriptors[2] = +static const ProtobufCFieldDescriptor wa__sync_action_value__contact_action__field_descriptors[3] = { { "fullName", @@ -21577,15 +24515,28 @@ static const ProtobufCFieldDescriptor wa__sync_action_value__contact_action__fie 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "lidJid", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__ContactAction, lidjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__sync_action_value__contact_action__field_indices_by_name[] = { 1, /* field[1] = firstName */ 0, /* field[0] = fullName */ + 2, /* field[2] = lidJid */ }; static const ProtobufCIntRange wa__sync_action_value__contact_action__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 3 } }; const ProtobufCMessageDescriptor wa__sync_action_value__contact_action__descriptor = { @@ -21595,12 +24546,11 @@ const ProtobufCMessageDescriptor wa__sync_action_value__contact_action__descript "Wa__SyncActionValue__ContactAction", "wa", sizeof(Wa__SyncActionValue__ContactAction), - 2, + 3, wa__sync_action_value__contact_action__field_descriptors, wa__sync_action_value__contact_action__field_indices_by_name, 1, wa__sync_action_value__contact_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__delete_chat_action__field_descriptors[1] = { @@ -21637,8 +24587,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__delete_chat_action__desc wa__sync_action_value__delete_chat_action__field_descriptors, wa__sync_action_value__delete_chat_action__field_indices_by_name, 1, wa__sync_action_value__delete_chat_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__delete_message_for_me_action__field_descriptors[2] = { @@ -21688,8 +24637,44 @@ const ProtobufCMessageDescriptor wa__sync_action_value__delete_message_for_me_ac wa__sync_action_value__delete_message_for_me_action__field_descriptors, wa__sync_action_value__delete_message_for_me_action__field_indices_by_name, 1, wa__sync_action_value__delete_message_for_me_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__external_web_beta_action__field_descriptors[1] = +{ + { + "isOptIn", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__ExternalWebBetaAction, has_isoptin), + offsetof(Wa__SyncActionValue__ExternalWebBetaAction, isoptin), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__external_web_beta_action__field_indices_by_name[] = { + 0, /* field[0] = isOptIn */ +}; +static const ProtobufCIntRange wa__sync_action_value__external_web_beta_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__external_web_beta_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.ExternalWebBetaAction", + "ExternalWebBetaAction", + "Wa__SyncActionValue__ExternalWebBetaAction", + "wa", + sizeof(Wa__SyncActionValue__ExternalWebBetaAction), + 1, + wa__sync_action_value__external_web_beta_action__field_descriptors, + wa__sync_action_value__external_web_beta_action__field_indices_by_name, + 1, wa__sync_action_value__external_web_beta_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__key_expiration__field_descriptors[1] = { @@ -21726,8 +24711,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__key_expiration__descript wa__sync_action_value__key_expiration__field_descriptors, wa__sync_action_value__key_expiration__field_indices_by_name, 1, wa__sync_action_value__key_expiration__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__label_association_action__field_descriptors[1] = { @@ -21764,8 +24748,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__label_association_action wa__sync_action_value__label_association_action__field_descriptors, wa__sync_action_value__label_association_action__field_indices_by_name, 1, wa__sync_action_value__label_association_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__label_edit_action__field_descriptors[4] = { @@ -21841,8 +24824,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__label_edit_action__descr wa__sync_action_value__label_edit_action__field_descriptors, wa__sync_action_value__label_edit_action__field_indices_by_name, 1, wa__sync_action_value__label_edit_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__locale_setting__field_descriptors[1] = { @@ -21879,8 +24861,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__locale_setting__descript wa__sync_action_value__locale_setting__field_descriptors, wa__sync_action_value__locale_setting__field_indices_by_name, 1, wa__sync_action_value__locale_setting__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__mark_chat_as_read_action__field_descriptors[2] = { @@ -21930,10 +24911,187 @@ const ProtobufCMessageDescriptor wa__sync_action_value__mark_chat_as_read_action wa__sync_action_value__mark_chat_as_read_action__field_descriptors, wa__sync_action_value__mark_chat_as_read_action__field_indices_by_name, 1, wa__sync_action_value__mark_chat_as_read_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__enum_values_by_number[1] = +{ + { "PERSONALIZED", "WA__SYNC_ACTION_VALUE__MARKETING_MESSAGE_ACTION__MARKETING_MESSAGE_PROTOTYPE_TYPE__PERSONALIZED", 0 }, +}; +static const ProtobufCIntRange wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__value_ranges[] = { +{0, 0},{0, 1} +}; +static const ProtobufCEnumValueIndex wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__enum_values_by_name[1] = +{ + { "PERSONALIZED", 0 }, +}; +const ProtobufCEnumDescriptor wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType", + "MarketingMessagePrototypeType", + "Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType", + "wa", + 1, + wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__enum_values_by_number, + 1, + wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__enum_values_by_name, + 1, + wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__marketing_message_action__field_descriptors[7] = +{ + { + "name", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__MarketingMessageAction, name), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "message", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__MarketingMessageAction, message), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "type", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(Wa__SyncActionValue__MarketingMessageAction, has_type), + offsetof(Wa__SyncActionValue__MarketingMessageAction, type), + &wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "createdAt", + 4, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__MarketingMessageAction, has_createdat), + offsetof(Wa__SyncActionValue__MarketingMessageAction, createdat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lastSentAt", + 5, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__MarketingMessageAction, has_lastsentat), + offsetof(Wa__SyncActionValue__MarketingMessageAction, lastsentat), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "isDeleted", + 6, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__MarketingMessageAction, has_isdeleted), + offsetof(Wa__SyncActionValue__MarketingMessageAction, isdeleted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mediaId", + 7, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__MarketingMessageAction, mediaid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__marketing_message_action__field_indices_by_name[] = { + 3, /* field[3] = createdAt */ + 5, /* field[5] = isDeleted */ + 4, /* field[4] = lastSentAt */ + 6, /* field[6] = mediaId */ + 1, /* field[1] = message */ + 0, /* field[0] = name */ + 2, /* field[2] = type */ }; -static const ProtobufCFieldDescriptor wa__sync_action_value__mute_action__field_descriptors[2] = +static const ProtobufCIntRange wa__sync_action_value__marketing_message_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__marketing_message_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.MarketingMessageAction", + "MarketingMessageAction", + "Wa__SyncActionValue__MarketingMessageAction", + "wa", + sizeof(Wa__SyncActionValue__MarketingMessageAction), + 7, + wa__sync_action_value__marketing_message_action__field_descriptors, + wa__sync_action_value__marketing_message_action__field_indices_by_name, + 1, wa__sync_action_value__marketing_message_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__marketing_message_broadcast_action__field_descriptors[1] = +{ + { + "repliedCount", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(Wa__SyncActionValue__MarketingMessageBroadcastAction, has_repliedcount), + offsetof(Wa__SyncActionValue__MarketingMessageBroadcastAction, repliedcount), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__marketing_message_broadcast_action__field_indices_by_name[] = { + 0, /* field[0] = repliedCount */ +}; +static const ProtobufCIntRange wa__sync_action_value__marketing_message_broadcast_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__marketing_message_broadcast_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.MarketingMessageBroadcastAction", + "MarketingMessageBroadcastAction", + "Wa__SyncActionValue__MarketingMessageBroadcastAction", + "wa", + sizeof(Wa__SyncActionValue__MarketingMessageBroadcastAction), + 1, + wa__sync_action_value__marketing_message_broadcast_action__field_descriptors, + wa__sync_action_value__marketing_message_broadcast_action__field_indices_by_name, + 1, wa__sync_action_value__marketing_message_broadcast_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__mute_action__field_descriptors[3] = { { "muted", @@ -21959,15 +25117,28 @@ static const ProtobufCFieldDescriptor wa__sync_action_value__mute_action__field_ 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "autoMuted", + 3, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__MuteAction, has_automuted), + offsetof(Wa__SyncActionValue__MuteAction, automuted), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__sync_action_value__mute_action__field_indices_by_name[] = { + 2, /* field[2] = autoMuted */ 1, /* field[1] = muteEndTimestamp */ 0, /* field[0] = muted */ }; static const ProtobufCIntRange wa__sync_action_value__mute_action__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 3 } }; const ProtobufCMessageDescriptor wa__sync_action_value__mute_action__descriptor = { @@ -21977,12 +25148,11 @@ const ProtobufCMessageDescriptor wa__sync_action_value__mute_action__descriptor "Wa__SyncActionValue__MuteAction", "wa", sizeof(Wa__SyncActionValue__MuteAction), - 2, + 3, wa__sync_action_value__mute_action__field_descriptors, wa__sync_action_value__mute_action__field_indices_by_name, 1, wa__sync_action_value__mute_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__nux_action__field_descriptors[1] = { @@ -22019,8 +25189,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__nux_action__descriptor = wa__sync_action_value__nux_action__field_descriptors, wa__sync_action_value__nux_action__field_indices_by_name, 1, wa__sync_action_value__nux_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__pin_action__field_descriptors[1] = { @@ -22057,8 +25226,44 @@ const ProtobufCMessageDescriptor wa__sync_action_value__pin_action__descriptor = wa__sync_action_value__pin_action__field_descriptors, wa__sync_action_value__pin_action__field_indices_by_name, 1, wa__sync_action_value__pin_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__pn_for_lid_chat_action__field_descriptors[1] = +{ + { + "pnJid", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_STRING, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__PnForLidChatAction, pnjid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__pn_for_lid_chat_action__field_indices_by_name[] = { + 0, /* field[0] = pnJid */ +}; +static const ProtobufCIntRange wa__sync_action_value__pn_for_lid_chat_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__pn_for_lid_chat_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PnForLidChatAction", + "PnForLidChatAction", + "Wa__SyncActionValue__PnForLidChatAction", + "wa", + sizeof(Wa__SyncActionValue__PnForLidChatAction), + 1, + wa__sync_action_value__pn_for_lid_chat_action__field_descriptors, + wa__sync_action_value__pn_for_lid_chat_action__field_indices_by_name, + 1, wa__sync_action_value__pn_for_lid_chat_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__primary_feature__field_descriptors[1] = { @@ -22095,8 +25300,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__primary_feature__descrip wa__sync_action_value__primary_feature__field_descriptors, wa__sync_action_value__primary_feature__field_indices_by_name, 1, wa__sync_action_value__primary_feature__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__primary_version_action__field_descriptors[1] = { @@ -22133,8 +25337,44 @@ const ProtobufCMessageDescriptor wa__sync_action_value__primary_version_action__ wa__sync_action_value__primary_version_action__field_descriptors, wa__sync_action_value__primary_version_action__field_indices_by_name, 1, wa__sync_action_value__primary_version_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__privacy_setting_relay_all_calls__field_descriptors[1] = +{ + { + "isEnabled", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_BOOL, + offsetof(Wa__SyncActionValue__PrivacySettingRelayAllCalls, has_isenabled), + offsetof(Wa__SyncActionValue__PrivacySettingRelayAllCalls, isenabled), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__privacy_setting_relay_all_calls__field_indices_by_name[] = { + 0, /* field[0] = isEnabled */ +}; +static const ProtobufCIntRange wa__sync_action_value__privacy_setting_relay_all_calls__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__privacy_setting_relay_all_calls__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.PrivacySettingRelayAllCalls", + "PrivacySettingRelayAllCalls", + "Wa__SyncActionValue__PrivacySettingRelayAllCalls", + "wa", + sizeof(Wa__SyncActionValue__PrivacySettingRelayAllCalls), + 1, + wa__sync_action_value__privacy_setting_relay_all_calls__field_descriptors, + wa__sync_action_value__privacy_setting_relay_all_calls__field_indices_by_name, + 1, wa__sync_action_value__privacy_setting_relay_all_calls__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__push_name_setting__field_descriptors[1] = { @@ -22171,8 +25411,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__push_name_setting__descr wa__sync_action_value__push_name_setting__field_descriptors, wa__sync_action_value__push_name_setting__field_indices_by_name, 1, wa__sync_action_value__push_name_setting__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__quick_reply_action__field_descriptors[5] = { @@ -22261,8 +25500,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__quick_reply_action__desc wa__sync_action_value__quick_reply_action__field_descriptors, wa__sync_action_value__quick_reply_action__field_indices_by_name, 1, wa__sync_action_value__quick_reply_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__recent_emoji_weights_action__field_descriptors[1] = { @@ -22299,8 +25537,44 @@ const ProtobufCMessageDescriptor wa__sync_action_value__recent_emoji_weights_act wa__sync_action_value__recent_emoji_weights_action__field_descriptors, wa__sync_action_value__recent_emoji_weights_action__field_indices_by_name, 1, wa__sync_action_value__recent_emoji_weights_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__remove_recent_sticker_action__field_descriptors[1] = +{ + { + "lastStickerSentTs", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__RemoveRecentStickerAction, has_laststickersentts), + offsetof(Wa__SyncActionValue__RemoveRecentStickerAction, laststickersentts), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__remove_recent_sticker_action__field_indices_by_name[] = { + 0, /* field[0] = lastStickerSentTs */ +}; +static const ProtobufCIntRange wa__sync_action_value__remove_recent_sticker_action__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__remove_recent_sticker_action__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.RemoveRecentStickerAction", + "RemoveRecentStickerAction", + "Wa__SyncActionValue__RemoveRecentStickerAction", + "wa", + sizeof(Wa__SyncActionValue__RemoveRecentStickerAction), + 1, + wa__sync_action_value__remove_recent_sticker_action__field_descriptors, + wa__sync_action_value__remove_recent_sticker_action__field_indices_by_name, + 1, wa__sync_action_value__remove_recent_sticker_action__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__security_notification_setting__field_descriptors[1] = { @@ -22337,8 +25611,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__security_notification_se wa__sync_action_value__security_notification_setting__field_descriptors, wa__sync_action_value__security_notification_setting__field_indices_by_name, 1, wa__sync_action_value__security_notification_setting__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__star_action__field_descriptors[1] = { @@ -22375,8 +25648,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__star_action__descriptor wa__sync_action_value__star_action__field_descriptors, wa__sync_action_value__star_action__field_indices_by_name, 1, wa__sync_action_value__star_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__sticker_action__field_descriptors[10] = { @@ -22530,8 +25802,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__sticker_action__descript wa__sync_action_value__sticker_action__field_descriptors, wa__sync_action_value__sticker_action__field_indices_by_name, 1, wa__sync_action_value__sticker_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__subscription_action__field_descriptors[3] = { @@ -22594,8 +25865,57 @@ const ProtobufCMessageDescriptor wa__sync_action_value__subscription_action__des wa__sync_action_value__subscription_action__field_descriptors, wa__sync_action_value__subscription_action__field_indices_by_name, 1, wa__sync_action_value__subscription_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message__field_descriptors[2] = +{ + { + "key", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue__SyncActionMessage, key), + &wa__message_key__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "timestamp", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT64, + offsetof(Wa__SyncActionValue__SyncActionMessage, has_timestamp), + offsetof(Wa__SyncActionValue__SyncActionMessage, timestamp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wa__sync_action_value__sync_action_message__field_indices_by_name[] = { + 0, /* field[0] = key */ + 1, /* field[1] = timestamp */ +}; +static const ProtobufCIntRange wa__sync_action_value__sync_action_message__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wa.SyncActionValue.SyncActionMessage", + "SyncActionMessage", + "Wa__SyncActionValue__SyncActionMessage", + "wa", + sizeof(Wa__SyncActionValue__SyncActionMessage), + 2, + wa__sync_action_value__sync_action_message__field_descriptors, + wa__sync_action_value__sync_action_message__field_indices_by_name, + 1, wa__sync_action_value__sync_action_message__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message_range__field_descriptors[3] = { @@ -22658,59 +25978,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message_rang wa__sync_action_value__sync_action_message_range__field_descriptors, wa__sync_action_value__sync_action_message_range__field_indices_by_name, 1, wa__sync_action_value__sync_action_message_range__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message__field_descriptors[2] = -{ - { - "key", - 1, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(Wa__SyncActionValue__SyncActionMessage, key), - &wa__message_key__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "timestamp", - 2, - PROTOBUF_C_LABEL_OPTIONAL, - PROTOBUF_C_TYPE_INT64, - offsetof(Wa__SyncActionValue__SyncActionMessage, has_timestamp), - offsetof(Wa__SyncActionValue__SyncActionMessage, timestamp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned wa__sync_action_value__sync_action_message__field_indices_by_name[] = { - 0, /* field[0] = key */ - 1, /* field[1] = timestamp */ -}; -static const ProtobufCIntRange wa__sync_action_value__sync_action_message__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wa.SyncActionValue.SyncActionMessage", - "SyncActionMessage", - "Wa__SyncActionValue__SyncActionMessage", - "wa", - sizeof(Wa__SyncActionValue__SyncActionMessage), - 2, - wa__sync_action_value__sync_action_message__field_descriptors, - wa__sync_action_value__sync_action_message__field_indices_by_name, - 1, wa__sync_action_value__sync_action_message__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__time_format_action__field_descriptors[1] = { @@ -22747,8 +26015,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__time_format_action__desc wa__sync_action_value__time_format_action__field_descriptors, wa__sync_action_value__time_format_action__field_indices_by_name, 1, wa__sync_action_value__time_format_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__unarchive_chats_setting__field_descriptors[1] = { @@ -22785,8 +26052,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__unarchive_chats_setting_ wa__sync_action_value__unarchive_chats_setting__field_descriptors, wa__sync_action_value__unarchive_chats_setting__field_indices_by_name, 1, wa__sync_action_value__unarchive_chats_setting__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__user_status_mute_action__field_descriptors[1] = { @@ -22823,10 +26089,9 @@ const ProtobufCMessageDescriptor wa__sync_action_value__user_status_mute_action_ wa__sync_action_value__user_status_mute_action__field_descriptors, wa__sync_action_value__user_status_mute_action__field_indices_by_name, 1, wa__sync_action_value__user_status_mute_action__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wa__sync_action_value__field_descriptors[28] = +static const ProtobufCFieldDescriptor wa__sync_action_value__field_descriptors[36] = { { "timestamp", @@ -23164,28 +26429,132 @@ static const ProtobufCFieldDescriptor wa__sync_action_value__field_descriptors[2 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "removeRecentStickerAction", + 34, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, removerecentstickeraction), + &wa__sync_action_value__remove_recent_sticker_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chatAssignment", + 35, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, chatassignment), + &wa__sync_action_value__chat_assignment_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "chatAssignmentOpenedStatus", + 36, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, chatassignmentopenedstatus), + &wa__sync_action_value__chat_assignment_opened_status_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "pnForLidChatAction", + 37, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, pnforlidchataction), + &wa__sync_action_value__pn_for_lid_chat_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "marketingMessageAction", + 38, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, marketingmessageaction), + &wa__sync_action_value__marketing_message_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "marketingMessageBroadcastAction", + 39, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, marketingmessagebroadcastaction), + &wa__sync_action_value__marketing_message_broadcast_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "externalWebBetaAction", + 40, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, externalwebbetaaction), + &wa__sync_action_value__external_web_beta_action__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "privacySettingRelayAllCalls", + 41, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__SyncActionValue, privacysettingrelayallcalls), + &wa__sync_action_value__privacy_setting_relay_all_calls__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__sync_action_value__field_indices_by_name[] = { 21, /* field[21] = agentAction */ 20, /* field[20] = androidUnsupportedActions */ 12, /* field[12] = archiveChatAction */ + 29, /* field[29] = chatAssignment */ + 30, /* field[30] = chatAssignmentOpenedStatus */ 16, /* field[16] = clearChatAction */ 2, /* field[2] = contactAction */ 17, /* field[17] = deleteChatAction */ 13, /* field[13] = deleteMessageForMeAction */ + 34, /* field[34] = externalWebBetaAction */ 14, /* field[14] = keyExpiration */ 10, /* field[10] = labelAssociationAction */ 9, /* field[9] = labelEditAction */ 11, /* field[11] = localeSetting */ 15, /* field[15] = markChatAsReadAction */ + 32, /* field[32] = marketingMessageAction */ + 33, /* field[33] = marketingMessageBroadcastAction */ 3, /* field[3] = muteAction */ 25, /* field[25] = nuxAction */ 4, /* field[4] = pinAction */ + 31, /* field[31] = pnForLidChatAction */ 19, /* field[19] = primaryFeature */ 26, /* field[26] = primaryVersionAction */ + 35, /* field[35] = privacySettingRelayAllCalls */ 6, /* field[6] = pushNameSetting */ 7, /* field[7] = quickReplyAction */ 8, /* field[8] = recentEmojiWeightsAction */ + 28, /* field[28] = removeRecentStickerAction */ 5, /* field[5] = securityNotificationSetting */ 1, /* field[1] = starAction */ 27, /* field[27] = stickerAction */ @@ -23201,7 +26570,7 @@ static const ProtobufCIntRange wa__sync_action_value__number_ranges[4 + 1] = { 11, 8 }, { 14, 9 }, { 26, 20 }, - { 0, 28 } + { 0, 36 } }; const ProtobufCMessageDescriptor wa__sync_action_value__descriptor = { @@ -23211,12 +26580,11 @@ const ProtobufCMessageDescriptor wa__sync_action_value__descriptor = "Wa__SyncActionValue", "wa", sizeof(Wa__SyncActionValue), - 28, + 36, wa__sync_action_value__field_descriptors, wa__sync_action_value__field_indices_by_name, 4, wa__sync_action_value__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_index__field_descriptors[1] = { @@ -23253,8 +26621,7 @@ const ProtobufCMessageDescriptor wa__syncd_index__descriptor = wa__syncd_index__field_descriptors, wa__syncd_index__field_indices_by_name, 1, wa__syncd_index__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__syncd_mutation__syncd_operation__enum_values_by_number[2] = { @@ -23332,8 +26699,7 @@ const ProtobufCMessageDescriptor wa__syncd_mutation__descriptor = wa__syncd_mutation__field_descriptors, wa__syncd_mutation__field_indices_by_name, 1, wa__syncd_mutation__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_mutations__field_descriptors[1] = { @@ -23370,8 +26736,7 @@ const ProtobufCMessageDescriptor wa__syncd_mutations__descriptor = wa__syncd_mutations__field_descriptors, wa__syncd_mutations__field_indices_by_name, 1, wa__syncd_mutations__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_patch__field_descriptors[8] = { @@ -23499,8 +26864,7 @@ const ProtobufCMessageDescriptor wa__syncd_patch__descriptor = wa__syncd_patch__field_descriptors, wa__syncd_patch__field_indices_by_name, 1, wa__syncd_patch__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_record__field_descriptors[3] = { @@ -23563,8 +26927,7 @@ const ProtobufCMessageDescriptor wa__syncd_record__descriptor = wa__syncd_record__field_descriptors, wa__syncd_record__field_indices_by_name, 1, wa__syncd_record__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_snapshot__field_descriptors[4] = { @@ -23640,8 +27003,7 @@ const ProtobufCMessageDescriptor wa__syncd_snapshot__descriptor = wa__syncd_snapshot__field_descriptors, wa__syncd_snapshot__field_indices_by_name, 1, wa__syncd_snapshot__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_value__field_descriptors[1] = { @@ -23678,8 +27040,7 @@ const ProtobufCMessageDescriptor wa__syncd_value__descriptor = wa__syncd_value__field_descriptors, wa__syncd_value__field_indices_by_name, 1, wa__syncd_value__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_version__field_descriptors[1] = { @@ -23716,8 +27077,7 @@ const ProtobufCMessageDescriptor wa__syncd_version__descriptor = wa__syncd_version__field_descriptors, wa__syncd_version__field_indices_by_name, 1, wa__syncd_version__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__call_button__field_descriptors[2] = { @@ -23767,8 +27127,7 @@ const ProtobufCMessageDescriptor wa__template_button__call_button__descriptor = wa__template_button__call_button__field_descriptors, wa__template_button__call_button__field_indices_by_name, 1, wa__template_button__call_button__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__quick_reply_button__field_descriptors[2] = { @@ -23818,8 +27177,7 @@ const ProtobufCMessageDescriptor wa__template_button__quick_reply_button__descri wa__template_button__quick_reply_button__field_descriptors, wa__template_button__quick_reply_button__field_indices_by_name, 1, wa__template_button__quick_reply_button__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__urlbutton__field_descriptors[2] = { @@ -23869,8 +27227,7 @@ const ProtobufCMessageDescriptor wa__template_button__urlbutton__descriptor = wa__template_button__urlbutton__field_descriptors, wa__template_button__urlbutton__field_indices_by_name, 1, wa__template_button__urlbutton__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__field_descriptors[4] = { @@ -23946,8 +27303,7 @@ const ProtobufCMessageDescriptor wa__template_button__descriptor = wa__template_button__field_descriptors, wa__template_button__field_indices_by_name, 1, wa__template_button__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__user_receipt__field_descriptors[6] = { @@ -24049,8 +27405,7 @@ const ProtobufCMessageDescriptor wa__user_receipt__descriptor = wa__user_receipt__field_descriptors, wa__user_receipt__field_indices_by_name, 1, wa__user_receipt__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__verified_name_certificate__details__field_descriptors[5] = { @@ -24142,8 +27497,7 @@ const ProtobufCMessageDescriptor wa__verified_name_certificate__details__descrip wa__verified_name_certificate__details__field_descriptors, wa__verified_name_certificate__details__field_indices_by_name, 4, wa__verified_name_certificate__details__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__verified_name_certificate__field_descriptors[3] = { @@ -24206,8 +27560,7 @@ const ProtobufCMessageDescriptor wa__verified_name_certificate__descriptor = wa__verified_name_certificate__field_descriptors, wa__verified_name_certificate__field_indices_by_name, 1, wa__verified_name_certificate__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__wallpaper_settings__field_descriptors[2] = { @@ -24257,8 +27610,7 @@ const ProtobufCMessageDescriptor wa__wallpaper_settings__descriptor = wa__wallpaper_settings__field_descriptors, wa__wallpaper_settings__field_indices_by_name, 1, wa__wallpaper_settings__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__web_features__flag__enum_values_by_number[4] = { @@ -24902,8 +28254,7 @@ const ProtobufCMessageDescriptor wa__web_features__descriptor = wa__web_features__field_descriptors, wa__web_features__field_indices_by_name, 4, wa__web_features__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__web_message_info__biz_privacy_status__enum_values_by_number[4] = { @@ -24973,7 +28324,7 @@ const ProtobufCEnumDescriptor wa__web_message_info__status__descriptor = wa__web_message_info__status__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCEnumValue wa__web_message_info__stub_type__enum_values_by_number[150] = +static const ProtobufCEnumValue wa__web_message_info__stub_type__enum_values_by_number[183] = { { "UNKNOWN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN", 0 }, { "REVOKE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__REVOKE", 1 }, @@ -25125,13 +28476,48 @@ static const ProtobufCEnumValue wa__web_message_info__stub_type__enum_values_by_ { "COMMUNITY_PARTICIPANT_PROMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_PROMOTE", 147 }, { "COMMUNITY_PARTICIPANT_DEMOTE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_DEMOTE", 148 }, { "COMMUNITY_PARENT_GROUP_DELETED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_DELETED", 149 }, + { "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL", 150 }, + { "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP", 151 }, + { "MASKED_THREAD_CREATED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__MASKED_THREAD_CREATED", 152 }, + { "MASKED_THREAD_UNMASKED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__MASKED_THREAD_UNMASKED", 153 }, + { "BIZ_CHAT_ASSIGNMENT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_CHAT_ASSIGNMENT", 154 }, + { "CHAT_PSA", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CHAT_PSA", 155 }, + { "CHAT_POLL_CREATION_MESSAGE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CHAT_POLL_CREATION_MESSAGE", 156 }, + { "CAG_MASKED_THREAD_CREATED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_MASKED_THREAD_CREATED", 157 }, + { "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED", 158 }, + { "CAG_INVITE_AUTO_ADD", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_INVITE_AUTO_ADD", 159 }, + { "BIZ_CHAT_ASSIGNMENT_UNASSIGN", "WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_CHAT_ASSIGNMENT_UNASSIGN", 160 }, + { "CAG_INVITE_AUTO_JOINED", "WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_INVITE_AUTO_JOINED", 161 }, + { "SCHEDULED_CALL_START_MESSAGE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SCHEDULED_CALL_START_MESSAGE", 162 }, + { "COMMUNITY_INVITE_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_INVITE_RICH", 163 }, + { "COMMUNITY_INVITE_AUTO_ADD_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_INVITE_AUTO_ADD_RICH", 164 }, + { "SUB_GROUP_INVITE_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SUB_GROUP_INVITE_RICH", 165 }, + { "SUB_GROUP_PARTICIPANT_ADD_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SUB_GROUP_PARTICIPANT_ADD_RICH", 166 }, + { "COMMUNITY_LINK_PARENT_GROUP_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP_RICH", 167 }, + { "COMMUNITY_PARTICIPANT_ADD_RICH", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_ADD_RICH", 168 }, + { "SILENCED_UNKNOWN_CALLER_AUDIO", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SILENCED_UNKNOWN_CALLER_AUDIO", 169 }, + { "SILENCED_UNKNOWN_CALLER_VIDEO", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SILENCED_UNKNOWN_CALLER_VIDEO", 170 }, + { "GROUP_MEMBER_ADD_MODE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBER_ADD_MODE", 171 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD", "WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD", 172 }, + { "COMMUNITY_CHANGE_DESCRIPTION", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_CHANGE_DESCRIPTION", 173 }, + { "SENDER_INVITE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__SENDER_INVITE", 174 }, + { "RECEIVER_INVITE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__RECEIVER_INVITE", 175 }, + { "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS", "WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS", 176 }, + { "PINNED_MESSAGE_IN_CHAT", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PINNED_MESSAGE_IN_CHAT", 177 }, + { "PAYMENT_INVITE_SETUP_INVITER", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITER", 178 }, + { "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY", 179 }, + { "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE", "WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE", 180 }, + { "LINKED_GROUP_CALL_START", "WA__WEB_MESSAGE_INFO__STUB_TYPE__LINKED_GROUP_CALL_START", 181 }, + { "REPORT_TO_ADMIN_ENABLED_STATUS", "WA__WEB_MESSAGE_INFO__STUB_TYPE__REPORT_TO_ADMIN_ENABLED_STATUS", 182 }, }; static const ProtobufCIntRange wa__web_message_info__stub_type__value_ranges[] = { -{0, 0},{0, 150} +{0, 0},{0, 183} }; -static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_values_by_name[150] = +static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_values_by_name[183] = { { "ADMIN_REVOKE", 132 }, + { "BIZ_CHAT_ASSIGNMENT", 154 }, + { "BIZ_CHAT_ASSIGNMENT_UNASSIGN", 160 }, { "BIZ_INTRO_BOTTOM", 63 }, { "BIZ_INTRO_TOP", 62 }, { "BIZ_MOVE_TO_CONSUMER_APP", 65 }, @@ -25190,17 +28576,30 @@ static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_value { "BROADCAST_ADD", 35 }, { "BROADCAST_CREATE", 34 }, { "BROADCAST_REMOVE", 36 }, + { "CAG_INVITE_AUTO_ADD", 159 }, + { "CAG_INVITE_AUTO_JOINED", 161 }, + { "CAG_MASKED_THREAD_CREATED", 157 }, { "CALL_MISSED_GROUP_VIDEO", 46 }, { "CALL_MISSED_GROUP_VOICE", 45 }, { "CALL_MISSED_VIDEO", 41 }, { "CALL_MISSED_VOICE", 40 }, { "CHANGE_EPHEMERAL_SETTING", 72 }, + { "CHAT_POLL_CREATION_MESSAGE", 156 }, + { "CHAT_PSA", 155 }, { "CIPHERTEXT", 2 }, + { "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS", 176 }, + { "COMMUNITY_CHANGE_DESCRIPTION", 173 }, { "COMMUNITY_CREATE", 142 }, + { "COMMUNITY_INVITE_AUTO_ADD_RICH", 164 }, + { "COMMUNITY_INVITE_RICH", 163 }, { "COMMUNITY_LINK_PARENT_GROUP", 134 }, + { "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL", 150 }, + { "COMMUNITY_LINK_PARENT_GROUP_RICH", 167 }, { "COMMUNITY_LINK_SIBLING_GROUP", 135 }, { "COMMUNITY_LINK_SUB_GROUP", 136 }, { "COMMUNITY_PARENT_GROUP_DELETED", 149 }, + { "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED", 158 }, + { "COMMUNITY_PARTICIPANT_ADD_RICH", 168 }, { "COMMUNITY_PARTICIPANT_DEMOTE", 148 }, { "COMMUNITY_PARTICIPANT_PROMOTE", 147 }, { "COMMUNITY_UNLINK_PARENT_GROUP", 137 }, @@ -25233,12 +28632,15 @@ static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_value { "GROUP_INVITE_LINK_GROWTH_LOCKED", 133 }, { "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE", 145 }, { "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST", 144 }, + { "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD", 172 }, + { "GROUP_MEMBER_ADD_MODE", 171 }, { "GROUP_PARTICIPANT_ACCEPT", 140 }, { "GROUP_PARTICIPANT_ADD", 27 }, { "GROUP_PARTICIPANT_ADD_REQUEST_JOIN", 71 }, { "GROUP_PARTICIPANT_CHANGE_NUMBER", 33 }, { "GROUP_PARTICIPANT_DEMOTE", 30 }, { "GROUP_PARTICIPANT_INVITE", 31 }, + { "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP", 151 }, { "GROUP_PARTICIPANT_LEAVE", 32 }, { "GROUP_PARTICIPANT_LINKED_GROUP_JOIN", 141 }, { "GROUP_PARTICIPANT_PROMOTE", 29 }, @@ -25246,6 +28648,9 @@ static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_value { "GROUP_V4_ADD_INVITE_SENT", 70 }, { "INDIVIDUAL_CHANGE_NUMBER", 42 }, { "INTEGRITY_UNLINK_PARENT_GROUP", 146 }, + { "LINKED_GROUP_CALL_START", 181 }, + { "MASKED_THREAD_CREATED", 152 }, + { "MASKED_THREAD_UNMASKED", 153 }, { "NON_VERIFIED_TRANSITION", 4 }, { "OVERSIZED", 68 }, { "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER", 54 }, @@ -25256,12 +28661,24 @@ static const ProtobufCEnumValueIndex wa__web_message_info__stub_type__enum_value { "PAYMENT_ACTION_SEND_PAYMENT_REMINDER", 55 }, { "PAYMENT_CIPHERTEXT", 47 }, { "PAYMENT_FUTUREPROOF", 48 }, + { "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY", 179 }, + { "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE", 180 }, + { "PAYMENT_INVITE_SETUP_INVITER", 178 }, { "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP", 52 }, { "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP", 53 }, { "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED", 49 }, { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED", 50 }, { "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED", 51 }, + { "PINNED_MESSAGE_IN_CHAT", 177 }, + { "RECEIVER_INVITE", 175 }, + { "REPORT_TO_ADMIN_ENABLED_STATUS", 182 }, { "REVOKE", 1 }, + { "SCHEDULED_CALL_START_MESSAGE", 162 }, + { "SENDER_INVITE", 174 }, + { "SILENCED_UNKNOWN_CALLER_AUDIO", 169 }, + { "SILENCED_UNKNOWN_CALLER_VIDEO", 170 }, + { "SUB_GROUP_INVITE_RICH", 165 }, + { "SUB_GROUP_PARTICIPANT_ADD_RICH", 166 }, { "SYNCING", 125 }, { "SYNC_FAILED", 124 }, { "UNKNOWN", 0 }, @@ -25289,15 +28706,15 @@ const ProtobufCEnumDescriptor wa__web_message_info__stub_type__descriptor = "StubType", "Wa__WebMessageInfo__StubType", "wa", - 150, + 183, wa__web_message_info__stub_type__enum_values_by_number, - 150, + 183, wa__web_message_info__stub_type__enum_values_by_name, 1, wa__web_message_info__stub_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCFieldDescriptor wa__web_message_info__field_descriptors[43] = +static const ProtobufCFieldDescriptor wa__web_message_info__field_descriptors[44] = { { "key", @@ -25815,6 +29232,18 @@ static const ProtobufCFieldDescriptor wa__web_message_info__field_descriptors[43 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "pinInChat", + 54, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Wa__WebMessageInfo, pininchat), + &wa__pin_in_chat__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned wa__web_message_info__field_indices_by_name[] = { 37, /* field[37] = agentId */ @@ -25845,6 +29274,7 @@ static const unsigned wa__web_message_info__field_indices_by_name[] = { 4, /* field[4] = participant */ 19, /* field[19] = paymentInfo */ 29, /* field[29] = photoChange */ + 43, /* field[43] = pinInChat */ 36, /* field[36] = pollAdditionalMetadata */ 35, /* field[35] = pollUpdates */ 9, /* field[9] = pushName */ @@ -25861,11 +29291,12 @@ static const unsigned wa__web_message_info__field_indices_by_name[] = { 30, /* field[30] = userReceipt */ 27, /* field[27] = verifiedBizName */ }; -static const ProtobufCIntRange wa__web_message_info__number_ranges[2 + 1] = +static const ProtobufCIntRange wa__web_message_info__number_ranges[3 + 1] = { { 1, 0 }, { 16, 6 }, - { 0, 43 } + { 54, 43 }, + { 0, 44 } }; const ProtobufCMessageDescriptor wa__web_message_info__descriptor = { @@ -25875,12 +29306,11 @@ const ProtobufCMessageDescriptor wa__web_message_info__descriptor = "Wa__WebMessageInfo", "wa", sizeof(Wa__WebMessageInfo), - 43, + 44, wa__web_message_info__field_descriptors, wa__web_message_info__field_indices_by_name, - 2, wa__web_message_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + 3, wa__web_message_info__number_ranges, + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__web_notifications_info__field_descriptors[4] = { @@ -25956,8 +29386,35 @@ const ProtobufCMessageDescriptor wa__web_notifications_info__descriptor = wa__web_notifications_info__field_descriptors, wa__web_notifications_info__field_indices_by_name, 1, wa__web_notifications_info__number_ranges, - NULL, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCEnumValue wa__advencryption_type__enum_values_by_number[2] = +{ + { "E2EE", "WA__ADVENCRYPTION_TYPE__E2EE", 0 }, + { "HOSTED", "WA__ADVENCRYPTION_TYPE__HOSTED", 1 }, +}; +static const ProtobufCIntRange wa__advencryption_type__value_ranges[] = { +{0, 0},{0, 2} +}; +static const ProtobufCEnumValueIndex wa__advencryption_type__enum_values_by_name[2] = +{ + { "E2EE", 0 }, + { "HOSTED", 1 }, +}; +const ProtobufCEnumDescriptor wa__advencryption_type__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "wa.ADVEncryptionType", + "ADVEncryptionType", + "Wa__ADVEncryptionType", + "wa", + 2, + wa__advencryption_type__enum_values_by_number, + 2, + wa__advencryption_type__enum_values_by_name, + 1, + wa__advencryption_type__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue wa__keep_type__enum_values_by_number[3] = { diff --git a/protocols/WhatsApp/src/pmsg.pb-c.h b/protocols/WhatsApp/src/pmsg.pb-c.h index 247b332148..a327047381 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.h +++ b/protocols/WhatsApp/src/pmsg.pb-c.h @@ -21,17 +21,17 @@ struct Wa__ADVSignedDeviceIdentityHMAC; struct Wa__ADVSignedKeyIndexList; struct Wa__ActionLink; struct Wa__AutoDownloadSettings; +struct Wa__AvatarUserSettings; struct Wa__BizAccountLinkInfo; struct Wa__BizAccountPayload; struct Wa__BizIdentityInfo; struct Wa__CertChain; struct Wa__CertChain__NoiseCertificate; struct Wa__CertChain__NoiseCertificate__Details; -struct Wa__Chain; -struct Wa__ChainKey; struct Wa__ClientPayload; struct Wa__ClientPayload__DNSSource; struct Wa__ClientPayload__DevicePairingRegistrationData; +struct Wa__ClientPayload__InteropData; struct Wa__ClientPayload__UserAgent; struct Wa__ClientPayload__UserAgent__AppVersion; struct Wa__ClientPayload__WebInfo; @@ -39,15 +39,19 @@ struct Wa__ClientPayload__WebInfo__WebdPayload; struct Wa__ContextInfo; struct Wa__ContextInfo__AdReplyInfo; struct Wa__ContextInfo__ExternalAdReplyInfo; +struct Wa__ContextInfo__UTMInfo; struct Wa__Conversation; +struct Wa__DeviceConsistencyCodeMessage; struct Wa__DeviceListMetadata; struct Wa__DeviceProps; struct Wa__DeviceProps__AppVersion; +struct Wa__DeviceProps__HistorySyncConfig; struct Wa__DisappearingMode; struct Wa__EphemeralSetting; struct Wa__ExitCode; struct Wa__ExternalBlobReference; struct Wa__GlobalSettings; +struct Wa__GroupMention; struct Wa__GroupParticipant; struct Wa__HandshakeMessage; struct Wa__HandshakeMessage__ClientFinish; @@ -62,6 +66,7 @@ struct Wa__HydratedTemplateButton__HydratedURLButton; struct Wa__IdentityKeyPairStructure; struct Wa__InteractiveAnnotation; struct Wa__KeepInChat; +struct Wa__KeyExchangeMessage; struct Wa__KeyId; struct Wa__LocalizedName; struct Wa__Location; @@ -69,12 +74,12 @@ struct Wa__MediaData; struct Wa__MediaRetryNotification; struct Wa__Message; struct Wa__Message__AppStateFatalExceptionNotification; +struct Wa__Message__AppStateSyncKey; struct Wa__Message__AppStateSyncKeyData; struct Wa__Message__AppStateSyncKeyFingerprint; struct Wa__Message__AppStateSyncKeyId; struct Wa__Message__AppStateSyncKeyRequest; struct Wa__Message__AppStateSyncKeyShare; -struct Wa__Message__AppStateSyncKey; struct Wa__Message__AudioMessage; struct Wa__Message__ButtonsMessage; struct Wa__Message__ButtonsMessage__Button; @@ -89,6 +94,7 @@ struct Wa__Message__ContactsArrayMessage; struct Wa__Message__DeclinePaymentRequestMessage; struct Wa__Message__DeviceSentMessage; struct Wa__Message__DocumentMessage; +struct Wa__Message__EncReactionMessage; struct Wa__Message__ExtendedTextMessage; struct Wa__Message__FutureProofMessage; struct Wa__Message__GroupInviteMessage; @@ -115,10 +121,10 @@ struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage; struct Wa__Message__InvoiceMessage; struct Wa__Message__KeepInChatMessage; struct Wa__Message__ListMessage; +struct Wa__Message__ListMessage__Product; struct Wa__Message__ListMessage__ProductListHeaderImage; struct Wa__Message__ListMessage__ProductListInfo; struct Wa__Message__ListMessage__ProductSection; -struct Wa__Message__ListMessage__Product; struct Wa__Message__ListMessage__Row; struct Wa__Message__ListMessage__Section; struct Wa__Message__ListResponseMessage; @@ -127,22 +133,32 @@ struct Wa__Message__LiveLocationMessage; struct Wa__Message__LocationMessage; struct Wa__Message__OrderMessage; struct Wa__Message__PaymentInviteMessage; +struct Wa__Message__PeerDataOperationRequestMessage; +struct Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest; +struct Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest; +struct Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload; +struct Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview; +struct Wa__Message__PeerDataOperationRequestResponseMessage; +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult; +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse; +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail; +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse; +struct Wa__Message__PinInChatMessage; struct Wa__Message__PollCreationMessage; struct Wa__Message__PollCreationMessage__Option; struct Wa__Message__PollEncValue; -struct Wa__Message__PollUpdateMessageMetadata; struct Wa__Message__PollUpdateMessage; +struct Wa__Message__PollUpdateMessageMetadata; struct Wa__Message__PollVoteMessage; struct Wa__Message__ProductMessage; struct Wa__Message__ProductMessage__CatalogSnapshot; struct Wa__Message__ProductMessage__ProductSnapshot; struct Wa__Message__ProtocolMessage; struct Wa__Message__ReactionMessage; -struct Wa__Message__RequestMediaUploadMessage; -struct Wa__Message__RequestMediaUploadResponseMessage; -struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult; struct Wa__Message__RequestPaymentMessage; struct Wa__Message__RequestPhoneNumberMessage; +struct Wa__Message__ScheduledCallCreationMessage; +struct Wa__Message__ScheduledCallEditMessage; struct Wa__Message__SendPaymentMessage; struct Wa__Message__SenderKeyDistributionMessage; struct Wa__Message__StickerMessage; @@ -152,6 +168,7 @@ struct Wa__Message__TemplateMessage; struct Wa__Message__TemplateMessage__FourRowTemplate; struct Wa__Message__TemplateMessage__HydratedFourRowTemplate; struct Wa__Message__VideoMessage; +struct Wa__MessageAddOnContextInfo; struct Wa__MessageContextInfo; struct Wa__MessageKey; struct Wa__Money; @@ -161,30 +178,39 @@ struct Wa__MsgRowOpaqueData; struct Wa__NoiseCertificate; struct Wa__NoiseCertificate__Details; struct Wa__NotificationMessageInfo; +struct Wa__NotificationSettings; struct Wa__PastParticipant; struct Wa__PastParticipants; struct Wa__PaymentBackground; struct Wa__PaymentBackground__MediaData; struct Wa__PaymentInfo; -struct Wa__PendingKeyExchange; -struct Wa__PendingPreKey; struct Wa__PhotoChange; +struct Wa__PinInChat; struct Wa__Point; struct Wa__PollAdditionalMetadata; struct Wa__PollEncValue; struct Wa__PollUpdate; struct Wa__PreKeyRecordStructure; +struct Wa__PreKeySignalMessage; struct Wa__Pushname; struct Wa__Reaction; struct Wa__RecentEmojiWeight; struct Wa__RecordStructure; -struct Wa__SenderChainKey; +struct Wa__SenderKeyDistributionMessage; +struct Wa__SenderKeyMessage; struct Wa__SenderKeyRecordStructure; struct Wa__SenderKeyStateStructure; -struct Wa__SenderMessageKey; -struct Wa__SenderSigningKey; +struct Wa__SenderKeyStateStructure__SenderChainKey; +struct Wa__SenderKeyStateStructure__SenderMessageKey; +struct Wa__SenderKeyStateStructure__SenderSigningKey; struct Wa__ServerErrorReceipt; struct Wa__SessionStructure; +struct Wa__SessionStructure__Chain; +struct Wa__SessionStructure__Chain__ChainKey; +struct Wa__SessionStructure__Chain__MessageKey; +struct Wa__SessionStructure__PendingKeyExchange; +struct Wa__SessionStructure__PendingPreKey; +struct Wa__SignalMessage; struct Wa__SignedPreKeyRecordStructure; struct Wa__StatusPSA; struct Wa__StickerMetadata; @@ -193,29 +219,37 @@ struct Wa__SyncActionValue; struct Wa__SyncActionValue__AgentAction; struct Wa__SyncActionValue__AndroidUnsupportedActions; struct Wa__SyncActionValue__ArchiveChatAction; +struct Wa__SyncActionValue__ChatAssignmentAction; +struct Wa__SyncActionValue__ChatAssignmentOpenedStatusAction; struct Wa__SyncActionValue__ClearChatAction; struct Wa__SyncActionValue__ContactAction; struct Wa__SyncActionValue__DeleteChatAction; struct Wa__SyncActionValue__DeleteMessageForMeAction; +struct Wa__SyncActionValue__ExternalWebBetaAction; struct Wa__SyncActionValue__KeyExpiration; struct Wa__SyncActionValue__LabelAssociationAction; struct Wa__SyncActionValue__LabelEditAction; struct Wa__SyncActionValue__LocaleSetting; struct Wa__SyncActionValue__MarkChatAsReadAction; +struct Wa__SyncActionValue__MarketingMessageAction; +struct Wa__SyncActionValue__MarketingMessageBroadcastAction; struct Wa__SyncActionValue__MuteAction; struct Wa__SyncActionValue__NuxAction; struct Wa__SyncActionValue__PinAction; +struct Wa__SyncActionValue__PnForLidChatAction; struct Wa__SyncActionValue__PrimaryFeature; struct Wa__SyncActionValue__PrimaryVersionAction; +struct Wa__SyncActionValue__PrivacySettingRelayAllCalls; struct Wa__SyncActionValue__PushNameSetting; struct Wa__SyncActionValue__QuickReplyAction; struct Wa__SyncActionValue__RecentEmojiWeightsAction; +struct Wa__SyncActionValue__RemoveRecentStickerAction; struct Wa__SyncActionValue__SecurityNotificationSetting; struct Wa__SyncActionValue__StarAction; struct Wa__SyncActionValue__StickerAction; struct Wa__SyncActionValue__SubscriptionAction; -struct Wa__SyncActionValue__SyncActionMessageRange; struct Wa__SyncActionValue__SyncActionMessage; +struct Wa__SyncActionValue__SyncActionMessageRange; struct Wa__SyncActionValue__TimeFormatAction; struct Wa__SyncActionValue__UnarchiveChatsSetting; struct Wa__SyncActionValue__UserStatusMuteAction; @@ -239,636 +273,691 @@ struct Wa__WebFeatures; struct Wa__WebMessageInfo; struct Wa__WebNotificationsInfo; + /* --- enums --- */ -typedef enum _Wa__BizAccountLinkInfo__AccountType -{ - WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE = 0 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE) +typedef enum _Wa__BizAccountLinkInfo__AccountType { + WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE = 0 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE) } Wa__BizAccountLinkInfo__AccountType; -typedef enum _Wa__BizAccountLinkInfo__HostStorageType -{ - WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__ON_PREMISE = 0, - WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__FACEBOOK = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE) +typedef enum _Wa__BizAccountLinkInfo__HostStorageType { + WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__ON_PREMISE = 0, + WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__FACEBOOK = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE) } Wa__BizAccountLinkInfo__HostStorageType; -typedef enum _Wa__BizIdentityInfo__ActualActorsType -{ - WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__SELF = 0, - WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__BSP = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE) +typedef enum _Wa__BizIdentityInfo__ActualActorsType { + WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__SELF = 0, + WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__BSP = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE) } Wa__BizIdentityInfo__ActualActorsType; -typedef enum _Wa__BizIdentityInfo__HostStorageType -{ - WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__ON_PREMISE = 0, - WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__FACEBOOK = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE) +typedef enum _Wa__BizIdentityInfo__HostStorageType { + WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__ON_PREMISE = 0, + WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__FACEBOOK = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE) } Wa__BizIdentityInfo__HostStorageType; -typedef enum _Wa__BizIdentityInfo__VerifiedLevelValue -{ - WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__UNKNOWN = 0, - WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__LOW = 1, - WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__HIGH = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE) +typedef enum _Wa__BizIdentityInfo__VerifiedLevelValue { + WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__UNKNOWN = 0, + WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__LOW = 1, + WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__HIGH = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE) } Wa__BizIdentityInfo__VerifiedLevelValue; -typedef enum _Wa__ClientPayload__DNSSource__DNSResolutionMethod -{ - WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM = 0, - WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__GOOGLE = 1, - WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__HARDCODED = 2, - WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__OVERRIDE = 3, - WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__FALLBACK = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD) +typedef enum _Wa__ClientPayload__DNSSource__DNSResolutionMethod { + WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM = 0, + WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__GOOGLE = 1, + WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__HARDCODED = 2, + WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__OVERRIDE = 3, + WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__FALLBACK = 4 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD) } Wa__ClientPayload__DNSSource__DNSResolutionMethod; -typedef enum _Wa__ClientPayload__UserAgent__Platform -{ - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID = 0, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IOS = 1, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS_PHONE = 2, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRY = 3, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRYX = 4, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S40 = 5, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S60 = 6, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PYTHON_CLIENT = 7, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__TIZEN = 8, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ENTERPRISE = 9, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_ANDROID = 10, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__KAIOS = 11, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_IOS = 12, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS = 13, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEB = 14, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PORTAL = 15, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_ANDROID = 16, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_IPHONE = 17, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_ANDROID = 18, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_IPHONE = 19, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__FBLITE_ANDROID = 20, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MLITE_ANDROID = 21, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IGLITE_ANDROID = 22, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PAGE = 23, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MACOS = 24, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_MSG = 25, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_CALL = 26, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MILAN = 27, - WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__CAPI = 28 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM) +typedef enum _Wa__ClientPayload__UserAgent__Platform { + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID = 0, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IOS = 1, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS_PHONE = 2, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRY = 3, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLACKBERRYX = 4, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S40 = 5, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__S60 = 6, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PYTHON_CLIENT = 7, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__TIZEN = 8, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ENTERPRISE = 9, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_ANDROID = 10, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__KAIOS = 11, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__SMB_IOS = 12, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WINDOWS = 13, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEB = 14, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PORTAL = 15, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_ANDROID = 16, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__GREEN_IPHONE = 17, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_ANDROID = 18, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_IPHONE = 19, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__FBLITE_ANDROID = 20, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MLITE_ANDROID = 21, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IGLITE_ANDROID = 22, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__PAGE = 23, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MACOS = 24, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_MSG = 25, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__OCULUS_CALL = 26, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__MILAN = 27, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__CAPI = 28, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEAROS = 29, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ARDEVICE = 30, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__VRDEVICE = 31, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__BLUE_WEB = 32, + WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__IPAD = 33 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM) } Wa__ClientPayload__UserAgent__Platform; -typedef enum _Wa__ClientPayload__UserAgent__ReleaseChannel -{ - WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE = 0, - WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__BETA = 1, - WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__ALPHA = 2, - WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__DEBUG = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL) +typedef enum _Wa__ClientPayload__UserAgent__ReleaseChannel { + WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE = 0, + WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__BETA = 1, + WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__ALPHA = 2, + WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__DEBUG = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL) } Wa__ClientPayload__UserAgent__ReleaseChannel; -typedef enum _Wa__ClientPayload__WebInfo__WebSubPlatform -{ - WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER = 0, - WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__APP_STORE = 1, - WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN_STORE = 2, - WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__DARWIN = 3, - WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WINDA = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM) +typedef enum _Wa__ClientPayload__WebInfo__WebSubPlatform { + WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER = 0, + WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__APP_STORE = 1, + WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN_STORE = 2, + WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__DARWIN = 3, + WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WIN32 = 4 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM) } Wa__ClientPayload__WebInfo__WebSubPlatform; -typedef enum _Wa__ClientPayload__ConnectReason -{ - WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH = 0, - WA__CLIENT_PAYLOAD__CONNECT_REASON__USER_ACTIVATED = 1, - WA__CLIENT_PAYLOAD__CONNECT_REASON__SCHEDULED = 2, - WA__CLIENT_PAYLOAD__CONNECT_REASON__ERROR_RECONNECT = 3, - WA__CLIENT_PAYLOAD__CONNECT_REASON__NETWORK_SWITCH = 4, - WA__CLIENT_PAYLOAD__CONNECT_REASON__PING_RECONNECT = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__CONNECT_REASON) +typedef enum _Wa__ClientPayload__ConnectReason { + WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH = 0, + WA__CLIENT_PAYLOAD__CONNECT_REASON__USER_ACTIVATED = 1, + WA__CLIENT_PAYLOAD__CONNECT_REASON__SCHEDULED = 2, + WA__CLIENT_PAYLOAD__CONNECT_REASON__ERROR_RECONNECT = 3, + WA__CLIENT_PAYLOAD__CONNECT_REASON__NETWORK_SWITCH = 4, + WA__CLIENT_PAYLOAD__CONNECT_REASON__PING_RECONNECT = 5, + WA__CLIENT_PAYLOAD__CONNECT_REASON__UNKNOWN = 6 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__CONNECT_REASON) } Wa__ClientPayload__ConnectReason; -typedef enum _Wa__ClientPayload__ConnectType -{ - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UNKNOWN = 0, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__WIFI_UNKNOWN = 1, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EDGE = 100, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_IDEN = 101, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UMTS = 102, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EVDO = 103, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_GPRS = 104, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSDPA = 105, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSUPA = 106, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPA = 107, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_CDMA = 108, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_1XRTT = 109, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EHRPD = 110, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_LTE = 111, - WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPAP = 112 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__CONNECT_TYPE) +typedef enum _Wa__ClientPayload__ConnectType { + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UNKNOWN = 0, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__WIFI_UNKNOWN = 1, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EDGE = 100, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_IDEN = 101, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UMTS = 102, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EVDO = 103, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_GPRS = 104, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSDPA = 105, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSUPA = 106, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPA = 107, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_CDMA = 108, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_1XRTT = 109, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_EHRPD = 110, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_LTE = 111, + WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_HSPAP = 112 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__CONNECT_TYPE) } Wa__ClientPayload__ConnectType; -typedef enum _Wa__ClientPayload__IOSAppExtension -{ - WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SHARE_EXTENSION = 0, - WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SERVICE_EXTENSION = 1, - WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__INTENTS_EXTENSION = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION) +typedef enum _Wa__ClientPayload__IOSAppExtension { + WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SHARE_EXTENSION = 0, + WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SERVICE_EXTENSION = 1, + WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__INTENTS_EXTENSION = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION) } Wa__ClientPayload__IOSAppExtension; -typedef enum _Wa__ClientPayload__Product -{ - WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP = 0, - WA__CLIENT_PAYLOAD__PRODUCT__MESSENGER = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__PRODUCT) +typedef enum _Wa__ClientPayload__Product { + WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP = 0, + WA__CLIENT_PAYLOAD__PRODUCT__MESSENGER = 1, + WA__CLIENT_PAYLOAD__PRODUCT__INTEROP = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CLIENT_PAYLOAD__PRODUCT) } Wa__ClientPayload__Product; -typedef enum _Wa__ContextInfo__AdReplyInfo__MediaType -{ - WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__NONE = 0, - WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__IMAGE = 1, - WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__VIDEO = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE) +typedef enum _Wa__ContextInfo__AdReplyInfo__MediaType { + WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__NONE = 0, + WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__IMAGE = 1, + WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__VIDEO = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE) } Wa__ContextInfo__AdReplyInfo__MediaType; -typedef enum _Wa__ContextInfo__ExternalAdReplyInfo__MediaType -{ - WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__NONE = 0, - WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__IMAGE = 1, - WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__VIDEO = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE) +typedef enum _Wa__ContextInfo__ExternalAdReplyInfo__MediaType { + WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__NONE = 0, + WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__IMAGE = 1, + WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__VIDEO = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE) } Wa__ContextInfo__ExternalAdReplyInfo__MediaType; -typedef enum _Wa__Conversation__EndOfHistoryTransferType -{ - WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0, - WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE) +typedef enum _Wa__Conversation__EndOfHistoryTransferType { + WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0, + WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1, + WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE) } Wa__Conversation__EndOfHistoryTransferType; -typedef enum _Wa__DeviceProps__PlatformType -{ - WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN = 0, - WA__DEVICE_PROPS__PLATFORM_TYPE__CHROME = 1, - WA__DEVICE_PROPS__PLATFORM_TYPE__FIREFOX = 2, - WA__DEVICE_PROPS__PLATFORM_TYPE__IE = 3, - WA__DEVICE_PROPS__PLATFORM_TYPE__OPERA = 4, - WA__DEVICE_PROPS__PLATFORM_TYPE__SAFARI = 5, - WA__DEVICE_PROPS__PLATFORM_TYPE__EDGE = 6, - WA__DEVICE_PROPS__PLATFORM_TYPE__DESKTOP = 7, - WA__DEVICE_PROPS__PLATFORM_TYPE__IPAD = 8, - WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_TABLET = 9, - WA__DEVICE_PROPS__PLATFORM_TYPE__OHANA = 10, - WA__DEVICE_PROPS__PLATFORM_TYPE__ALOHA = 11, - WA__DEVICE_PROPS__PLATFORM_TYPE__CATALINA = 12, - WA__DEVICE_PROPS__PLATFORM_TYPE__TCL_TV = 13 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__DEVICE_PROPS__PLATFORM_TYPE) +typedef enum _Wa__DeviceProps__PlatformType { + WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN = 0, + WA__DEVICE_PROPS__PLATFORM_TYPE__CHROME = 1, + WA__DEVICE_PROPS__PLATFORM_TYPE__FIREFOX = 2, + WA__DEVICE_PROPS__PLATFORM_TYPE__IE = 3, + WA__DEVICE_PROPS__PLATFORM_TYPE__OPERA = 4, + WA__DEVICE_PROPS__PLATFORM_TYPE__SAFARI = 5, + WA__DEVICE_PROPS__PLATFORM_TYPE__EDGE = 6, + WA__DEVICE_PROPS__PLATFORM_TYPE__DESKTOP = 7, + WA__DEVICE_PROPS__PLATFORM_TYPE__IPAD = 8, + WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_TABLET = 9, + WA__DEVICE_PROPS__PLATFORM_TYPE__OHANA = 10, + WA__DEVICE_PROPS__PLATFORM_TYPE__ALOHA = 11, + WA__DEVICE_PROPS__PLATFORM_TYPE__CATALINA = 12, + WA__DEVICE_PROPS__PLATFORM_TYPE__TCL_TV = 13, + WA__DEVICE_PROPS__PLATFORM_TYPE__IOS_PHONE = 14, + WA__DEVICE_PROPS__PLATFORM_TYPE__IOS_CATALYST = 15, + WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_PHONE = 16, + WA__DEVICE_PROPS__PLATFORM_TYPE__ANDROID_AMBIGUOUS = 17, + WA__DEVICE_PROPS__PLATFORM_TYPE__WEAR_OS = 18, + WA__DEVICE_PROPS__PLATFORM_TYPE__AR_WRIST = 19, + WA__DEVICE_PROPS__PLATFORM_TYPE__AR_DEVICE = 20 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__DEVICE_PROPS__PLATFORM_TYPE) } Wa__DeviceProps__PlatformType; -typedef enum _Wa__DisappearingMode__Initiator -{ - WA__DISAPPEARING_MODE__INITIATOR__CHANGED_IN_CHAT = 0, - WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_ME = 1, - WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_OTHER = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__DISAPPEARING_MODE__INITIATOR) +typedef enum _Wa__DisappearingMode__Initiator { + WA__DISAPPEARING_MODE__INITIATOR__CHANGED_IN_CHAT = 0, + WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_ME = 1, + WA__DISAPPEARING_MODE__INITIATOR__INITIATED_BY_OTHER = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__DISAPPEARING_MODE__INITIATOR) } Wa__DisappearingMode__Initiator; -typedef enum _Wa__GroupParticipant__Rank -{ - WA__GROUP_PARTICIPANT__RANK__REGULAR = 0, - WA__GROUP_PARTICIPANT__RANK__ADMIN = 1, - WA__GROUP_PARTICIPANT__RANK__SUPERADMIN = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__GROUP_PARTICIPANT__RANK) +typedef enum _Wa__GroupParticipant__Rank { + WA__GROUP_PARTICIPANT__RANK__REGULAR = 0, + WA__GROUP_PARTICIPANT__RANK__ADMIN = 1, + WA__GROUP_PARTICIPANT__RANK__SUPERADMIN = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__GROUP_PARTICIPANT__RANK) } Wa__GroupParticipant__Rank; -typedef enum _Wa__HistorySync__HistorySyncType -{ - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP = 0, - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3 = 1, - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__FULL = 2, - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__RECENT = 3, - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__PUSH_NAME = 4, - WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__UNBLOCKING_DATA = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__HISTORY_SYNC__HISTORY_SYNC_TYPE) +typedef enum _Wa__HistorySync__HistorySyncType { + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP = 0, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3 = 1, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__FULL = 2, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__RECENT = 3, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__PUSH_NAME = 4, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__NON_BLOCKING_DATA = 5, + WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__ON_DEMAND = 6 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__HISTORY_SYNC__HISTORY_SYNC_TYPE) } Wa__HistorySync__HistorySyncType; -typedef enum _Wa__MediaRetryNotification__ResultType -{ - WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR = 0, - WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__SUCCESS = 1, - WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__NOT_FOUND = 2, - WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__DECRYPTION_ERROR = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE) +typedef enum _Wa__MediaRetryNotification__ResultType { + WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR = 0, + WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__SUCCESS = 1, + WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__NOT_FOUND = 2, + WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__DECRYPTION_ERROR = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE) } Wa__MediaRetryNotification__ResultType; -typedef enum _Wa__Message__ButtonsMessage__Button__Type -{ - WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__UNKNOWN = 0, - WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__RESPONSE = 1, - WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__NATIVE_FLOW = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE) +typedef enum _Wa__Message__ButtonsMessage__Button__Type { + WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__UNKNOWN = 0, + WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__RESPONSE = 1, + WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__NATIVE_FLOW = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE) } Wa__Message__ButtonsMessage__Button__Type; -typedef enum _Wa__Message__ButtonsMessage__HeaderType -{ - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__UNKNOWN = 0, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__EMPTY = 1, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__TEXT = 2, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__DOCUMENT = 3, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__IMAGE = 4, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__VIDEO = 5, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__LOCATION = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE) +typedef enum _Wa__Message__ButtonsMessage__HeaderType { + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__UNKNOWN = 0, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__EMPTY = 1, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__TEXT = 2, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__DOCUMENT = 3, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__IMAGE = 4, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__VIDEO = 5, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__LOCATION = 6 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE) } Wa__Message__ButtonsMessage__HeaderType; -typedef enum _Wa__Message__ButtonsResponseMessage__Type -{ - WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__UNKNOWN = 0, - WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__DISPLAY_TEXT = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE) +typedef enum _Wa__Message__ButtonsResponseMessage__Type { + WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__UNKNOWN = 0, + WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__DISPLAY_TEXT = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE) } Wa__Message__ButtonsResponseMessage__Type; -typedef enum _Wa__Message__ExtendedTextMessage__FontType -{ - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF = 0, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SERIF = 1, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__NORICAN_REGULAR = 2, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BRYNDAN_WRITE = 3, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BEBASNEUE_REGULAR = 4, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__OSWALD_HEAVY = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE) +typedef enum _Wa__Message__ExtendedTextMessage__FontType { + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF = 0, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SERIF = 1, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__NORICAN_REGULAR = 2, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BRYNDAN_WRITE = 3, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__BEBASNEUE_REGULAR = 4, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__OSWALD_HEAVY = 5, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SYSTEM_BOLD = 6, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__MORNINGBREEZE_REGULAR = 7, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__CALISTOGA_REGULAR = 8, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__EXO2_EXTRABOLD = 9, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__COURIERPRIME_BOLD = 10 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE) } Wa__Message__ExtendedTextMessage__FontType; -typedef enum _Wa__Message__ExtendedTextMessage__InviteLinkGroupType -{ - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT = 0, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__PARENT = 1, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__SUB = 2, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT_SUB = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE) +typedef enum _Wa__Message__ExtendedTextMessage__InviteLinkGroupType { + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT = 0, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__PARENT = 1, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__SUB = 2, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT_SUB = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE) } Wa__Message__ExtendedTextMessage__InviteLinkGroupType; -typedef enum _Wa__Message__ExtendedTextMessage__PreviewType -{ - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__NONE = 0, - WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__VIDEO = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE) +typedef enum _Wa__Message__ExtendedTextMessage__PreviewType { + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__NONE = 0, + WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__VIDEO = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE) } Wa__Message__ExtendedTextMessage__PreviewType; -typedef enum _Wa__Message__GroupInviteMessage__GroupType -{ - WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__DEFAULT = 0, - WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__PARENT = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE) +typedef enum _Wa__Message__GroupInviteMessage__GroupType { + WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__DEFAULT = 0, + WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__PARENT = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE) } Wa__Message__GroupInviteMessage__GroupType; -typedef enum _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType -{ - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__GREGORIAN = 1, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__SOLAR_HIJRI = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE) +typedef enum _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType { + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__GREGORIAN = 1, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__SOLAR_HIJRI = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType; -typedef enum _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType -{ - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__MONDAY = 1, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__TUESDAY = 2, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__WEDNESDAY = 3, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__THURSDAY = 4, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__FRIDAY = 5, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SATURDAY = 6, - WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SUNDAY = 7 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE) +typedef enum _Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType { + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__MONDAY = 1, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__TUESDAY = 2, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__WEDNESDAY = 3, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__THURSDAY = 4, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__FRIDAY = 5, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SATURDAY = 6, + WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__SUNDAY = 7 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType; -typedef enum _Wa__Message__HistorySyncNotification__HistorySyncType -{ - WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP = 0, - WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3 = 1, - WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__FULL = 2, - WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__RECENT = 3, - WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__PUSH_NAME = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE) +typedef enum _Wa__Message__HistorySyncNotification__HistorySyncType { + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP = 0, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_STATUS_V3 = 1, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__FULL = 2, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__RECENT = 3, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__PUSH_NAME = 4, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__NON_BLOCKING_DATA = 5, + WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__ON_DEMAND = 6 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE) } Wa__Message__HistorySyncNotification__HistorySyncType; -typedef enum _Wa__Message__InteractiveMessage__ShopMessage__Surface -{ - WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__UNKNOWN_SURFACE = 0, - WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__FB = 1, - WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__IG = 2, - WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__WA = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE) +typedef enum _Wa__Message__InteractiveMessage__ShopMessage__Surface { + WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__UNKNOWN_SURFACE = 0, + WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__FB = 1, + WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__IG = 2, + WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__WA = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE) } Wa__Message__InteractiveMessage__ShopMessage__Surface; -typedef enum _Wa__Message__InvoiceMessage__AttachmentType -{ - WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__IMAGE = 0, - WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__PDF = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE) +typedef enum _Wa__Message__InteractiveResponseMessage__Body__Format { + WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__FORMAT__DEFAULT = 0, + WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__FORMAT__EXTENSIONS_1 = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__FORMAT) +} Wa__Message__InteractiveResponseMessage__Body__Format; +typedef enum _Wa__Message__InvoiceMessage__AttachmentType { + WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__IMAGE = 0, + WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__PDF = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE) } Wa__Message__InvoiceMessage__AttachmentType; -typedef enum _Wa__Message__ListMessage__ListType -{ - WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__UNKNOWN = 0, - WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__SINGLE_SELECT = 1, - WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__PRODUCT_LIST = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__LIST_MESSAGE__LIST_TYPE) +typedef enum _Wa__Message__ListMessage__ListType { + WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__UNKNOWN = 0, + WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__SINGLE_SELECT = 1, + WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__PRODUCT_LIST = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__LIST_MESSAGE__LIST_TYPE) } Wa__Message__ListMessage__ListType; -typedef enum _Wa__Message__ListResponseMessage__ListType -{ - WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__UNKNOWN = 0, - WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__SINGLE_SELECT = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE) +typedef enum _Wa__Message__ListResponseMessage__ListType { + WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__UNKNOWN = 0, + WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__SINGLE_SELECT = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE) } Wa__Message__ListResponseMessage__ListType; -typedef enum _Wa__Message__OrderMessage__OrderStatus -{ - WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS__INQUIRY = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS) +typedef enum _Wa__Message__OrderMessage__OrderStatus { + WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS__INQUIRY = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS) } Wa__Message__OrderMessage__OrderStatus; -typedef enum _Wa__Message__OrderMessage__OrderSurface -{ - WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE__CATALOG = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE) +typedef enum _Wa__Message__OrderMessage__OrderSurface { + WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE__CATALOG = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE) } Wa__Message__OrderMessage__OrderSurface; -typedef enum _Wa__Message__PaymentInviteMessage__ServiceType -{ - WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UNKNOWN = 0, - WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__FBPAY = 1, - WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__NOVI = 2, - WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UPI = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE) +typedef enum _Wa__Message__PaymentInviteMessage__ServiceType { + WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UNKNOWN = 0, + WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__FBPAY = 1, + WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__NOVI = 2, + WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UPI = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE) } Wa__Message__PaymentInviteMessage__ServiceType; -typedef enum _Wa__Message__ProtocolMessage__Type -{ - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE = 0, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SETTING = 3, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SYNC_RESPONSE = 4, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__HISTORY_SYNC_NOTIFICATION = 5, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_SHARE = 6, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_REQUEST = 7, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__MSG_FANOUT_BACKFILL_REQUEST = 8, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__SHARE_PHONE_NUMBER = 11, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_MESSAGE = 12, - WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE = 13 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PROTOCOL_MESSAGE__TYPE) +typedef enum _Wa__Message__PinInChatMessage__Type { + WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__UNKNOWN_TYPE = 0, + WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__PIN_FOR_ALL = 1, + WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE__UNPIN_FOR_ALL = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PIN_IN_CHAT_MESSAGE__TYPE) +} Wa__Message__PinInChatMessage__Type; +typedef enum _Wa__Message__ProtocolMessage__Type { + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE = 0, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SETTING = 3, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__EPHEMERAL_SYNC_RESPONSE = 4, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__HISTORY_SYNC_NOTIFICATION = 5, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_SHARE = 6, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_SYNC_KEY_REQUEST = 7, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__MSG_FANOUT_BACKFILL_REQUEST = 8, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__SHARE_PHONE_NUMBER = 11, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__MESSAGE_EDIT = 14, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__PEER_DATA_OPERATION_REQUEST_MESSAGE = 16, + WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PROTOCOL_MESSAGE__TYPE) } Wa__Message__ProtocolMessage__Type; -typedef enum _Wa__Message__VideoMessage__Attribution -{ - WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__NONE = 0, - WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__GIPHY = 1, - WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__TENOR = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION) +typedef enum _Wa__Message__ScheduledCallCreationMessage__CallType { + WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__UNKNOWN = 0, + WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__VOICE = 1, + WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE__VIDEO = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__SCHEDULED_CALL_CREATION_MESSAGE__CALL_TYPE) +} Wa__Message__ScheduledCallCreationMessage__CallType; +typedef enum _Wa__Message__ScheduledCallEditMessage__EditType { + WA__MESSAGE__SCHEDULED_CALL_EDIT_MESSAGE__EDIT_TYPE__UNKNOWN = 0, + WA__MESSAGE__SCHEDULED_CALL_EDIT_MESSAGE__EDIT_TYPE__CANCEL = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__SCHEDULED_CALL_EDIT_MESSAGE__EDIT_TYPE) +} Wa__Message__ScheduledCallEditMessage__EditType; +typedef enum _Wa__Message__VideoMessage__Attribution { + WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__NONE = 0, + WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__GIPHY = 1, + WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__TENOR = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION) } Wa__Message__VideoMessage__Attribution; -typedef enum _Wa__Message__RmrSource -{ - WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER = 0, - WA__MESSAGE__RMR_SOURCE__RECENT_STICKER = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__RMR_SOURCE) -} Wa__Message__RmrSource; -typedef enum _Wa__PastParticipant__LeaveReason -{ - WA__PAST_PARTICIPANT__LEAVE_REASON__LEFT = 0, - WA__PAST_PARTICIPANT__LEAVE_REASON__REMOVED = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAST_PARTICIPANT__LEAVE_REASON) +typedef enum _Wa__Message__PeerDataOperationRequestType { + WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__UPLOAD_STICKER = 0, + WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__SEND_RECENT_STICKER_BOOTSTRAP = 1, + WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__GENERATE_LINK_PREVIEW = 2, + WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__HISTORY_SYNC_ON_DEMAND = 3, + WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE__PLACEHOLDER_MESSAGE_RESEND = 4 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__PEER_DATA_OPERATION_REQUEST_TYPE) +} Wa__Message__PeerDataOperationRequestType; +typedef enum _Wa__PastParticipant__LeaveReason { + WA__PAST_PARTICIPANT__LEAVE_REASON__LEFT = 0, + WA__PAST_PARTICIPANT__LEAVE_REASON__REMOVED = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAST_PARTICIPANT__LEAVE_REASON) } Wa__PastParticipant__LeaveReason; typedef enum _Wa__PaymentBackground__Type { - WA__PAYMENT_BACKGROUND__TYPE__UNKNOWN = 0, - WA__PAYMENT_BACKGROUND__TYPE__DEFAULT = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_BACKGROUND__TYPE) + WA__PAYMENT_BACKGROUND__TYPE__UNKNOWN = 0, + WA__PAYMENT_BACKGROUND__TYPE__DEFAULT = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_BACKGROUND__TYPE) } Wa__PaymentBackground__Type; typedef enum _Wa__PaymentInfo__Currency { - WA__PAYMENT_INFO__CURRENCY__UNKNOWN_CURRENCY = 0, - WA__PAYMENT_INFO__CURRENCY__INR = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__CURRENCY) + WA__PAYMENT_INFO__CURRENCY__UNKNOWN_CURRENCY = 0, + WA__PAYMENT_INFO__CURRENCY__INR = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__CURRENCY) } Wa__PaymentInfo__Currency; typedef enum _Wa__PaymentInfo__Status { - WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS = 0, - WA__PAYMENT_INFO__STATUS__PROCESSING = 1, - WA__PAYMENT_INFO__STATUS__SENT = 2, - WA__PAYMENT_INFO__STATUS__NEED_TO_ACCEPT = 3, - WA__PAYMENT_INFO__STATUS__COMPLETE = 4, - WA__PAYMENT_INFO__STATUS__COULD_NOT_COMPLETE = 5, - WA__PAYMENT_INFO__STATUS__REFUNDED = 6, - WA__PAYMENT_INFO__STATUS__EXPIRED = 7, - WA__PAYMENT_INFO__STATUS__REJECTED = 8, - WA__PAYMENT_INFO__STATUS__CANCELLED = 9, - WA__PAYMENT_INFO__STATUS__WAITING_FOR_PAYER = 10, - WA__PAYMENT_INFO__STATUS__WAITING = 11 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__STATUS) + WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS = 0, + WA__PAYMENT_INFO__STATUS__PROCESSING = 1, + WA__PAYMENT_INFO__STATUS__SENT = 2, + WA__PAYMENT_INFO__STATUS__NEED_TO_ACCEPT = 3, + WA__PAYMENT_INFO__STATUS__COMPLETE = 4, + WA__PAYMENT_INFO__STATUS__COULD_NOT_COMPLETE = 5, + WA__PAYMENT_INFO__STATUS__REFUNDED = 6, + WA__PAYMENT_INFO__STATUS__EXPIRED = 7, + WA__PAYMENT_INFO__STATUS__REJECTED = 8, + WA__PAYMENT_INFO__STATUS__CANCELLED = 9, + WA__PAYMENT_INFO__STATUS__WAITING_FOR_PAYER = 10, + WA__PAYMENT_INFO__STATUS__WAITING = 11 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__STATUS) } Wa__PaymentInfo__Status; typedef enum _Wa__PaymentInfo__TxnStatus { - WA__PAYMENT_INFO__TXN_STATUS__UNKNOWN = 0, - WA__PAYMENT_INFO__TXN_STATUS__PENDING_SETUP = 1, - WA__PAYMENT_INFO__TXN_STATUS__PENDING_RECEIVER_SETUP = 2, - WA__PAYMENT_INFO__TXN_STATUS__INIT = 3, - WA__PAYMENT_INFO__TXN_STATUS__SUCCESS = 4, - WA__PAYMENT_INFO__TXN_STATUS__COMPLETED = 5, - WA__PAYMENT_INFO__TXN_STATUS__FAILED = 6, - WA__PAYMENT_INFO__TXN_STATUS__FAILED_RISK = 7, - WA__PAYMENT_INFO__TXN_STATUS__FAILED_PROCESSING = 8, - WA__PAYMENT_INFO__TXN_STATUS__FAILED_RECEIVER_PROCESSING = 9, - WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA = 10, - WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA_FINAL = 11, - WA__PAYMENT_INFO__TXN_STATUS__REFUNDED_TXN = 12, - WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED = 13, - WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_PROCESSING = 14, - WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_DA = 15, - WA__PAYMENT_INFO__TXN_STATUS__EXPIRED_TXN = 16, - WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCELED = 17, - WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED_PROCESSING = 18, - WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED = 19, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_INIT = 20, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_SUCCESS = 21, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED = 22, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED_RISK = 23, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_REJECTED = 24, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_EXPIRED = 25, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELED = 26, - WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELLING = 27, - WA__PAYMENT_INFO__TXN_STATUS__IN_REVIEW = 28, - WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_SUCCESS = 29, - WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_PENDING = 30, - WA__PAYMENT_INFO__TXN_STATUS__REFUND_PENDING = 31 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__TXN_STATUS) + WA__PAYMENT_INFO__TXN_STATUS__UNKNOWN = 0, + WA__PAYMENT_INFO__TXN_STATUS__PENDING_SETUP = 1, + WA__PAYMENT_INFO__TXN_STATUS__PENDING_RECEIVER_SETUP = 2, + WA__PAYMENT_INFO__TXN_STATUS__INIT = 3, + WA__PAYMENT_INFO__TXN_STATUS__SUCCESS = 4, + WA__PAYMENT_INFO__TXN_STATUS__COMPLETED = 5, + WA__PAYMENT_INFO__TXN_STATUS__FAILED = 6, + WA__PAYMENT_INFO__TXN_STATUS__FAILED_RISK = 7, + WA__PAYMENT_INFO__TXN_STATUS__FAILED_PROCESSING = 8, + WA__PAYMENT_INFO__TXN_STATUS__FAILED_RECEIVER_PROCESSING = 9, + WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA = 10, + WA__PAYMENT_INFO__TXN_STATUS__FAILED_DA_FINAL = 11, + WA__PAYMENT_INFO__TXN_STATUS__REFUNDED_TXN = 12, + WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED = 13, + WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_PROCESSING = 14, + WA__PAYMENT_INFO__TXN_STATUS__REFUND_FAILED_DA = 15, + WA__PAYMENT_INFO__TXN_STATUS__EXPIRED_TXN = 16, + WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCELED = 17, + WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED_PROCESSING = 18, + WA__PAYMENT_INFO__TXN_STATUS__AUTH_CANCEL_FAILED = 19, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_INIT = 20, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_SUCCESS = 21, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED = 22, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_FAILED_RISK = 23, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_REJECTED = 24, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_EXPIRED = 25, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELED = 26, + WA__PAYMENT_INFO__TXN_STATUS__COLLECT_CANCELLING = 27, + WA__PAYMENT_INFO__TXN_STATUS__IN_REVIEW = 28, + WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_SUCCESS = 29, + WA__PAYMENT_INFO__TXN_STATUS__REVERSAL_PENDING = 30, + WA__PAYMENT_INFO__TXN_STATUS__REFUND_PENDING = 31 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PAYMENT_INFO__TXN_STATUS) } Wa__PaymentInfo__TxnStatus; -typedef enum _Wa__SyncdMutation__SyncdOperation -{ - WA__SYNCD_MUTATION__SYNCD_OPERATION__SET = 0, - WA__SYNCD_MUTATION__SYNCD_OPERATION__REMOVE = 1 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__SYNCD_MUTATION__SYNCD_OPERATION) +typedef enum _Wa__PinInChat__Type { + WA__PIN_IN_CHAT__TYPE__UNKNOWN_TYPE = 0, + WA__PIN_IN_CHAT__TYPE__PIN_FOR_ALL = 1, + WA__PIN_IN_CHAT__TYPE__UNPIN_FOR_ALL = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__PIN_IN_CHAT__TYPE) +} Wa__PinInChat__Type; +typedef enum _Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType { + WA__SYNC_ACTION_VALUE__MARKETING_MESSAGE_ACTION__MARKETING_MESSAGE_PROTOTYPE_TYPE__PERSONALIZED = 0 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__SYNC_ACTION_VALUE__MARKETING_MESSAGE_ACTION__MARKETING_MESSAGE_PROTOTYPE_TYPE) +} Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType; +typedef enum _Wa__SyncdMutation__SyncdOperation { + WA__SYNCD_MUTATION__SYNCD_OPERATION__SET = 0, + WA__SYNCD_MUTATION__SYNCD_OPERATION__REMOVE = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__SYNCD_MUTATION__SYNCD_OPERATION) } Wa__SyncdMutation__SyncdOperation; typedef enum _Wa__WebFeatures__Flag { - WA__WEB_FEATURES__FLAG__NOT_STARTED = 0, - WA__WEB_FEATURES__FLAG__FORCE_UPGRADE = 1, - WA__WEB_FEATURES__FLAG__DEVELOPMENT = 2, - WA__WEB_FEATURES__FLAG__PRODUCTION = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_FEATURES__FLAG) + WA__WEB_FEATURES__FLAG__NOT_STARTED = 0, + WA__WEB_FEATURES__FLAG__FORCE_UPGRADE = 1, + WA__WEB_FEATURES__FLAG__DEVELOPMENT = 2, + WA__WEB_FEATURES__FLAG__PRODUCTION = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_FEATURES__FLAG) } Wa__WebFeatures__Flag; typedef enum _Wa__WebMessageInfo__BizPrivacyStatus { - WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__E2EE = 0, - WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__FB = 2, - WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP = 1, - WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP_AND_FB = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS) + WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__E2EE = 0, + WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__FB = 2, + WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP = 1, + WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__BSP_AND_FB = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS) } Wa__WebMessageInfo__BizPrivacyStatus; typedef enum _Wa__WebMessageInfo__Status { - WA__WEB_MESSAGE_INFO__STATUS__ERROR = 0, - WA__WEB_MESSAGE_INFO__STATUS__PENDING = 1, - WA__WEB_MESSAGE_INFO__STATUS__SERVER_ACK = 2, - WA__WEB_MESSAGE_INFO__STATUS__DELIVERY_ACK = 3, - WA__WEB_MESSAGE_INFO__STATUS__READ = 4, - WA__WEB_MESSAGE_INFO__STATUS__PLAYED = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__STATUS) + WA__WEB_MESSAGE_INFO__STATUS__ERROR = 0, + WA__WEB_MESSAGE_INFO__STATUS__PENDING = 1, + WA__WEB_MESSAGE_INFO__STATUS__SERVER_ACK = 2, + WA__WEB_MESSAGE_INFO__STATUS__DELIVERY_ACK = 3, + WA__WEB_MESSAGE_INFO__STATUS__READ = 4, + WA__WEB_MESSAGE_INFO__STATUS__PLAYED = 5 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__STATUS) } Wa__WebMessageInfo__Status; typedef enum _Wa__WebMessageInfo__StubType { - WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN = 0, - WA__WEB_MESSAGE_INFO__STUB_TYPE__REVOKE = 1, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CIPHERTEXT = 2, - WA__WEB_MESSAGE_INFO__STUB_TYPE__FUTUREPROOF = 3, - WA__WEB_MESSAGE_INFO__STUB_TYPE__NON_VERIFIED_TRANSITION = 4, - WA__WEB_MESSAGE_INFO__STUB_TYPE__UNVERIFIED_TRANSITION = 5, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION = 6, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_LOW_UNKNOWN = 7, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_HIGH = 8, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_UNKNOWN = 9, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_LOW = 10, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_HIGH = 11, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_NONE = 12, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_HIGH = 13, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_LOW = 14, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_LOW = 18, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE = 20, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_SUBJECT = 21, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ICON = 22, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_INVITE_LINK = 23, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_DESCRIPTION = 24, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_RESTRICT = 25, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ANNOUNCE = 26, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD = 27, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_REMOVE = 28, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_PROMOTE = 29, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_DEMOTE = 30, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_INVITE = 31, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LEAVE = 32, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_CHANGE_NUMBER = 33, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_CREATE = 34, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_ADD = 35, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_REMOVE = 36, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GENERIC_NOTIFICATION = 37, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_CHANGED = 38, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED = 39, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VOICE = 40, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VIDEO = 41, - WA__WEB_MESSAGE_INFO__STUB_TYPE__INDIVIDUAL_CHANGE_NUMBER = 42, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_DELETE = 43, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VOICE = 45, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VIDEO = 46, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_CIPHERTEXT = 47, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_FUTUREPROOF = 48, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_DECLINED = 57, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_EXPIRED = 58, - WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_CANCELLED = 59, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_TOP = 62, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_BOTTOM = 63, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_NAME_CHANGE = 64, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_MOVE_TO_CONSUMER_APP = 65, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_TOP = 66, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_BOTTOM = 67, - WA__WEB_MESSAGE_INFO__STUB_TYPE__OVERSIZED = 68, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_V4_ADD_INVITE_SENT = 70, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71, - WA__WEB_MESSAGE_INFO__STUB_TYPE__CHANGE_EPHEMERAL_SETTING = 72, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_CHANGED = 73, - WA__WEB_MESSAGE_INFO__STUB_TYPE__VIEWED_ONCE = 74, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED_NOW = 75, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_FB = 77, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED = 79, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED = 81, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED = 86, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED = 94, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED = 96, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_VERIFIED = 100, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_BSP_FB = 101, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_CONSUMER = 102, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_SELF_FB = 103, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_UNAVAILABLE = 118, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATING = 119, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE_FAILED = 120, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_BOUNCED = 121, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BLOCK_CONTACT = 122, - WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_SETTING_NOT_APPLIED = 123, - WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNC_FAILED = 124, - WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNCING = 125, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_FB = 126, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_BSP = 127, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_FB = 128, - WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_BSP = 129, - WA__WEB_MESSAGE_INFO__STUB_TYPE__DISAPPEARING_MODE = 130, - WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_FETCH_FAILED = 131, - WA__WEB_MESSAGE_INFO__STUB_TYPE__ADMIN_REVOKE = 132, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_INVITE_LINK_GROWTH_LOCKED = 133, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP = 134, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SIBLING_GROUP = 135, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SUB_GROUP = 136, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_PARENT_GROUP = 137, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SIBLING_GROUP = 138, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SUB_GROUP = 139, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ACCEPT = 140, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_CREATE = 142, - WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_KEEP_IN_CHAT = 143, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144, - WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145, - WA__WEB_MESSAGE_INFO__STUB_TYPE__INTEGRITY_UNLINK_PARENT_GROUP = 146, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_PROMOTE = 147, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_DEMOTE = 148, - WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_DELETED = 149 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__STUB_TYPE) + WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN = 0, + WA__WEB_MESSAGE_INFO__STUB_TYPE__REVOKE = 1, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CIPHERTEXT = 2, + WA__WEB_MESSAGE_INFO__STUB_TYPE__FUTUREPROOF = 3, + WA__WEB_MESSAGE_INFO__STUB_TYPE__NON_VERIFIED_TRANSITION = 4, + WA__WEB_MESSAGE_INFO__STUB_TYPE__UNVERIFIED_TRANSITION = 5, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION = 6, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_LOW_UNKNOWN = 7, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_HIGH = 8, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_UNKNOWN = 9, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_LOW = 10, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_INITIAL_HIGH = 11, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_NONE = 12, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_ANY_TO_HIGH = 13, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_LOW = 14, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_LOW = 18, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE = 20, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_SUBJECT = 21, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ICON = 22, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_INVITE_LINK = 23, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_DESCRIPTION = 24, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_RESTRICT = 25, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_ANNOUNCE = 26, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD = 27, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_REMOVE = 28, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_PROMOTE = 29, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_DEMOTE = 30, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_INVITE = 31, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LEAVE = 32, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_CHANGE_NUMBER = 33, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_CREATE = 34, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_ADD = 35, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BROADCAST_REMOVE = 36, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GENERIC_NOTIFICATION = 37, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_CHANGED = 38, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED = 39, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VOICE = 40, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_VIDEO = 41, + WA__WEB_MESSAGE_INFO__STUB_TYPE__INDIVIDUAL_CHANGE_NUMBER = 42, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_DELETE = 43, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VOICE = 45, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CALL_MISSED_GROUP_VIDEO = 46, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_CIPHERTEXT = 47, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_FUTUREPROOF = 48, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_DECLINED = 57, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_EXPIRED = 58, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_ACTION_REQUEST_CANCELLED = 59, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_TOP = 62, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_INTRO_BOTTOM = 63, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_NAME_CHANGE = 64, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_MOVE_TO_CONSUMER_APP = 65, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_TOP = 66, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_TWO_TIER_MIGRATION_BOTTOM = 67, + WA__WEB_MESSAGE_INFO__STUB_TYPE__OVERSIZED = 68, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_V4_ADD_INVITE_SENT = 70, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CHANGE_EPHEMERAL_SETTING = 72, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_CHANGED = 73, + WA__WEB_MESSAGE_INFO__STUB_TYPE__VIEWED_ONCE = 74, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_ENCRYPTED_NOW = 75, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_FB = 77, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED = 79, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED = 81, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED = 86, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED = 94, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED = 96, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_PREMISE_VERIFIED = 100, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_BSP_FB = 101, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_CONSUMER = 102, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_TO_SELF_FB = 103, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_IDENTITY_UNAVAILABLE = 118, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATING = 119, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_CREATE_FAILED = 120, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_BOUNCED = 121, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BLOCK_CONTACT = 122, + WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_SETTING_NOT_APPLIED = 123, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNC_FAILED = 124, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SYNCING = 125, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_FB = 126, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_INIT_BSP = 127, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_FB = 128, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_PRIVACY_MODE_TO_BSP = 129, + WA__WEB_MESSAGE_INFO__STUB_TYPE__DISAPPEARING_MODE = 130, + WA__WEB_MESSAGE_INFO__STUB_TYPE__E2E_DEVICE_FETCH_FAILED = 131, + WA__WEB_MESSAGE_INFO__STUB_TYPE__ADMIN_REVOKE = 132, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_INVITE_LINK_GROWTH_LOCKED = 133, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP = 134, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SIBLING_GROUP = 135, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_SUB_GROUP = 136, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_PARENT_GROUP = 137, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SIBLING_GROUP = 138, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_UNLINK_SUB_GROUP = 139, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_ACCEPT = 140, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_CREATE = 142, + WA__WEB_MESSAGE_INFO__STUB_TYPE__EPHEMERAL_KEEP_IN_CHAT = 143, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145, + WA__WEB_MESSAGE_INFO__STUB_TYPE__INTEGRITY_UNLINK_PARENT_GROUP = 146, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_PROMOTE = 147, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_DEMOTE = 148, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_DELETED = 149, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151, + WA__WEB_MESSAGE_INFO__STUB_TYPE__MASKED_THREAD_CREATED = 152, + WA__WEB_MESSAGE_INFO__STUB_TYPE__MASKED_THREAD_UNMASKED = 153, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_CHAT_ASSIGNMENT = 154, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CHAT_PSA = 155, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CHAT_POLL_CREATION_MESSAGE = 156, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_MASKED_THREAD_CREATED = 157, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_INVITE_AUTO_ADD = 159, + WA__WEB_MESSAGE_INFO__STUB_TYPE__BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160, + WA__WEB_MESSAGE_INFO__STUB_TYPE__CAG_INVITE_AUTO_JOINED = 161, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SCHEDULED_CALL_START_MESSAGE = 162, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_INVITE_RICH = 163, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_INVITE_AUTO_ADD_RICH = 164, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SUB_GROUP_INVITE_RICH = 165, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SUB_GROUP_PARTICIPANT_ADD_RICH = 166, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_LINK_PARENT_GROUP_RICH = 167, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_PARTICIPANT_ADD_RICH = 168, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SILENCED_UNKNOWN_CALLER_AUDIO = 169, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SILENCED_UNKNOWN_CALLER_VIDEO = 170, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBER_ADD_MODE = 171, + WA__WEB_MESSAGE_INFO__STUB_TYPE__GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_CHANGE_DESCRIPTION = 173, + WA__WEB_MESSAGE_INFO__STUB_TYPE__SENDER_INVITE = 174, + WA__WEB_MESSAGE_INFO__STUB_TYPE__RECEIVER_INVITE = 175, + WA__WEB_MESSAGE_INFO__STUB_TYPE__COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PINNED_MESSAGE_IN_CHAT = 177, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITER = 178, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179, + WA__WEB_MESSAGE_INFO__STUB_TYPE__PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180, + WA__WEB_MESSAGE_INFO__STUB_TYPE__LINKED_GROUP_CALL_START = 181, + WA__WEB_MESSAGE_INFO__STUB_TYPE__REPORT_TO_ADMIN_ENABLED_STATUS = 182 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__WEB_MESSAGE_INFO__STUB_TYPE) } Wa__WebMessageInfo__StubType; -typedef enum _Wa__KeepType -{ - WA__KEEP_TYPE__UNKNOWN = 0, - WA__KEEP_TYPE__KEEP_FOR_ALL = 1, - WA__KEEP_TYPE__UNDO_KEEP_FOR_ALL = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__KEEP_TYPE) +typedef enum _Wa__ADVEncryptionType { + WA__ADVENCRYPTION_TYPE__E2EE = 0, + WA__ADVENCRYPTION_TYPE__HOSTED = 1 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__ADVENCRYPTION_TYPE) +} Wa__ADVEncryptionType; +typedef enum _Wa__KeepType { + WA__KEEP_TYPE__UNKNOWN = 0, + WA__KEEP_TYPE__KEEP_FOR_ALL = 1, + WA__KEEP_TYPE__UNDO_KEEP_FOR_ALL = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__KEEP_TYPE) } Wa__KeepType; typedef enum _Wa__MediaVisibility { - WA__MEDIA_VISIBILITY__DEFAULT = 0, - WA__MEDIA_VISIBILITY__OFF = 1, - WA__MEDIA_VISIBILITY__ON = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MEDIA_VISIBILITY) + WA__MEDIA_VISIBILITY__DEFAULT = 0, + WA__MEDIA_VISIBILITY__OFF = 1, + WA__MEDIA_VISIBILITY__ON = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MEDIA_VISIBILITY) } Wa__MediaVisibility; /* --- descriptors --- */ +extern const ProtobufCEnumDescriptor wa__advencryption_type__descriptor; extern const ProtobufCEnumDescriptor wa__keep_type__descriptor; extern const ProtobufCEnumDescriptor wa__media_visibility__descriptor; extern const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor; @@ -878,6 +967,7 @@ extern const ProtobufCMessageDescriptor wa__advsigned_device_identity_hmac__desc extern const ProtobufCMessageDescriptor wa__advsigned_key_index_list__descriptor; extern const ProtobufCMessageDescriptor wa__action_link__descriptor; extern const ProtobufCMessageDescriptor wa__auto_download_settings__descriptor; +extern const ProtobufCMessageDescriptor wa__avatar_user_settings__descriptor; extern const ProtobufCMessageDescriptor wa__biz_account_link_info__descriptor; extern const ProtobufCEnumDescriptor wa__biz_account_link_info__account_type__descriptor; extern const ProtobufCEnumDescriptor wa__biz_account_link_info__host_storage_type__descriptor; @@ -889,12 +979,11 @@ extern const ProtobufCEnumDescriptor wa__biz_identity_info__verified_level_va extern const ProtobufCMessageDescriptor wa__cert_chain__descriptor; extern const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__descriptor; extern const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__details__descriptor; -extern const ProtobufCMessageDescriptor wa__chain__descriptor; -extern const ProtobufCMessageDescriptor wa__chain_key__descriptor; extern const ProtobufCMessageDescriptor wa__client_payload__descriptor; extern const ProtobufCMessageDescriptor wa__client_payload__dnssource__descriptor; extern const ProtobufCEnumDescriptor wa__client_payload__dnssource__dnsresolution_method__descriptor; extern const ProtobufCMessageDescriptor wa__client_payload__device_pairing_registration_data__descriptor; +extern const ProtobufCMessageDescriptor wa__client_payload__interop_data__descriptor; extern const ProtobufCMessageDescriptor wa__client_payload__user_agent__descriptor; extern const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__descriptor; extern const ProtobufCEnumDescriptor wa__client_payload__user_agent__platform__descriptor; @@ -911,11 +1000,14 @@ extern const ProtobufCMessageDescriptor wa__context_info__ad_reply_info__descrip extern const ProtobufCEnumDescriptor wa__context_info__ad_reply_info__media_type__descriptor; extern const ProtobufCMessageDescriptor wa__context_info__external_ad_reply_info__descriptor; extern const ProtobufCEnumDescriptor wa__context_info__external_ad_reply_info__media_type__descriptor; +extern const ProtobufCMessageDescriptor wa__context_info__utminfo__descriptor; extern const ProtobufCMessageDescriptor wa__conversation__descriptor; extern const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__descriptor; +extern const ProtobufCMessageDescriptor wa__device_consistency_code_message__descriptor; extern const ProtobufCMessageDescriptor wa__device_list_metadata__descriptor; extern const ProtobufCMessageDescriptor wa__device_props__descriptor; extern const ProtobufCMessageDescriptor wa__device_props__app_version__descriptor; +extern const ProtobufCMessageDescriptor wa__device_props__history_sync_config__descriptor; extern const ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor; extern const ProtobufCMessageDescriptor wa__disappearing_mode__descriptor; extern const ProtobufCEnumDescriptor wa__disappearing_mode__initiator__descriptor; @@ -923,6 +1015,7 @@ extern const ProtobufCMessageDescriptor wa__ephemeral_setting__descriptor; extern const ProtobufCMessageDescriptor wa__exit_code__descriptor; extern const ProtobufCMessageDescriptor wa__external_blob_reference__descriptor; extern const ProtobufCMessageDescriptor wa__global_settings__descriptor; +extern const ProtobufCMessageDescriptor wa__group_mention__descriptor; extern const ProtobufCMessageDescriptor wa__group_participant__descriptor; extern const ProtobufCEnumDescriptor wa__group_participant__rank__descriptor; extern const ProtobufCMessageDescriptor wa__handshake_message__descriptor; @@ -939,6 +1032,7 @@ extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_u extern const ProtobufCMessageDescriptor wa__identity_key_pair_structure__descriptor; extern const ProtobufCMessageDescriptor wa__interactive_annotation__descriptor; extern const ProtobufCMessageDescriptor wa__keep_in_chat__descriptor; +extern const ProtobufCMessageDescriptor wa__key_exchange_message__descriptor; extern const ProtobufCMessageDescriptor wa__key_id__descriptor; extern const ProtobufCMessageDescriptor wa__localized_name__descriptor; extern const ProtobufCMessageDescriptor wa__location__descriptor; @@ -947,12 +1041,12 @@ extern const ProtobufCMessageDescriptor wa__media_retry_notification__descriptor extern const ProtobufCEnumDescriptor wa__media_retry_notification__result_type__descriptor; extern const ProtobufCMessageDescriptor wa__message__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_fatal_exception_notification__descriptor; +extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key_data__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key_fingerprint__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key_id__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key_request__descriptor; extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key_share__descriptor; -extern const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor; extern const ProtobufCMessageDescriptor wa__message__audio_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__buttons_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__buttons_message__button__descriptor; @@ -970,6 +1064,7 @@ extern const ProtobufCMessageDescriptor wa__message__contacts_array_message__des extern const ProtobufCMessageDescriptor wa__message__decline_payment_request_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__device_sent_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__document_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__enc_reaction_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__extended_text_message__descriptor; extern const ProtobufCEnumDescriptor wa__message__extended_text_message__font_type__descriptor; extern const ProtobufCEnumDescriptor wa__message__extended_text_message__invite_link_group_type__descriptor; @@ -1000,15 +1095,16 @@ extern const ProtobufCMessageDescriptor wa__message__interactive_message__shop_m extern const ProtobufCEnumDescriptor wa__message__interactive_message__shop_message__surface__descriptor; extern const ProtobufCMessageDescriptor wa__message__interactive_response_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__interactive_response_message__body__descriptor; +extern const ProtobufCEnumDescriptor wa__message__interactive_response_message__body__format__descriptor; extern const ProtobufCMessageDescriptor wa__message__interactive_response_message__native_flow_response_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__invoice_message__descriptor; extern const ProtobufCEnumDescriptor wa__message__invoice_message__attachment_type__descriptor; extern const ProtobufCMessageDescriptor wa__message__keep_in_chat_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__product_list_header_image__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__product_list_info__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__product_section__descriptor; -extern const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__row__descriptor; extern const ProtobufCMessageDescriptor wa__message__list_message__section__descriptor; extern const ProtobufCEnumDescriptor wa__message__list_message__list_type__descriptor; @@ -1022,11 +1118,23 @@ extern const ProtobufCEnumDescriptor wa__message__order_message__order_status extern const ProtobufCEnumDescriptor wa__message__order_message__order_surface__descriptor; extern const ProtobufCMessageDescriptor wa__message__payment_invite_message__descriptor; extern const ProtobufCEnumDescriptor wa__message__payment_invite_message__service_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_message__request_url_preview__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor; +extern const ProtobufCMessageDescriptor wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor; +extern const ProtobufCMessageDescriptor wa__message__pin_in_chat_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__pin_in_chat_message__type__descriptor; extern const ProtobufCMessageDescriptor wa__message__poll_creation_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__poll_creation_message__option__descriptor; extern const ProtobufCMessageDescriptor wa__message__poll_enc_value__descriptor; -extern const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__descriptor; extern const ProtobufCMessageDescriptor wa__message__poll_update_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__descriptor; extern const ProtobufCMessageDescriptor wa__message__poll_vote_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__product_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__product_message__catalog_snapshot__descriptor; @@ -1034,11 +1142,12 @@ extern const ProtobufCMessageDescriptor wa__message__product_message__product_sn extern const ProtobufCMessageDescriptor wa__message__protocol_message__descriptor; extern const ProtobufCEnumDescriptor wa__message__protocol_message__type__descriptor; extern const ProtobufCMessageDescriptor wa__message__reaction_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__request_media_upload_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__descriptor; extern const ProtobufCMessageDescriptor wa__message__request_payment_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__request_phone_number_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__scheduled_call_creation_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__scheduled_call_creation_message__call_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__scheduled_call_edit_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__scheduled_call_edit_message__edit_type__descriptor; extern const ProtobufCMessageDescriptor wa__message__send_payment_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__sender_key_distribution_message__descriptor; extern const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor; @@ -1049,7 +1158,8 @@ extern const ProtobufCMessageDescriptor wa__message__template_message__four_row_ extern const ProtobufCMessageDescriptor wa__message__template_message__hydrated_four_row_template__descriptor; extern const ProtobufCMessageDescriptor wa__message__video_message__descriptor; extern const ProtobufCEnumDescriptor wa__message__video_message__attribution__descriptor; -extern const ProtobufCEnumDescriptor wa__message__rmr_source__descriptor; +extern const ProtobufCEnumDescriptor wa__message__peer_data_operation_request_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message_add_on_context_info__descriptor; extern const ProtobufCMessageDescriptor wa__message_context_info__descriptor; extern const ProtobufCMessageDescriptor wa__message_key__descriptor; extern const ProtobufCMessageDescriptor wa__money__descriptor; @@ -1059,6 +1169,7 @@ extern const ProtobufCMessageDescriptor wa__msg_row_opaque_data__descriptor; extern const ProtobufCMessageDescriptor wa__noise_certificate__descriptor; extern const ProtobufCMessageDescriptor wa__noise_certificate__details__descriptor; extern const ProtobufCMessageDescriptor wa__notification_message_info__descriptor; +extern const ProtobufCMessageDescriptor wa__notification_settings__descriptor; extern const ProtobufCMessageDescriptor wa__past_participant__descriptor; extern const ProtobufCEnumDescriptor wa__past_participant__leave_reason__descriptor; extern const ProtobufCMessageDescriptor wa__past_participants__descriptor; @@ -1069,25 +1180,34 @@ extern const ProtobufCMessageDescriptor wa__payment_info__descriptor; extern const ProtobufCEnumDescriptor wa__payment_info__currency__descriptor; extern const ProtobufCEnumDescriptor wa__payment_info__status__descriptor; extern const ProtobufCEnumDescriptor wa__payment_info__txn_status__descriptor; -extern const ProtobufCMessageDescriptor wa__pending_key_exchange__descriptor; -extern const ProtobufCMessageDescriptor wa__pending_pre_key__descriptor; extern const ProtobufCMessageDescriptor wa__photo_change__descriptor; +extern const ProtobufCMessageDescriptor wa__pin_in_chat__descriptor; +extern const ProtobufCEnumDescriptor wa__pin_in_chat__type__descriptor; extern const ProtobufCMessageDescriptor wa__point__descriptor; extern const ProtobufCMessageDescriptor wa__poll_additional_metadata__descriptor; extern const ProtobufCMessageDescriptor wa__poll_enc_value__descriptor; extern const ProtobufCMessageDescriptor wa__poll_update__descriptor; extern const ProtobufCMessageDescriptor wa__pre_key_record_structure__descriptor; +extern const ProtobufCMessageDescriptor wa__pre_key_signal_message__descriptor; extern const ProtobufCMessageDescriptor wa__pushname__descriptor; extern const ProtobufCMessageDescriptor wa__reaction__descriptor; extern const ProtobufCMessageDescriptor wa__recent_emoji_weight__descriptor; extern const ProtobufCMessageDescriptor wa__record_structure__descriptor; -extern const ProtobufCMessageDescriptor wa__sender_chain_key__descriptor; +extern const ProtobufCMessageDescriptor wa__sender_key_distribution_message__descriptor; +extern const ProtobufCMessageDescriptor wa__sender_key_message__descriptor; extern const ProtobufCMessageDescriptor wa__sender_key_record_structure__descriptor; extern const ProtobufCMessageDescriptor wa__sender_key_state_structure__descriptor; -extern const ProtobufCMessageDescriptor wa__sender_message_key__descriptor; -extern const ProtobufCMessageDescriptor wa__sender_signing_key__descriptor; +extern const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_chain_key__descriptor; +extern const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_message_key__descriptor; +extern const ProtobufCMessageDescriptor wa__sender_key_state_structure__sender_signing_key__descriptor; extern const ProtobufCMessageDescriptor wa__server_error_receipt__descriptor; extern const ProtobufCMessageDescriptor wa__session_structure__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__chain__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__chain__chain_key__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__chain__message_key__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__pending_key_exchange__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__pending_pre_key__descriptor; +extern const ProtobufCMessageDescriptor wa__signal_message__descriptor; extern const ProtobufCMessageDescriptor wa__signed_pre_key_record_structure__descriptor; extern const ProtobufCMessageDescriptor wa__status_psa__descriptor; extern const ProtobufCMessageDescriptor wa__sticker_metadata__descriptor; @@ -1096,29 +1216,38 @@ extern const ProtobufCMessageDescriptor wa__sync_action_value__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__agent_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__android_unsupported_actions__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__archive_chat_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__chat_assignment_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__chat_assignment_opened_status_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__clear_chat_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__contact_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__delete_chat_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__delete_message_for_me_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__external_web_beta_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__key_expiration__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__label_association_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__label_edit_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__locale_setting__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__mark_chat_as_read_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__marketing_message_action__descriptor; +extern const ProtobufCEnumDescriptor wa__sync_action_value__marketing_message_action__marketing_message_prototype_type__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__marketing_message_broadcast_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__mute_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__nux_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__pin_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__pn_for_lid_chat_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__primary_feature__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__primary_version_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__privacy_setting_relay_all_calls__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__push_name_setting__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__quick_reply_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__recent_emoji_weights_action__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__remove_recent_sticker_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__security_notification_setting__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__star_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__sticker_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__subscription_action__descriptor; -extern const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message_range__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message_range__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__time_format_action__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__unarchive_chats_setting__descriptor; extern const ProtobufCMessageDescriptor wa__sync_action_value__user_status_mute_action__descriptor; @@ -1161,7 +1290,7 @@ struct ProtobufCppMessage : public ProtobufCMessage struct Wa__ADVDeviceIdentity : public ProtobufCppMessage { - Wa__ADVDeviceIdentity() : + Wa__ADVDeviceIdentity() : ProtobufCppMessage(wa__advdevice_identity__descriptor) {} @@ -1171,6 +1300,10 @@ struct Wa__ADVDeviceIdentity : public ProtobufCppMessage uint64_t timestamp; protobuf_c_boolean has_keyindex; uint32_t keyindex; + protobuf_c_boolean has_accounttype; + Wa__ADVEncryptionType accounttype; + protobuf_c_boolean has_devicetype; + Wa__ADVEncryptionType devicetype; }; struct Wa__ADVKeyIndexList : public ProtobufCppMessage @@ -1187,6 +1320,8 @@ struct Wa__ADVKeyIndexList : public ProtobufCppMessage uint32_t currentindex; size_t n_validindexes; uint32_t *validindexes; + protobuf_c_boolean has_accounttype; + Wa__ADVEncryptionType accounttype; }; struct Wa__ADVSignedDeviceIdentity : public ProtobufCppMessage @@ -1255,12 +1390,18 @@ struct Wa__AutoDownloadSettings : public ProtobufCppMessage protobuf_c_boolean downloaddocuments; }; -struct Wa__BizAccountLinkInfo : public ProtobufCppMessage +struct Wa__AvatarUserSettings : public ProtobufCppMessage { - Wa__BizAccountLinkInfo() : - ProtobufCppMessage(wa__biz_account_link_info__descriptor) + Wa__AvatarUserSettings() : + ProtobufCppMessage(wa__avatar_user_settings__descriptor) {} + char *fbid; + char *password; +}; + +struct Wa__BizAccountLinkInfo : public ProtobufCppMessage +{ protobuf_c_boolean has_whatsappbizacctfbid; uint64_t whatsappbizacctfbid; char *whatsappacctnumber; @@ -1346,33 +1487,6 @@ struct Wa__CertChain : public ProtobufCppMessage Wa__CertChain__NoiseCertificate *intermediate; }; -struct Wa__Chain : public ProtobufCppMessage -{ - Wa__Chain() : - ProtobufCppMessage(wa__chain__descriptor) - {} - - protobuf_c_boolean has_senderratchetkey; - ProtobufCBinaryData senderratchetkey; - protobuf_c_boolean has_senderratchetkeyprivate; - ProtobufCBinaryData senderratchetkeyprivate; - Wa__ChainKey *chainkey; - size_t n_messagekeys; - Wa__MessageKey **messagekeys; -}; - -struct Wa__ChainKey : public ProtobufCppMessage -{ - Wa__ChainKey() : - ProtobufCppMessage(wa__chain_key__descriptor) - {} - - protobuf_c_boolean has_index; - uint32_t index; - protobuf_c_boolean has_key; - ProtobufCBinaryData key; -}; - struct Wa__ClientPayload__DNSSource : public ProtobufCppMessage { Wa__ClientPayload__DNSSource() : @@ -1409,6 +1523,20 @@ struct Wa__ClientPayload__DevicePairingRegistrationData : public ProtobufCppMess ProtobufCBinaryData deviceprops; }; +struct Wa__ClientPayload__InteropData : public ProtobufCppMessage +{ + Wa__ClientPayload__InteropData() : + ProtobufCppMessage(wa__client_payload__interop_data__descriptor) + {} + + protobuf_c_boolean has_accountid; + uint64_t accountid; + protobuf_c_boolean has_integratorid; + uint32_t integratorid; + protobuf_c_boolean has_token; + ProtobufCBinaryData token; +}; + struct Wa__ClientPayload__UserAgent__AppVersion : public ProtobufCppMessage { Wa__ClientPayload__UserAgent__AppVersion() : @@ -1448,6 +1576,7 @@ struct Wa__ClientPayload__UserAgent : public ProtobufCppMessage char *localelanguageiso6391; char *localecountryiso31661alpha2; char *deviceboard; + char *deviceexpid; }; struct Wa__ClientPayload__WebInfo__WebdPayload : public ProtobufCppMessage @@ -1541,6 +1670,11 @@ struct Wa__ClientPayload : public ProtobufCppMessage protobuf_c_boolean pull; protobuf_c_boolean has_paddingbytes; ProtobufCBinaryData paddingbytes; + protobuf_c_boolean has_yearclass; + int32_t yearclass; + protobuf_c_boolean has_memclass; + int32_t memclass; + Wa__ClientPayload__InteropData *interopdata; }; struct Wa__ContextInfo__AdReplyInfo : public ProtobufCppMessage @@ -1580,6 +1714,18 @@ struct Wa__ContextInfo__ExternalAdReplyInfo : public ProtobufCppMessage protobuf_c_boolean renderlargerthumbnail; protobuf_c_boolean has_showadattribution; protobuf_c_boolean showadattribution; + char *ctwaclid; + char *ref; +}; + +struct Wa__ContextInfo__UTMInfo : public ProtobufCppMessage +{ + Wa__ContextInfo__UTMInfo() : + ProtobufCppMessage(wa__context_info__utminfo__descriptor) + {} + + char *utmsource; + char *utmcampaign; }; struct Wa__ContextInfo : public ProtobufCppMessage @@ -1620,6 +1766,14 @@ struct Wa__ContextInfo : public ProtobufCppMessage Wa__ActionLink *actionlink; char *groupsubject; char *parentgroupjid; + char *trustbannertype; + protobuf_c_boolean has_trustbanneraction; + uint32_t trustbanneraction; + protobuf_c_boolean has_issampled; + protobuf_c_boolean issampled; + size_t n_groupmentions; + Wa__GroupMention **groupmentions; + Wa__ContextInfo__UTMInfo *utm; }; struct Wa__Conversation : public ProtobufCppMessage @@ -1689,13 +1843,24 @@ struct Wa__Conversation : public ProtobufCppMessage protobuf_c_boolean support; protobuf_c_boolean has_isparentgroup; protobuf_c_boolean isparentgroup; + char *parentgroupid; protobuf_c_boolean has_isdefaultsubgroup; protobuf_c_boolean isdefaultsubgroup; - char *parentgroupid; char *displayname; char *pnjid; - protobuf_c_boolean has_selfpnexposed; - protobuf_c_boolean selfpnexposed; + protobuf_c_boolean has_shareownpn; + protobuf_c_boolean shareownpn; + protobuf_c_boolean has_pnhduplicatelidthread; + protobuf_c_boolean pnhduplicatelidthread; + char *lidjid; +}; + +struct Wa__DeviceConsistencyCodeMessage : public ProtobufCppMessage +{ + protobuf_c_boolean has_generation; + uint32_t generation; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; }; struct Wa__DeviceListMetadata : public ProtobufCppMessage @@ -1736,6 +1901,24 @@ struct Wa__DeviceProps__AppVersion : public ProtobufCppMessage uint32_t quinary; }; +struct Wa__DeviceProps__HistorySyncConfig : public ProtobufCppMessage +{ + Wa__DeviceProps__HistorySyncConfig() : + ProtobufCppMessage(wa__device_props__history_sync_config__descriptor) + {} + + protobuf_c_boolean has_fullsyncdayslimit; + uint32_t fullsyncdayslimit; + protobuf_c_boolean has_fullsyncsizemblimit; + uint32_t fullsyncsizemblimit; + protobuf_c_boolean has_storagequotamb; + uint32_t storagequotamb; + protobuf_c_boolean has_inlineinitialpayloadine2eemsg; + protobuf_c_boolean inlineinitialpayloadine2eemsg; + protobuf_c_boolean has_recentsyncdayslimit; + uint32_t recentsyncdayslimit; +}; + struct Wa__DeviceProps : public ProtobufCppMessage { Wa__DeviceProps() : @@ -1748,6 +1931,7 @@ struct Wa__DeviceProps : public ProtobufCppMessage Wa__DeviceProps__PlatformType platformtype; protobuf_c_boolean has_requirefullsync; protobuf_c_boolean requirefullsync; + Wa__DeviceProps__HistorySyncConfig *historysyncconfig; }; struct Wa__DisappearingMode : public ProtobufCppMessage @@ -1822,6 +2006,29 @@ struct Wa__GlobalSettings : public ProtobufCppMessage int32_t disappearingmodeduration; protobuf_c_boolean has_disappearingmodetimestamp; int64_t disappearingmodetimestamp; + Wa__AvatarUserSettings *avatarusersettings; + protobuf_c_boolean has_fontsize; + int32_t fontsize; + protobuf_c_boolean has_securitynotifications; + protobuf_c_boolean securitynotifications; + protobuf_c_boolean has_autounarchivechats; + protobuf_c_boolean autounarchivechats; + protobuf_c_boolean has_videoqualitymode; + int32_t videoqualitymode; + protobuf_c_boolean has_photoqualitymode; + int32_t photoqualitymode; + Wa__NotificationSettings *individualnotificationsettings; + Wa__NotificationSettings *groupnotificationsettings; +}; + +struct Wa__GroupMention : public ProtobufCppMessage +{ + Wa__GroupMention() : + ProtobufCppMessage(wa__group_mention__descriptor) + {} + + char *groupjid; + char *groupsubject; }; struct Wa__GroupParticipant : public ProtobufCppMessage @@ -1961,7 +2168,7 @@ typedef enum WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON_QUICK_REPLY_BUTTON = 1, WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON_URL_BUTTON = 2, WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON_CALL_BUTTON = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON__CASE) } Wa__HydratedTemplateButton__HydratedButtonCase; struct Wa__HydratedTemplateButton : public ProtobufCppMessage @@ -1997,7 +2204,7 @@ typedef enum { WA__INTERACTIVE_ANNOTATION__ACTION__NOT_SET = 0, WA__INTERACTIVE_ANNOTATION__ACTION_LOCATION = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__INTERACTIVE_ANNOTATION__ACTION) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__INTERACTIVE_ANNOTATION__ACTION__CASE) } Wa__InteractiveAnnotation__ActionCase; struct Wa__InteractiveAnnotation : public ProtobufCppMessage @@ -2027,6 +2234,28 @@ struct Wa__KeepInChat : public ProtobufCppMessage int64_t servertimestamp; Wa__MessageKey *key; char *devicejid; + protobuf_c_boolean has_clienttimestampms; + int64_t clienttimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; +}; + +struct Wa__KeyExchangeMessage : public ProtobufCppMessage +{ + Wa__KeyExchangeMessage() : + ProtobufCppMessage(wa__key_exchange_message__descriptor) + {} + + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_basekey; + ProtobufCBinaryData basekey; + protobuf_c_boolean has_ratchetkey; + ProtobufCBinaryData ratchetkey; + protobuf_c_boolean has_identitykey; + ProtobufCBinaryData identitykey; + protobuf_c_boolean has_basekeysignature; + ProtobufCBinaryData basekeysignature; }; struct Wa__KeyId : public ProtobufCppMessage @@ -2096,6 +2325,16 @@ struct Wa__Message__AppStateFatalExceptionNotification : public ProtobufCppMessa int64_t timestamp; }; +struct Wa__Message__AppStateSyncKey : public ProtobufCppMessage +{ + Wa__Message__AppStateSyncKey() : + ProtobufCppMessage(wa__message__app_state_sync_key__descriptor) + {} + + Wa__Message__AppStateSyncKeyId *keyid; + Wa__Message__AppStateSyncKeyData *keydata; +}; + struct Wa__Message__AppStateSyncKeyData : public ProtobufCppMessage { Wa__Message__AppStateSyncKeyData() : @@ -2153,16 +2392,6 @@ struct Wa__Message__AppStateSyncKeyShare : public ProtobufCppMessage Wa__Message__AppStateSyncKey **keys; }; -struct Wa__Message__AppStateSyncKey : public ProtobufCppMessage -{ - Wa__Message__AppStateSyncKey() : - ProtobufCppMessage(wa__message__app_state_sync_key__descriptor) - {} - - Wa__Message__AppStateSyncKeyId *keyid; - Wa__Message__AppStateSyncKeyData *keydata; -}; - struct Wa__Message__AudioMessage : public ProtobufCppMessage { Wa__Message__AudioMessage() : @@ -2191,6 +2420,10 @@ struct Wa__Message__AudioMessage : public ProtobufCppMessage ProtobufCBinaryData streamingsidecar; protobuf_c_boolean has_waveform; ProtobufCBinaryData waveform; + protobuf_c_boolean has_backgroundargb; + uint32_t backgroundargb; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; }; struct Wa__Message__ButtonsMessage__Button__ButtonText : public ProtobufCppMessage @@ -2233,7 +2466,7 @@ typedef enum WA__MESSAGE__BUTTONS_MESSAGE__HEADER_IMAGE_MESSAGE = 3, WA__MESSAGE__BUTTONS_MESSAGE__HEADER_VIDEO_MESSAGE = 4, WA__MESSAGE__BUTTONS_MESSAGE__HEADER_LOCATION_MESSAGE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__HEADER) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_MESSAGE__HEADER__CASE) } Wa__Message__ButtonsMessage__HeaderCase; struct Wa__Message__ButtonsMessage : public ProtobufCppMessage @@ -2264,7 +2497,7 @@ typedef enum { WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE__NOT_SET = 0, WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE_SELECTED_DISPLAY_TEXT = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE__CASE) } Wa__Message__ButtonsResponseMessage__ResponseCase; struct Wa__Message__ButtonsResponseMessage : public ProtobufCppMessage @@ -2401,6 +2634,19 @@ struct Wa__Message__DocumentMessage : public ProtobufCppMessage char *caption; }; +struct Wa__Message__EncReactionMessage : public ProtobufCppMessage +{ + Wa__Message__EncReactionMessage() : + ProtobufCppMessage(wa__message__enc_reaction_message__descriptor) + {} + + Wa__MessageKey *targetmessagekey; + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; +}; + struct Wa__Message__ExtendedTextMessage : public ProtobufCppMessage { Wa__Message__ExtendedTextMessage() : @@ -2445,6 +2691,8 @@ struct Wa__Message__ExtendedTextMessage : public ProtobufCppMessage ProtobufCBinaryData invitelinkparentgroupthumbnailv2; protobuf_c_boolean has_invitelinkgrouptypev2; Wa__Message__ExtendedTextMessage__InviteLinkGroupType invitelinkgrouptypev2; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; }; struct Wa__Message__FutureProofMessage : public ProtobufCppMessage @@ -2523,7 +2771,7 @@ typedef enum WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF__NOT_SET = 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF_COMPONENT = 1, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF_UNIX_EPOCH = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF__CASE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase; struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime : public ProtobufCppMessage @@ -2545,7 +2793,7 @@ typedef enum WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF__NOT_SET = 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF_CURRENCY = 2, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF_DATE_TIME = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF__CASE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase; struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter : public ProtobufCppMessage @@ -2604,6 +2852,11 @@ struct Wa__Message__HistorySyncNotification : public ProtobufCppMessage char *originalmessageid; protobuf_c_boolean has_progress; uint32_t progress; + protobuf_c_boolean has_oldestmsginchunktimestampsec; + int64_t oldestmsginchunktimestampsec; + protobuf_c_boolean has_initialhistbootstrapinlinepayload; + ProtobufCBinaryData initialhistbootstrapinlinepayload; + char *peerdatarequestsessionid; }; struct Wa__Message__ImageMessage : public ProtobufCppMessage @@ -2705,8 +2958,9 @@ typedef enum WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_DOCUMENT_MESSAGE = 3, WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_IMAGE_MESSAGE = 4, WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_JPEG_THUMBNAIL = 6, - WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_VIDEO_MESSAGE = 7 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA) + WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_VIDEO_MESSAGE = 7, + WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_LOCATION_MESSAGE = 8 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__CASE) } Wa__Message__InteractiveMessage__Header__MediaCase; struct Wa__Message__InteractiveMessage__Header : public ProtobufCppMessage @@ -2726,6 +2980,7 @@ struct Wa__Message__InteractiveMessage__Header : public ProtobufCppMessage Wa__Message__ImageMessage *imagemessage; ProtobufCBinaryData jpegthumbnail; Wa__Message__VideoMessage *videomessage; + Wa__Message__LocationMessage *locationmessage; }; }; @@ -2771,7 +3026,7 @@ typedef enum WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE_SHOP_STOREFRONT_MESSAGE = 4, WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE_COLLECTION_MESSAGE = 5, WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE_NATIVE_FLOW_MESSAGE = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE__CASE) } Wa__Message__InteractiveMessage__InteractiveMessageCase; struct Wa__Message__InteractiveMessage : public ProtobufCppMessage @@ -2800,6 +3055,8 @@ struct Wa__Message__InteractiveResponseMessage__Body : public ProtobufCppMessage {} char *text; + protobuf_c_boolean has_format; + Wa__Message__InteractiveResponseMessage__Body__Format format; }; struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage : public ProtobufCppMessage @@ -2818,7 +3075,7 @@ typedef enum { WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NOT_SET = 0, WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE_NATIVE_FLOW_RESPONSE_MESSAGE = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__CASE) } Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase; struct Wa__Message__InteractiveResponseMessage : public ProtobufCppMessage @@ -2872,10 +3129,11 @@ struct Wa__Message__KeepInChatMessage : public ProtobufCppMessage protobuf_c_boolean has_timestampms; int64_t timestampms; }; -#define WA__MESSAGE__KEEP_IN_CHAT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__keep_in_chat_message__descriptor) \ - , NULL, 0, WA__KEEP_TYPE__UNKNOWN, 0, 0 } +struct Wa__Message__ListMessage__Product : public ProtobufCppMessage +{ + char *productid; +}; struct Wa__Message__ListMessage__ProductListHeaderImage : public ProtobufCppMessage { @@ -2911,15 +3169,6 @@ struct Wa__Message__ListMessage__ProductSection : public ProtobufCppMessage Wa__Message__ListMessage__Product **products; }; -struct Wa__Message__ListMessage__Product : public ProtobufCppMessage -{ - Wa__Message__ListMessage__Product() : - ProtobufCppMessage(wa__message__list_message__product__descriptor) - {} - - char *productid; -}; - struct Wa__Message__ListMessage__Row : public ProtobufCppMessage { Wa__Message__ListMessage__Row() : @@ -3073,10 +3322,157 @@ struct Wa__Message__PaymentInviteMessage : public ProtobufCppMessage int64_t expirytimestamp; }; +struct Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor) + {} + + char *chatjid; + char *oldestmsgid; + protobuf_c_boolean has_oldestmsgfromme; + protobuf_c_boolean oldestmsgfromme; + protobuf_c_boolean has_ondemandmsgcount; + int32_t ondemandmsgcount; + protobuf_c_boolean has_oldestmsgtimestampms; + int64_t oldestmsgtimestampms; +}; + +struct Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor) + {} + + Wa__MessageKey *messagekey; +}; + +struct Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor) + {} + + char *filesha256; +}; + +struct Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_url_preview__descriptor) + {} + + char *url; + protobuf_c_boolean has_includehqthumbnail; + protobuf_c_boolean includehqthumbnail; +}; + +struct Wa__Message__PeerDataOperationRequestMessage : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestMessage() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__descriptor) + {} + + protobuf_c_boolean has_peerdataoperationrequesttype; + Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; + size_t n_requeststickerreupload; + Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload **requeststickerreupload; + size_t n_requesturlpreview; + Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview **requesturlpreview; + Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *historysyncondemandrequest; + size_t n_placeholdermessageresendrequest; + Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest **placeholdermessageresendrequest; +}; + +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor) + {} + + char *directpath; + char *thumbhash; + char *encthumbhash; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_mediakeytimestampms; + int64_t mediakeytimestampms; + protobuf_c_boolean has_thumbwidth; + int32_t thumbwidth; + protobuf_c_boolean has_thumbheight; + int32_t thumbheight; +}; + +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor) + {} + + char *url; + char *title; + char *description; + protobuf_c_boolean has_thumbdata; + ProtobufCBinaryData thumbdata; + char *canonicalurl; + char *matchtext; + char *previewtype; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *hqthumbnail; +}; + +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor) + {} + + protobuf_c_boolean has_webmessageinfobytes; + ProtobufCBinaryData webmessageinfobytes; +}; + +struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor) + {} + + protobuf_c_boolean has_mediauploadresult; + Wa__MediaRetryNotification__ResultType mediauploadresult; + Wa__Message__StickerMessage *stickermessage; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *linkpreviewresponse; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *placeholdermessageresendresponse; +}; + +struct Wa__Message__PeerDataOperationRequestResponseMessage : public ProtobufCppMessage +{ + Wa__Message__PeerDataOperationRequestResponseMessage() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__descriptor) + {} + + protobuf_c_boolean has_peerdataoperationrequesttype; + Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; + char *stanzaid; + size_t n_peerdataoperationresult; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult **peerdataoperationresult; +}; + +struct Wa__Message__PinInChatMessage : public ProtobufCppMessage +{ + Wa__Message__PinInChatMessage() : + ProtobufCppMessage(wa__message__pin_in_chat_message__descriptor) + {} + + Wa__MessageKey *key; + protobuf_c_boolean has_type; + Wa__Message__PinInChatMessage__Type type; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; +}; + struct Wa__Message__PollCreationMessage__Option : public ProtobufCppMessage { Wa__Message__PollCreationMessage__Option() : - ProtobufCppMessage(wa__message__poll_creation_message__option__descriptor) + ProtobufCppMessage(wa__message__poll_creation_message__descriptor) {} char *optionname; @@ -3206,8 +3602,11 @@ struct Wa__Message__ProtocolMessage : public ProtobufCppMessage Wa__Message__InitialSecurityNotificationSettingSync *initialsecuritynotificationsettingsync; Wa__Message__AppStateFatalExceptionNotification *appstatefatalexceptionnotification; Wa__DisappearingMode *disappearingmode; - Wa__Message__RequestMediaUploadMessage *requestmediauploadmessage; - Wa__Message__RequestMediaUploadResponseMessage *requestmediauploadresponsemessage; + Wa__Message *editedmessage; + protobuf_c_boolean has_timestampms; + int64_t timestampms; + Wa__Message__PeerDataOperationRequestMessage *peerdataoperationrequestmessage; + Wa__Message__PeerDataOperationRequestResponseMessage *peerdataoperationrequestresponsemessage; }; struct Wa__Message__ReactionMessage : public ProtobufCppMessage @@ -3223,43 +3622,6 @@ struct Wa__Message__ReactionMessage : public ProtobufCppMessage int64_t sendertimestampms; }; -struct Wa__Message__RequestMediaUploadMessage : public ProtobufCppMessage -{ - Wa__Message__RequestMediaUploadMessage() : - ProtobufCppMessage(wa__message__request_media_upload_message__descriptor) - {} - - size_t n_filesha256; - char **filesha256; - protobuf_c_boolean has_rmrsource; - Wa__Message__RmrSource rmrsource; -}; - -struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult : public ProtobufCppMessage -{ - Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult() : - ProtobufCppMessage(wa__message__request_media_upload_response_message__request_media_upload_result__descriptor) - {} - - char *filesha256; - protobuf_c_boolean has_mediauploadresult; - Wa__MediaRetryNotification__ResultType mediauploadresult; - Wa__Message__StickerMessage *stickermessage; -}; - -struct Wa__Message__RequestMediaUploadResponseMessage : public ProtobufCppMessage -{ - Wa__Message__RequestMediaUploadResponseMessage() : - ProtobufCppMessage(wa__message__request_media_upload_response_message__descriptor) - {} - - protobuf_c_boolean has_rmrsource; - Wa__Message__RmrSource rmrsource; - char *stanzaid; - size_t n_reuploadresult; - Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult **reuploadresult; -}; - struct Wa__Message__RequestPaymentMessage : public ProtobufCppMessage { Wa__Message__RequestPaymentMessage() : @@ -3286,12 +3648,32 @@ struct Wa__Message__RequestPhoneNumberMessage : public ProtobufCppMessage Wa__ContextInfo *contextinfo; }; -struct Wa__Message__SendPaymentMessage : public ProtobufCppMessage +struct Wa__Message__ScheduledCallCreationMessage : public ProtobufCppMessage +{ + Wa__Message__ScheduledCallCreationMessage() : + ProtobufCppMessage(wa__message__scheduled_call_creation_message__descriptor) + {} + + protobuf_c_boolean has_scheduledtimestampms; + int64_t scheduledtimestampms; + protobuf_c_boolean has_calltype; + Wa__Message__ScheduledCallCreationMessage__CallType calltype; + char *title; +}; + +struct Wa__Message__ScheduledCallEditMessage : public ProtobufCppMessage { - Wa__Message__SendPaymentMessage() : - ProtobufCppMessage(wa__message__send_payment_message__descriptor) + Wa__Message__ScheduledCallEditMessage() : + ProtobufCppMessage(wa__message__scheduled_call_edit_message__descriptor) {} + Wa__MessageKey *key; + protobuf_c_boolean has_edittype; + Wa__Message__ScheduledCallEditMessage__EditType edittype; +}; + +struct Wa__Message__SendPaymentMessage : public ProtobufCppMessage +{ Wa__Message *notemessage; Wa__MessageKey *requestmessagekey; Wa__PaymentBackground *background; @@ -3340,6 +3722,10 @@ struct Wa__Message__StickerMessage : public ProtobufCppMessage protobuf_c_boolean has_pngthumbnail; ProtobufCBinaryData pngthumbnail; Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_stickersentts; + int64_t stickersentts; + protobuf_c_boolean has_isavatar; + protobuf_c_boolean isavatar; }; struct Wa__Message__StickerSyncRMRMessage : public ProtobufCppMessage @@ -3376,7 +3762,7 @@ typedef enum WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_IMAGE_MESSAGE = 3, WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_VIDEO_MESSAGE = 4, WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_LOCATION_MESSAGE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE__CASE) } Wa__Message__TemplateMessage__FourRowTemplate__TitleCase; struct Wa__Message__TemplateMessage__FourRowTemplate : public ProtobufCppMessage @@ -3408,7 +3794,7 @@ typedef enum WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_IMAGE_MESSAGE = 3, WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_VIDEO_MESSAGE = 4, WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_LOCATION_MESSAGE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE__CASE) } Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase; struct Wa__Message__TemplateMessage__HydratedFourRowTemplate : public ProtobufCppMessage @@ -3437,8 +3823,9 @@ typedef enum { WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__NOT_SET = 0, WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_FOUR_ROW_TEMPLATE = 1, - WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_HYDRATED_FOUR_ROW_TEMPLATE = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT) + WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_HYDRATED_FOUR_ROW_TEMPLATE = 2, + WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_INTERACTIVE_MESSAGE_TEMPLATE = 5 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__CASE) } Wa__Message__TemplateMessage__FormatCase; struct Wa__Message__TemplateMessage : public ProtobufCppMessage @@ -3449,11 +3836,13 @@ struct Wa__Message__TemplateMessage : public ProtobufCppMessage Wa__ContextInfo *contextinfo; Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; + char *templateid; Wa__Message__TemplateMessage__FormatCase format_case; union { Wa__Message__TemplateMessage__FourRowTemplate *fourrowtemplate; Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedfourrowtemplate; + Wa__Message__InteractiveMessage *interactivemessagetemplate; }; }; @@ -3556,6 +3945,26 @@ struct Wa__Message : public ProtobufCppMessage Wa__Message__FutureProofMessage *documentwithcaptionmessage; Wa__Message__RequestPhoneNumberMessage *requestphonenumbermessage; Wa__Message__FutureProofMessage *viewoncemessagev2; + Wa__Message__EncReactionMessage *encreactionmessage; + Wa__Message__FutureProofMessage *editedmessage; + Wa__Message__FutureProofMessage *viewoncemessagev2extension; + Wa__Message__PollCreationMessage *pollcreationmessagev2; + Wa__Message__ScheduledCallCreationMessage *scheduledcallcreationmessage; + Wa__Message__FutureProofMessage *groupmentionedmessage; + Wa__Message__PinInChatMessage *pininchatmessage; + Wa__Message__PollCreationMessage *pollcreationmessagev3; + Wa__Message__ScheduledCallEditMessage *scheduledcalleditmessage; + Wa__Message__VideoMessage *ptvmessage; +}; + +struct Wa__MessageAddOnContextInfo : public ProtobufCppMessage +{ + Wa__MessageAddOnContextInfo() : + ProtobufCppMessage(wa__message_add_on_context_info__descriptor) + {} + + protobuf_c_boolean has_messageaddondurationinsecs; + uint32_t messageaddondurationinsecs; }; struct Wa__MessageContextInfo : public ProtobufCppMessage @@ -3571,6 +3980,8 @@ struct Wa__MessageContextInfo : public ProtobufCppMessage ProtobufCBinaryData messagesecret; protobuf_c_boolean has_paddingbytes; ProtobufCBinaryData paddingbytes; + protobuf_c_boolean has_messageaddondurationinsecs; + uint32_t messageaddondurationinsecs; }; struct Wa__MessageKey : public ProtobufCppMessage @@ -3640,10 +4051,18 @@ struct Wa__MsgOpaqueData : public ProtobufCppMessage uint32_t pollselectableoptionscount; protobuf_c_boolean has_messagesecret; ProtobufCBinaryData messagesecret; + char *originalselfauthor; protobuf_c_boolean has_sendertimestampms; int64_t sendertimestampms; char *pollupdateparentkey; Wa__PollEncValue *encpollvote; + protobuf_c_boolean has_issentcagpollcreation; + protobuf_c_boolean issentcagpollcreation; + char *encreactiontargetmessagekey; + protobuf_c_boolean has_encreactionencpayload; + ProtobufCBinaryData encreactionencpayload; + protobuf_c_boolean has_encreactionenciv; + ProtobufCBinaryData encreactionenciv; }; struct Wa__MsgRowOpaqueData : public ProtobufCppMessage @@ -3697,14 +4116,32 @@ struct Wa__NotificationMessageInfo : public ProtobufCppMessage char *participant; }; +struct Wa__NotificationSettings : public ProtobufCppMessage +{ + Wa__NotificationSettings() : + ProtobufCppMessage(wa__notification_settings__descriptor) + {} + + char *messagevibrate; + char *messagepopup; + char *messagelight; + protobuf_c_boolean has_lowprioritynotifications; + protobuf_c_boolean lowprioritynotifications; + protobuf_c_boolean has_reactionsmuted; + protobuf_c_boolean reactionsmuted; + char *callvibrate; +}; + struct Wa__PastParticipant : public ProtobufCppMessage { Wa__PastParticipant() : - ProtobufCppMessage(wa__past_participant__descriptor) + ProtobufCppMessage(wa__past_participants__descriptor) {} char *userjid; + protobuf_c_boolean has_leavereason; Wa__PastParticipant__LeaveReason leavereason; + protobuf_c_boolean has_leavets; uint64_t leavets; }; @@ -3790,42 +4227,6 @@ struct Wa__PaymentInfo : public ProtobufCppMessage Wa__Money *exchangeamount; }; -struct Wa__PendingKeyExchange : public ProtobufCppMessage -{ - Wa__PendingKeyExchange() : - ProtobufCppMessage(wa__pending_key_exchange__descriptor) - {} - - protobuf_c_boolean has_sequence; - uint32_t sequence; - protobuf_c_boolean has_localbasekey; - ProtobufCBinaryData localbasekey; - protobuf_c_boolean has_localbasekeyprivate; - ProtobufCBinaryData localbasekeyprivate; - protobuf_c_boolean has_localratchetkey; - ProtobufCBinaryData localratchetkey; - protobuf_c_boolean has_localratchetkeyprivate; - ProtobufCBinaryData localratchetkeyprivate; - protobuf_c_boolean has_localidentitykey; - ProtobufCBinaryData localidentitykey; - protobuf_c_boolean has_localidentitykeyprivate; - ProtobufCBinaryData localidentitykeyprivate; -}; - -struct Wa__PendingPreKey : public ProtobufCppMessage -{ - Wa__PendingPreKey() : - ProtobufCppMessage(wa__pending_pre_key__descriptor) - {} - - protobuf_c_boolean has_prekeyid; - uint32_t prekeyid; - protobuf_c_boolean has_signedprekeyid; - int32_t signedprekeyid; - protobuf_c_boolean has_basekey; - ProtobufCBinaryData basekey; -}; - struct Wa__PhotoChange : public ProtobufCppMessage { Wa__PhotoChange() : @@ -3840,6 +4241,22 @@ struct Wa__PhotoChange : public ProtobufCppMessage uint32_t newphotoid; }; +struct Wa__PinInChat : public ProtobufCppMessage +{ + Wa__PinInChat() : + ProtobufCppMessage(wa__pin_in_chat__descriptor) + {} + + protobuf_c_boolean has_type; + Wa__PinInChat__Type type; + Wa__MessageKey *key; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; + Wa__MessageAddOnContextInfo *messageaddoncontextinfo; +}; + struct Wa__Point : public ProtobufCppMessage { Wa__Point() : @@ -3888,6 +4305,10 @@ struct Wa__PollUpdate : public ProtobufCppMessage Wa__Message__PollVoteMessage *vote; protobuf_c_boolean has_sendertimestampms; int64_t sendertimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; + protobuf_c_boolean has_unread; + protobuf_c_boolean unread; }; struct Wa__PreKeyRecordStructure : public ProtobufCppMessage @@ -3904,6 +4325,26 @@ struct Wa__PreKeyRecordStructure : public ProtobufCppMessage ProtobufCBinaryData privatekey; }; +struct Wa__PreKeySignalMessage : public ProtobufCppMessage +{ + Wa__PreKeySignalMessage() : + ProtobufCppMessage(wa__pre_key_record_structure__descriptor) + {} + + protobuf_c_boolean has_registrationid; + uint32_t registrationid; + protobuf_c_boolean has_prekeyid; + uint32_t prekeyid; + protobuf_c_boolean has_signedprekeyid; + uint32_t signedprekeyid; + protobuf_c_boolean has_basekey; + ProtobufCBinaryData basekey; + protobuf_c_boolean has_identitykey; + ProtobufCBinaryData identitykey; + protobuf_c_boolean has_message; + ProtobufCBinaryData message; +}; + struct Wa__Pushname : public ProtobufCppMessage { Wa__Pushname() : @@ -3951,16 +4392,34 @@ struct Wa__RecordStructure : public ProtobufCppMessage Wa__SessionStructure **previoussessions; }; -struct Wa__SenderChainKey : public ProtobufCppMessage +struct Wa__SenderKeyDistributionMessage : public ProtobufCppMessage { - Wa__SenderChainKey() : - ProtobufCppMessage(wa__sender_chain_key__descriptor) + Wa__SenderKeyDistributionMessage() : + ProtobufCppMessage(wa__sender_key_distribution_message__descriptor) {} + protobuf_c_boolean has_id; + uint32_t id; protobuf_c_boolean has_iteration; uint32_t iteration; - protobuf_c_boolean has_seed; - ProtobufCBinaryData seed; + protobuf_c_boolean has_chainkey; + ProtobufCBinaryData chainkey; + protobuf_c_boolean has_signingkey; + ProtobufCBinaryData signingkey; +}; + +struct Wa__SenderKeyMessage : public ProtobufCppMessage +{ + Wa__SenderKeyMessage() : + ProtobufCppMessage(wa__sender_key_message__descriptor) + {} + + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_ciphertext; + ProtobufCBinaryData ciphertext; }; struct Wa__SenderKeyRecordStructure : public ProtobufCppMessage @@ -3973,24 +4432,22 @@ struct Wa__SenderKeyRecordStructure : public ProtobufCppMessage Wa__SenderKeyStateStructure **senderkeystates; }; -struct Wa__SenderKeyStateStructure : public ProtobufCppMessage +struct Wa__SenderKeyStateStructure__SenderChainKey : public ProtobufCppMessage { - Wa__SenderKeyStateStructure() : - ProtobufCppMessage(wa__sender_key_state_structure__descriptor) + Wa__SenderKeyStateStructure__SenderChainKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_chain_key__descriptor) {} - protobuf_c_boolean has_senderkeyid; - uint32_t senderkeyid; - Wa__SenderChainKey *senderchainkey; - Wa__SenderSigningKey *sendersigningkey; - size_t n_sendermessagekeys; - Wa__SenderMessageKey **sendermessagekeys; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_seed; + ProtobufCBinaryData seed; }; -struct Wa__SenderMessageKey : public ProtobufCppMessage +struct Wa__SenderKeyStateStructure__SenderMessageKey : public ProtobufCppMessage { - Wa__SenderMessageKey() : - ProtobufCppMessage(wa__sender_message_key__descriptor) + Wa__SenderKeyStateStructure__SenderMessageKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_message_key__descriptor) {} protobuf_c_boolean has_iteration; @@ -3999,10 +4456,10 @@ struct Wa__SenderMessageKey : public ProtobufCppMessage ProtobufCBinaryData seed; }; -struct Wa__SenderSigningKey : public ProtobufCppMessage +struct Wa__SenderKeyStateStructure__SenderSigningKey : public ProtobufCppMessage { - Wa__SenderSigningKey() : - ProtobufCppMessage(wa__sender_signing_key__descriptor) + Wa__SenderKeyStateStructure__SenderSigningKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_signing_key__descriptor) {} protobuf_c_boolean has_public_; @@ -4011,21 +4468,82 @@ struct Wa__SenderSigningKey : public ProtobufCppMessage ProtobufCBinaryData private_; }; -struct Wa__ServerErrorReceipt : public ProtobufCppMessage +struct Wa__SenderKeyStateStructure : public ProtobufCppMessage { - Wa__ServerErrorReceipt() : - ProtobufCppMessage(wa__server_error_receipt__descriptor) - {} + protobuf_c_boolean has_senderkeyid; + uint32_t senderkeyid; + Wa__SenderKeyStateStructure__SenderChainKey *senderchainkey; + Wa__SenderKeyStateStructure__SenderSigningKey *sendersigningkey; + size_t n_sendermessagekeys; + Wa__SenderKeyStateStructure__SenderMessageKey **sendermessagekeys; +}; +struct Wa__ServerErrorReceipt : public ProtobufCppMessage +{ char *stanzaid; }; -struct Wa__SessionStructure : public ProtobufCppMessage +struct Wa__SessionStructure__Chain__ChainKey : public ProtobufCppMessage { - Wa__SessionStructure() : - ProtobufCppMessage(wa__session_structure__descriptor) - {} + protobuf_c_boolean has_index; + uint32_t index; + protobuf_c_boolean has_key; + ProtobufCBinaryData key; +}; + +struct Wa__SessionStructure__Chain__MessageKey : public ProtobufCppMessage +{ + protobuf_c_boolean has_index; + uint32_t index; + protobuf_c_boolean has_cipherkey; + ProtobufCBinaryData cipherkey; + protobuf_c_boolean has_mackey; + ProtobufCBinaryData mackey; + protobuf_c_boolean has_iv; + ProtobufCBinaryData iv; +}; + +struct Wa__SessionStructure__Chain : public ProtobufCppMessage +{ + protobuf_c_boolean has_senderratchetkey; + ProtobufCBinaryData senderratchetkey; + protobuf_c_boolean has_senderratchetkeyprivate; + ProtobufCBinaryData senderratchetkeyprivate; + Wa__SessionStructure__Chain__ChainKey *chainkey; + size_t n_messagekeys; + Wa__SessionStructure__Chain__MessageKey **messagekeys; +}; + +struct Wa__SessionStructure__PendingKeyExchange : public ProtobufCppMessage +{ + protobuf_c_boolean has_sequence; + uint32_t sequence; + protobuf_c_boolean has_localbasekey; + ProtobufCBinaryData localbasekey; + protobuf_c_boolean has_localbasekeyprivate; + ProtobufCBinaryData localbasekeyprivate; + protobuf_c_boolean has_localratchetkey; + ProtobufCBinaryData localratchetkey; + protobuf_c_boolean has_localratchetkeyprivate; + ProtobufCBinaryData localratchetkeyprivate; + protobuf_c_boolean has_localidentitykey; + ProtobufCBinaryData localidentitykey; + protobuf_c_boolean has_localidentitykeyprivate; + ProtobufCBinaryData localidentitykeyprivate; +}; + +struct Wa__SessionStructure__PendingPreKey : public ProtobufCppMessage +{ + protobuf_c_boolean has_prekeyid; + uint32_t prekeyid; + protobuf_c_boolean has_signedprekeyid; + int32_t signedprekeyid; + protobuf_c_boolean has_basekey; + ProtobufCBinaryData basekey; +}; +struct Wa__SessionStructure : public ProtobufCppMessage +{ protobuf_c_boolean has_sessionversion; uint32_t sessionversion; protobuf_c_boolean has_localidentitypublic; @@ -4036,11 +4554,11 @@ struct Wa__SessionStructure : public ProtobufCppMessage ProtobufCBinaryData rootkey; protobuf_c_boolean has_previouscounter; uint32_t previouscounter; - Wa__Chain *senderchain; + Wa__SessionStructure__Chain *senderchain; size_t n_receiverchains; - Wa__Chain **receiverchains; - Wa__PendingKeyExchange *pendingkeyexchange; - Wa__PendingPreKey *pendingprekey; + Wa__SessionStructure__Chain **receiverchains; + Wa__SessionStructure__PendingKeyExchange *pendingkeyexchange; + Wa__SessionStructure__PendingPreKey *pendingprekey; protobuf_c_boolean has_remoteregistrationid; uint32_t remoteregistrationid; protobuf_c_boolean has_localregistrationid; @@ -4051,12 +4569,20 @@ struct Wa__SessionStructure : public ProtobufCppMessage ProtobufCBinaryData alicebasekey; }; -struct Wa__SignedPreKeyRecordStructure : public ProtobufCppMessage +struct Wa__SignalMessage : public ProtobufCppMessage { - Wa__SignedPreKeyRecordStructure() : - ProtobufCppMessage(wa__signed_pre_key_record_structure__descriptor) - {} + protobuf_c_boolean has_ratchetkey; + ProtobufCBinaryData ratchetkey; + protobuf_c_boolean has_counter; + uint32_t counter; + protobuf_c_boolean has_previouscounter; + uint32_t previouscounter; + protobuf_c_boolean has_ciphertext; + ProtobufCBinaryData ciphertext; +}; +struct Wa__SignedPreKeyRecordStructure : public ProtobufCppMessage +{ protobuf_c_boolean has_id; uint32_t id; protobuf_c_boolean has_publickey; @@ -4103,6 +4629,8 @@ struct Wa__StickerMetadata : public ProtobufCppMessage uint64_t filelength; protobuf_c_boolean has_weight; float weight; + protobuf_c_boolean has_laststickersentts; + int64_t laststickersentts; }; struct Wa__SyncActionData : public ProtobufCppMessage @@ -4154,12 +4682,19 @@ struct Wa__SyncActionValue__ArchiveChatAction : public ProtobufCppMessage Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; -struct Wa__SyncActionValue__ClearChatAction : public ProtobufCppMessage +struct Wa__SyncActionValue__ChatAssignmentAction : public ProtobufCppMessage { - Wa__SyncActionValue__ClearChatAction() : - ProtobufCppMessage(wa__sync_action_value__clear_chat_action__descriptor) - {} + char *deviceagentid; +}; + +struct Wa__SyncActionValue__ChatAssignmentOpenedStatusAction : public ProtobufCppMessage +{ + protobuf_c_boolean has_chatopened; + protobuf_c_boolean chatopened; +}; +struct Wa__SyncActionValue__ClearChatAction : public ProtobufCppMessage +{ Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; @@ -4171,6 +4706,7 @@ struct Wa__SyncActionValue__ContactAction : public ProtobufCppMessage char *fullname; char *firstname; + char *lidjid; }; struct Wa__SyncActionValue__DeleteChatAction : public ProtobufCppMessage @@ -4194,12 +4730,14 @@ struct Wa__SyncActionValue__DeleteMessageForMeAction : public ProtobufCppMessage int64_t messagetimestamp; }; -struct Wa__SyncActionValue__KeyExpiration : public ProtobufCppMessage +struct Wa__SyncActionValue__ExternalWebBetaAction : public ProtobufCppMessage { - Wa__SyncActionValue__KeyExpiration() : - ProtobufCppMessage(wa__sync_action_value__key_expiration__descriptor) - {} + protobuf_c_boolean has_isoptin; + protobuf_c_boolean isoptin; +}; +struct Wa__SyncActionValue__KeyExpiration : public ProtobufCppMessage +{ protobuf_c_boolean has_expiredkeyepoch; int32_t expiredkeyepoch; }; @@ -4249,16 +4787,35 @@ struct Wa__SyncActionValue__MarkChatAsReadAction : public ProtobufCppMessage Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; -struct Wa__SyncActionValue__MuteAction : public ProtobufCppMessage +struct Wa__SyncActionValue__MarketingMessageAction : public ProtobufCppMessage { - Wa__SyncActionValue__MuteAction() : - ProtobufCppMessage(wa__sync_action_value__mute_action__descriptor) - {} + char *name; + char *message; + protobuf_c_boolean has_type; + Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType type; + protobuf_c_boolean has_createdat; + int64_t createdat; + protobuf_c_boolean has_lastsentat; + int64_t lastsentat; + protobuf_c_boolean has_isdeleted; + protobuf_c_boolean isdeleted; + char *mediaid; +}; +struct Wa__SyncActionValue__MarketingMessageBroadcastAction : public ProtobufCppMessage +{ + protobuf_c_boolean has_repliedcount; + int32_t repliedcount; +}; + +struct Wa__SyncActionValue__MuteAction : public ProtobufCppMessage +{ protobuf_c_boolean has_muted; protobuf_c_boolean muted; protobuf_c_boolean has_muteendtimestamp; int64_t muteendtimestamp; + protobuf_c_boolean has_automuted; + protobuf_c_boolean automuted; }; struct Wa__SyncActionValue__NuxAction : public ProtobufCppMessage @@ -4281,12 +4838,13 @@ struct Wa__SyncActionValue__PinAction : public ProtobufCppMessage protobuf_c_boolean pinned; }; -struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCppMessage +struct Wa__SyncActionValue__PnForLidChatAction : public ProtobufCppMessage { - Wa__SyncActionValue__PrimaryFeature() : - ProtobufCppMessage(wa__sync_action_value__primary_feature__descriptor) - {} + char *pnjid; +}; +struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCppMessage +{ size_t n_flags; char **flags; }; @@ -4300,12 +4858,14 @@ struct Wa__SyncActionValue__PrimaryVersionAction : public ProtobufCppMessage char *version; }; -struct Wa__SyncActionValue__PushNameSetting : public ProtobufCppMessage +struct Wa__SyncActionValue__PrivacySettingRelayAllCalls : public ProtobufCppMessage { - Wa__SyncActionValue__PushNameSetting() : - ProtobufCppMessage(wa__sync_action_value__push_name_setting__descriptor) - {} + protobuf_c_boolean has_isenabled; + protobuf_c_boolean isenabled; +}; +struct Wa__SyncActionValue__PushNameSetting : public ProtobufCppMessage +{ char *name; }; @@ -4335,12 +4895,14 @@ struct Wa__SyncActionValue__RecentEmojiWeightsAction : public ProtobufCppMessage Wa__RecentEmojiWeight **weights; }; -struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCppMessage +struct Wa__SyncActionValue__RemoveRecentStickerAction : public ProtobufCppMessage { - Wa__SyncActionValue__SecurityNotificationSetting() : - ProtobufCppMessage(wa__sync_action_value__security_notification_setting__descriptor) - {} + protobuf_c_boolean has_laststickersentts; + int64_t laststickersentts; +}; +struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCppMessage +{ protobuf_c_boolean has_shownotification; protobuf_c_boolean shownotification; }; @@ -4394,12 +4956,15 @@ struct Wa__SyncActionValue__SubscriptionAction : public ProtobufCppMessage int64_t expirationdate; }; -struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCppMessage +struct Wa__SyncActionValue__SyncActionMessage : public ProtobufCppMessage { - Wa__SyncActionValue__SyncActionMessageRange() : - ProtobufCppMessage(wa__sync_action_value__sync_action_message_range__descriptor) - {} + Wa__MessageKey *key; + protobuf_c_boolean has_timestamp; + int64_t timestamp; +}; +struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCppMessage +{ protobuf_c_boolean has_lastmessagetimestamp; int64_t lastmessagetimestamp; protobuf_c_boolean has_lastsystemmessagetimestamp; @@ -4408,17 +4973,6 @@ struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCppMessage Wa__SyncActionValue__SyncActionMessage **messages; }; -struct Wa__SyncActionValue__SyncActionMessage : public ProtobufCppMessage -{ - Wa__SyncActionValue__SyncActionMessage() : - ProtobufCppMessage(wa__sync_action_value__sync_action_message__descriptor) - {} - - Wa__MessageKey *key; - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; - struct Wa__SyncActionValue__TimeFormatAction : public ProtobufCppMessage { Wa__SyncActionValue__TimeFormatAction() : @@ -4484,6 +5038,14 @@ struct Wa__SyncActionValue : public ProtobufCppMessage Wa__SyncActionValue__NuxAction *nuxaction; Wa__SyncActionValue__PrimaryVersionAction *primaryversionaction; Wa__SyncActionValue__StickerAction *stickeraction; + Wa__SyncActionValue__RemoveRecentStickerAction *removerecentstickeraction; + Wa__SyncActionValue__ChatAssignmentAction *chatassignment; + Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *chatassignmentopenedstatus; + Wa__SyncActionValue__PnForLidChatAction *pnforlidchataction; + Wa__SyncActionValue__MarketingMessageAction *marketingmessageaction; + Wa__SyncActionValue__MarketingMessageBroadcastAction *marketingmessagebroadcastaction; + Wa__SyncActionValue__ExternalWebBetaAction *externalwebbetaaction; + Wa__SyncActionValue__PrivacySettingRelayAllCalls *privacysettingrelayallcalls; }; struct Wa__SyncdIndex : public ProtobufCppMessage @@ -4618,7 +5180,7 @@ typedef enum WA__TEMPLATE_BUTTON__BUTTON_QUICK_REPLY_BUTTON = 1, WA__TEMPLATE_BUTTON__BUTTON_URL_BUTTON = 2, WA__TEMPLATE_BUTTON__BUTTON_CALL_BUTTON = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__TEMPLATE_BUTTON__BUTTON) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__TEMPLATE_BUTTON__BUTTON__CASE) } Wa__TemplateButton__ButtonCase; struct Wa__TemplateButton : public ProtobufCppMessage @@ -4872,6 +5434,7 @@ struct Wa__WebMessageInfo : public ProtobufCppMessage char *originalselfauthoruserjidstring; protobuf_c_boolean has_revokemessagetimestamp; uint64_t revokemessagetimestamp; + Wa__PinInChat *pininchat; }; struct Wa__WebNotificationsInfo : public ProtobufCppMessage @@ -4892,2742 +5455,3010 @@ struct Wa__WebNotificationsInfo : public ProtobufCppMessage /* Wa__ADVDeviceIdentity methods */ void wa__advdevice_identity__init -(Wa__ADVDeviceIdentity *message); + (Wa__ADVDeviceIdentity *message); size_t wa__advdevice_identity__get_packed_size -(const Wa__ADVDeviceIdentity *message); + (const Wa__ADVDeviceIdentity *message); size_t wa__advdevice_identity__pack -(const Wa__ADVDeviceIdentity *message, - uint8_t *out); + (const Wa__ADVDeviceIdentity *message, + uint8_t *out); size_t wa__advdevice_identity__pack_to_buffer -(const Wa__ADVDeviceIdentity *message, - ProtobufCBuffer *buffer); + (const Wa__ADVDeviceIdentity *message, + ProtobufCBuffer *buffer); Wa__ADVDeviceIdentity * -wa__advdevice_identity__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__advdevice_identity__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__advdevice_identity__free_unpacked -(Wa__ADVDeviceIdentity *message, - ProtobufCAllocator *allocator); + (Wa__ADVDeviceIdentity *message, + ProtobufCAllocator *allocator); /* Wa__ADVKeyIndexList methods */ void wa__advkey_index_list__init -(Wa__ADVKeyIndexList *message); + (Wa__ADVKeyIndexList *message); size_t wa__advkey_index_list__get_packed_size -(const Wa__ADVKeyIndexList *message); + (const Wa__ADVKeyIndexList *message); size_t wa__advkey_index_list__pack -(const Wa__ADVKeyIndexList *message, - uint8_t *out); + (const Wa__ADVKeyIndexList *message, + uint8_t *out); size_t wa__advkey_index_list__pack_to_buffer -(const Wa__ADVKeyIndexList *message, - ProtobufCBuffer *buffer); + (const Wa__ADVKeyIndexList *message, + ProtobufCBuffer *buffer); Wa__ADVKeyIndexList * -wa__advkey_index_list__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__advkey_index_list__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__advkey_index_list__free_unpacked -(Wa__ADVKeyIndexList *message, - ProtobufCAllocator *allocator); + (Wa__ADVKeyIndexList *message, + ProtobufCAllocator *allocator); /* Wa__ADVSignedDeviceIdentity methods */ void wa__advsigned_device_identity__init -(Wa__ADVSignedDeviceIdentity *message); + (Wa__ADVSignedDeviceIdentity *message); size_t wa__advsigned_device_identity__get_packed_size -(const Wa__ADVSignedDeviceIdentity *message); + (const Wa__ADVSignedDeviceIdentity *message); size_t wa__advsigned_device_identity__pack -(const Wa__ADVSignedDeviceIdentity *message, - uint8_t *out); + (const Wa__ADVSignedDeviceIdentity *message, + uint8_t *out); size_t wa__advsigned_device_identity__pack_to_buffer -(const Wa__ADVSignedDeviceIdentity *message, - ProtobufCBuffer *buffer); + (const Wa__ADVSignedDeviceIdentity *message, + ProtobufCBuffer *buffer); Wa__ADVSignedDeviceIdentity * -wa__advsigned_device_identity__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__advsigned_device_identity__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__advsigned_device_identity__free_unpacked -(Wa__ADVSignedDeviceIdentity *message, - ProtobufCAllocator *allocator); + (Wa__ADVSignedDeviceIdentity *message, + ProtobufCAllocator *allocator); /* Wa__ADVSignedDeviceIdentityHMAC methods */ void wa__advsigned_device_identity_hmac__init -(Wa__ADVSignedDeviceIdentityHMAC *message); + (Wa__ADVSignedDeviceIdentityHMAC *message); size_t wa__advsigned_device_identity_hmac__get_packed_size -(const Wa__ADVSignedDeviceIdentityHMAC *message); + (const Wa__ADVSignedDeviceIdentityHMAC *message); size_t wa__advsigned_device_identity_hmac__pack -(const Wa__ADVSignedDeviceIdentityHMAC *message, - uint8_t *out); + (const Wa__ADVSignedDeviceIdentityHMAC *message, + uint8_t *out); size_t wa__advsigned_device_identity_hmac__pack_to_buffer -(const Wa__ADVSignedDeviceIdentityHMAC *message, - ProtobufCBuffer *buffer); + (const Wa__ADVSignedDeviceIdentityHMAC *message, + ProtobufCBuffer *buffer); Wa__ADVSignedDeviceIdentityHMAC * -wa__advsigned_device_identity_hmac__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__advsigned_device_identity_hmac__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__advsigned_device_identity_hmac__free_unpacked -(Wa__ADVSignedDeviceIdentityHMAC *message, - ProtobufCAllocator *allocator); + (Wa__ADVSignedDeviceIdentityHMAC *message, + ProtobufCAllocator *allocator); /* Wa__ADVSignedKeyIndexList methods */ void wa__advsigned_key_index_list__init -(Wa__ADVSignedKeyIndexList *message); + (Wa__ADVSignedKeyIndexList *message); size_t wa__advsigned_key_index_list__get_packed_size -(const Wa__ADVSignedKeyIndexList *message); + (const Wa__ADVSignedKeyIndexList *message); size_t wa__advsigned_key_index_list__pack -(const Wa__ADVSignedKeyIndexList *message, - uint8_t *out); + (const Wa__ADVSignedKeyIndexList *message, + uint8_t *out); size_t wa__advsigned_key_index_list__pack_to_buffer -(const Wa__ADVSignedKeyIndexList *message, - ProtobufCBuffer *buffer); + (const Wa__ADVSignedKeyIndexList *message, + ProtobufCBuffer *buffer); Wa__ADVSignedKeyIndexList * -wa__advsigned_key_index_list__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__advsigned_key_index_list__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__advsigned_key_index_list__free_unpacked -(Wa__ADVSignedKeyIndexList *message, - ProtobufCAllocator *allocator); + (Wa__ADVSignedKeyIndexList *message, + ProtobufCAllocator *allocator); /* Wa__ActionLink methods */ void wa__action_link__init -(Wa__ActionLink *message); + (Wa__ActionLink *message); size_t wa__action_link__get_packed_size -(const Wa__ActionLink *message); + (const Wa__ActionLink *message); size_t wa__action_link__pack -(const Wa__ActionLink *message, - uint8_t *out); + (const Wa__ActionLink *message, + uint8_t *out); size_t wa__action_link__pack_to_buffer -(const Wa__ActionLink *message, - ProtobufCBuffer *buffer); + (const Wa__ActionLink *message, + ProtobufCBuffer *buffer); Wa__ActionLink * -wa__action_link__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__action_link__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__action_link__free_unpacked -(Wa__ActionLink *message, - ProtobufCAllocator *allocator); + (Wa__ActionLink *message, + ProtobufCAllocator *allocator); /* Wa__AutoDownloadSettings methods */ void wa__auto_download_settings__init -(Wa__AutoDownloadSettings *message); + (Wa__AutoDownloadSettings *message); size_t wa__auto_download_settings__get_packed_size -(const Wa__AutoDownloadSettings *message); + (const Wa__AutoDownloadSettings *message); size_t wa__auto_download_settings__pack -(const Wa__AutoDownloadSettings *message, - uint8_t *out); + (const Wa__AutoDownloadSettings *message, + uint8_t *out); size_t wa__auto_download_settings__pack_to_buffer -(const Wa__AutoDownloadSettings *message, - ProtobufCBuffer *buffer); + (const Wa__AutoDownloadSettings *message, + ProtobufCBuffer *buffer); Wa__AutoDownloadSettings * -wa__auto_download_settings__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__auto_download_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__auto_download_settings__free_unpacked -(Wa__AutoDownloadSettings *message, - ProtobufCAllocator *allocator); + (Wa__AutoDownloadSettings *message, + ProtobufCAllocator *allocator); +/* Wa__AvatarUserSettings methods */ +void wa__avatar_user_settings__init + (Wa__AvatarUserSettings *message); +size_t wa__avatar_user_settings__get_packed_size + (const Wa__AvatarUserSettings *message); +size_t wa__avatar_user_settings__pack + (const Wa__AvatarUserSettings *message, + uint8_t *out); +size_t wa__avatar_user_settings__pack_to_buffer + (const Wa__AvatarUserSettings *message, + ProtobufCBuffer *buffer); +Wa__AvatarUserSettings * + wa__avatar_user_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__avatar_user_settings__free_unpacked + (Wa__AvatarUserSettings *message, + ProtobufCAllocator *allocator); /* Wa__BizAccountLinkInfo methods */ void wa__biz_account_link_info__init -(Wa__BizAccountLinkInfo *message); + (Wa__BizAccountLinkInfo *message); size_t wa__biz_account_link_info__get_packed_size -(const Wa__BizAccountLinkInfo *message); + (const Wa__BizAccountLinkInfo *message); size_t wa__biz_account_link_info__pack -(const Wa__BizAccountLinkInfo *message, - uint8_t *out); + (const Wa__BizAccountLinkInfo *message, + uint8_t *out); size_t wa__biz_account_link_info__pack_to_buffer -(const Wa__BizAccountLinkInfo *message, - ProtobufCBuffer *buffer); + (const Wa__BizAccountLinkInfo *message, + ProtobufCBuffer *buffer); Wa__BizAccountLinkInfo * -wa__biz_account_link_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__biz_account_link_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__biz_account_link_info__free_unpacked -(Wa__BizAccountLinkInfo *message, - ProtobufCAllocator *allocator); + (Wa__BizAccountLinkInfo *message, + ProtobufCAllocator *allocator); /* Wa__BizAccountPayload methods */ void wa__biz_account_payload__init -(Wa__BizAccountPayload *message); + (Wa__BizAccountPayload *message); size_t wa__biz_account_payload__get_packed_size -(const Wa__BizAccountPayload *message); + (const Wa__BizAccountPayload *message); size_t wa__biz_account_payload__pack -(const Wa__BizAccountPayload *message, - uint8_t *out); + (const Wa__BizAccountPayload *message, + uint8_t *out); size_t wa__biz_account_payload__pack_to_buffer -(const Wa__BizAccountPayload *message, - ProtobufCBuffer *buffer); + (const Wa__BizAccountPayload *message, + ProtobufCBuffer *buffer); Wa__BizAccountPayload * -wa__biz_account_payload__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__biz_account_payload__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__biz_account_payload__free_unpacked -(Wa__BizAccountPayload *message, - ProtobufCAllocator *allocator); + (Wa__BizAccountPayload *message, + ProtobufCAllocator *allocator); /* Wa__BizIdentityInfo methods */ void wa__biz_identity_info__init -(Wa__BizIdentityInfo *message); + (Wa__BizIdentityInfo *message); size_t wa__biz_identity_info__get_packed_size -(const Wa__BizIdentityInfo *message); + (const Wa__BizIdentityInfo *message); size_t wa__biz_identity_info__pack -(const Wa__BizIdentityInfo *message, - uint8_t *out); + (const Wa__BizIdentityInfo *message, + uint8_t *out); size_t wa__biz_identity_info__pack_to_buffer -(const Wa__BizIdentityInfo *message, - ProtobufCBuffer *buffer); + (const Wa__BizIdentityInfo *message, + ProtobufCBuffer *buffer); Wa__BizIdentityInfo * -wa__biz_identity_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__biz_identity_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__biz_identity_info__free_unpacked -(Wa__BizIdentityInfo *message, - ProtobufCAllocator *allocator); + (Wa__BizIdentityInfo *message, + ProtobufCAllocator *allocator); /* Wa__CertChain__NoiseCertificate__Details methods */ void wa__cert_chain__noise_certificate__details__init -(Wa__CertChain__NoiseCertificate__Details *message); + (Wa__CertChain__NoiseCertificate__Details *message); /* Wa__CertChain__NoiseCertificate methods */ void wa__cert_chain__noise_certificate__init -(Wa__CertChain__NoiseCertificate *message); + (Wa__CertChain__NoiseCertificate *message); /* Wa__CertChain methods */ void wa__cert_chain__init -(Wa__CertChain *message); + (Wa__CertChain *message); size_t wa__cert_chain__get_packed_size -(const Wa__CertChain *message); + (const Wa__CertChain *message); size_t wa__cert_chain__pack -(const Wa__CertChain *message, - uint8_t *out); + (const Wa__CertChain *message, + uint8_t *out); size_t wa__cert_chain__pack_to_buffer -(const Wa__CertChain *message, - ProtobufCBuffer *buffer); + (const Wa__CertChain *message, + ProtobufCBuffer *buffer); Wa__CertChain * -wa__cert_chain__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__cert_chain__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__cert_chain__free_unpacked -(Wa__CertChain *message, - ProtobufCAllocator *allocator); -/* Wa__Chain methods */ -void wa__chain__init -(Wa__Chain *message); -size_t wa__chain__get_packed_size -(const Wa__Chain *message); -size_t wa__chain__pack -(const Wa__Chain *message, - uint8_t *out); -size_t wa__chain__pack_to_buffer -(const Wa__Chain *message, - ProtobufCBuffer *buffer); -Wa__Chain * -wa__chain__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__chain__free_unpacked -(Wa__Chain *message, - ProtobufCAllocator *allocator); -/* Wa__ChainKey methods */ -void wa__chain_key__init -(Wa__ChainKey *message); -size_t wa__chain_key__get_packed_size -(const Wa__ChainKey *message); -size_t wa__chain_key__pack -(const Wa__ChainKey *message, - uint8_t *out); -size_t wa__chain_key__pack_to_buffer -(const Wa__ChainKey *message, - ProtobufCBuffer *buffer); -Wa__ChainKey * -wa__chain_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__chain_key__free_unpacked -(Wa__ChainKey *message, - ProtobufCAllocator *allocator); + (Wa__CertChain *message, + ProtobufCAllocator *allocator); /* Wa__ClientPayload__DNSSource methods */ void wa__client_payload__dnssource__init -(Wa__ClientPayload__DNSSource *message); + (Wa__ClientPayload__DNSSource *message); /* Wa__ClientPayload__DevicePairingRegistrationData methods */ void wa__client_payload__device_pairing_registration_data__init -(Wa__ClientPayload__DevicePairingRegistrationData *message); + (Wa__ClientPayload__DevicePairingRegistrationData *message); +/* Wa__ClientPayload__InteropData methods */ +void wa__client_payload__interop_data__init + (Wa__ClientPayload__InteropData *message); /* Wa__ClientPayload__UserAgent__AppVersion methods */ void wa__client_payload__user_agent__app_version__init -(Wa__ClientPayload__UserAgent__AppVersion *message); + (Wa__ClientPayload__UserAgent__AppVersion *message); /* Wa__ClientPayload__UserAgent methods */ void wa__client_payload__user_agent__init -(Wa__ClientPayload__UserAgent *message); + (Wa__ClientPayload__UserAgent *message); /* Wa__ClientPayload__WebInfo__WebdPayload methods */ void wa__client_payload__web_info__webd_payload__init -(Wa__ClientPayload__WebInfo__WebdPayload *message); + (Wa__ClientPayload__WebInfo__WebdPayload *message); /* Wa__ClientPayload__WebInfo methods */ void wa__client_payload__web_info__init -(Wa__ClientPayload__WebInfo *message); + (Wa__ClientPayload__WebInfo *message); /* Wa__ClientPayload methods */ void wa__client_payload__init -(Wa__ClientPayload *message); + (Wa__ClientPayload *message); size_t wa__client_payload__get_packed_size -(const Wa__ClientPayload *message); + (const Wa__ClientPayload *message); size_t wa__client_payload__pack -(const Wa__ClientPayload *message, - uint8_t *out); + (const Wa__ClientPayload *message, + uint8_t *out); size_t wa__client_payload__pack_to_buffer -(const Wa__ClientPayload *message, - ProtobufCBuffer *buffer); + (const Wa__ClientPayload *message, + ProtobufCBuffer *buffer); Wa__ClientPayload * -wa__client_payload__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__client_payload__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__client_payload__free_unpacked -(Wa__ClientPayload *message, - ProtobufCAllocator *allocator); + (Wa__ClientPayload *message, + ProtobufCAllocator *allocator); /* Wa__ContextInfo__AdReplyInfo methods */ void wa__context_info__ad_reply_info__init -(Wa__ContextInfo__AdReplyInfo *message); + (Wa__ContextInfo__AdReplyInfo *message); /* Wa__ContextInfo__ExternalAdReplyInfo methods */ void wa__context_info__external_ad_reply_info__init -(Wa__ContextInfo__ExternalAdReplyInfo *message); + (Wa__ContextInfo__ExternalAdReplyInfo *message); +/* Wa__ContextInfo__UTMInfo methods */ +void wa__context_info__utminfo__init + (Wa__ContextInfo__UTMInfo *message); /* Wa__ContextInfo methods */ void wa__context_info__init -(Wa__ContextInfo *message); + (Wa__ContextInfo *message); size_t wa__context_info__get_packed_size -(const Wa__ContextInfo *message); + (const Wa__ContextInfo *message); size_t wa__context_info__pack -(const Wa__ContextInfo *message, - uint8_t *out); + (const Wa__ContextInfo *message, + uint8_t *out); size_t wa__context_info__pack_to_buffer -(const Wa__ContextInfo *message, - ProtobufCBuffer *buffer); + (const Wa__ContextInfo *message, + ProtobufCBuffer *buffer); Wa__ContextInfo * -wa__context_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__context_info__free_unpacked -(Wa__ContextInfo *message, - ProtobufCAllocator *allocator); + (Wa__ContextInfo *message, + ProtobufCAllocator *allocator); /* Wa__Conversation methods */ void wa__conversation__init -(Wa__Conversation *message); + (Wa__Conversation *message); size_t wa__conversation__get_packed_size -(const Wa__Conversation *message); + (const Wa__Conversation *message); size_t wa__conversation__pack -(const Wa__Conversation *message, - uint8_t *out); + (const Wa__Conversation *message, + uint8_t *out); size_t wa__conversation__pack_to_buffer -(const Wa__Conversation *message, - ProtobufCBuffer *buffer); + (const Wa__Conversation *message, + ProtobufCBuffer *buffer); Wa__Conversation * -wa__conversation__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__conversation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__conversation__free_unpacked -(Wa__Conversation *message, - ProtobufCAllocator *allocator); + (Wa__Conversation *message, + ProtobufCAllocator *allocator); +/* Wa__DeviceConsistencyCodeMessage methods */ +void wa__device_consistency_code_message__init + (Wa__DeviceConsistencyCodeMessage *message); +size_t wa__device_consistency_code_message__get_packed_size + (const Wa__DeviceConsistencyCodeMessage *message); +size_t wa__device_consistency_code_message__pack + (const Wa__DeviceConsistencyCodeMessage *message, + uint8_t *out); +size_t wa__device_consistency_code_message__pack_to_buffer + (const Wa__DeviceConsistencyCodeMessage *message, + ProtobufCBuffer *buffer); +Wa__DeviceConsistencyCodeMessage * + wa__device_consistency_code_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__device_consistency_code_message__free_unpacked + (Wa__DeviceConsistencyCodeMessage *message, + ProtobufCAllocator *allocator); /* Wa__DeviceListMetadata methods */ void wa__device_list_metadata__init -(Wa__DeviceListMetadata *message); + (Wa__DeviceListMetadata *message); size_t wa__device_list_metadata__get_packed_size -(const Wa__DeviceListMetadata *message); + (const Wa__DeviceListMetadata *message); size_t wa__device_list_metadata__pack -(const Wa__DeviceListMetadata *message, - uint8_t *out); + (const Wa__DeviceListMetadata *message, + uint8_t *out); size_t wa__device_list_metadata__pack_to_buffer -(const Wa__DeviceListMetadata *message, - ProtobufCBuffer *buffer); + (const Wa__DeviceListMetadata *message, + ProtobufCBuffer *buffer); Wa__DeviceListMetadata * -wa__device_list_metadata__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__device_list_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__device_list_metadata__free_unpacked -(Wa__DeviceListMetadata *message, - ProtobufCAllocator *allocator); + (Wa__DeviceListMetadata *message, + ProtobufCAllocator *allocator); /* Wa__DeviceProps__AppVersion methods */ void wa__device_props__app_version__init -(Wa__DeviceProps__AppVersion *message); + (Wa__DeviceProps__AppVersion *message); +/* Wa__DeviceProps__HistorySyncConfig methods */ +void wa__device_props__history_sync_config__init + (Wa__DeviceProps__HistorySyncConfig *message); /* Wa__DeviceProps methods */ void wa__device_props__init -(Wa__DeviceProps *message); + (Wa__DeviceProps *message); size_t wa__device_props__get_packed_size -(const Wa__DeviceProps *message); + (const Wa__DeviceProps *message); size_t wa__device_props__pack -(const Wa__DeviceProps *message, - uint8_t *out); + (const Wa__DeviceProps *message, + uint8_t *out); size_t wa__device_props__pack_to_buffer -(const Wa__DeviceProps *message, - ProtobufCBuffer *buffer); + (const Wa__DeviceProps *message, + ProtobufCBuffer *buffer); Wa__DeviceProps * -wa__device_props__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__device_props__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__device_props__free_unpacked -(Wa__DeviceProps *message, - ProtobufCAllocator *allocator); + (Wa__DeviceProps *message, + ProtobufCAllocator *allocator); /* Wa__DisappearingMode methods */ void wa__disappearing_mode__init -(Wa__DisappearingMode *message); + (Wa__DisappearingMode *message); size_t wa__disappearing_mode__get_packed_size -(const Wa__DisappearingMode *message); + (const Wa__DisappearingMode *message); size_t wa__disappearing_mode__pack -(const Wa__DisappearingMode *message, - uint8_t *out); + (const Wa__DisappearingMode *message, + uint8_t *out); size_t wa__disappearing_mode__pack_to_buffer -(const Wa__DisappearingMode *message, - ProtobufCBuffer *buffer); + (const Wa__DisappearingMode *message, + ProtobufCBuffer *buffer); Wa__DisappearingMode * -wa__disappearing_mode__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__disappearing_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__disappearing_mode__free_unpacked -(Wa__DisappearingMode *message, - ProtobufCAllocator *allocator); + (Wa__DisappearingMode *message, + ProtobufCAllocator *allocator); /* Wa__EphemeralSetting methods */ void wa__ephemeral_setting__init -(Wa__EphemeralSetting *message); + (Wa__EphemeralSetting *message); size_t wa__ephemeral_setting__get_packed_size -(const Wa__EphemeralSetting *message); + (const Wa__EphemeralSetting *message); size_t wa__ephemeral_setting__pack -(const Wa__EphemeralSetting *message, - uint8_t *out); + (const Wa__EphemeralSetting *message, + uint8_t *out); size_t wa__ephemeral_setting__pack_to_buffer -(const Wa__EphemeralSetting *message, - ProtobufCBuffer *buffer); + (const Wa__EphemeralSetting *message, + ProtobufCBuffer *buffer); Wa__EphemeralSetting * -wa__ephemeral_setting__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__ephemeral_setting__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__ephemeral_setting__free_unpacked -(Wa__EphemeralSetting *message, - ProtobufCAllocator *allocator); + (Wa__EphemeralSetting *message, + ProtobufCAllocator *allocator); /* Wa__ExitCode methods */ void wa__exit_code__init -(Wa__ExitCode *message); + (Wa__ExitCode *message); size_t wa__exit_code__get_packed_size -(const Wa__ExitCode *message); + (const Wa__ExitCode *message); size_t wa__exit_code__pack -(const Wa__ExitCode *message, - uint8_t *out); + (const Wa__ExitCode *message, + uint8_t *out); size_t wa__exit_code__pack_to_buffer -(const Wa__ExitCode *message, - ProtobufCBuffer *buffer); + (const Wa__ExitCode *message, + ProtobufCBuffer *buffer); Wa__ExitCode * -wa__exit_code__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__exit_code__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__exit_code__free_unpacked -(Wa__ExitCode *message, - ProtobufCAllocator *allocator); + (Wa__ExitCode *message, + ProtobufCAllocator *allocator); /* Wa__ExternalBlobReference methods */ void wa__external_blob_reference__init -(Wa__ExternalBlobReference *message); + (Wa__ExternalBlobReference *message); size_t wa__external_blob_reference__get_packed_size -(const Wa__ExternalBlobReference *message); + (const Wa__ExternalBlobReference *message); size_t wa__external_blob_reference__pack -(const Wa__ExternalBlobReference *message, - uint8_t *out); + (const Wa__ExternalBlobReference *message, + uint8_t *out); size_t wa__external_blob_reference__pack_to_buffer -(const Wa__ExternalBlobReference *message, - ProtobufCBuffer *buffer); + (const Wa__ExternalBlobReference *message, + ProtobufCBuffer *buffer); Wa__ExternalBlobReference * -wa__external_blob_reference__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__external_blob_reference__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__external_blob_reference__free_unpacked -(Wa__ExternalBlobReference *message, - ProtobufCAllocator *allocator); + (Wa__ExternalBlobReference *message, + ProtobufCAllocator *allocator); /* Wa__GlobalSettings methods */ void wa__global_settings__init -(Wa__GlobalSettings *message); + (Wa__GlobalSettings *message); size_t wa__global_settings__get_packed_size -(const Wa__GlobalSettings *message); + (const Wa__GlobalSettings *message); size_t wa__global_settings__pack -(const Wa__GlobalSettings *message, - uint8_t *out); + (const Wa__GlobalSettings *message, + uint8_t *out); size_t wa__global_settings__pack_to_buffer -(const Wa__GlobalSettings *message, - ProtobufCBuffer *buffer); + (const Wa__GlobalSettings *message, + ProtobufCBuffer *buffer); Wa__GlobalSettings * -wa__global_settings__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__global_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__global_settings__free_unpacked -(Wa__GlobalSettings *message, - ProtobufCAllocator *allocator); + (Wa__GlobalSettings *message, + ProtobufCAllocator *allocator); +/* Wa__GroupMention methods */ +void wa__group_mention__init + (Wa__GroupMention *message); +size_t wa__group_mention__get_packed_size + (const Wa__GroupMention *message); +size_t wa__group_mention__pack + (const Wa__GroupMention *message, + uint8_t *out); +size_t wa__group_mention__pack_to_buffer + (const Wa__GroupMention *message, + ProtobufCBuffer *buffer); +Wa__GroupMention * + wa__group_mention__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__group_mention__free_unpacked + (Wa__GroupMention *message, + ProtobufCAllocator *allocator); /* Wa__GroupParticipant methods */ void wa__group_participant__init -(Wa__GroupParticipant *message); + (Wa__GroupParticipant *message); size_t wa__group_participant__get_packed_size -(const Wa__GroupParticipant *message); + (const Wa__GroupParticipant *message); size_t wa__group_participant__pack -(const Wa__GroupParticipant *message, - uint8_t *out); + (const Wa__GroupParticipant *message, + uint8_t *out); size_t wa__group_participant__pack_to_buffer -(const Wa__GroupParticipant *message, - ProtobufCBuffer *buffer); + (const Wa__GroupParticipant *message, + ProtobufCBuffer *buffer); Wa__GroupParticipant * -wa__group_participant__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__group_participant__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__group_participant__free_unpacked -(Wa__GroupParticipant *message, - ProtobufCAllocator *allocator); + (Wa__GroupParticipant *message, + ProtobufCAllocator *allocator); /* Wa__HandshakeMessage__ClientFinish methods */ void wa__handshake_message__client_finish__init -(Wa__HandshakeMessage__ClientFinish *message); + (Wa__HandshakeMessage__ClientFinish *message); /* Wa__HandshakeMessage__ClientHello methods */ void wa__handshake_message__client_hello__init -(Wa__HandshakeMessage__ClientHello *message); + (Wa__HandshakeMessage__ClientHello *message); /* Wa__HandshakeMessage__ServerHello methods */ void wa__handshake_message__server_hello__init -(Wa__HandshakeMessage__ServerHello *message); + (Wa__HandshakeMessage__ServerHello *message); /* Wa__HandshakeMessage methods */ void wa__handshake_message__init -(Wa__HandshakeMessage *message); + (Wa__HandshakeMessage *message); size_t wa__handshake_message__get_packed_size -(const Wa__HandshakeMessage *message); + (const Wa__HandshakeMessage *message); size_t wa__handshake_message__pack -(const Wa__HandshakeMessage *message, - uint8_t *out); + (const Wa__HandshakeMessage *message, + uint8_t *out); size_t wa__handshake_message__pack_to_buffer -(const Wa__HandshakeMessage *message, - ProtobufCBuffer *buffer); + (const Wa__HandshakeMessage *message, + ProtobufCBuffer *buffer); Wa__HandshakeMessage * -wa__handshake_message__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__handshake_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__handshake_message__free_unpacked -(Wa__HandshakeMessage *message, - ProtobufCAllocator *allocator); + (Wa__HandshakeMessage *message, + ProtobufCAllocator *allocator); /* Wa__HistorySync methods */ void wa__history_sync__init -(Wa__HistorySync *message); + (Wa__HistorySync *message); size_t wa__history_sync__get_packed_size -(const Wa__HistorySync *message); + (const Wa__HistorySync *message); size_t wa__history_sync__pack -(const Wa__HistorySync *message, - uint8_t *out); + (const Wa__HistorySync *message, + uint8_t *out); size_t wa__history_sync__pack_to_buffer -(const Wa__HistorySync *message, - ProtobufCBuffer *buffer); + (const Wa__HistorySync *message, + ProtobufCBuffer *buffer); Wa__HistorySync * -wa__history_sync__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__history_sync__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__history_sync__free_unpacked -(Wa__HistorySync *message, - ProtobufCAllocator *allocator); + (Wa__HistorySync *message, + ProtobufCAllocator *allocator); /* Wa__HistorySyncMsg methods */ void wa__history_sync_msg__init -(Wa__HistorySyncMsg *message); + (Wa__HistorySyncMsg *message); size_t wa__history_sync_msg__get_packed_size -(const Wa__HistorySyncMsg *message); + (const Wa__HistorySyncMsg *message); size_t wa__history_sync_msg__pack -(const Wa__HistorySyncMsg *message, - uint8_t *out); + (const Wa__HistorySyncMsg *message, + uint8_t *out); size_t wa__history_sync_msg__pack_to_buffer -(const Wa__HistorySyncMsg *message, - ProtobufCBuffer *buffer); + (const Wa__HistorySyncMsg *message, + ProtobufCBuffer *buffer); Wa__HistorySyncMsg * -wa__history_sync_msg__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__history_sync_msg__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__history_sync_msg__free_unpacked -(Wa__HistorySyncMsg *message, - ProtobufCAllocator *allocator); + (Wa__HistorySyncMsg *message, + ProtobufCAllocator *allocator); /* Wa__HydratedTemplateButton__HydratedCallButton methods */ void wa__hydrated_template_button__hydrated_call_button__init -(Wa__HydratedTemplateButton__HydratedCallButton *message); + (Wa__HydratedTemplateButton__HydratedCallButton *message); /* Wa__HydratedTemplateButton__HydratedQuickReplyButton methods */ void wa__hydrated_template_button__hydrated_quick_reply_button__init -(Wa__HydratedTemplateButton__HydratedQuickReplyButton *message); + (Wa__HydratedTemplateButton__HydratedQuickReplyButton *message); /* Wa__HydratedTemplateButton__HydratedURLButton methods */ void wa__hydrated_template_button__hydrated_urlbutton__init -(Wa__HydratedTemplateButton__HydratedURLButton *message); + (Wa__HydratedTemplateButton__HydratedURLButton *message); /* Wa__HydratedTemplateButton methods */ void wa__hydrated_template_button__init -(Wa__HydratedTemplateButton *message); + (Wa__HydratedTemplateButton *message); size_t wa__hydrated_template_button__get_packed_size -(const Wa__HydratedTemplateButton *message); + (const Wa__HydratedTemplateButton *message); size_t wa__hydrated_template_button__pack -(const Wa__HydratedTemplateButton *message, - uint8_t *out); + (const Wa__HydratedTemplateButton *message, + uint8_t *out); size_t wa__hydrated_template_button__pack_to_buffer -(const Wa__HydratedTemplateButton *message, - ProtobufCBuffer *buffer); + (const Wa__HydratedTemplateButton *message, + ProtobufCBuffer *buffer); Wa__HydratedTemplateButton * -wa__hydrated_template_button__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__hydrated_template_button__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__hydrated_template_button__free_unpacked -(Wa__HydratedTemplateButton *message, - ProtobufCAllocator *allocator); + (Wa__HydratedTemplateButton *message, + ProtobufCAllocator *allocator); /* Wa__IdentityKeyPairStructure methods */ void wa__identity_key_pair_structure__init -(Wa__IdentityKeyPairStructure *message); + (Wa__IdentityKeyPairStructure *message); size_t wa__identity_key_pair_structure__get_packed_size -(const Wa__IdentityKeyPairStructure *message); + (const Wa__IdentityKeyPairStructure *message); size_t wa__identity_key_pair_structure__pack -(const Wa__IdentityKeyPairStructure *message, - uint8_t *out); + (const Wa__IdentityKeyPairStructure *message, + uint8_t *out); size_t wa__identity_key_pair_structure__pack_to_buffer -(const Wa__IdentityKeyPairStructure *message, - ProtobufCBuffer *buffer); + (const Wa__IdentityKeyPairStructure *message, + ProtobufCBuffer *buffer); Wa__IdentityKeyPairStructure * -wa__identity_key_pair_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__identity_key_pair_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__identity_key_pair_structure__free_unpacked -(Wa__IdentityKeyPairStructure *message, - ProtobufCAllocator *allocator); + (Wa__IdentityKeyPairStructure *message, + ProtobufCAllocator *allocator); /* Wa__InteractiveAnnotation methods */ void wa__interactive_annotation__init -(Wa__InteractiveAnnotation *message); + (Wa__InteractiveAnnotation *message); size_t wa__interactive_annotation__get_packed_size -(const Wa__InteractiveAnnotation *message); + (const Wa__InteractiveAnnotation *message); size_t wa__interactive_annotation__pack -(const Wa__InteractiveAnnotation *message, - uint8_t *out); + (const Wa__InteractiveAnnotation *message, + uint8_t *out); size_t wa__interactive_annotation__pack_to_buffer -(const Wa__InteractiveAnnotation *message, - ProtobufCBuffer *buffer); + (const Wa__InteractiveAnnotation *message, + ProtobufCBuffer *buffer); Wa__InteractiveAnnotation * -wa__interactive_annotation__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__interactive_annotation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__interactive_annotation__free_unpacked -(Wa__InteractiveAnnotation *message, - ProtobufCAllocator *allocator); + (Wa__InteractiveAnnotation *message, + ProtobufCAllocator *allocator); /* Wa__KeepInChat methods */ void wa__keep_in_chat__init -(Wa__KeepInChat *message); + (Wa__KeepInChat *message); size_t wa__keep_in_chat__get_packed_size -(const Wa__KeepInChat *message); + (const Wa__KeepInChat *message); size_t wa__keep_in_chat__pack -(const Wa__KeepInChat *message, - uint8_t *out); + (const Wa__KeepInChat *message, + uint8_t *out); size_t wa__keep_in_chat__pack_to_buffer -(const Wa__KeepInChat *message, - ProtobufCBuffer *buffer); + (const Wa__KeepInChat *message, + ProtobufCBuffer *buffer); Wa__KeepInChat * -wa__keep_in_chat__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__keep_in_chat__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__keep_in_chat__free_unpacked -(Wa__KeepInChat *message, - ProtobufCAllocator *allocator); + (Wa__KeepInChat *message, + ProtobufCAllocator *allocator); +/* Wa__KeyExchangeMessage methods */ +void wa__key_exchange_message__init + (Wa__KeyExchangeMessage *message); +size_t wa__key_exchange_message__get_packed_size + (const Wa__KeyExchangeMessage *message); +size_t wa__key_exchange_message__pack + (const Wa__KeyExchangeMessage *message, + uint8_t *out); +size_t wa__key_exchange_message__pack_to_buffer + (const Wa__KeyExchangeMessage *message, + ProtobufCBuffer *buffer); +Wa__KeyExchangeMessage * + wa__key_exchange_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__key_exchange_message__free_unpacked + (Wa__KeyExchangeMessage *message, + ProtobufCAllocator *allocator); /* Wa__KeyId methods */ void wa__key_id__init -(Wa__KeyId *message); + (Wa__KeyId *message); size_t wa__key_id__get_packed_size -(const Wa__KeyId *message); + (const Wa__KeyId *message); size_t wa__key_id__pack -(const Wa__KeyId *message, - uint8_t *out); + (const Wa__KeyId *message, + uint8_t *out); size_t wa__key_id__pack_to_buffer -(const Wa__KeyId *message, - ProtobufCBuffer *buffer); + (const Wa__KeyId *message, + ProtobufCBuffer *buffer); Wa__KeyId * -wa__key_id__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__key_id__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__key_id__free_unpacked -(Wa__KeyId *message, - ProtobufCAllocator *allocator); + (Wa__KeyId *message, + ProtobufCAllocator *allocator); /* Wa__LocalizedName methods */ void wa__localized_name__init -(Wa__LocalizedName *message); + (Wa__LocalizedName *message); size_t wa__localized_name__get_packed_size -(const Wa__LocalizedName *message); + (const Wa__LocalizedName *message); size_t wa__localized_name__pack -(const Wa__LocalizedName *message, - uint8_t *out); + (const Wa__LocalizedName *message, + uint8_t *out); size_t wa__localized_name__pack_to_buffer -(const Wa__LocalizedName *message, - ProtobufCBuffer *buffer); + (const Wa__LocalizedName *message, + ProtobufCBuffer *buffer); Wa__LocalizedName * -wa__localized_name__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__localized_name__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__localized_name__free_unpacked -(Wa__LocalizedName *message, - ProtobufCAllocator *allocator); + (Wa__LocalizedName *message, + ProtobufCAllocator *allocator); /* Wa__Location methods */ void wa__location__init -(Wa__Location *message); + (Wa__Location *message); size_t wa__location__get_packed_size -(const Wa__Location *message); + (const Wa__Location *message); size_t wa__location__pack -(const Wa__Location *message, - uint8_t *out); + (const Wa__Location *message, + uint8_t *out); size_t wa__location__pack_to_buffer -(const Wa__Location *message, - ProtobufCBuffer *buffer); + (const Wa__Location *message, + ProtobufCBuffer *buffer); Wa__Location * -wa__location__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__location__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__location__free_unpacked -(Wa__Location *message, - ProtobufCAllocator *allocator); + (Wa__Location *message, + ProtobufCAllocator *allocator); /* Wa__MediaData methods */ void wa__media_data__init -(Wa__MediaData *message); + (Wa__MediaData *message); size_t wa__media_data__get_packed_size -(const Wa__MediaData *message); + (const Wa__MediaData *message); size_t wa__media_data__pack -(const Wa__MediaData *message, - uint8_t *out); + (const Wa__MediaData *message, + uint8_t *out); size_t wa__media_data__pack_to_buffer -(const Wa__MediaData *message, - ProtobufCBuffer *buffer); + (const Wa__MediaData *message, + ProtobufCBuffer *buffer); Wa__MediaData * -wa__media_data__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__media_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__media_data__free_unpacked -(Wa__MediaData *message, - ProtobufCAllocator *allocator); + (Wa__MediaData *message, + ProtobufCAllocator *allocator); /* Wa__MediaRetryNotification methods */ void wa__media_retry_notification__init -(Wa__MediaRetryNotification *message); + (Wa__MediaRetryNotification *message); size_t wa__media_retry_notification__get_packed_size -(const Wa__MediaRetryNotification *message); + (const Wa__MediaRetryNotification *message); size_t wa__media_retry_notification__pack -(const Wa__MediaRetryNotification *message, - uint8_t *out); + (const Wa__MediaRetryNotification *message, + uint8_t *out); size_t wa__media_retry_notification__pack_to_buffer -(const Wa__MediaRetryNotification *message, - ProtobufCBuffer *buffer); + (const Wa__MediaRetryNotification *message, + ProtobufCBuffer *buffer); Wa__MediaRetryNotification * -wa__media_retry_notification__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__media_retry_notification__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__media_retry_notification__free_unpacked -(Wa__MediaRetryNotification *message, - ProtobufCAllocator *allocator); + (Wa__MediaRetryNotification *message, + ProtobufCAllocator *allocator); /* Wa__Message__AppStateFatalExceptionNotification methods */ void wa__message__app_state_fatal_exception_notification__init -(Wa__Message__AppStateFatalExceptionNotification *message); + (Wa__Message__AppStateFatalExceptionNotification *message); +/* Wa__Message__AppStateSyncKey methods */ +void wa__message__app_state_sync_key__init + (Wa__Message__AppStateSyncKey *message); /* Wa__Message__AppStateSyncKeyData methods */ void wa__message__app_state_sync_key_data__init -(Wa__Message__AppStateSyncKeyData *message); + (Wa__Message__AppStateSyncKeyData *message); /* Wa__Message__AppStateSyncKeyFingerprint methods */ void wa__message__app_state_sync_key_fingerprint__init -(Wa__Message__AppStateSyncKeyFingerprint *message); + (Wa__Message__AppStateSyncKeyFingerprint *message); /* Wa__Message__AppStateSyncKeyId methods */ void wa__message__app_state_sync_key_id__init -(Wa__Message__AppStateSyncKeyId *message); + (Wa__Message__AppStateSyncKeyId *message); /* Wa__Message__AppStateSyncKeyRequest methods */ void wa__message__app_state_sync_key_request__init -(Wa__Message__AppStateSyncKeyRequest *message); + (Wa__Message__AppStateSyncKeyRequest *message); /* Wa__Message__AppStateSyncKeyShare methods */ void wa__message__app_state_sync_key_share__init -(Wa__Message__AppStateSyncKeyShare *message); -/* Wa__Message__AppStateSyncKey methods */ -void wa__message__app_state_sync_key__init -(Wa__Message__AppStateSyncKey *message); + (Wa__Message__AppStateSyncKeyShare *message); /* Wa__Message__AudioMessage methods */ void wa__message__audio_message__init -(Wa__Message__AudioMessage *message); + (Wa__Message__AudioMessage *message); /* Wa__Message__ButtonsMessage__Button__ButtonText methods */ void wa__message__buttons_message__button__button_text__init -(Wa__Message__ButtonsMessage__Button__ButtonText *message); + (Wa__Message__ButtonsMessage__Button__ButtonText *message); /* Wa__Message__ButtonsMessage__Button__NativeFlowInfo methods */ void wa__message__buttons_message__button__native_flow_info__init -(Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message); + (Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message); /* Wa__Message__ButtonsMessage__Button methods */ void wa__message__buttons_message__button__init -(Wa__Message__ButtonsMessage__Button *message); + (Wa__Message__ButtonsMessage__Button *message); /* Wa__Message__ButtonsMessage methods */ void wa__message__buttons_message__init -(Wa__Message__ButtonsMessage *message); + (Wa__Message__ButtonsMessage *message); /* Wa__Message__ButtonsResponseMessage methods */ void wa__message__buttons_response_message__init -(Wa__Message__ButtonsResponseMessage *message); + (Wa__Message__ButtonsResponseMessage *message); /* Wa__Message__Call methods */ void wa__message__call__init -(Wa__Message__Call *message); + (Wa__Message__Call *message); /* Wa__Message__CancelPaymentRequestMessage methods */ void wa__message__cancel_payment_request_message__init -(Wa__Message__CancelPaymentRequestMessage *message); + (Wa__Message__CancelPaymentRequestMessage *message); /* Wa__Message__Chat methods */ void wa__message__chat__init -(Wa__Message__Chat *message); + (Wa__Message__Chat *message); /* Wa__Message__ContactMessage methods */ void wa__message__contact_message__init -(Wa__Message__ContactMessage *message); + (Wa__Message__ContactMessage *message); /* Wa__Message__ContactsArrayMessage methods */ void wa__message__contacts_array_message__init -(Wa__Message__ContactsArrayMessage *message); + (Wa__Message__ContactsArrayMessage *message); /* Wa__Message__DeclinePaymentRequestMessage methods */ void wa__message__decline_payment_request_message__init -(Wa__Message__DeclinePaymentRequestMessage *message); + (Wa__Message__DeclinePaymentRequestMessage *message); /* Wa__Message__DeviceSentMessage methods */ void wa__message__device_sent_message__init -(Wa__Message__DeviceSentMessage *message); + (Wa__Message__DeviceSentMessage *message); /* Wa__Message__DocumentMessage methods */ void wa__message__document_message__init -(Wa__Message__DocumentMessage *message); + (Wa__Message__DocumentMessage *message); +/* Wa__Message__EncReactionMessage methods */ +void wa__message__enc_reaction_message__init + (Wa__Message__EncReactionMessage *message); /* Wa__Message__ExtendedTextMessage methods */ void wa__message__extended_text_message__init -(Wa__Message__ExtendedTextMessage *message); + (Wa__Message__ExtendedTextMessage *message); /* Wa__Message__FutureProofMessage methods */ void wa__message__future_proof_message__init -(Wa__Message__FutureProofMessage *message); + (Wa__Message__FutureProofMessage *message); /* Wa__Message__GroupInviteMessage methods */ void wa__message__group_invite_message__init -(Wa__Message__GroupInviteMessage *message); + (Wa__Message__GroupInviteMessage *message); /* Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency methods */ void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__init -(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message); + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message); /* Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent methods */ void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__init -(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message); + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message); /* Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch methods */ void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__init -(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message); + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message); /* Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime methods */ void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init -(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message); + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message); /* Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter methods */ void wa__message__highly_structured_message__hsmlocalizable_parameter__init -(Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message); + (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message); /* Wa__Message__HighlyStructuredMessage methods */ void wa__message__highly_structured_message__init -(Wa__Message__HighlyStructuredMessage *message); + (Wa__Message__HighlyStructuredMessage *message); /* Wa__Message__HistorySyncNotification methods */ void wa__message__history_sync_notification__init -(Wa__Message__HistorySyncNotification *message); + (Wa__Message__HistorySyncNotification *message); /* Wa__Message__ImageMessage methods */ void wa__message__image_message__init -(Wa__Message__ImageMessage *message); + (Wa__Message__ImageMessage *message); /* Wa__Message__InitialSecurityNotificationSettingSync methods */ void wa__message__initial_security_notification_setting_sync__init -(Wa__Message__InitialSecurityNotificationSettingSync *message); + (Wa__Message__InitialSecurityNotificationSettingSync *message); /* Wa__Message__InteractiveMessage__Body methods */ void wa__message__interactive_message__body__init -(Wa__Message__InteractiveMessage__Body *message); + (Wa__Message__InteractiveMessage__Body *message); /* Wa__Message__InteractiveMessage__CollectionMessage methods */ void wa__message__interactive_message__collection_message__init -(Wa__Message__InteractiveMessage__CollectionMessage *message); + (Wa__Message__InteractiveMessage__CollectionMessage *message); /* Wa__Message__InteractiveMessage__Footer methods */ void wa__message__interactive_message__footer__init -(Wa__Message__InteractiveMessage__Footer *message); + (Wa__Message__InteractiveMessage__Footer *message); /* Wa__Message__InteractiveMessage__Header methods */ void wa__message__interactive_message__header__init -(Wa__Message__InteractiveMessage__Header *message); + (Wa__Message__InteractiveMessage__Header *message); /* Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton methods */ void wa__message__interactive_message__native_flow_message__native_flow_button__init -(Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message); + (Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message); /* Wa__Message__InteractiveMessage__NativeFlowMessage methods */ void wa__message__interactive_message__native_flow_message__init -(Wa__Message__InteractiveMessage__NativeFlowMessage *message); + (Wa__Message__InteractiveMessage__NativeFlowMessage *message); /* Wa__Message__InteractiveMessage__ShopMessage methods */ void wa__message__interactive_message__shop_message__init -(Wa__Message__InteractiveMessage__ShopMessage *message); + (Wa__Message__InteractiveMessage__ShopMessage *message); /* Wa__Message__InteractiveMessage methods */ void wa__message__interactive_message__init -(Wa__Message__InteractiveMessage *message); + (Wa__Message__InteractiveMessage *message); /* Wa__Message__InteractiveResponseMessage__Body methods */ void wa__message__interactive_response_message__body__init -(Wa__Message__InteractiveResponseMessage__Body *message); + (Wa__Message__InteractiveResponseMessage__Body *message); /* Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage methods */ void wa__message__interactive_response_message__native_flow_response_message__init -(Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message); + (Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message); /* Wa__Message__InteractiveResponseMessage methods */ void wa__message__interactive_response_message__init -(Wa__Message__InteractiveResponseMessage *message); + (Wa__Message__InteractiveResponseMessage *message); /* Wa__Message__InvoiceMessage methods */ void wa__message__invoice_message__init -(Wa__Message__InvoiceMessage *message); + (Wa__Message__InvoiceMessage *message); /* Wa__Message__KeepInChatMessage methods */ void wa__message__keep_in_chat_message__init -(Wa__Message__KeepInChatMessage *message); + (Wa__Message__KeepInChatMessage *message); +/* Wa__Message__ListMessage__Product methods */ +void wa__message__list_message__product__init + (Wa__Message__ListMessage__Product *message); /* Wa__Message__ListMessage__ProductListHeaderImage methods */ void wa__message__list_message__product_list_header_image__init -(Wa__Message__ListMessage__ProductListHeaderImage *message); + (Wa__Message__ListMessage__ProductListHeaderImage *message); /* Wa__Message__ListMessage__ProductListInfo methods */ void wa__message__list_message__product_list_info__init -(Wa__Message__ListMessage__ProductListInfo *message); + (Wa__Message__ListMessage__ProductListInfo *message); /* Wa__Message__ListMessage__ProductSection methods */ void wa__message__list_message__product_section__init -(Wa__Message__ListMessage__ProductSection *message); -/* Wa__Message__ListMessage__Product methods */ -void wa__message__list_message__product__init -(Wa__Message__ListMessage__Product *message); + (Wa__Message__ListMessage__ProductSection *message); /* Wa__Message__ListMessage__Row methods */ void wa__message__list_message__row__init -(Wa__Message__ListMessage__Row *message); + (Wa__Message__ListMessage__Row *message); /* Wa__Message__ListMessage__Section methods */ void wa__message__list_message__section__init -(Wa__Message__ListMessage__Section *message); + (Wa__Message__ListMessage__Section *message); /* Wa__Message__ListMessage methods */ void wa__message__list_message__init -(Wa__Message__ListMessage *message); + (Wa__Message__ListMessage *message); /* Wa__Message__ListResponseMessage__SingleSelectReply methods */ void wa__message__list_response_message__single_select_reply__init -(Wa__Message__ListResponseMessage__SingleSelectReply *message); + (Wa__Message__ListResponseMessage__SingleSelectReply *message); /* Wa__Message__ListResponseMessage methods */ void wa__message__list_response_message__init -(Wa__Message__ListResponseMessage *message); + (Wa__Message__ListResponseMessage *message); /* Wa__Message__LiveLocationMessage methods */ void wa__message__live_location_message__init -(Wa__Message__LiveLocationMessage *message); + (Wa__Message__LiveLocationMessage *message); /* Wa__Message__LocationMessage methods */ void wa__message__location_message__init -(Wa__Message__LocationMessage *message); + (Wa__Message__LocationMessage *message); /* Wa__Message__OrderMessage methods */ void wa__message__order_message__init -(Wa__Message__OrderMessage *message); + (Wa__Message__OrderMessage *message); /* Wa__Message__PaymentInviteMessage methods */ void wa__message__payment_invite_message__init -(Wa__Message__PaymentInviteMessage *message); + (Wa__Message__PaymentInviteMessage *message); +/* Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest methods */ +void wa__message__peer_data_operation_request_message__history_sync_on_demand_request__init + (Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *message); +/* Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest methods */ +void wa__message__peer_data_operation_request_message__placeholder_message_resend_request__init + (Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest *message); +/* Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload methods */ +void wa__message__peer_data_operation_request_message__request_sticker_reupload__init + (Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload *message); +/* Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview methods */ +void wa__message__peer_data_operation_request_message__request_url_preview__init + (Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview *message); +/* Wa__Message__PeerDataOperationRequestMessage methods */ +void wa__message__peer_data_operation_request_message__init + (Wa__Message__PeerDataOperationRequestMessage *message); +/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail methods */ +void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__init + (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *message); +/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse methods */ +void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__init + (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *message); +/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse methods */ +void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__init + (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *message); +/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult methods */ +void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__init + (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult *message); +/* Wa__Message__PeerDataOperationRequestResponseMessage methods */ +void wa__message__peer_data_operation_request_response_message__init + (Wa__Message__PeerDataOperationRequestResponseMessage *message); +/* Wa__Message__PinInChatMessage methods */ +void wa__message__pin_in_chat_message__init + (Wa__Message__PinInChatMessage *message); /* Wa__Message__PollCreationMessage__Option methods */ void wa__message__poll_creation_message__option__init -(Wa__Message__PollCreationMessage__Option *message); + (Wa__Message__PollCreationMessage__Option *message); /* Wa__Message__PollCreationMessage methods */ void wa__message__poll_creation_message__init -(Wa__Message__PollCreationMessage *message); + (Wa__Message__PollCreationMessage *message); /* Wa__Message__PollEncValue methods */ void wa__message__poll_enc_value__init -(Wa__Message__PollEncValue *message); -/* Wa__Message__PollUpdateMessageMetadata methods */ -void wa__message__poll_update_message_metadata__init -(Wa__Message__PollUpdateMessageMetadata *message); + (Wa__Message__PollEncValue *message); /* Wa__Message__PollUpdateMessage methods */ void wa__message__poll_update_message__init -(Wa__Message__PollUpdateMessage *message); + (Wa__Message__PollUpdateMessage *message); +/* Wa__Message__PollUpdateMessageMetadata methods */ +void wa__message__poll_update_message_metadata__init + (Wa__Message__PollUpdateMessageMetadata *message); /* Wa__Message__PollVoteMessage methods */ void wa__message__poll_vote_message__init -(Wa__Message__PollVoteMessage *message); + (Wa__Message__PollVoteMessage *message); /* Wa__Message__ProductMessage__CatalogSnapshot methods */ void wa__message__product_message__catalog_snapshot__init -(Wa__Message__ProductMessage__CatalogSnapshot *message); + (Wa__Message__ProductMessage__CatalogSnapshot *message); /* Wa__Message__ProductMessage__ProductSnapshot methods */ void wa__message__product_message__product_snapshot__init -(Wa__Message__ProductMessage__ProductSnapshot *message); + (Wa__Message__ProductMessage__ProductSnapshot *message); /* Wa__Message__ProductMessage methods */ void wa__message__product_message__init -(Wa__Message__ProductMessage *message); + (Wa__Message__ProductMessage *message); /* Wa__Message__ProtocolMessage methods */ void wa__message__protocol_message__init -(Wa__Message__ProtocolMessage *message); + (Wa__Message__ProtocolMessage *message); /* Wa__Message__ReactionMessage methods */ void wa__message__reaction_message__init -(Wa__Message__ReactionMessage *message); -/* Wa__Message__RequestMediaUploadMessage methods */ -void wa__message__request_media_upload_message__init -(Wa__Message__RequestMediaUploadMessage *message); -/* Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult methods */ -void wa__message__request_media_upload_response_message__request_media_upload_result__init -(Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult *message); -/* Wa__Message__RequestMediaUploadResponseMessage methods */ -void wa__message__request_media_upload_response_message__init -(Wa__Message__RequestMediaUploadResponseMessage *message); + (Wa__Message__ReactionMessage *message); /* Wa__Message__RequestPaymentMessage methods */ void wa__message__request_payment_message__init -(Wa__Message__RequestPaymentMessage *message); + (Wa__Message__RequestPaymentMessage *message); /* Wa__Message__RequestPhoneNumberMessage methods */ void wa__message__request_phone_number_message__init -(Wa__Message__RequestPhoneNumberMessage *message); + (Wa__Message__RequestPhoneNumberMessage *message); +/* Wa__Message__ScheduledCallCreationMessage methods */ +void wa__message__scheduled_call_creation_message__init + (Wa__Message__ScheduledCallCreationMessage *message); +/* Wa__Message__ScheduledCallEditMessage methods */ +void wa__message__scheduled_call_edit_message__init + (Wa__Message__ScheduledCallEditMessage *message); /* Wa__Message__SendPaymentMessage methods */ void wa__message__send_payment_message__init -(Wa__Message__SendPaymentMessage *message); + (Wa__Message__SendPaymentMessage *message); /* Wa__Message__SenderKeyDistributionMessage methods */ void wa__message__sender_key_distribution_message__init -(Wa__Message__SenderKeyDistributionMessage *message); + (Wa__Message__SenderKeyDistributionMessage *message); /* Wa__Message__StickerMessage methods */ void wa__message__sticker_message__init -(Wa__Message__StickerMessage *message); + (Wa__Message__StickerMessage *message); /* Wa__Message__StickerSyncRMRMessage methods */ void wa__message__sticker_sync_rmrmessage__init -(Wa__Message__StickerSyncRMRMessage *message); + (Wa__Message__StickerSyncRMRMessage *message); /* Wa__Message__TemplateButtonReplyMessage methods */ void wa__message__template_button_reply_message__init -(Wa__Message__TemplateButtonReplyMessage *message); + (Wa__Message__TemplateButtonReplyMessage *message); /* Wa__Message__TemplateMessage__FourRowTemplate methods */ void wa__message__template_message__four_row_template__init -(Wa__Message__TemplateMessage__FourRowTemplate *message); + (Wa__Message__TemplateMessage__FourRowTemplate *message); /* Wa__Message__TemplateMessage__HydratedFourRowTemplate methods */ void wa__message__template_message__hydrated_four_row_template__init -(Wa__Message__TemplateMessage__HydratedFourRowTemplate *message); + (Wa__Message__TemplateMessage__HydratedFourRowTemplate *message); /* Wa__Message__TemplateMessage methods */ void wa__message__template_message__init -(Wa__Message__TemplateMessage *message); + (Wa__Message__TemplateMessage *message); /* Wa__Message__VideoMessage methods */ void wa__message__video_message__init -(Wa__Message__VideoMessage *message); + (Wa__Message__VideoMessage *message); /* Wa__Message methods */ void wa__message__init -(Wa__Message *message); + (Wa__Message *message); size_t wa__message__get_packed_size -(const Wa__Message *message); + (const Wa__Message *message); size_t wa__message__pack -(const Wa__Message *message, - uint8_t *out); + (const Wa__Message *message, + uint8_t *out); size_t wa__message__pack_to_buffer -(const Wa__Message *message, - ProtobufCBuffer *buffer); + (const Wa__Message *message, + ProtobufCBuffer *buffer); Wa__Message * -wa__message__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__message__free_unpacked -(Wa__Message *message, - ProtobufCAllocator *allocator); + (Wa__Message *message, + ProtobufCAllocator *allocator); +/* Wa__MessageAddOnContextInfo methods */ +void wa__message_add_on_context_info__init + (Wa__MessageAddOnContextInfo *message); +size_t wa__message_add_on_context_info__get_packed_size + (const Wa__MessageAddOnContextInfo *message); +size_t wa__message_add_on_context_info__pack + (const Wa__MessageAddOnContextInfo *message, + uint8_t *out); +size_t wa__message_add_on_context_info__pack_to_buffer + (const Wa__MessageAddOnContextInfo *message, + ProtobufCBuffer *buffer); +Wa__MessageAddOnContextInfo * + wa__message_add_on_context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__message_add_on_context_info__free_unpacked + (Wa__MessageAddOnContextInfo *message, + ProtobufCAllocator *allocator); /* Wa__MessageContextInfo methods */ void wa__message_context_info__init -(Wa__MessageContextInfo *message); + (Wa__MessageContextInfo *message); size_t wa__message_context_info__get_packed_size -(const Wa__MessageContextInfo *message); + (const Wa__MessageContextInfo *message); size_t wa__message_context_info__pack -(const Wa__MessageContextInfo *message, - uint8_t *out); + (const Wa__MessageContextInfo *message, + uint8_t *out); size_t wa__message_context_info__pack_to_buffer -(const Wa__MessageContextInfo *message, - ProtobufCBuffer *buffer); + (const Wa__MessageContextInfo *message, + ProtobufCBuffer *buffer); Wa__MessageContextInfo * -wa__message_context_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__message_context_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__message_context_info__free_unpacked -(Wa__MessageContextInfo *message, - ProtobufCAllocator *allocator); + (Wa__MessageContextInfo *message, + ProtobufCAllocator *allocator); /* Wa__MessageKey methods */ void wa__message_key__init -(Wa__MessageKey *message); + (Wa__MessageKey *message); size_t wa__message_key__get_packed_size -(const Wa__MessageKey *message); + (const Wa__MessageKey *message); size_t wa__message_key__pack -(const Wa__MessageKey *message, - uint8_t *out); + (const Wa__MessageKey *message, + uint8_t *out); size_t wa__message_key__pack_to_buffer -(const Wa__MessageKey *message, - ProtobufCBuffer *buffer); + (const Wa__MessageKey *message, + ProtobufCBuffer *buffer); Wa__MessageKey * -wa__message_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__message_key__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__message_key__free_unpacked -(Wa__MessageKey *message, - ProtobufCAllocator *allocator); + (Wa__MessageKey *message, + ProtobufCAllocator *allocator); /* Wa__Money methods */ void wa__money__init -(Wa__Money *message); + (Wa__Money *message); size_t wa__money__get_packed_size -(const Wa__Money *message); + (const Wa__Money *message); size_t wa__money__pack -(const Wa__Money *message, - uint8_t *out); + (const Wa__Money *message, + uint8_t *out); size_t wa__money__pack_to_buffer -(const Wa__Money *message, - ProtobufCBuffer *buffer); + (const Wa__Money *message, + ProtobufCBuffer *buffer); Wa__Money * -wa__money__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__money__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__money__free_unpacked -(Wa__Money *message, - ProtobufCAllocator *allocator); + (Wa__Money *message, + ProtobufCAllocator *allocator); /* Wa__MsgOpaqueData__PollOption methods */ void wa__msg_opaque_data__poll_option__init -(Wa__MsgOpaqueData__PollOption *message); + (Wa__MsgOpaqueData__PollOption *message); /* Wa__MsgOpaqueData methods */ void wa__msg_opaque_data__init -(Wa__MsgOpaqueData *message); + (Wa__MsgOpaqueData *message); size_t wa__msg_opaque_data__get_packed_size -(const Wa__MsgOpaqueData *message); + (const Wa__MsgOpaqueData *message); size_t wa__msg_opaque_data__pack -(const Wa__MsgOpaqueData *message, - uint8_t *out); + (const Wa__MsgOpaqueData *message, + uint8_t *out); size_t wa__msg_opaque_data__pack_to_buffer -(const Wa__MsgOpaqueData *message, - ProtobufCBuffer *buffer); + (const Wa__MsgOpaqueData *message, + ProtobufCBuffer *buffer); Wa__MsgOpaqueData * -wa__msg_opaque_data__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__msg_opaque_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__msg_opaque_data__free_unpacked -(Wa__MsgOpaqueData *message, - ProtobufCAllocator *allocator); + (Wa__MsgOpaqueData *message, + ProtobufCAllocator *allocator); /* Wa__MsgRowOpaqueData methods */ void wa__msg_row_opaque_data__init -(Wa__MsgRowOpaqueData *message); + (Wa__MsgRowOpaqueData *message); size_t wa__msg_row_opaque_data__get_packed_size -(const Wa__MsgRowOpaqueData *message); + (const Wa__MsgRowOpaqueData *message); size_t wa__msg_row_opaque_data__pack -(const Wa__MsgRowOpaqueData *message, - uint8_t *out); + (const Wa__MsgRowOpaqueData *message, + uint8_t *out); size_t wa__msg_row_opaque_data__pack_to_buffer -(const Wa__MsgRowOpaqueData *message, - ProtobufCBuffer *buffer); + (const Wa__MsgRowOpaqueData *message, + ProtobufCBuffer *buffer); Wa__MsgRowOpaqueData * -wa__msg_row_opaque_data__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__msg_row_opaque_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__msg_row_opaque_data__free_unpacked -(Wa__MsgRowOpaqueData *message, - ProtobufCAllocator *allocator); + (Wa__MsgRowOpaqueData *message, + ProtobufCAllocator *allocator); /* Wa__NoiseCertificate__Details methods */ void wa__noise_certificate__details__init -(Wa__NoiseCertificate__Details *message); + (Wa__NoiseCertificate__Details *message); /* Wa__NoiseCertificate methods */ void wa__noise_certificate__init -(Wa__NoiseCertificate *message); + (Wa__NoiseCertificate *message); size_t wa__noise_certificate__get_packed_size -(const Wa__NoiseCertificate *message); + (const Wa__NoiseCertificate *message); size_t wa__noise_certificate__pack -(const Wa__NoiseCertificate *message, - uint8_t *out); + (const Wa__NoiseCertificate *message, + uint8_t *out); size_t wa__noise_certificate__pack_to_buffer -(const Wa__NoiseCertificate *message, - ProtobufCBuffer *buffer); + (const Wa__NoiseCertificate *message, + ProtobufCBuffer *buffer); Wa__NoiseCertificate * -wa__noise_certificate__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__noise_certificate__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__noise_certificate__free_unpacked -(Wa__NoiseCertificate *message, - ProtobufCAllocator *allocator); + (Wa__NoiseCertificate *message, + ProtobufCAllocator *allocator); /* Wa__NotificationMessageInfo methods */ void wa__notification_message_info__init -(Wa__NotificationMessageInfo *message); + (Wa__NotificationMessageInfo *message); size_t wa__notification_message_info__get_packed_size -(const Wa__NotificationMessageInfo *message); + (const Wa__NotificationMessageInfo *message); size_t wa__notification_message_info__pack -(const Wa__NotificationMessageInfo *message, - uint8_t *out); + (const Wa__NotificationMessageInfo *message, + uint8_t *out); size_t wa__notification_message_info__pack_to_buffer -(const Wa__NotificationMessageInfo *message, - ProtobufCBuffer *buffer); + (const Wa__NotificationMessageInfo *message, + ProtobufCBuffer *buffer); Wa__NotificationMessageInfo * -wa__notification_message_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__notification_message_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__notification_message_info__free_unpacked -(Wa__NotificationMessageInfo *message, - ProtobufCAllocator *allocator); + (Wa__NotificationMessageInfo *message, + ProtobufCAllocator *allocator); +/* Wa__NotificationSettings methods */ +void wa__notification_settings__init + (Wa__NotificationSettings *message); +size_t wa__notification_settings__get_packed_size + (const Wa__NotificationSettings *message); +size_t wa__notification_settings__pack + (const Wa__NotificationSettings *message, + uint8_t *out); +size_t wa__notification_settings__pack_to_buffer + (const Wa__NotificationSettings *message, + ProtobufCBuffer *buffer); +Wa__NotificationSettings * + wa__notification_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__notification_settings__free_unpacked + (Wa__NotificationSettings *message, + ProtobufCAllocator *allocator); /* Wa__PastParticipant methods */ void wa__past_participant__init -(Wa__PastParticipant *message); + (Wa__PastParticipant *message); size_t wa__past_participant__get_packed_size -(const Wa__PastParticipant *message); + (const Wa__PastParticipant *message); size_t wa__past_participant__pack -(const Wa__PastParticipant *message, - uint8_t *out); + (const Wa__PastParticipant *message, + uint8_t *out); size_t wa__past_participant__pack_to_buffer -(const Wa__PastParticipant *message, - ProtobufCBuffer *buffer); + (const Wa__PastParticipant *message, + ProtobufCBuffer *buffer); Wa__PastParticipant * -wa__past_participant__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__past_participant__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__past_participant__free_unpacked -(Wa__PastParticipant *message, - ProtobufCAllocator *allocator); + (Wa__PastParticipant *message, + ProtobufCAllocator *allocator); /* Wa__PastParticipants methods */ void wa__past_participants__init -(Wa__PastParticipants *message); + (Wa__PastParticipants *message); size_t wa__past_participants__get_packed_size -(const Wa__PastParticipants *message); + (const Wa__PastParticipants *message); size_t wa__past_participants__pack -(const Wa__PastParticipants *message, - uint8_t *out); + (const Wa__PastParticipants *message, + uint8_t *out); size_t wa__past_participants__pack_to_buffer -(const Wa__PastParticipants *message, - ProtobufCBuffer *buffer); + (const Wa__PastParticipants *message, + ProtobufCBuffer *buffer); Wa__PastParticipants * -wa__past_participants__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__past_participants__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__past_participants__free_unpacked -(Wa__PastParticipants *message, - ProtobufCAllocator *allocator); + (Wa__PastParticipants *message, + ProtobufCAllocator *allocator); /* Wa__PaymentBackground__MediaData methods */ void wa__payment_background__media_data__init -(Wa__PaymentBackground__MediaData *message); + (Wa__PaymentBackground__MediaData *message); /* Wa__PaymentBackground methods */ void wa__payment_background__init -(Wa__PaymentBackground *message); + (Wa__PaymentBackground *message); size_t wa__payment_background__get_packed_size -(const Wa__PaymentBackground *message); + (const Wa__PaymentBackground *message); size_t wa__payment_background__pack -(const Wa__PaymentBackground *message, - uint8_t *out); + (const Wa__PaymentBackground *message, + uint8_t *out); size_t wa__payment_background__pack_to_buffer -(const Wa__PaymentBackground *message, - ProtobufCBuffer *buffer); + (const Wa__PaymentBackground *message, + ProtobufCBuffer *buffer); Wa__PaymentBackground * -wa__payment_background__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__payment_background__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__payment_background__free_unpacked -(Wa__PaymentBackground *message, - ProtobufCAllocator *allocator); + (Wa__PaymentBackground *message, + ProtobufCAllocator *allocator); /* Wa__PaymentInfo methods */ void wa__payment_info__init -(Wa__PaymentInfo *message); + (Wa__PaymentInfo *message); size_t wa__payment_info__get_packed_size -(const Wa__PaymentInfo *message); + (const Wa__PaymentInfo *message); size_t wa__payment_info__pack -(const Wa__PaymentInfo *message, - uint8_t *out); + (const Wa__PaymentInfo *message, + uint8_t *out); size_t wa__payment_info__pack_to_buffer -(const Wa__PaymentInfo *message, - ProtobufCBuffer *buffer); + (const Wa__PaymentInfo *message, + ProtobufCBuffer *buffer); Wa__PaymentInfo * -wa__payment_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__payment_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__payment_info__free_unpacked -(Wa__PaymentInfo *message, - ProtobufCAllocator *allocator); -/* Wa__PendingKeyExchange methods */ -void wa__pending_key_exchange__init -(Wa__PendingKeyExchange *message); -size_t wa__pending_key_exchange__get_packed_size -(const Wa__PendingKeyExchange *message); -size_t wa__pending_key_exchange__pack -(const Wa__PendingKeyExchange *message, - uint8_t *out); -size_t wa__pending_key_exchange__pack_to_buffer -(const Wa__PendingKeyExchange *message, - ProtobufCBuffer *buffer); -Wa__PendingKeyExchange * -wa__pending_key_exchange__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__pending_key_exchange__free_unpacked -(Wa__PendingKeyExchange *message, - ProtobufCAllocator *allocator); -/* Wa__PendingPreKey methods */ -void wa__pending_pre_key__init -(Wa__PendingPreKey *message); -size_t wa__pending_pre_key__get_packed_size -(const Wa__PendingPreKey *message); -size_t wa__pending_pre_key__pack -(const Wa__PendingPreKey *message, - uint8_t *out); -size_t wa__pending_pre_key__pack_to_buffer -(const Wa__PendingPreKey *message, - ProtobufCBuffer *buffer); -Wa__PendingPreKey * -wa__pending_pre_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__pending_pre_key__free_unpacked -(Wa__PendingPreKey *message, - ProtobufCAllocator *allocator); + (Wa__PaymentInfo *message, + ProtobufCAllocator *allocator); /* Wa__PhotoChange methods */ void wa__photo_change__init -(Wa__PhotoChange *message); + (Wa__PhotoChange *message); size_t wa__photo_change__get_packed_size -(const Wa__PhotoChange *message); + (const Wa__PhotoChange *message); size_t wa__photo_change__pack -(const Wa__PhotoChange *message, - uint8_t *out); + (const Wa__PhotoChange *message, + uint8_t *out); size_t wa__photo_change__pack_to_buffer -(const Wa__PhotoChange *message, - ProtobufCBuffer *buffer); + (const Wa__PhotoChange *message, + ProtobufCBuffer *buffer); Wa__PhotoChange * -wa__photo_change__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__photo_change__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__photo_change__free_unpacked -(Wa__PhotoChange *message, - ProtobufCAllocator *allocator); + (Wa__PhotoChange *message, + ProtobufCAllocator *allocator); +/* Wa__PinInChat methods */ +void wa__pin_in_chat__init + (Wa__PinInChat *message); +size_t wa__pin_in_chat__get_packed_size + (const Wa__PinInChat *message); +size_t wa__pin_in_chat__pack + (const Wa__PinInChat *message, + uint8_t *out); +size_t wa__pin_in_chat__pack_to_buffer + (const Wa__PinInChat *message, + ProtobufCBuffer *buffer); +Wa__PinInChat * + wa__pin_in_chat__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__pin_in_chat__free_unpacked + (Wa__PinInChat *message, + ProtobufCAllocator *allocator); /* Wa__Point methods */ void wa__point__init -(Wa__Point *message); + (Wa__Point *message); size_t wa__point__get_packed_size -(const Wa__Point *message); + (const Wa__Point *message); size_t wa__point__pack -(const Wa__Point *message, - uint8_t *out); + (const Wa__Point *message, + uint8_t *out); size_t wa__point__pack_to_buffer -(const Wa__Point *message, - ProtobufCBuffer *buffer); + (const Wa__Point *message, + ProtobufCBuffer *buffer); Wa__Point * -wa__point__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__point__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__point__free_unpacked -(Wa__Point *message, - ProtobufCAllocator *allocator); + (Wa__Point *message, + ProtobufCAllocator *allocator); /* Wa__PollAdditionalMetadata methods */ void wa__poll_additional_metadata__init -(Wa__PollAdditionalMetadata *message); + (Wa__PollAdditionalMetadata *message); size_t wa__poll_additional_metadata__get_packed_size -(const Wa__PollAdditionalMetadata *message); + (const Wa__PollAdditionalMetadata *message); size_t wa__poll_additional_metadata__pack -(const Wa__PollAdditionalMetadata *message, - uint8_t *out); + (const Wa__PollAdditionalMetadata *message, + uint8_t *out); size_t wa__poll_additional_metadata__pack_to_buffer -(const Wa__PollAdditionalMetadata *message, - ProtobufCBuffer *buffer); + (const Wa__PollAdditionalMetadata *message, + ProtobufCBuffer *buffer); Wa__PollAdditionalMetadata * -wa__poll_additional_metadata__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__poll_additional_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__poll_additional_metadata__free_unpacked -(Wa__PollAdditionalMetadata *message, - ProtobufCAllocator *allocator); + (Wa__PollAdditionalMetadata *message, + ProtobufCAllocator *allocator); /* Wa__PollEncValue methods */ void wa__poll_enc_value__init -(Wa__PollEncValue *message); + (Wa__PollEncValue *message); size_t wa__poll_enc_value__get_packed_size -(const Wa__PollEncValue *message); + (const Wa__PollEncValue *message); size_t wa__poll_enc_value__pack -(const Wa__PollEncValue *message, - uint8_t *out); + (const Wa__PollEncValue *message, + uint8_t *out); size_t wa__poll_enc_value__pack_to_buffer -(const Wa__PollEncValue *message, - ProtobufCBuffer *buffer); + (const Wa__PollEncValue *message, + ProtobufCBuffer *buffer); Wa__PollEncValue * -wa__poll_enc_value__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__poll_enc_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__poll_enc_value__free_unpacked -(Wa__PollEncValue *message, - ProtobufCAllocator *allocator); + (Wa__PollEncValue *message, + ProtobufCAllocator *allocator); /* Wa__PollUpdate methods */ void wa__poll_update__init -(Wa__PollUpdate *message); + (Wa__PollUpdate *message); size_t wa__poll_update__get_packed_size -(const Wa__PollUpdate *message); + (const Wa__PollUpdate *message); size_t wa__poll_update__pack -(const Wa__PollUpdate *message, - uint8_t *out); + (const Wa__PollUpdate *message, + uint8_t *out); size_t wa__poll_update__pack_to_buffer -(const Wa__PollUpdate *message, - ProtobufCBuffer *buffer); + (const Wa__PollUpdate *message, + ProtobufCBuffer *buffer); Wa__PollUpdate * -wa__poll_update__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__poll_update__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__poll_update__free_unpacked -(Wa__PollUpdate *message, - ProtobufCAllocator *allocator); + (Wa__PollUpdate *message, + ProtobufCAllocator *allocator); /* Wa__PreKeyRecordStructure methods */ void wa__pre_key_record_structure__init -(Wa__PreKeyRecordStructure *message); + (Wa__PreKeyRecordStructure *message); size_t wa__pre_key_record_structure__get_packed_size -(const Wa__PreKeyRecordStructure *message); + (const Wa__PreKeyRecordStructure *message); size_t wa__pre_key_record_structure__pack -(const Wa__PreKeyRecordStructure *message, - uint8_t *out); + (const Wa__PreKeyRecordStructure *message, + uint8_t *out); size_t wa__pre_key_record_structure__pack_to_buffer -(const Wa__PreKeyRecordStructure *message, - ProtobufCBuffer *buffer); + (const Wa__PreKeyRecordStructure *message, + ProtobufCBuffer *buffer); Wa__PreKeyRecordStructure * -wa__pre_key_record_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__pre_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__pre_key_record_structure__free_unpacked -(Wa__PreKeyRecordStructure *message, - ProtobufCAllocator *allocator); + (Wa__PreKeyRecordStructure *message, + ProtobufCAllocator *allocator); +/* Wa__PreKeySignalMessage methods */ +void wa__pre_key_signal_message__init + (Wa__PreKeySignalMessage *message); +size_t wa__pre_key_signal_message__get_packed_size + (const Wa__PreKeySignalMessage *message); +size_t wa__pre_key_signal_message__pack + (const Wa__PreKeySignalMessage *message, + uint8_t *out); +size_t wa__pre_key_signal_message__pack_to_buffer + (const Wa__PreKeySignalMessage *message, + ProtobufCBuffer *buffer); +Wa__PreKeySignalMessage * + wa__pre_key_signal_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__pre_key_signal_message__free_unpacked + (Wa__PreKeySignalMessage *message, + ProtobufCAllocator *allocator); /* Wa__Pushname methods */ void wa__pushname__init -(Wa__Pushname *message); + (Wa__Pushname *message); size_t wa__pushname__get_packed_size -(const Wa__Pushname *message); + (const Wa__Pushname *message); size_t wa__pushname__pack -(const Wa__Pushname *message, - uint8_t *out); + (const Wa__Pushname *message, + uint8_t *out); size_t wa__pushname__pack_to_buffer -(const Wa__Pushname *message, - ProtobufCBuffer *buffer); + (const Wa__Pushname *message, + ProtobufCBuffer *buffer); Wa__Pushname * -wa__pushname__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__pushname__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__pushname__free_unpacked -(Wa__Pushname *message, - ProtobufCAllocator *allocator); + (Wa__Pushname *message, + ProtobufCAllocator *allocator); /* Wa__Reaction methods */ void wa__reaction__init -(Wa__Reaction *message); + (Wa__Reaction *message); size_t wa__reaction__get_packed_size -(const Wa__Reaction *message); + (const Wa__Reaction *message); size_t wa__reaction__pack -(const Wa__Reaction *message, - uint8_t *out); + (const Wa__Reaction *message, + uint8_t *out); size_t wa__reaction__pack_to_buffer -(const Wa__Reaction *message, - ProtobufCBuffer *buffer); + (const Wa__Reaction *message, + ProtobufCBuffer *buffer); Wa__Reaction * -wa__reaction__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__reaction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__reaction__free_unpacked -(Wa__Reaction *message, - ProtobufCAllocator *allocator); + (Wa__Reaction *message, + ProtobufCAllocator *allocator); /* Wa__RecentEmojiWeight methods */ void wa__recent_emoji_weight__init -(Wa__RecentEmojiWeight *message); + (Wa__RecentEmojiWeight *message); size_t wa__recent_emoji_weight__get_packed_size -(const Wa__RecentEmojiWeight *message); + (const Wa__RecentEmojiWeight *message); size_t wa__recent_emoji_weight__pack -(const Wa__RecentEmojiWeight *message, - uint8_t *out); + (const Wa__RecentEmojiWeight *message, + uint8_t *out); size_t wa__recent_emoji_weight__pack_to_buffer -(const Wa__RecentEmojiWeight *message, - ProtobufCBuffer *buffer); + (const Wa__RecentEmojiWeight *message, + ProtobufCBuffer *buffer); Wa__RecentEmojiWeight * -wa__recent_emoji_weight__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__recent_emoji_weight__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__recent_emoji_weight__free_unpacked -(Wa__RecentEmojiWeight *message, - ProtobufCAllocator *allocator); + (Wa__RecentEmojiWeight *message, + ProtobufCAllocator *allocator); /* Wa__RecordStructure methods */ void wa__record_structure__init -(Wa__RecordStructure *message); + (Wa__RecordStructure *message); size_t wa__record_structure__get_packed_size -(const Wa__RecordStructure *message); + (const Wa__RecordStructure *message); size_t wa__record_structure__pack -(const Wa__RecordStructure *message, - uint8_t *out); + (const Wa__RecordStructure *message, + uint8_t *out); size_t wa__record_structure__pack_to_buffer -(const Wa__RecordStructure *message, - ProtobufCBuffer *buffer); + (const Wa__RecordStructure *message, + ProtobufCBuffer *buffer); Wa__RecordStructure * -wa__record_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__record_structure__free_unpacked -(Wa__RecordStructure *message, - ProtobufCAllocator *allocator); -/* Wa__SenderChainKey methods */ -void wa__sender_chain_key__init -(Wa__SenderChainKey *message); -size_t wa__sender_chain_key__get_packed_size -(const Wa__SenderChainKey *message); -size_t wa__sender_chain_key__pack -(const Wa__SenderChainKey *message, - uint8_t *out); -size_t wa__sender_chain_key__pack_to_buffer -(const Wa__SenderChainKey *message, - ProtobufCBuffer *buffer); -Wa__SenderChainKey * -wa__sender_chain_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__sender_chain_key__free_unpacked -(Wa__SenderChainKey *message, - ProtobufCAllocator *allocator); + (Wa__RecordStructure *message, + ProtobufCAllocator *allocator); +/* Wa__SenderKeyDistributionMessage methods */ +void wa__sender_key_distribution_message__init + (Wa__SenderKeyDistributionMessage *message); +size_t wa__sender_key_distribution_message__get_packed_size + (const Wa__SenderKeyDistributionMessage *message); +size_t wa__sender_key_distribution_message__pack + (const Wa__SenderKeyDistributionMessage *message, + uint8_t *out); +size_t wa__sender_key_distribution_message__pack_to_buffer + (const Wa__SenderKeyDistributionMessage *message, + ProtobufCBuffer *buffer); +Wa__SenderKeyDistributionMessage * + wa__sender_key_distribution_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__sender_key_distribution_message__free_unpacked + (Wa__SenderKeyDistributionMessage *message, + ProtobufCAllocator *allocator); +/* Wa__SenderKeyMessage methods */ +void wa__sender_key_message__init + (Wa__SenderKeyMessage *message); +size_t wa__sender_key_message__get_packed_size + (const Wa__SenderKeyMessage *message); +size_t wa__sender_key_message__pack + (const Wa__SenderKeyMessage *message, + uint8_t *out); +size_t wa__sender_key_message__pack_to_buffer + (const Wa__SenderKeyMessage *message, + ProtobufCBuffer *buffer); +Wa__SenderKeyMessage * + wa__sender_key_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__sender_key_message__free_unpacked + (Wa__SenderKeyMessage *message, + ProtobufCAllocator *allocator); /* Wa__SenderKeyRecordStructure methods */ void wa__sender_key_record_structure__init -(Wa__SenderKeyRecordStructure *message); + (Wa__SenderKeyRecordStructure *message); size_t wa__sender_key_record_structure__get_packed_size -(const Wa__SenderKeyRecordStructure *message); + (const Wa__SenderKeyRecordStructure *message); size_t wa__sender_key_record_structure__pack -(const Wa__SenderKeyRecordStructure *message, - uint8_t *out); + (const Wa__SenderKeyRecordStructure *message, + uint8_t *out); size_t wa__sender_key_record_structure__pack_to_buffer -(const Wa__SenderKeyRecordStructure *message, - ProtobufCBuffer *buffer); + (const Wa__SenderKeyRecordStructure *message, + ProtobufCBuffer *buffer); Wa__SenderKeyRecordStructure * -wa__sender_key_record_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__sender_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__sender_key_record_structure__free_unpacked -(Wa__SenderKeyRecordStructure *message, - ProtobufCAllocator *allocator); + (Wa__SenderKeyRecordStructure *message, + ProtobufCAllocator *allocator); +/* Wa__SenderKeyStateStructure__SenderChainKey methods */ +void wa__sender_key_state_structure__sender_chain_key__init + (Wa__SenderKeyStateStructure__SenderChainKey *message); +/* Wa__SenderKeyStateStructure__SenderMessageKey methods */ +void wa__sender_key_state_structure__sender_message_key__init + (Wa__SenderKeyStateStructure__SenderMessageKey *message); +/* Wa__SenderKeyStateStructure__SenderSigningKey methods */ +void wa__sender_key_state_structure__sender_signing_key__init + (Wa__SenderKeyStateStructure__SenderSigningKey *message); /* Wa__SenderKeyStateStructure methods */ void wa__sender_key_state_structure__init -(Wa__SenderKeyStateStructure *message); + (Wa__SenderKeyStateStructure *message); size_t wa__sender_key_state_structure__get_packed_size -(const Wa__SenderKeyStateStructure *message); + (const Wa__SenderKeyStateStructure *message); size_t wa__sender_key_state_structure__pack -(const Wa__SenderKeyStateStructure *message, - uint8_t *out); + (const Wa__SenderKeyStateStructure *message, + uint8_t *out); size_t wa__sender_key_state_structure__pack_to_buffer -(const Wa__SenderKeyStateStructure *message, - ProtobufCBuffer *buffer); + (const Wa__SenderKeyStateStructure *message, + ProtobufCBuffer *buffer); Wa__SenderKeyStateStructure * -wa__sender_key_state_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__sender_key_state_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__sender_key_state_structure__free_unpacked -(Wa__SenderKeyStateStructure *message, - ProtobufCAllocator *allocator); -/* Wa__SenderMessageKey methods */ -void wa__sender_message_key__init -(Wa__SenderMessageKey *message); -size_t wa__sender_message_key__get_packed_size -(const Wa__SenderMessageKey *message); -size_t wa__sender_message_key__pack -(const Wa__SenderMessageKey *message, - uint8_t *out); -size_t wa__sender_message_key__pack_to_buffer -(const Wa__SenderMessageKey *message, - ProtobufCBuffer *buffer); -Wa__SenderMessageKey * -wa__sender_message_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__sender_message_key__free_unpacked -(Wa__SenderMessageKey *message, - ProtobufCAllocator *allocator); -/* Wa__SenderSigningKey methods */ -void wa__sender_signing_key__init -(Wa__SenderSigningKey *message); -size_t wa__sender_signing_key__get_packed_size -(const Wa__SenderSigningKey *message); -size_t wa__sender_signing_key__pack -(const Wa__SenderSigningKey *message, - uint8_t *out); -size_t wa__sender_signing_key__pack_to_buffer -(const Wa__SenderSigningKey *message, - ProtobufCBuffer *buffer); -Wa__SenderSigningKey * -wa__sender_signing_key__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void wa__sender_signing_key__free_unpacked -(Wa__SenderSigningKey *message, - ProtobufCAllocator *allocator); + (Wa__SenderKeyStateStructure *message, + ProtobufCAllocator *allocator); /* Wa__ServerErrorReceipt methods */ void wa__server_error_receipt__init -(Wa__ServerErrorReceipt *message); + (Wa__ServerErrorReceipt *message); size_t wa__server_error_receipt__get_packed_size -(const Wa__ServerErrorReceipt *message); + (const Wa__ServerErrorReceipt *message); size_t wa__server_error_receipt__pack -(const Wa__ServerErrorReceipt *message, - uint8_t *out); + (const Wa__ServerErrorReceipt *message, + uint8_t *out); size_t wa__server_error_receipt__pack_to_buffer -(const Wa__ServerErrorReceipt *message, - ProtobufCBuffer *buffer); + (const Wa__ServerErrorReceipt *message, + ProtobufCBuffer *buffer); Wa__ServerErrorReceipt * -wa__server_error_receipt__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__server_error_receipt__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__server_error_receipt__free_unpacked -(Wa__ServerErrorReceipt *message, - ProtobufCAllocator *allocator); + (Wa__ServerErrorReceipt *message, + ProtobufCAllocator *allocator); +/* Wa__SessionStructure__Chain__ChainKey methods */ +void wa__session_structure__chain__chain_key__init + (Wa__SessionStructure__Chain__ChainKey *message); +/* Wa__SessionStructure__Chain__MessageKey methods */ +void wa__session_structure__chain__message_key__init + (Wa__SessionStructure__Chain__MessageKey *message); +/* Wa__SessionStructure__Chain methods */ +void wa__session_structure__chain__init + (Wa__SessionStructure__Chain *message); +/* Wa__SessionStructure__PendingKeyExchange methods */ +void wa__session_structure__pending_key_exchange__init + (Wa__SessionStructure__PendingKeyExchange *message); +/* Wa__SessionStructure__PendingPreKey methods */ +void wa__session_structure__pending_pre_key__init + (Wa__SessionStructure__PendingPreKey *message); /* Wa__SessionStructure methods */ void wa__session_structure__init -(Wa__SessionStructure *message); + (Wa__SessionStructure *message); size_t wa__session_structure__get_packed_size -(const Wa__SessionStructure *message); + (const Wa__SessionStructure *message); size_t wa__session_structure__pack -(const Wa__SessionStructure *message, - uint8_t *out); + (const Wa__SessionStructure *message, + uint8_t *out); size_t wa__session_structure__pack_to_buffer -(const Wa__SessionStructure *message, - ProtobufCBuffer *buffer); + (const Wa__SessionStructure *message, + ProtobufCBuffer *buffer); Wa__SessionStructure * -wa__session_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__session_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__session_structure__free_unpacked -(Wa__SessionStructure *message, - ProtobufCAllocator *allocator); + (Wa__SessionStructure *message, + ProtobufCAllocator *allocator); +/* Wa__SignalMessage methods */ +void wa__signal_message__init + (Wa__SignalMessage *message); +size_t wa__signal_message__get_packed_size + (const Wa__SignalMessage *message); +size_t wa__signal_message__pack + (const Wa__SignalMessage *message, + uint8_t *out); +size_t wa__signal_message__pack_to_buffer + (const Wa__SignalMessage *message, + ProtobufCBuffer *buffer); +Wa__SignalMessage * + wa__signal_message__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void wa__signal_message__free_unpacked + (Wa__SignalMessage *message, + ProtobufCAllocator *allocator); /* Wa__SignedPreKeyRecordStructure methods */ void wa__signed_pre_key_record_structure__init -(Wa__SignedPreKeyRecordStructure *message); + (Wa__SignedPreKeyRecordStructure *message); size_t wa__signed_pre_key_record_structure__get_packed_size -(const Wa__SignedPreKeyRecordStructure *message); + (const Wa__SignedPreKeyRecordStructure *message); size_t wa__signed_pre_key_record_structure__pack -(const Wa__SignedPreKeyRecordStructure *message, - uint8_t *out); + (const Wa__SignedPreKeyRecordStructure *message, + uint8_t *out); size_t wa__signed_pre_key_record_structure__pack_to_buffer -(const Wa__SignedPreKeyRecordStructure *message, - ProtobufCBuffer *buffer); + (const Wa__SignedPreKeyRecordStructure *message, + ProtobufCBuffer *buffer); Wa__SignedPreKeyRecordStructure * -wa__signed_pre_key_record_structure__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__signed_pre_key_record_structure__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__signed_pre_key_record_structure__free_unpacked -(Wa__SignedPreKeyRecordStructure *message, - ProtobufCAllocator *allocator); + (Wa__SignedPreKeyRecordStructure *message, + ProtobufCAllocator *allocator); /* Wa__StatusPSA methods */ void wa__status_psa__init -(Wa__StatusPSA *message); + (Wa__StatusPSA *message); size_t wa__status_psa__get_packed_size -(const Wa__StatusPSA *message); + (const Wa__StatusPSA *message); size_t wa__status_psa__pack -(const Wa__StatusPSA *message, - uint8_t *out); + (const Wa__StatusPSA *message, + uint8_t *out); size_t wa__status_psa__pack_to_buffer -(const Wa__StatusPSA *message, - ProtobufCBuffer *buffer); + (const Wa__StatusPSA *message, + ProtobufCBuffer *buffer); Wa__StatusPSA * -wa__status_psa__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__status_psa__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__status_psa__free_unpacked -(Wa__StatusPSA *message, - ProtobufCAllocator *allocator); + (Wa__StatusPSA *message, + ProtobufCAllocator *allocator); /* Wa__StickerMetadata methods */ void wa__sticker_metadata__init -(Wa__StickerMetadata *message); + (Wa__StickerMetadata *message); size_t wa__sticker_metadata__get_packed_size -(const Wa__StickerMetadata *message); + (const Wa__StickerMetadata *message); size_t wa__sticker_metadata__pack -(const Wa__StickerMetadata *message, - uint8_t *out); + (const Wa__StickerMetadata *message, + uint8_t *out); size_t wa__sticker_metadata__pack_to_buffer -(const Wa__StickerMetadata *message, - ProtobufCBuffer *buffer); + (const Wa__StickerMetadata *message, + ProtobufCBuffer *buffer); Wa__StickerMetadata * -wa__sticker_metadata__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__sticker_metadata__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__sticker_metadata__free_unpacked -(Wa__StickerMetadata *message, - ProtobufCAllocator *allocator); + (Wa__StickerMetadata *message, + ProtobufCAllocator *allocator); /* Wa__SyncActionData methods */ void wa__sync_action_data__init -(Wa__SyncActionData *message); + (Wa__SyncActionData *message); size_t wa__sync_action_data__get_packed_size -(const Wa__SyncActionData *message); + (const Wa__SyncActionData *message); size_t wa__sync_action_data__pack -(const Wa__SyncActionData *message, - uint8_t *out); + (const Wa__SyncActionData *message, + uint8_t *out); size_t wa__sync_action_data__pack_to_buffer -(const Wa__SyncActionData *message, - ProtobufCBuffer *buffer); + (const Wa__SyncActionData *message, + ProtobufCBuffer *buffer); Wa__SyncActionData * -wa__sync_action_data__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__sync_action_data__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__sync_action_data__free_unpacked -(Wa__SyncActionData *message, - ProtobufCAllocator *allocator); + (Wa__SyncActionData *message, + ProtobufCAllocator *allocator); /* Wa__SyncActionValue__AgentAction methods */ void wa__sync_action_value__agent_action__init -(Wa__SyncActionValue__AgentAction *message); + (Wa__SyncActionValue__AgentAction *message); /* Wa__SyncActionValue__AndroidUnsupportedActions methods */ void wa__sync_action_value__android_unsupported_actions__init -(Wa__SyncActionValue__AndroidUnsupportedActions *message); + (Wa__SyncActionValue__AndroidUnsupportedActions *message); /* Wa__SyncActionValue__ArchiveChatAction methods */ void wa__sync_action_value__archive_chat_action__init -(Wa__SyncActionValue__ArchiveChatAction *message); + (Wa__SyncActionValue__ArchiveChatAction *message); +/* Wa__SyncActionValue__ChatAssignmentAction methods */ +void wa__sync_action_value__chat_assignment_action__init + (Wa__SyncActionValue__ChatAssignmentAction *message); +/* Wa__SyncActionValue__ChatAssignmentOpenedStatusAction methods */ +void wa__sync_action_value__chat_assignment_opened_status_action__init + (Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *message); /* Wa__SyncActionValue__ClearChatAction methods */ void wa__sync_action_value__clear_chat_action__init -(Wa__SyncActionValue__ClearChatAction *message); + (Wa__SyncActionValue__ClearChatAction *message); /* Wa__SyncActionValue__ContactAction methods */ void wa__sync_action_value__contact_action__init -(Wa__SyncActionValue__ContactAction *message); + (Wa__SyncActionValue__ContactAction *message); /* Wa__SyncActionValue__DeleteChatAction methods */ void wa__sync_action_value__delete_chat_action__init -(Wa__SyncActionValue__DeleteChatAction *message); + (Wa__SyncActionValue__DeleteChatAction *message); /* Wa__SyncActionValue__DeleteMessageForMeAction methods */ void wa__sync_action_value__delete_message_for_me_action__init -(Wa__SyncActionValue__DeleteMessageForMeAction *message); + (Wa__SyncActionValue__DeleteMessageForMeAction *message); +/* Wa__SyncActionValue__ExternalWebBetaAction methods */ +void wa__sync_action_value__external_web_beta_action__init + (Wa__SyncActionValue__ExternalWebBetaAction *message); /* Wa__SyncActionValue__KeyExpiration methods */ void wa__sync_action_value__key_expiration__init -(Wa__SyncActionValue__KeyExpiration *message); + (Wa__SyncActionValue__KeyExpiration *message); /* Wa__SyncActionValue__LabelAssociationAction methods */ void wa__sync_action_value__label_association_action__init -(Wa__SyncActionValue__LabelAssociationAction *message); + (Wa__SyncActionValue__LabelAssociationAction *message); /* Wa__SyncActionValue__LabelEditAction methods */ void wa__sync_action_value__label_edit_action__init -(Wa__SyncActionValue__LabelEditAction *message); + (Wa__SyncActionValue__LabelEditAction *message); /* Wa__SyncActionValue__LocaleSetting methods */ void wa__sync_action_value__locale_setting__init -(Wa__SyncActionValue__LocaleSetting *message); + (Wa__SyncActionValue__LocaleSetting *message); /* Wa__SyncActionValue__MarkChatAsReadAction methods */ void wa__sync_action_value__mark_chat_as_read_action__init -(Wa__SyncActionValue__MarkChatAsReadAction *message); + (Wa__SyncActionValue__MarkChatAsReadAction *message); +/* Wa__SyncActionValue__MarketingMessageAction methods */ +void wa__sync_action_value__marketing_message_action__init + (Wa__SyncActionValue__MarketingMessageAction *message); +/* Wa__SyncActionValue__MarketingMessageBroadcastAction methods */ +void wa__sync_action_value__marketing_message_broadcast_action__init + (Wa__SyncActionValue__MarketingMessageBroadcastAction *message); /* Wa__SyncActionValue__MuteAction methods */ void wa__sync_action_value__mute_action__init -(Wa__SyncActionValue__MuteAction *message); + (Wa__SyncActionValue__MuteAction *message); /* Wa__SyncActionValue__NuxAction methods */ void wa__sync_action_value__nux_action__init -(Wa__SyncActionValue__NuxAction *message); + (Wa__SyncActionValue__NuxAction *message); /* Wa__SyncActionValue__PinAction methods */ void wa__sync_action_value__pin_action__init -(Wa__SyncActionValue__PinAction *message); + (Wa__SyncActionValue__PinAction *message); +/* Wa__SyncActionValue__PnForLidChatAction methods */ +void wa__sync_action_value__pn_for_lid_chat_action__init + (Wa__SyncActionValue__PnForLidChatAction *message); /* Wa__SyncActionValue__PrimaryFeature methods */ void wa__sync_action_value__primary_feature__init -(Wa__SyncActionValue__PrimaryFeature *message); + (Wa__SyncActionValue__PrimaryFeature *message); /* Wa__SyncActionValue__PrimaryVersionAction methods */ void wa__sync_action_value__primary_version_action__init -(Wa__SyncActionValue__PrimaryVersionAction *message); + (Wa__SyncActionValue__PrimaryVersionAction *message); +/* Wa__SyncActionValue__PrivacySettingRelayAllCalls methods */ +void wa__sync_action_value__privacy_setting_relay_all_calls__init + (Wa__SyncActionValue__PrivacySettingRelayAllCalls *message); /* Wa__SyncActionValue__PushNameSetting methods */ void wa__sync_action_value__push_name_setting__init -(Wa__SyncActionValue__PushNameSetting *message); + (Wa__SyncActionValue__PushNameSetting *message); /* Wa__SyncActionValue__QuickReplyAction methods */ void wa__sync_action_value__quick_reply_action__init -(Wa__SyncActionValue__QuickReplyAction *message); + (Wa__SyncActionValue__QuickReplyAction *message); /* Wa__SyncActionValue__RecentEmojiWeightsAction methods */ void wa__sync_action_value__recent_emoji_weights_action__init -(Wa__SyncActionValue__RecentEmojiWeightsAction *message); + (Wa__SyncActionValue__RecentEmojiWeightsAction *message); +/* Wa__SyncActionValue__RemoveRecentStickerAction methods */ +void wa__sync_action_value__remove_recent_sticker_action__init + (Wa__SyncActionValue__RemoveRecentStickerAction *message); /* Wa__SyncActionValue__SecurityNotificationSetting methods */ void wa__sync_action_value__security_notification_setting__init -(Wa__SyncActionValue__SecurityNotificationSetting *message); + (Wa__SyncActionValue__SecurityNotificationSetting *message); /* Wa__SyncActionValue__StarAction methods */ void wa__sync_action_value__star_action__init -(Wa__SyncActionValue__StarAction *message); + (Wa__SyncActionValue__StarAction *message); /* Wa__SyncActionValue__StickerAction methods */ void wa__sync_action_value__sticker_action__init -(Wa__SyncActionValue__StickerAction *message); + (Wa__SyncActionValue__StickerAction *message); /* Wa__SyncActionValue__SubscriptionAction methods */ void wa__sync_action_value__subscription_action__init -(Wa__SyncActionValue__SubscriptionAction *message); -/* Wa__SyncActionValue__SyncActionMessageRange methods */ -void wa__sync_action_value__sync_action_message_range__init -(Wa__SyncActionValue__SyncActionMessageRange *message); + (Wa__SyncActionValue__SubscriptionAction *message); /* Wa__SyncActionValue__SyncActionMessage methods */ void wa__sync_action_value__sync_action_message__init -(Wa__SyncActionValue__SyncActionMessage *message); + (Wa__SyncActionValue__SyncActionMessage *message); +/* Wa__SyncActionValue__SyncActionMessageRange methods */ +void wa__sync_action_value__sync_action_message_range__init + (Wa__SyncActionValue__SyncActionMessageRange *message); /* Wa__SyncActionValue__TimeFormatAction methods */ void wa__sync_action_value__time_format_action__init -(Wa__SyncActionValue__TimeFormatAction *message); + (Wa__SyncActionValue__TimeFormatAction *message); /* Wa__SyncActionValue__UnarchiveChatsSetting methods */ void wa__sync_action_value__unarchive_chats_setting__init -(Wa__SyncActionValue__UnarchiveChatsSetting *message); + (Wa__SyncActionValue__UnarchiveChatsSetting *message); /* Wa__SyncActionValue__UserStatusMuteAction methods */ void wa__sync_action_value__user_status_mute_action__init -(Wa__SyncActionValue__UserStatusMuteAction *message); + (Wa__SyncActionValue__UserStatusMuteAction *message); /* Wa__SyncActionValue methods */ void wa__sync_action_value__init -(Wa__SyncActionValue *message); + (Wa__SyncActionValue *message); size_t wa__sync_action_value__get_packed_size -(const Wa__SyncActionValue *message); + (const Wa__SyncActionValue *message); size_t wa__sync_action_value__pack -(const Wa__SyncActionValue *message, - uint8_t *out); + (const Wa__SyncActionValue *message, + uint8_t *out); size_t wa__sync_action_value__pack_to_buffer -(const Wa__SyncActionValue *message, - ProtobufCBuffer *buffer); + (const Wa__SyncActionValue *message, + ProtobufCBuffer *buffer); Wa__SyncActionValue * -wa__sync_action_value__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__sync_action_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__sync_action_value__free_unpacked -(Wa__SyncActionValue *message, - ProtobufCAllocator *allocator); + (Wa__SyncActionValue *message, + ProtobufCAllocator *allocator); /* Wa__SyncdIndex methods */ void wa__syncd_index__init -(Wa__SyncdIndex *message); + (Wa__SyncdIndex *message); size_t wa__syncd_index__get_packed_size -(const Wa__SyncdIndex *message); + (const Wa__SyncdIndex *message); size_t wa__syncd_index__pack -(const Wa__SyncdIndex *message, - uint8_t *out); + (const Wa__SyncdIndex *message, + uint8_t *out); size_t wa__syncd_index__pack_to_buffer -(const Wa__SyncdIndex *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdIndex *message, + ProtobufCBuffer *buffer); Wa__SyncdIndex * -wa__syncd_index__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_index__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_index__free_unpacked -(Wa__SyncdIndex *message, - ProtobufCAllocator *allocator); + (Wa__SyncdIndex *message, + ProtobufCAllocator *allocator); /* Wa__SyncdMutation methods */ void wa__syncd_mutation__init -(Wa__SyncdMutation *message); + (Wa__SyncdMutation *message); size_t wa__syncd_mutation__get_packed_size -(const Wa__SyncdMutation *message); + (const Wa__SyncdMutation *message); size_t wa__syncd_mutation__pack -(const Wa__SyncdMutation *message, - uint8_t *out); + (const Wa__SyncdMutation *message, + uint8_t *out); size_t wa__syncd_mutation__pack_to_buffer -(const Wa__SyncdMutation *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdMutation *message, + ProtobufCBuffer *buffer); Wa__SyncdMutation * -wa__syncd_mutation__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_mutation__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_mutation__free_unpacked -(Wa__SyncdMutation *message, - ProtobufCAllocator *allocator); + (Wa__SyncdMutation *message, + ProtobufCAllocator *allocator); /* Wa__SyncdMutations methods */ void wa__syncd_mutations__init -(Wa__SyncdMutations *message); + (Wa__SyncdMutations *message); size_t wa__syncd_mutations__get_packed_size -(const Wa__SyncdMutations *message); + (const Wa__SyncdMutations *message); size_t wa__syncd_mutations__pack -(const Wa__SyncdMutations *message, - uint8_t *out); + (const Wa__SyncdMutations *message, + uint8_t *out); size_t wa__syncd_mutations__pack_to_buffer -(const Wa__SyncdMutations *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdMutations *message, + ProtobufCBuffer *buffer); Wa__SyncdMutations * -wa__syncd_mutations__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_mutations__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_mutations__free_unpacked -(Wa__SyncdMutations *message, - ProtobufCAllocator *allocator); + (Wa__SyncdMutations *message, + ProtobufCAllocator *allocator); /* Wa__SyncdPatch methods */ void wa__syncd_patch__init -(Wa__SyncdPatch *message); + (Wa__SyncdPatch *message); size_t wa__syncd_patch__get_packed_size -(const Wa__SyncdPatch *message); + (const Wa__SyncdPatch *message); size_t wa__syncd_patch__pack -(const Wa__SyncdPatch *message, - uint8_t *out); + (const Wa__SyncdPatch *message, + uint8_t *out); size_t wa__syncd_patch__pack_to_buffer -(const Wa__SyncdPatch *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdPatch *message, + ProtobufCBuffer *buffer); Wa__SyncdPatch * -wa__syncd_patch__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_patch__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_patch__free_unpacked -(Wa__SyncdPatch *message, - ProtobufCAllocator *allocator); + (Wa__SyncdPatch *message, + ProtobufCAllocator *allocator); /* Wa__SyncdRecord methods */ void wa__syncd_record__init -(Wa__SyncdRecord *message); + (Wa__SyncdRecord *message); size_t wa__syncd_record__get_packed_size -(const Wa__SyncdRecord *message); + (const Wa__SyncdRecord *message); size_t wa__syncd_record__pack -(const Wa__SyncdRecord *message, - uint8_t *out); + (const Wa__SyncdRecord *message, + uint8_t *out); size_t wa__syncd_record__pack_to_buffer -(const Wa__SyncdRecord *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdRecord *message, + ProtobufCBuffer *buffer); Wa__SyncdRecord * -wa__syncd_record__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_record__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_record__free_unpacked -(Wa__SyncdRecord *message, - ProtobufCAllocator *allocator); + (Wa__SyncdRecord *message, + ProtobufCAllocator *allocator); /* Wa__SyncdSnapshot methods */ void wa__syncd_snapshot__init -(Wa__SyncdSnapshot *message); + (Wa__SyncdSnapshot *message); size_t wa__syncd_snapshot__get_packed_size -(const Wa__SyncdSnapshot *message); + (const Wa__SyncdSnapshot *message); size_t wa__syncd_snapshot__pack -(const Wa__SyncdSnapshot *message, - uint8_t *out); + (const Wa__SyncdSnapshot *message, + uint8_t *out); size_t wa__syncd_snapshot__pack_to_buffer -(const Wa__SyncdSnapshot *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdSnapshot *message, + ProtobufCBuffer *buffer); Wa__SyncdSnapshot * -wa__syncd_snapshot__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_snapshot__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_snapshot__free_unpacked -(Wa__SyncdSnapshot *message, - ProtobufCAllocator *allocator); + (Wa__SyncdSnapshot *message, + ProtobufCAllocator *allocator); /* Wa__SyncdValue methods */ void wa__syncd_value__init -(Wa__SyncdValue *message); + (Wa__SyncdValue *message); size_t wa__syncd_value__get_packed_size -(const Wa__SyncdValue *message); + (const Wa__SyncdValue *message); size_t wa__syncd_value__pack -(const Wa__SyncdValue *message, - uint8_t *out); + (const Wa__SyncdValue *message, + uint8_t *out); size_t wa__syncd_value__pack_to_buffer -(const Wa__SyncdValue *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdValue *message, + ProtobufCBuffer *buffer); Wa__SyncdValue * -wa__syncd_value__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_value__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_value__free_unpacked -(Wa__SyncdValue *message, - ProtobufCAllocator *allocator); + (Wa__SyncdValue *message, + ProtobufCAllocator *allocator); /* Wa__SyncdVersion methods */ void wa__syncd_version__init -(Wa__SyncdVersion *message); + (Wa__SyncdVersion *message); size_t wa__syncd_version__get_packed_size -(const Wa__SyncdVersion *message); + (const Wa__SyncdVersion *message); size_t wa__syncd_version__pack -(const Wa__SyncdVersion *message, - uint8_t *out); + (const Wa__SyncdVersion *message, + uint8_t *out); size_t wa__syncd_version__pack_to_buffer -(const Wa__SyncdVersion *message, - ProtobufCBuffer *buffer); + (const Wa__SyncdVersion *message, + ProtobufCBuffer *buffer); Wa__SyncdVersion * -wa__syncd_version__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__syncd_version__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__syncd_version__free_unpacked -(Wa__SyncdVersion *message, - ProtobufCAllocator *allocator); + (Wa__SyncdVersion *message, + ProtobufCAllocator *allocator); /* Wa__TemplateButton__CallButton methods */ void wa__template_button__call_button__init -(Wa__TemplateButton__CallButton *message); + (Wa__TemplateButton__CallButton *message); /* Wa__TemplateButton__QuickReplyButton methods */ void wa__template_button__quick_reply_button__init -(Wa__TemplateButton__QuickReplyButton *message); + (Wa__TemplateButton__QuickReplyButton *message); /* Wa__TemplateButton__URLButton methods */ void wa__template_button__urlbutton__init -(Wa__TemplateButton__URLButton *message); + (Wa__TemplateButton__URLButton *message); /* Wa__TemplateButton methods */ void wa__template_button__init -(Wa__TemplateButton *message); + (Wa__TemplateButton *message); size_t wa__template_button__get_packed_size -(const Wa__TemplateButton *message); + (const Wa__TemplateButton *message); size_t wa__template_button__pack -(const Wa__TemplateButton *message, - uint8_t *out); + (const Wa__TemplateButton *message, + uint8_t *out); size_t wa__template_button__pack_to_buffer -(const Wa__TemplateButton *message, - ProtobufCBuffer *buffer); + (const Wa__TemplateButton *message, + ProtobufCBuffer *buffer); Wa__TemplateButton * -wa__template_button__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__template_button__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__template_button__free_unpacked -(Wa__TemplateButton *message, - ProtobufCAllocator *allocator); + (Wa__TemplateButton *message, + ProtobufCAllocator *allocator); /* Wa__UserReceipt methods */ void wa__user_receipt__init -(Wa__UserReceipt *message); + (Wa__UserReceipt *message); size_t wa__user_receipt__get_packed_size -(const Wa__UserReceipt *message); + (const Wa__UserReceipt *message); size_t wa__user_receipt__pack -(const Wa__UserReceipt *message, - uint8_t *out); + (const Wa__UserReceipt *message, + uint8_t *out); size_t wa__user_receipt__pack_to_buffer -(const Wa__UserReceipt *message, - ProtobufCBuffer *buffer); + (const Wa__UserReceipt *message, + ProtobufCBuffer *buffer); Wa__UserReceipt * -wa__user_receipt__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__user_receipt__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__user_receipt__free_unpacked -(Wa__UserReceipt *message, - ProtobufCAllocator *allocator); + (Wa__UserReceipt *message, + ProtobufCAllocator *allocator); /* Wa__VerifiedNameCertificate__Details methods */ void wa__verified_name_certificate__details__init -(Wa__VerifiedNameCertificate__Details *message); + (Wa__VerifiedNameCertificate__Details *message); /* Wa__VerifiedNameCertificate methods */ void wa__verified_name_certificate__init -(Wa__VerifiedNameCertificate *message); + (Wa__VerifiedNameCertificate *message); size_t wa__verified_name_certificate__get_packed_size -(const Wa__VerifiedNameCertificate *message); + (const Wa__VerifiedNameCertificate *message); size_t wa__verified_name_certificate__pack -(const Wa__VerifiedNameCertificate *message, - uint8_t *out); + (const Wa__VerifiedNameCertificate *message, + uint8_t *out); size_t wa__verified_name_certificate__pack_to_buffer -(const Wa__VerifiedNameCertificate *message, - ProtobufCBuffer *buffer); + (const Wa__VerifiedNameCertificate *message, + ProtobufCBuffer *buffer); Wa__VerifiedNameCertificate * -wa__verified_name_certificate__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__verified_name_certificate__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__verified_name_certificate__free_unpacked -(Wa__VerifiedNameCertificate *message, - ProtobufCAllocator *allocator); + (Wa__VerifiedNameCertificate *message, + ProtobufCAllocator *allocator); /* Wa__WallpaperSettings methods */ void wa__wallpaper_settings__init -(Wa__WallpaperSettings *message); + (Wa__WallpaperSettings *message); size_t wa__wallpaper_settings__get_packed_size -(const Wa__WallpaperSettings *message); + (const Wa__WallpaperSettings *message); size_t wa__wallpaper_settings__pack -(const Wa__WallpaperSettings *message, - uint8_t *out); + (const Wa__WallpaperSettings *message, + uint8_t *out); size_t wa__wallpaper_settings__pack_to_buffer -(const Wa__WallpaperSettings *message, - ProtobufCBuffer *buffer); + (const Wa__WallpaperSettings *message, + ProtobufCBuffer *buffer); Wa__WallpaperSettings * -wa__wallpaper_settings__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__wallpaper_settings__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__wallpaper_settings__free_unpacked -(Wa__WallpaperSettings *message, - ProtobufCAllocator *allocator); + (Wa__WallpaperSettings *message, + ProtobufCAllocator *allocator); /* Wa__WebFeatures methods */ void wa__web_features__init -(Wa__WebFeatures *message); + (Wa__WebFeatures *message); size_t wa__web_features__get_packed_size -(const Wa__WebFeatures *message); + (const Wa__WebFeatures *message); size_t wa__web_features__pack -(const Wa__WebFeatures *message, - uint8_t *out); + (const Wa__WebFeatures *message, + uint8_t *out); size_t wa__web_features__pack_to_buffer -(const Wa__WebFeatures *message, - ProtobufCBuffer *buffer); + (const Wa__WebFeatures *message, + ProtobufCBuffer *buffer); Wa__WebFeatures * -wa__web_features__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__web_features__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__web_features__free_unpacked -(Wa__WebFeatures *message, - ProtobufCAllocator *allocator); + (Wa__WebFeatures *message, + ProtobufCAllocator *allocator); /* Wa__WebMessageInfo methods */ void wa__web_message_info__init -(Wa__WebMessageInfo *message); + (Wa__WebMessageInfo *message); size_t wa__web_message_info__get_packed_size -(const Wa__WebMessageInfo *message); + (const Wa__WebMessageInfo *message); size_t wa__web_message_info__pack -(const Wa__WebMessageInfo *message, - uint8_t *out); + (const Wa__WebMessageInfo *message, + uint8_t *out); size_t wa__web_message_info__pack_to_buffer -(const Wa__WebMessageInfo *message, - ProtobufCBuffer *buffer); + (const Wa__WebMessageInfo *message, + ProtobufCBuffer *buffer); Wa__WebMessageInfo * -wa__web_message_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__web_message_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__web_message_info__free_unpacked -(Wa__WebMessageInfo *message, - ProtobufCAllocator *allocator); + (Wa__WebMessageInfo *message, + ProtobufCAllocator *allocator); /* Wa__WebNotificationsInfo methods */ void wa__web_notifications_info__init -(Wa__WebNotificationsInfo *message); + (Wa__WebNotificationsInfo *message); size_t wa__web_notifications_info__get_packed_size -(const Wa__WebNotificationsInfo *message); + (const Wa__WebNotificationsInfo *message); size_t wa__web_notifications_info__pack -(const Wa__WebNotificationsInfo *message, - uint8_t *out); + (const Wa__WebNotificationsInfo *message, + uint8_t *out); size_t wa__web_notifications_info__pack_to_buffer -(const Wa__WebNotificationsInfo *message, - ProtobufCBuffer *buffer); + (const Wa__WebNotificationsInfo *message, + ProtobufCBuffer *buffer); Wa__WebNotificationsInfo * -wa__web_notifications_info__unpack -(ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); + wa__web_notifications_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__web_notifications_info__free_unpacked -(Wa__WebNotificationsInfo *message, - ProtobufCAllocator *allocator); + (Wa__WebNotificationsInfo *message, + ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Wa__ADVDeviceIdentity_Closure) -(const Wa__ADVDeviceIdentity *message, - void *closure_data); + (const Wa__ADVDeviceIdentity *message, + void *closure_data); typedef void (*Wa__ADVKeyIndexList_Closure) -(const Wa__ADVKeyIndexList *message, - void *closure_data); + (const Wa__ADVKeyIndexList *message, + void *closure_data); typedef void (*Wa__ADVSignedDeviceIdentity_Closure) -(const Wa__ADVSignedDeviceIdentity *message, - void *closure_data); + (const Wa__ADVSignedDeviceIdentity *message, + void *closure_data); typedef void (*Wa__ADVSignedDeviceIdentityHMAC_Closure) -(const Wa__ADVSignedDeviceIdentityHMAC *message, - void *closure_data); + (const Wa__ADVSignedDeviceIdentityHMAC *message, + void *closure_data); typedef void (*Wa__ADVSignedKeyIndexList_Closure) -(const Wa__ADVSignedKeyIndexList *message, - void *closure_data); + (const Wa__ADVSignedKeyIndexList *message, + void *closure_data); typedef void (*Wa__ActionLink_Closure) -(const Wa__ActionLink *message, - void *closure_data); + (const Wa__ActionLink *message, + void *closure_data); typedef void (*Wa__AutoDownloadSettings_Closure) -(const Wa__AutoDownloadSettings *message, - void *closure_data); + (const Wa__AutoDownloadSettings *message, + void *closure_data); +typedef void (*Wa__AvatarUserSettings_Closure) + (const Wa__AvatarUserSettings *message, + void *closure_data); typedef void (*Wa__BizAccountLinkInfo_Closure) -(const Wa__BizAccountLinkInfo *message, - void *closure_data); + (const Wa__BizAccountLinkInfo *message, + void *closure_data); typedef void (*Wa__BizAccountPayload_Closure) -(const Wa__BizAccountPayload *message, - void *closure_data); + (const Wa__BizAccountPayload *message, + void *closure_data); typedef void (*Wa__BizIdentityInfo_Closure) -(const Wa__BizIdentityInfo *message, - void *closure_data); + (const Wa__BizIdentityInfo *message, + void *closure_data); typedef void (*Wa__CertChain__NoiseCertificate__Details_Closure) -(const Wa__CertChain__NoiseCertificate__Details *message, - void *closure_data); + (const Wa__CertChain__NoiseCertificate__Details *message, + void *closure_data); typedef void (*Wa__CertChain__NoiseCertificate_Closure) -(const Wa__CertChain__NoiseCertificate *message, - void *closure_data); + (const Wa__CertChain__NoiseCertificate *message, + void *closure_data); typedef void (*Wa__CertChain_Closure) -(const Wa__CertChain *message, - void *closure_data); -typedef void (*Wa__Chain_Closure) -(const Wa__Chain *message, - void *closure_data); -typedef void (*Wa__ChainKey_Closure) -(const Wa__ChainKey *message, - void *closure_data); + (const Wa__CertChain *message, + void *closure_data); typedef void (*Wa__ClientPayload__DNSSource_Closure) -(const Wa__ClientPayload__DNSSource *message, - void *closure_data); + (const Wa__ClientPayload__DNSSource *message, + void *closure_data); typedef void (*Wa__ClientPayload__DevicePairingRegistrationData_Closure) -(const Wa__ClientPayload__DevicePairingRegistrationData *message, - void *closure_data); + (const Wa__ClientPayload__DevicePairingRegistrationData *message, + void *closure_data); +typedef void (*Wa__ClientPayload__InteropData_Closure) + (const Wa__ClientPayload__InteropData *message, + void *closure_data); typedef void (*Wa__ClientPayload__UserAgent__AppVersion_Closure) -(const Wa__ClientPayload__UserAgent__AppVersion *message, - void *closure_data); + (const Wa__ClientPayload__UserAgent__AppVersion *message, + void *closure_data); typedef void (*Wa__ClientPayload__UserAgent_Closure) -(const Wa__ClientPayload__UserAgent *message, - void *closure_data); + (const Wa__ClientPayload__UserAgent *message, + void *closure_data); typedef void (*Wa__ClientPayload__WebInfo__WebdPayload_Closure) -(const Wa__ClientPayload__WebInfo__WebdPayload *message, - void *closure_data); + (const Wa__ClientPayload__WebInfo__WebdPayload *message, + void *closure_data); typedef void (*Wa__ClientPayload__WebInfo_Closure) -(const Wa__ClientPayload__WebInfo *message, - void *closure_data); + (const Wa__ClientPayload__WebInfo *message, + void *closure_data); typedef void (*Wa__ClientPayload_Closure) -(const Wa__ClientPayload *message, - void *closure_data); + (const Wa__ClientPayload *message, + void *closure_data); typedef void (*Wa__ContextInfo__AdReplyInfo_Closure) -(const Wa__ContextInfo__AdReplyInfo *message, - void *closure_data); + (const Wa__ContextInfo__AdReplyInfo *message, + void *closure_data); typedef void (*Wa__ContextInfo__ExternalAdReplyInfo_Closure) -(const Wa__ContextInfo__ExternalAdReplyInfo *message, - void *closure_data); + (const Wa__ContextInfo__ExternalAdReplyInfo *message, + void *closure_data); +typedef void (*Wa__ContextInfo__UTMInfo_Closure) + (const Wa__ContextInfo__UTMInfo *message, + void *closure_data); typedef void (*Wa__ContextInfo_Closure) -(const Wa__ContextInfo *message, - void *closure_data); + (const Wa__ContextInfo *message, + void *closure_data); typedef void (*Wa__Conversation_Closure) -(const Wa__Conversation *message, - void *closure_data); + (const Wa__Conversation *message, + void *closure_data); +typedef void (*Wa__DeviceConsistencyCodeMessage_Closure) + (const Wa__DeviceConsistencyCodeMessage *message, + void *closure_data); typedef void (*Wa__DeviceListMetadata_Closure) -(const Wa__DeviceListMetadata *message, - void *closure_data); + (const Wa__DeviceListMetadata *message, + void *closure_data); typedef void (*Wa__DeviceProps__AppVersion_Closure) -(const Wa__DeviceProps__AppVersion *message, - void *closure_data); + (const Wa__DeviceProps__AppVersion *message, + void *closure_data); +typedef void (*Wa__DeviceProps__HistorySyncConfig_Closure) + (const Wa__DeviceProps__HistorySyncConfig *message, + void *closure_data); typedef void (*Wa__DeviceProps_Closure) -(const Wa__DeviceProps *message, - void *closure_data); + (const Wa__DeviceProps *message, + void *closure_data); typedef void (*Wa__DisappearingMode_Closure) -(const Wa__DisappearingMode *message, - void *closure_data); + (const Wa__DisappearingMode *message, + void *closure_data); typedef void (*Wa__EphemeralSetting_Closure) -(const Wa__EphemeralSetting *message, - void *closure_data); + (const Wa__EphemeralSetting *message, + void *closure_data); typedef void (*Wa__ExitCode_Closure) -(const Wa__ExitCode *message, - void *closure_data); + (const Wa__ExitCode *message, + void *closure_data); typedef void (*Wa__ExternalBlobReference_Closure) -(const Wa__ExternalBlobReference *message, - void *closure_data); + (const Wa__ExternalBlobReference *message, + void *closure_data); typedef void (*Wa__GlobalSettings_Closure) -(const Wa__GlobalSettings *message, - void *closure_data); + (const Wa__GlobalSettings *message, + void *closure_data); +typedef void (*Wa__GroupMention_Closure) + (const Wa__GroupMention *message, + void *closure_data); typedef void (*Wa__GroupParticipant_Closure) -(const Wa__GroupParticipant *message, - void *closure_data); + (const Wa__GroupParticipant *message, + void *closure_data); typedef void (*Wa__HandshakeMessage__ClientFinish_Closure) -(const Wa__HandshakeMessage__ClientFinish *message, - void *closure_data); + (const Wa__HandshakeMessage__ClientFinish *message, + void *closure_data); typedef void (*Wa__HandshakeMessage__ClientHello_Closure) -(const Wa__HandshakeMessage__ClientHello *message, - void *closure_data); + (const Wa__HandshakeMessage__ClientHello *message, + void *closure_data); typedef void (*Wa__HandshakeMessage__ServerHello_Closure) -(const Wa__HandshakeMessage__ServerHello *message, - void *closure_data); + (const Wa__HandshakeMessage__ServerHello *message, + void *closure_data); typedef void (*Wa__HandshakeMessage_Closure) -(const Wa__HandshakeMessage *message, - void *closure_data); + (const Wa__HandshakeMessage *message, + void *closure_data); typedef void (*Wa__HistorySync_Closure) -(const Wa__HistorySync *message, - void *closure_data); + (const Wa__HistorySync *message, + void *closure_data); typedef void (*Wa__HistorySyncMsg_Closure) -(const Wa__HistorySyncMsg *message, - void *closure_data); + (const Wa__HistorySyncMsg *message, + void *closure_data); typedef void (*Wa__HydratedTemplateButton__HydratedCallButton_Closure) -(const Wa__HydratedTemplateButton__HydratedCallButton *message, - void *closure_data); + (const Wa__HydratedTemplateButton__HydratedCallButton *message, + void *closure_data); typedef void (*Wa__HydratedTemplateButton__HydratedQuickReplyButton_Closure) -(const Wa__HydratedTemplateButton__HydratedQuickReplyButton *message, - void *closure_data); + (const Wa__HydratedTemplateButton__HydratedQuickReplyButton *message, + void *closure_data); typedef void (*Wa__HydratedTemplateButton__HydratedURLButton_Closure) -(const Wa__HydratedTemplateButton__HydratedURLButton *message, - void *closure_data); + (const Wa__HydratedTemplateButton__HydratedURLButton *message, + void *closure_data); typedef void (*Wa__HydratedTemplateButton_Closure) -(const Wa__HydratedTemplateButton *message, - void *closure_data); + (const Wa__HydratedTemplateButton *message, + void *closure_data); typedef void (*Wa__IdentityKeyPairStructure_Closure) -(const Wa__IdentityKeyPairStructure *message, - void *closure_data); + (const Wa__IdentityKeyPairStructure *message, + void *closure_data); typedef void (*Wa__InteractiveAnnotation_Closure) -(const Wa__InteractiveAnnotation *message, - void *closure_data); + (const Wa__InteractiveAnnotation *message, + void *closure_data); typedef void (*Wa__KeepInChat_Closure) -(const Wa__KeepInChat *message, - void *closure_data); + (const Wa__KeepInChat *message, + void *closure_data); +typedef void (*Wa__KeyExchangeMessage_Closure) + (const Wa__KeyExchangeMessage *message, + void *closure_data); typedef void (*Wa__KeyId_Closure) -(const Wa__KeyId *message, - void *closure_data); + (const Wa__KeyId *message, + void *closure_data); typedef void (*Wa__LocalizedName_Closure) -(const Wa__LocalizedName *message, - void *closure_data); + (const Wa__LocalizedName *message, + void *closure_data); typedef void (*Wa__Location_Closure) -(const Wa__Location *message, - void *closure_data); + (const Wa__Location *message, + void *closure_data); typedef void (*Wa__MediaData_Closure) -(const Wa__MediaData *message, - void *closure_data); + (const Wa__MediaData *message, + void *closure_data); typedef void (*Wa__MediaRetryNotification_Closure) -(const Wa__MediaRetryNotification *message, - void *closure_data); + (const Wa__MediaRetryNotification *message, + void *closure_data); typedef void (*Wa__Message__AppStateFatalExceptionNotification_Closure) -(const Wa__Message__AppStateFatalExceptionNotification *message, - void *closure_data); + (const Wa__Message__AppStateFatalExceptionNotification *message, + void *closure_data); +typedef void (*Wa__Message__AppStateSyncKey_Closure) + (const Wa__Message__AppStateSyncKey *message, + void *closure_data); typedef void (*Wa__Message__AppStateSyncKeyData_Closure) -(const Wa__Message__AppStateSyncKeyData *message, - void *closure_data); + (const Wa__Message__AppStateSyncKeyData *message, + void *closure_data); typedef void (*Wa__Message__AppStateSyncKeyFingerprint_Closure) -(const Wa__Message__AppStateSyncKeyFingerprint *message, - void *closure_data); + (const Wa__Message__AppStateSyncKeyFingerprint *message, + void *closure_data); typedef void (*Wa__Message__AppStateSyncKeyId_Closure) -(const Wa__Message__AppStateSyncKeyId *message, - void *closure_data); + (const Wa__Message__AppStateSyncKeyId *message, + void *closure_data); typedef void (*Wa__Message__AppStateSyncKeyRequest_Closure) -(const Wa__Message__AppStateSyncKeyRequest *message, - void *closure_data); + (const Wa__Message__AppStateSyncKeyRequest *message, + void *closure_data); typedef void (*Wa__Message__AppStateSyncKeyShare_Closure) -(const Wa__Message__AppStateSyncKeyShare *message, - void *closure_data); -typedef void (*Wa__Message__AppStateSyncKey_Closure) -(const Wa__Message__AppStateSyncKey *message, - void *closure_data); + (const Wa__Message__AppStateSyncKeyShare *message, + void *closure_data); typedef void (*Wa__Message__AudioMessage_Closure) -(const Wa__Message__AudioMessage *message, - void *closure_data); + (const Wa__Message__AudioMessage *message, + void *closure_data); typedef void (*Wa__Message__ButtonsMessage__Button__ButtonText_Closure) -(const Wa__Message__ButtonsMessage__Button__ButtonText *message, - void *closure_data); + (const Wa__Message__ButtonsMessage__Button__ButtonText *message, + void *closure_data); typedef void (*Wa__Message__ButtonsMessage__Button__NativeFlowInfo_Closure) -(const Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message, - void *closure_data); + (const Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message, + void *closure_data); typedef void (*Wa__Message__ButtonsMessage__Button_Closure) -(const Wa__Message__ButtonsMessage__Button *message, - void *closure_data); + (const Wa__Message__ButtonsMessage__Button *message, + void *closure_data); typedef void (*Wa__Message__ButtonsMessage_Closure) -(const Wa__Message__ButtonsMessage *message, - void *closure_data); + (const Wa__Message__ButtonsMessage *message, + void *closure_data); typedef void (*Wa__Message__ButtonsResponseMessage_Closure) -(const Wa__Message__ButtonsResponseMessage *message, - void *closure_data); + (const Wa__Message__ButtonsResponseMessage *message, + void *closure_data); typedef void (*Wa__Message__Call_Closure) -(const Wa__Message__Call *message, - void *closure_data); + (const Wa__Message__Call *message, + void *closure_data); typedef void (*Wa__Message__CancelPaymentRequestMessage_Closure) -(const Wa__Message__CancelPaymentRequestMessage *message, - void *closure_data); + (const Wa__Message__CancelPaymentRequestMessage *message, + void *closure_data); typedef void (*Wa__Message__Chat_Closure) -(const Wa__Message__Chat *message, - void *closure_data); + (const Wa__Message__Chat *message, + void *closure_data); typedef void (*Wa__Message__ContactMessage_Closure) -(const Wa__Message__ContactMessage *message, - void *closure_data); + (const Wa__Message__ContactMessage *message, + void *closure_data); typedef void (*Wa__Message__ContactsArrayMessage_Closure) -(const Wa__Message__ContactsArrayMessage *message, - void *closure_data); + (const Wa__Message__ContactsArrayMessage *message, + void *closure_data); typedef void (*Wa__Message__DeclinePaymentRequestMessage_Closure) -(const Wa__Message__DeclinePaymentRequestMessage *message, - void *closure_data); + (const Wa__Message__DeclinePaymentRequestMessage *message, + void *closure_data); typedef void (*Wa__Message__DeviceSentMessage_Closure) -(const Wa__Message__DeviceSentMessage *message, - void *closure_data); + (const Wa__Message__DeviceSentMessage *message, + void *closure_data); typedef void (*Wa__Message__DocumentMessage_Closure) -(const Wa__Message__DocumentMessage *message, - void *closure_data); + (const Wa__Message__DocumentMessage *message, + void *closure_data); +typedef void (*Wa__Message__EncReactionMessage_Closure) + (const Wa__Message__EncReactionMessage *message, + void *closure_data); typedef void (*Wa__Message__ExtendedTextMessage_Closure) -(const Wa__Message__ExtendedTextMessage *message, - void *closure_data); + (const Wa__Message__ExtendedTextMessage *message, + void *closure_data); typedef void (*Wa__Message__FutureProofMessage_Closure) -(const Wa__Message__FutureProofMessage *message, - void *closure_data); + (const Wa__Message__FutureProofMessage *message, + void *closure_data); typedef void (*Wa__Message__GroupInviteMessage_Closure) -(const Wa__Message__GroupInviteMessage *message, - void *closure_data); + (const Wa__Message__GroupInviteMessage *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency_Closure) -(const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent_Closure) -(const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch_Closure) -(const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime_Closure) -(const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter_Closure) -(const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message, + void *closure_data); typedef void (*Wa__Message__HighlyStructuredMessage_Closure) -(const Wa__Message__HighlyStructuredMessage *message, - void *closure_data); + (const Wa__Message__HighlyStructuredMessage *message, + void *closure_data); typedef void (*Wa__Message__HistorySyncNotification_Closure) -(const Wa__Message__HistorySyncNotification *message, - void *closure_data); + (const Wa__Message__HistorySyncNotification *message, + void *closure_data); typedef void (*Wa__Message__ImageMessage_Closure) -(const Wa__Message__ImageMessage *message, - void *closure_data); + (const Wa__Message__ImageMessage *message, + void *closure_data); typedef void (*Wa__Message__InitialSecurityNotificationSettingSync_Closure) -(const Wa__Message__InitialSecurityNotificationSettingSync *message, - void *closure_data); + (const Wa__Message__InitialSecurityNotificationSettingSync *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__Body_Closure) -(const Wa__Message__InteractiveMessage__Body *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__Body *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__CollectionMessage_Closure) -(const Wa__Message__InteractiveMessage__CollectionMessage *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__CollectionMessage *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__Footer_Closure) -(const Wa__Message__InteractiveMessage__Footer *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__Footer *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__Header_Closure) -(const Wa__Message__InteractiveMessage__Header *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__Header *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton_Closure) -(const Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__NativeFlowMessage_Closure) -(const Wa__Message__InteractiveMessage__NativeFlowMessage *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__NativeFlowMessage *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage__ShopMessage_Closure) -(const Wa__Message__InteractiveMessage__ShopMessage *message, - void *closure_data); + (const Wa__Message__InteractiveMessage__ShopMessage *message, + void *closure_data); typedef void (*Wa__Message__InteractiveMessage_Closure) -(const Wa__Message__InteractiveMessage *message, - void *closure_data); + (const Wa__Message__InteractiveMessage *message, + void *closure_data); typedef void (*Wa__Message__InteractiveResponseMessage__Body_Closure) -(const Wa__Message__InteractiveResponseMessage__Body *message, - void *closure_data); + (const Wa__Message__InteractiveResponseMessage__Body *message, + void *closure_data); typedef void (*Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage_Closure) -(const Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message, - void *closure_data); + (const Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message, + void *closure_data); typedef void (*Wa__Message__InteractiveResponseMessage_Closure) -(const Wa__Message__InteractiveResponseMessage *message, - void *closure_data); + (const Wa__Message__InteractiveResponseMessage *message, + void *closure_data); typedef void (*Wa__Message__InvoiceMessage_Closure) -(const Wa__Message__InvoiceMessage *message, - void *closure_data); + (const Wa__Message__InvoiceMessage *message, + void *closure_data); typedef void (*Wa__Message__KeepInChatMessage_Closure) -(const Wa__Message__KeepInChatMessage *message, - void *closure_data); + (const Wa__Message__KeepInChatMessage *message, + void *closure_data); +typedef void (*Wa__Message__ListMessage__Product_Closure) + (const Wa__Message__ListMessage__Product *message, + void *closure_data); typedef void (*Wa__Message__ListMessage__ProductListHeaderImage_Closure) -(const Wa__Message__ListMessage__ProductListHeaderImage *message, - void *closure_data); + (const Wa__Message__ListMessage__ProductListHeaderImage *message, + void *closure_data); typedef void (*Wa__Message__ListMessage__ProductListInfo_Closure) -(const Wa__Message__ListMessage__ProductListInfo *message, - void *closure_data); + (const Wa__Message__ListMessage__ProductListInfo *message, + void *closure_data); typedef void (*Wa__Message__ListMessage__ProductSection_Closure) -(const Wa__Message__ListMessage__ProductSection *message, - void *closure_data); -typedef void (*Wa__Message__ListMessage__Product_Closure) -(const Wa__Message__ListMessage__Product *message, - void *closure_data); + (const Wa__Message__ListMessage__ProductSection *message, + void *closure_data); typedef void (*Wa__Message__ListMessage__Row_Closure) -(const Wa__Message__ListMessage__Row *message, - void *closure_data); + (const Wa__Message__ListMessage__Row *message, + void *closure_data); typedef void (*Wa__Message__ListMessage__Section_Closure) -(const Wa__Message__ListMessage__Section *message, - void *closure_data); + (const Wa__Message__ListMessage__Section *message, + void *closure_data); typedef void (*Wa__Message__ListMessage_Closure) -(const Wa__Message__ListMessage *message, - void *closure_data); + (const Wa__Message__ListMessage *message, + void *closure_data); typedef void (*Wa__Message__ListResponseMessage__SingleSelectReply_Closure) -(const Wa__Message__ListResponseMessage__SingleSelectReply *message, - void *closure_data); + (const Wa__Message__ListResponseMessage__SingleSelectReply *message, + void *closure_data); typedef void (*Wa__Message__ListResponseMessage_Closure) -(const Wa__Message__ListResponseMessage *message, - void *closure_data); + (const Wa__Message__ListResponseMessage *message, + void *closure_data); typedef void (*Wa__Message__LiveLocationMessage_Closure) -(const Wa__Message__LiveLocationMessage *message, - void *closure_data); + (const Wa__Message__LiveLocationMessage *message, + void *closure_data); typedef void (*Wa__Message__LocationMessage_Closure) -(const Wa__Message__LocationMessage *message, - void *closure_data); + (const Wa__Message__LocationMessage *message, + void *closure_data); typedef void (*Wa__Message__OrderMessage_Closure) -(const Wa__Message__OrderMessage *message, - void *closure_data); + (const Wa__Message__OrderMessage *message, + void *closure_data); typedef void (*Wa__Message__PaymentInviteMessage_Closure) -(const Wa__Message__PaymentInviteMessage *message, - void *closure_data); + (const Wa__Message__PaymentInviteMessage *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest_Closure) + (const Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest_Closure) + (const Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload_Closure) + (const Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview_Closure) + (const Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestMessage_Closure) + (const Wa__Message__PeerDataOperationRequestMessage *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail_Closure) + (const Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse_Closure) + (const Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse_Closure) + (const Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult_Closure) + (const Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult *message, + void *closure_data); +typedef void (*Wa__Message__PeerDataOperationRequestResponseMessage_Closure) + (const Wa__Message__PeerDataOperationRequestResponseMessage *message, + void *closure_data); +typedef void (*Wa__Message__PinInChatMessage_Closure) + (const Wa__Message__PinInChatMessage *message, + void *closure_data); typedef void (*Wa__Message__PollCreationMessage__Option_Closure) -(const Wa__Message__PollCreationMessage__Option *message, - void *closure_data); + (const Wa__Message__PollCreationMessage__Option *message, + void *closure_data); typedef void (*Wa__Message__PollCreationMessage_Closure) -(const Wa__Message__PollCreationMessage *message, - void *closure_data); + (const Wa__Message__PollCreationMessage *message, + void *closure_data); typedef void (*Wa__Message__PollEncValue_Closure) -(const Wa__Message__PollEncValue *message, - void *closure_data); -typedef void (*Wa__Message__PollUpdateMessageMetadata_Closure) -(const Wa__Message__PollUpdateMessageMetadata *message, - void *closure_data); + (const Wa__Message__PollEncValue *message, + void *closure_data); typedef void (*Wa__Message__PollUpdateMessage_Closure) -(const Wa__Message__PollUpdateMessage *message, - void *closure_data); + (const Wa__Message__PollUpdateMessage *message, + void *closure_data); +typedef void (*Wa__Message__PollUpdateMessageMetadata_Closure) + (const Wa__Message__PollUpdateMessageMetadata *message, + void *closure_data); typedef void (*Wa__Message__PollVoteMessage_Closure) -(const Wa__Message__PollVoteMessage *message, - void *closure_data); + (const Wa__Message__PollVoteMessage *message, + void *closure_data); typedef void (*Wa__Message__ProductMessage__CatalogSnapshot_Closure) -(const Wa__Message__ProductMessage__CatalogSnapshot *message, - void *closure_data); + (const Wa__Message__ProductMessage__CatalogSnapshot *message, + void *closure_data); typedef void (*Wa__Message__ProductMessage__ProductSnapshot_Closure) -(const Wa__Message__ProductMessage__ProductSnapshot *message, - void *closure_data); + (const Wa__Message__ProductMessage__ProductSnapshot *message, + void *closure_data); typedef void (*Wa__Message__ProductMessage_Closure) -(const Wa__Message__ProductMessage *message, - void *closure_data); + (const Wa__Message__ProductMessage *message, + void *closure_data); typedef void (*Wa__Message__ProtocolMessage_Closure) -(const Wa__Message__ProtocolMessage *message, - void *closure_data); + (const Wa__Message__ProtocolMessage *message, + void *closure_data); typedef void (*Wa__Message__ReactionMessage_Closure) -(const Wa__Message__ReactionMessage *message, - void *closure_data); -typedef void (*Wa__Message__RequestMediaUploadMessage_Closure) -(const Wa__Message__RequestMediaUploadMessage *message, - void *closure_data); -typedef void (*Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult_Closure) -(const Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult *message, - void *closure_data); -typedef void (*Wa__Message__RequestMediaUploadResponseMessage_Closure) -(const Wa__Message__RequestMediaUploadResponseMessage *message, - void *closure_data); + (const Wa__Message__ReactionMessage *message, + void *closure_data); typedef void (*Wa__Message__RequestPaymentMessage_Closure) -(const Wa__Message__RequestPaymentMessage *message, - void *closure_data); + (const Wa__Message__RequestPaymentMessage *message, + void *closure_data); typedef void (*Wa__Message__RequestPhoneNumberMessage_Closure) -(const Wa__Message__RequestPhoneNumberMessage *message, - void *closure_data); + (const Wa__Message__RequestPhoneNumberMessage *message, + void *closure_data); +typedef void (*Wa__Message__ScheduledCallCreationMessage_Closure) + (const Wa__Message__ScheduledCallCreationMessage *message, + void *closure_data); +typedef void (*Wa__Message__ScheduledCallEditMessage_Closure) + (const Wa__Message__ScheduledCallEditMessage *message, + void *closure_data); typedef void (*Wa__Message__SendPaymentMessage_Closure) -(const Wa__Message__SendPaymentMessage *message, - void *closure_data); + (const Wa__Message__SendPaymentMessage *message, + void *closure_data); typedef void (*Wa__Message__SenderKeyDistributionMessage_Closure) -(const Wa__Message__SenderKeyDistributionMessage *message, - void *closure_data); + (const Wa__Message__SenderKeyDistributionMessage *message, + void *closure_data); typedef void (*Wa__Message__StickerMessage_Closure) -(const Wa__Message__StickerMessage *message, - void *closure_data); + (const Wa__Message__StickerMessage *message, + void *closure_data); typedef void (*Wa__Message__StickerSyncRMRMessage_Closure) -(const Wa__Message__StickerSyncRMRMessage *message, - void *closure_data); + (const Wa__Message__StickerSyncRMRMessage *message, + void *closure_data); typedef void (*Wa__Message__TemplateButtonReplyMessage_Closure) -(const Wa__Message__TemplateButtonReplyMessage *message, - void *closure_data); + (const Wa__Message__TemplateButtonReplyMessage *message, + void *closure_data); typedef void (*Wa__Message__TemplateMessage__FourRowTemplate_Closure) -(const Wa__Message__TemplateMessage__FourRowTemplate *message, - void *closure_data); + (const Wa__Message__TemplateMessage__FourRowTemplate *message, + void *closure_data); typedef void (*Wa__Message__TemplateMessage__HydratedFourRowTemplate_Closure) -(const Wa__Message__TemplateMessage__HydratedFourRowTemplate *message, - void *closure_data); + (const Wa__Message__TemplateMessage__HydratedFourRowTemplate *message, + void *closure_data); typedef void (*Wa__Message__TemplateMessage_Closure) -(const Wa__Message__TemplateMessage *message, - void *closure_data); + (const Wa__Message__TemplateMessage *message, + void *closure_data); typedef void (*Wa__Message__VideoMessage_Closure) -(const Wa__Message__VideoMessage *message, - void *closure_data); + (const Wa__Message__VideoMessage *message, + void *closure_data); typedef void (*Wa__Message_Closure) -(const Wa__Message *message, - void *closure_data); + (const Wa__Message *message, + void *closure_data); +typedef void (*Wa__MessageAddOnContextInfo_Closure) + (const Wa__MessageAddOnContextInfo *message, + void *closure_data); typedef void (*Wa__MessageContextInfo_Closure) -(const Wa__MessageContextInfo *message, - void *closure_data); + (const Wa__MessageContextInfo *message, + void *closure_data); typedef void (*Wa__MessageKey_Closure) -(const Wa__MessageKey *message, - void *closure_data); + (const Wa__MessageKey *message, + void *closure_data); typedef void (*Wa__Money_Closure) -(const Wa__Money *message, - void *closure_data); + (const Wa__Money *message, + void *closure_data); typedef void (*Wa__MsgOpaqueData__PollOption_Closure) -(const Wa__MsgOpaqueData__PollOption *message, - void *closure_data); + (const Wa__MsgOpaqueData__PollOption *message, + void *closure_data); typedef void (*Wa__MsgOpaqueData_Closure) -(const Wa__MsgOpaqueData *message, - void *closure_data); + (const Wa__MsgOpaqueData *message, + void *closure_data); typedef void (*Wa__MsgRowOpaqueData_Closure) -(const Wa__MsgRowOpaqueData *message, - void *closure_data); + (const Wa__MsgRowOpaqueData *message, + void *closure_data); typedef void (*Wa__NoiseCertificate__Details_Closure) -(const Wa__NoiseCertificate__Details *message, - void *closure_data); + (const Wa__NoiseCertificate__Details *message, + void *closure_data); typedef void (*Wa__NoiseCertificate_Closure) -(const Wa__NoiseCertificate *message, - void *closure_data); + (const Wa__NoiseCertificate *message, + void *closure_data); typedef void (*Wa__NotificationMessageInfo_Closure) -(const Wa__NotificationMessageInfo *message, - void *closure_data); + (const Wa__NotificationMessageInfo *message, + void *closure_data); +typedef void (*Wa__NotificationSettings_Closure) + (const Wa__NotificationSettings *message, + void *closure_data); typedef void (*Wa__PastParticipant_Closure) -(const Wa__PastParticipant *message, - void *closure_data); + (const Wa__PastParticipant *message, + void *closure_data); typedef void (*Wa__PastParticipants_Closure) -(const Wa__PastParticipants *message, - void *closure_data); + (const Wa__PastParticipants *message, + void *closure_data); typedef void (*Wa__PaymentBackground__MediaData_Closure) -(const Wa__PaymentBackground__MediaData *message, - void *closure_data); + (const Wa__PaymentBackground__MediaData *message, + void *closure_data); typedef void (*Wa__PaymentBackground_Closure) -(const Wa__PaymentBackground *message, - void *closure_data); + (const Wa__PaymentBackground *message, + void *closure_data); typedef void (*Wa__PaymentInfo_Closure) -(const Wa__PaymentInfo *message, - void *closure_data); -typedef void (*Wa__PendingKeyExchange_Closure) -(const Wa__PendingKeyExchange *message, - void *closure_data); -typedef void (*Wa__PendingPreKey_Closure) -(const Wa__PendingPreKey *message, - void *closure_data); + (const Wa__PaymentInfo *message, + void *closure_data); typedef void (*Wa__PhotoChange_Closure) -(const Wa__PhotoChange *message, - void *closure_data); + (const Wa__PhotoChange *message, + void *closure_data); +typedef void (*Wa__PinInChat_Closure) + (const Wa__PinInChat *message, + void *closure_data); typedef void (*Wa__Point_Closure) -(const Wa__Point *message, - void *closure_data); + (const Wa__Point *message, + void *closure_data); typedef void (*Wa__PollAdditionalMetadata_Closure) -(const Wa__PollAdditionalMetadata *message, - void *closure_data); + (const Wa__PollAdditionalMetadata *message, + void *closure_data); typedef void (*Wa__PollEncValue_Closure) -(const Wa__PollEncValue *message, - void *closure_data); + (const Wa__PollEncValue *message, + void *closure_data); typedef void (*Wa__PollUpdate_Closure) -(const Wa__PollUpdate *message, - void *closure_data); + (const Wa__PollUpdate *message, + void *closure_data); typedef void (*Wa__PreKeyRecordStructure_Closure) -(const Wa__PreKeyRecordStructure *message, - void *closure_data); + (const Wa__PreKeyRecordStructure *message, + void *closure_data); +typedef void (*Wa__PreKeySignalMessage_Closure) + (const Wa__PreKeySignalMessage *message, + void *closure_data); typedef void (*Wa__Pushname_Closure) -(const Wa__Pushname *message, - void *closure_data); + (const Wa__Pushname *message, + void *closure_data); typedef void (*Wa__Reaction_Closure) -(const Wa__Reaction *message, - void *closure_data); + (const Wa__Reaction *message, + void *closure_data); typedef void (*Wa__RecentEmojiWeight_Closure) -(const Wa__RecentEmojiWeight *message, - void *closure_data); + (const Wa__RecentEmojiWeight *message, + void *closure_data); typedef void (*Wa__RecordStructure_Closure) -(const Wa__RecordStructure *message, - void *closure_data); -typedef void (*Wa__SenderChainKey_Closure) -(const Wa__SenderChainKey *message, - void *closure_data); + (const Wa__RecordStructure *message, + void *closure_data); +typedef void (*Wa__SenderKeyDistributionMessage_Closure) + (const Wa__SenderKeyDistributionMessage *message, + void *closure_data); +typedef void (*Wa__SenderKeyMessage_Closure) + (const Wa__SenderKeyMessage *message, + void *closure_data); typedef void (*Wa__SenderKeyRecordStructure_Closure) -(const Wa__SenderKeyRecordStructure *message, - void *closure_data); + (const Wa__SenderKeyRecordStructure *message, + void *closure_data); +typedef void (*Wa__SenderKeyStateStructure__SenderChainKey_Closure) + (const Wa__SenderKeyStateStructure__SenderChainKey *message, + void *closure_data); +typedef void (*Wa__SenderKeyStateStructure__SenderMessageKey_Closure) + (const Wa__SenderKeyStateStructure__SenderMessageKey *message, + void *closure_data); +typedef void (*Wa__SenderKeyStateStructure__SenderSigningKey_Closure) + (const Wa__SenderKeyStateStructure__SenderSigningKey *message, + void *closure_data); typedef void (*Wa__SenderKeyStateStructure_Closure) -(const Wa__SenderKeyStateStructure *message, - void *closure_data); -typedef void (*Wa__SenderMessageKey_Closure) -(const Wa__SenderMessageKey *message, - void *closure_data); -typedef void (*Wa__SenderSigningKey_Closure) -(const Wa__SenderSigningKey *message, - void *closure_data); + (const Wa__SenderKeyStateStructure *message, + void *closure_data); typedef void (*Wa__ServerErrorReceipt_Closure) -(const Wa__ServerErrorReceipt *message, - void *closure_data); + (const Wa__ServerErrorReceipt *message, + void *closure_data); +typedef void (*Wa__SessionStructure__Chain__ChainKey_Closure) + (const Wa__SessionStructure__Chain__ChainKey *message, + void *closure_data); +typedef void (*Wa__SessionStructure__Chain__MessageKey_Closure) + (const Wa__SessionStructure__Chain__MessageKey *message, + void *closure_data); +typedef void (*Wa__SessionStructure__Chain_Closure) + (const Wa__SessionStructure__Chain *message, + void *closure_data); +typedef void (*Wa__SessionStructure__PendingKeyExchange_Closure) + (const Wa__SessionStructure__PendingKeyExchange *message, + void *closure_data); +typedef void (*Wa__SessionStructure__PendingPreKey_Closure) + (const Wa__SessionStructure__PendingPreKey *message, + void *closure_data); typedef void (*Wa__SessionStructure_Closure) -(const Wa__SessionStructure *message, - void *closure_data); + (const Wa__SessionStructure *message, + void *closure_data); +typedef void (*Wa__SignalMessage_Closure) + (const Wa__SignalMessage *message, + void *closure_data); typedef void (*Wa__SignedPreKeyRecordStructure_Closure) -(const Wa__SignedPreKeyRecordStructure *message, - void *closure_data); + (const Wa__SignedPreKeyRecordStructure *message, + void *closure_data); typedef void (*Wa__StatusPSA_Closure) -(const Wa__StatusPSA *message, - void *closure_data); + (const Wa__StatusPSA *message, + void *closure_data); typedef void (*Wa__StickerMetadata_Closure) -(const Wa__StickerMetadata *message, - void *closure_data); + (const Wa__StickerMetadata *message, + void *closure_data); typedef void (*Wa__SyncActionData_Closure) -(const Wa__SyncActionData *message, - void *closure_data); + (const Wa__SyncActionData *message, + void *closure_data); typedef void (*Wa__SyncActionValue__AgentAction_Closure) -(const Wa__SyncActionValue__AgentAction *message, - void *closure_data); + (const Wa__SyncActionValue__AgentAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__AndroidUnsupportedActions_Closure) -(const Wa__SyncActionValue__AndroidUnsupportedActions *message, - void *closure_data); + (const Wa__SyncActionValue__AndroidUnsupportedActions *message, + void *closure_data); typedef void (*Wa__SyncActionValue__ArchiveChatAction_Closure) -(const Wa__SyncActionValue__ArchiveChatAction *message, - void *closure_data); + (const Wa__SyncActionValue__ArchiveChatAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__ChatAssignmentAction_Closure) + (const Wa__SyncActionValue__ChatAssignmentAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__ChatAssignmentOpenedStatusAction_Closure) + (const Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__ClearChatAction_Closure) -(const Wa__SyncActionValue__ClearChatAction *message, - void *closure_data); + (const Wa__SyncActionValue__ClearChatAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__ContactAction_Closure) -(const Wa__SyncActionValue__ContactAction *message, - void *closure_data); + (const Wa__SyncActionValue__ContactAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__DeleteChatAction_Closure) -(const Wa__SyncActionValue__DeleteChatAction *message, - void *closure_data); + (const Wa__SyncActionValue__DeleteChatAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__DeleteMessageForMeAction_Closure) -(const Wa__SyncActionValue__DeleteMessageForMeAction *message, - void *closure_data); + (const Wa__SyncActionValue__DeleteMessageForMeAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__ExternalWebBetaAction_Closure) + (const Wa__SyncActionValue__ExternalWebBetaAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__KeyExpiration_Closure) -(const Wa__SyncActionValue__KeyExpiration *message, - void *closure_data); + (const Wa__SyncActionValue__KeyExpiration *message, + void *closure_data); typedef void (*Wa__SyncActionValue__LabelAssociationAction_Closure) -(const Wa__SyncActionValue__LabelAssociationAction *message, - void *closure_data); + (const Wa__SyncActionValue__LabelAssociationAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__LabelEditAction_Closure) -(const Wa__SyncActionValue__LabelEditAction *message, - void *closure_data); + (const Wa__SyncActionValue__LabelEditAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__LocaleSetting_Closure) -(const Wa__SyncActionValue__LocaleSetting *message, - void *closure_data); + (const Wa__SyncActionValue__LocaleSetting *message, + void *closure_data); typedef void (*Wa__SyncActionValue__MarkChatAsReadAction_Closure) -(const Wa__SyncActionValue__MarkChatAsReadAction *message, - void *closure_data); + (const Wa__SyncActionValue__MarkChatAsReadAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__MarketingMessageAction_Closure) + (const Wa__SyncActionValue__MarketingMessageAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__MarketingMessageBroadcastAction_Closure) + (const Wa__SyncActionValue__MarketingMessageBroadcastAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__MuteAction_Closure) -(const Wa__SyncActionValue__MuteAction *message, - void *closure_data); + (const Wa__SyncActionValue__MuteAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__NuxAction_Closure) -(const Wa__SyncActionValue__NuxAction *message, - void *closure_data); + (const Wa__SyncActionValue__NuxAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__PinAction_Closure) -(const Wa__SyncActionValue__PinAction *message, - void *closure_data); + (const Wa__SyncActionValue__PinAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__PnForLidChatAction_Closure) + (const Wa__SyncActionValue__PnForLidChatAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__PrimaryFeature_Closure) -(const Wa__SyncActionValue__PrimaryFeature *message, - void *closure_data); + (const Wa__SyncActionValue__PrimaryFeature *message, + void *closure_data); typedef void (*Wa__SyncActionValue__PrimaryVersionAction_Closure) -(const Wa__SyncActionValue__PrimaryVersionAction *message, - void *closure_data); + (const Wa__SyncActionValue__PrimaryVersionAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__PrivacySettingRelayAllCalls_Closure) + (const Wa__SyncActionValue__PrivacySettingRelayAllCalls *message, + void *closure_data); typedef void (*Wa__SyncActionValue__PushNameSetting_Closure) -(const Wa__SyncActionValue__PushNameSetting *message, - void *closure_data); + (const Wa__SyncActionValue__PushNameSetting *message, + void *closure_data); typedef void (*Wa__SyncActionValue__QuickReplyAction_Closure) -(const Wa__SyncActionValue__QuickReplyAction *message, - void *closure_data); + (const Wa__SyncActionValue__QuickReplyAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__RecentEmojiWeightsAction_Closure) -(const Wa__SyncActionValue__RecentEmojiWeightsAction *message, - void *closure_data); + (const Wa__SyncActionValue__RecentEmojiWeightsAction *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__RemoveRecentStickerAction_Closure) + (const Wa__SyncActionValue__RemoveRecentStickerAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__SecurityNotificationSetting_Closure) -(const Wa__SyncActionValue__SecurityNotificationSetting *message, - void *closure_data); + (const Wa__SyncActionValue__SecurityNotificationSetting *message, + void *closure_data); typedef void (*Wa__SyncActionValue__StarAction_Closure) -(const Wa__SyncActionValue__StarAction *message, - void *closure_data); + (const Wa__SyncActionValue__StarAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__StickerAction_Closure) -(const Wa__SyncActionValue__StickerAction *message, - void *closure_data); + (const Wa__SyncActionValue__StickerAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__SubscriptionAction_Closure) -(const Wa__SyncActionValue__SubscriptionAction *message, - void *closure_data); -typedef void (*Wa__SyncActionValue__SyncActionMessageRange_Closure) -(const Wa__SyncActionValue__SyncActionMessageRange *message, - void *closure_data); + (const Wa__SyncActionValue__SubscriptionAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__SyncActionMessage_Closure) -(const Wa__SyncActionValue__SyncActionMessage *message, - void *closure_data); + (const Wa__SyncActionValue__SyncActionMessage *message, + void *closure_data); +typedef void (*Wa__SyncActionValue__SyncActionMessageRange_Closure) + (const Wa__SyncActionValue__SyncActionMessageRange *message, + void *closure_data); typedef void (*Wa__SyncActionValue__TimeFormatAction_Closure) -(const Wa__SyncActionValue__TimeFormatAction *message, - void *closure_data); + (const Wa__SyncActionValue__TimeFormatAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue__UnarchiveChatsSetting_Closure) -(const Wa__SyncActionValue__UnarchiveChatsSetting *message, - void *closure_data); + (const Wa__SyncActionValue__UnarchiveChatsSetting *message, + void *closure_data); typedef void (*Wa__SyncActionValue__UserStatusMuteAction_Closure) -(const Wa__SyncActionValue__UserStatusMuteAction *message, - void *closure_data); + (const Wa__SyncActionValue__UserStatusMuteAction *message, + void *closure_data); typedef void (*Wa__SyncActionValue_Closure) -(const Wa__SyncActionValue *message, - void *closure_data); + (const Wa__SyncActionValue *message, + void *closure_data); typedef void (*Wa__SyncdIndex_Closure) -(const Wa__SyncdIndex *message, - void *closure_data); + (const Wa__SyncdIndex *message, + void *closure_data); typedef void (*Wa__SyncdMutation_Closure) -(const Wa__SyncdMutation *message, - void *closure_data); + (const Wa__SyncdMutation *message, + void *closure_data); typedef void (*Wa__SyncdMutations_Closure) -(const Wa__SyncdMutations *message, - void *closure_data); + (const Wa__SyncdMutations *message, + void *closure_data); typedef void (*Wa__SyncdPatch_Closure) -(const Wa__SyncdPatch *message, - void *closure_data); + (const Wa__SyncdPatch *message, + void *closure_data); typedef void (*Wa__SyncdRecord_Closure) -(const Wa__SyncdRecord *message, - void *closure_data); + (const Wa__SyncdRecord *message, + void *closure_data); typedef void (*Wa__SyncdSnapshot_Closure) -(const Wa__SyncdSnapshot *message, - void *closure_data); + (const Wa__SyncdSnapshot *message, + void *closure_data); typedef void (*Wa__SyncdValue_Closure) -(const Wa__SyncdValue *message, - void *closure_data); + (const Wa__SyncdValue *message, + void *closure_data); typedef void (*Wa__SyncdVersion_Closure) -(const Wa__SyncdVersion *message, - void *closure_data); + (const Wa__SyncdVersion *message, + void *closure_data); typedef void (*Wa__TemplateButton__CallButton_Closure) -(const Wa__TemplateButton__CallButton *message, - void *closure_data); + (const Wa__TemplateButton__CallButton *message, + void *closure_data); typedef void (*Wa__TemplateButton__QuickReplyButton_Closure) -(const Wa__TemplateButton__QuickReplyButton *message, - void *closure_data); + (const Wa__TemplateButton__QuickReplyButton *message, + void *closure_data); typedef void (*Wa__TemplateButton__URLButton_Closure) -(const Wa__TemplateButton__URLButton *message, - void *closure_data); + (const Wa__TemplateButton__URLButton *message, + void *closure_data); typedef void (*Wa__TemplateButton_Closure) -(const Wa__TemplateButton *message, - void *closure_data); + (const Wa__TemplateButton *message, + void *closure_data); typedef void (*Wa__UserReceipt_Closure) -(const Wa__UserReceipt *message, - void *closure_data); + (const Wa__UserReceipt *message, + void *closure_data); typedef void (*Wa__VerifiedNameCertificate__Details_Closure) -(const Wa__VerifiedNameCertificate__Details *message, - void *closure_data); + (const Wa__VerifiedNameCertificate__Details *message, + void *closure_data); typedef void (*Wa__VerifiedNameCertificate_Closure) -(const Wa__VerifiedNameCertificate *message, - void *closure_data); + (const Wa__VerifiedNameCertificate *message, + void *closure_data); typedef void (*Wa__WallpaperSettings_Closure) -(const Wa__WallpaperSettings *message, - void *closure_data); + (const Wa__WallpaperSettings *message, + void *closure_data); typedef void (*Wa__WebFeatures_Closure) -(const Wa__WebFeatures *message, - void *closure_data); + (const Wa__WebFeatures *message, + void *closure_data); typedef void (*Wa__WebMessageInfo_Closure) -(const Wa__WebMessageInfo *message, - void *closure_data); + (const Wa__WebMessageInfo *message, + void *closure_data); typedef void (*Wa__WebNotificationsInfo_Closure) -(const Wa__WebNotificationsInfo *message, - void *closure_data); + (const Wa__WebNotificationsInfo *message, + void *closure_data); /* --- services --- */ diff --git a/protocols/WhatsApp/src/pmsg.proto b/protocols/WhatsApp/src/pmsg.proto index e874f35591..e7a09f1eda 100644 --- a/protocols/WhatsApp/src/pmsg.proto +++ b/protocols/WhatsApp/src/pmsg.proto @@ -5,13 +5,20 @@ message ADVDeviceIdentity { optional uint32 rawId = 1; optional uint64 timestamp = 2; optional uint32 keyIndex = 3; + optional ADVEncryptionType accountType = 4; + optional ADVEncryptionType deviceType = 5; } +enum ADVEncryptionType { + E2EE = 0; + HOSTED = 1; +} message ADVKeyIndexList { optional uint32 rawId = 1; optional uint64 timestamp = 2; optional uint32 currentIndex = 3; repeated uint32 validIndexes = 4 [packed=true]; + optional ADVEncryptionType accountType = 5; } message ADVSignedDeviceIdentity { @@ -43,6 +50,11 @@ message AutoDownloadSettings { optional bool downloadDocuments = 4; } +message AvatarUserSettings { + optional string fbid = 1; + optional string password = 2; +} + message BizAccountLinkInfo { optional uint64 whatsappBizAcctFbid = 1; optional string whatsappAcctNumber = 2; @@ -105,18 +117,6 @@ message CertChain { } -message Chain { - optional bytes senderRatchetKey = 1; - optional bytes senderRatchetKeyPrivate = 2; - optional ChainKey chainKey = 3; - repeated MessageKey messageKeys = 4; -} - -message ChainKey { - optional uint32 index = 1; - optional bytes key = 2; -} - message ClientPayload { optional uint64 username = 1; optional bool passive = 3; @@ -142,6 +142,9 @@ message ClientPayload { optional bytes fbDeviceId = 32; optional bool pull = 33; optional bytes paddingBytes = 34; + optional int32 yearClass = 36; + optional int32 memClass = 37; + optional InteropData interopData = 38; enum ConnectReason { PUSH = 0; USER_ACTIVATED = 1; @@ -149,6 +152,7 @@ message ClientPayload { ERROR_RECONNECT = 3; NETWORK_SWITCH = 4; PING_RECONNECT = 5; + UNKNOWN = 6; } enum ConnectType { CELLULAR_UNKNOWN = 0; @@ -195,9 +199,16 @@ message ClientPayload { SERVICE_EXTENSION = 1; INTENTS_EXTENSION = 2; } + message InteropData { + optional uint64 accountId = 1; + optional uint32 integratorId = 2; + optional bytes token = 3; + } + enum Product { WHATSAPP = 0; MESSENGER = 1; + INTEROP = 2; } message UserAgent { optional Platform platform = 1; @@ -213,6 +224,7 @@ message ClientPayload { optional string localeLanguageIso6391 = 11; optional string localeCountryIso31661Alpha2 = 12; optional string deviceBoard = 13; + optional string deviceExpId = 14; message AppVersion { optional uint32 primary = 1; optional uint32 secondary = 2; @@ -251,6 +263,11 @@ message ClientPayload { OCULUS_CALL = 26; MILAN = 27; CAPI = 28; + WEAROS = 29; + ARDEVICE = 30; + VRDEVICE = 31; + BLUE_WEB = 32; + IPAD = 33; } enum ReleaseChannel { RELEASE = 0; @@ -270,7 +287,7 @@ message ClientPayload { APP_STORE = 1; WIN_STORE = 2; DARWIN = 3; - WINDA = 4; + WIN32 = 4; } message WebdPayload { optional bool usesParticipantInKey = 1; @@ -314,6 +331,11 @@ message ContextInfo { optional ActionLink actionLink = 33; optional string groupSubject = 34; optional string parentGroupJid = 35; + optional string trustBannerType = 37; + optional uint32 trustBannerAction = 38; + optional bool isSampled = 39; + repeated GroupMention groupMentions = 40; + optional UTMInfo utm = 41; message AdReplyInfo { optional string advertiserName = 1; optional MediaType mediaType = 2; @@ -339,6 +361,8 @@ message ContextInfo { optional bool containsAutoReply = 10; optional bool renderLargerThumbnail = 11; optional bool showAdAttribution = 12; + optional string ctwaClid = 13; + optional string ref = 14; enum MediaType { NONE = 0; IMAGE = 1; @@ -346,6 +370,11 @@ message ContextInfo { } } + message UTMInfo { + optional string utmSource = 1; + optional string utmCampaign = 2; + } + } message Conversation { @@ -384,17 +413,25 @@ message Conversation { optional string description = 33; optional bool support = 34; optional bool isParentGroup = 35; - optional bool isDefaultSubgroup = 36; optional string parentGroupId = 37; + optional bool isDefaultSubgroup = 36; optional string displayName = 38; optional string pnJid = 39; - optional bool selfPnExposed = 40; + optional bool shareOwnPn = 40; + optional bool pnhDuplicateLidThread = 41; + optional string lidJid = 42; enum EndOfHistoryTransferType { COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; + COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2; } } +message DeviceConsistencyCodeMessage { + optional uint32 generation = 1; + optional bytes signature = 2; +} + message DeviceListMetadata { optional bytes senderKeyHash = 1; optional uint64 senderTimestamp = 2; @@ -409,6 +446,7 @@ message DeviceProps { optional AppVersion version = 2; optional PlatformType platformType = 3; optional bool requireFullSync = 4; + optional HistorySyncConfig historySyncConfig = 5; message AppVersion { optional uint32 primary = 1; optional uint32 secondary = 2; @@ -417,6 +455,14 @@ message DeviceProps { optional uint32 quinary = 5; } + message HistorySyncConfig { + optional uint32 fullSyncDaysLimit = 1; + optional uint32 fullSyncSizeMbLimit = 2; + optional uint32 storageQuotaMb = 3; + optional bool inlineInitialPayloadInE2EeMsg = 4; + optional uint32 recentSyncDaysLimit = 5; + } + enum PlatformType { UNKNOWN = 0; CHROME = 1; @@ -432,6 +478,13 @@ message DeviceProps { ALOHA = 11; CATALINA = 12; TCL_TV = 13; + IOS_PHONE = 14; + IOS_CATALYST = 15; + ANDROID_PHONE = 16; + ANDROID_AMBIGUOUS = 17; + WEAR_OS = 18; + AR_WRIST = 19; + AR_DEVICE = 20; } } @@ -474,6 +527,19 @@ message GlobalSettings { optional bool showGroupNotificationsPreview = 8; optional int32 disappearingModeDuration = 9; optional int64 disappearingModeTimestamp = 10; + optional AvatarUserSettings avatarUserSettings = 11; + optional int32 fontSize = 12; + optional bool securityNotifications = 13; + optional bool autoUnarchiveChats = 14; + optional int32 videoQualityMode = 15; + optional int32 photoQualityMode = 16; + optional NotificationSettings individualNotificationSettings = 17; + optional NotificationSettings groupNotificationSettings = 18; +} + +message GroupMention { + optional string groupJid = 1; + optional string groupSubject = 2; } message GroupParticipant { @@ -527,7 +593,8 @@ message HistorySync { FULL = 2; RECENT = 3; PUSH_NAME = 4; - UNBLOCKING_DATA = 5; + NON_BLOCKING_DATA = 5; + ON_DEMAND = 6; } } @@ -577,6 +644,8 @@ message KeepInChat { optional int64 serverTimestamp = 2; optional MessageKey key = 3; optional string deviceJid = 4; + optional int64 clientTimestampMs = 5; + optional int64 serverTimestampMs = 6; } enum KeepType { @@ -584,6 +653,14 @@ enum KeepType { KEEP_FOR_ALL = 1; UNDO_KEEP_FOR_ALL = 2; } +message KeyExchangeMessage { + optional uint32 id = 1; + optional bytes baseKey = 2; + optional bytes ratchetKey = 3; + optional bytes identityKey = 4; + optional bytes baseKeySignature = 5; +} + message KeyId { optional bytes id = 1; } @@ -668,11 +745,26 @@ message Message { optional FutureProofMessage documentWithCaptionMessage = 53; optional RequestPhoneNumberMessage requestPhoneNumberMessage = 54; optional FutureProofMessage viewOnceMessageV2 = 55; + optional EncReactionMessage encReactionMessage = 56; + optional FutureProofMessage editedMessage = 58; + optional FutureProofMessage viewOnceMessageV2Extension = 59; + optional PollCreationMessage pollCreationMessageV2 = 60; + optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61; + optional FutureProofMessage groupMentionedMessage = 62; + optional PinInChatMessage pinInChatMessage = 63; + optional PollCreationMessage pollCreationMessageV3 = 64; + optional ScheduledCallEditMessage scheduledCallEditMessage = 65; + optional VideoMessage ptvMessage = 66; message AppStateFatalExceptionNotification { repeated string collectionNames = 1; optional int64 timestamp = 2; } + message AppStateSyncKey { + optional Message.AppStateSyncKeyId keyId = 1; + optional Message.AppStateSyncKeyData keyData = 2; + } + message AppStateSyncKeyData { optional bytes keyData = 1; optional Message.AppStateSyncKeyFingerprint fingerprint = 2; @@ -697,11 +789,6 @@ message Message { repeated Message.AppStateSyncKey keys = 1; } - message AppStateSyncKey { - optional Message.AppStateSyncKeyId keyId = 1; - optional Message.AppStateSyncKeyData keyData = 2; - } - message AudioMessage { optional string url = 1; optional string mimetype = 2; @@ -716,6 +803,8 @@ message Message { optional ContextInfo contextInfo = 17; optional bytes streamingSidecar = 18; optional bytes waveform = 19; + optional fixed32 backgroundArgb = 20; + optional bool viewOnce = 21; } message ButtonsMessage { @@ -837,6 +926,12 @@ message Message { optional string caption = 20; } + message EncReactionMessage { + optional MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIv = 3; + } + message ExtendedTextMessage { optional string text = 1; optional string matchedText = 2; @@ -861,6 +956,7 @@ message Message { optional string inviteLinkParentGroupSubjectV2 = 27; optional bytes inviteLinkParentGroupThumbnailV2 = 28; optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29; + optional bool viewOnce = 30; enum FontType { SANS_SERIF = 0; SERIF = 1; @@ -868,6 +964,11 @@ message Message { BRYNDAN_WRITE = 3; BEBASNEUE_REGULAR = 4; OSWALD_HEAVY = 5; + SYSTEM_BOLD = 6; + MORNINGBREEZE_REGULAR = 7; + CALISTOGA_REGULAR = 8; + EXO2_EXTRABOLD = 9; + COURIERPRIME_BOLD = 10; } enum InviteLinkGroupType { DEFAULT = 0; @@ -969,12 +1070,17 @@ message Message { optional uint32 chunkOrder = 7; optional string originalMessageId = 8; optional uint32 progress = 9; + optional int64 oldestMsgInChunkTimestampSec = 10; + optional bytes initialHistBootstrapInlinePayload = 11; + optional string peerDataRequestSessionId = 12; enum HistorySyncType { INITIAL_BOOTSTRAP = 0; INITIAL_STATUS_V3 = 1; FULL = 2; RECENT = 3; PUSH_NAME = 4; + NON_BLOCKING_DATA = 5; + ON_DEMAND = 6; } } @@ -1044,6 +1150,7 @@ message Message { Message.ImageMessage imageMessage = 4; bytes jpegThumbnail = 6; Message.VideoMessage videoMessage = 7; + Message.LocationMessage locationMessage = 8; } } @@ -1080,6 +1187,11 @@ message Message { } message Body { optional string text = 1; + optional Format format = 2; + enum Format { + DEFAULT = 0; + EXTENSIONS_1 = 1; + } } message NativeFlowResponseMessage { @@ -1127,6 +1239,10 @@ message Message { SINGLE_SELECT = 1; PRODUCT_LIST = 2; } + message Product { + optional string productId = 1; + } + message ProductListHeaderImage { optional string productId = 1; optional bytes jpegThumbnail = 2; @@ -1143,10 +1259,6 @@ message Message { repeated Message.ListMessage.Product products = 2; } - message Product { - optional string productId = 1; - } - message Row { optional string title = 1; optional string description = 2; @@ -1236,6 +1348,91 @@ message Message { } } + message PeerDataOperationRequestMessage { + optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1; + repeated RequestStickerReupload requestStickerReupload = 2; + repeated RequestUrlPreview requestUrlPreview = 3; + optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; + repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5; + message HistorySyncOnDemandRequest { + optional string chatJid = 1; + optional string oldestMsgId = 2; + optional bool oldestMsgFromMe = 3; + optional int32 onDemandMsgCount = 4; + optional int64 oldestMsgTimestampMs = 5; + } + + message PlaceholderMessageResendRequest { + optional MessageKey messageKey = 1; + } + + message RequestStickerReupload { + optional string fileSha256 = 1; + } + + message RequestUrlPreview { + optional string url = 1; + optional bool includeHqThumbnail = 2; + } + + } + + message PeerDataOperationRequestResponseMessage { + optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1; + optional string stanzaId = 2; + repeated PeerDataOperationResult peerDataOperationResult = 3; + message PeerDataOperationResult { + optional MediaRetryNotification.ResultType mediaUploadResult = 1; + optional Message.StickerMessage stickerMessage = 2; + optional LinkPreviewResponse linkPreviewResponse = 3; + optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4; + message LinkPreviewResponse { + optional string url = 1; + optional string title = 2; + optional string description = 3; + optional bytes thumbData = 4; + optional string canonicalUrl = 5; + optional string matchText = 6; + optional string previewType = 7; + optional LinkPreviewHighQualityThumbnail hqThumbnail = 8; + message LinkPreviewHighQualityThumbnail { + optional string directPath = 1; + optional string thumbHash = 2; + optional string encThumbHash = 3; + optional bytes mediaKey = 4; + optional int64 mediaKeyTimestampMs = 5; + optional int32 thumbWidth = 6; + optional int32 thumbHeight = 7; + } + + } + + message PlaceholderMessageResendResponse { + optional bytes webMessageInfoBytes = 1; + } + + } + + } + + enum PeerDataOperationRequestType { + UPLOAD_STICKER = 0; + SEND_RECENT_STICKER_BOOTSTRAP = 1; + GENERATE_LINK_PREVIEW = 2; + HISTORY_SYNC_ON_DEMAND = 3; + PLACEHOLDER_MESSAGE_RESEND = 4; + } + message PinInChatMessage { + optional MessageKey key = 1; + optional Type type = 2; + optional int64 senderTimestampMs = 3; + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } + } + message PollCreationMessage { optional bytes encKey = 1; optional string name = 2; @@ -1253,9 +1450,6 @@ message Message { optional bytes encIv = 2; } - message PollUpdateMessageMetadata { - } - message PollUpdateMessage { optional MessageKey pollCreationMessageKey = 1; optional Message.PollEncValue vote = 2; @@ -1263,6 +1457,9 @@ message Message { optional int64 senderTimestampMs = 4; } + message PollUpdateMessageMetadata { + } + message PollVoteMessage { repeated bytes selectedOptions = 1; } @@ -1307,8 +1504,10 @@ message Message { optional Message.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9; optional Message.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10; optional DisappearingMode disappearingMode = 11; - optional Message.RequestMediaUploadMessage requestMediaUploadMessage = 12; - optional Message.RequestMediaUploadResponseMessage requestMediaUploadResponseMessage = 13; + optional Message editedMessage = 14; + optional int64 timestampMs = 15; + optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; + optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; enum Type { REVOKE = 0; EPHEMERAL_SETTING = 3; @@ -1320,8 +1519,9 @@ message Message { INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9; APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10; SHARE_PHONE_NUMBER = 11; - REQUEST_MEDIA_UPLOAD_MESSAGE = 12; - REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE = 13; + MESSAGE_EDIT = 14; + PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; + PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; } } @@ -1332,23 +1532,6 @@ message Message { optional int64 senderTimestampMs = 4; } - message RequestMediaUploadMessage { - repeated string fileSha256 = 1; - optional Message.RmrSource rmrSource = 2; - } - - message RequestMediaUploadResponseMessage { - optional Message.RmrSource rmrSource = 1; - optional string stanzaId = 2; - repeated RequestMediaUploadResult reuploadResult = 3; - message RequestMediaUploadResult { - optional string fileSha256 = 1; - optional MediaRetryNotification.ResultType mediaUploadResult = 2; - optional Message.StickerMessage stickerMessage = 3; - } - - } - message RequestPaymentMessage { optional Message noteMessage = 4; optional string currencyCodeIso4217 = 1; @@ -1363,10 +1546,26 @@ message Message { optional ContextInfo contextInfo = 1; } - enum RmrSource { - FAVORITE_STICKER = 0; - RECENT_STICKER = 1; + message ScheduledCallCreationMessage { + optional int64 scheduledTimestampMs = 1; + optional CallType callType = 2; + optional string title = 3; + enum CallType { + UNKNOWN = 0; + VOICE = 1; + VIDEO = 2; + } } + + message ScheduledCallEditMessage { + optional MessageKey key = 1; + optional EditType editType = 2; + enum EditType { + UNKNOWN = 0; + CANCEL = 1; + } + } + message SendPaymentMessage { optional Message noteMessage = 2; optional MessageKey requestMessageKey = 3; @@ -1394,6 +1593,8 @@ message Message { optional bool isAnimated = 13; optional bytes pngThumbnail = 16; optional ContextInfo contextInfo = 17; + optional int64 stickerSentTs = 18; + optional bool isAvatar = 19; } message StickerSyncRMRMessage { @@ -1412,9 +1613,11 @@ message Message { message TemplateMessage { optional ContextInfo contextInfo = 3; optional HydratedFourRowTemplate hydratedTemplate = 4; + optional string templateId = 9; oneof format { Message.TemplateMessage.FourRowTemplate fourRowTemplate = 1; Message.TemplateMessage.HydratedFourRowTemplate hydratedFourRowTemplate = 2; + Message.InteractiveMessage interactiveMessageTemplate = 5; } message FourRowTemplate { optional Message.HighlyStructuredMessage content = 6; @@ -1478,11 +1681,16 @@ message Message { } +message MessageAddOnContextInfo { + optional uint32 messageAddOnDurationInSecs = 1; +} + message MessageContextInfo { optional DeviceListMetadata deviceListMetadata = 1; optional int32 deviceListMetadataVersion = 2; optional bytes messageSecret = 3; optional bytes paddingBytes = 4; + optional uint32 messageAddOnDurationInSecs = 5; } message MessageKey { @@ -1517,9 +1725,14 @@ message MsgOpaqueData { repeated PollOption pollOptions = 18; optional uint32 pollSelectableOptionsCount = 20; optional bytes messageSecret = 21; + optional string originalSelfAuthor = 51; optional int64 senderTimestampMs = 22; optional string pollUpdateParentKey = 23; optional PollEncValue encPollVote = 24; + optional bool isSentCagPollCreation = 28; + optional string encReactionTargetMessageKey = 25; + optional bytes encReactionEncPayload = 26; + optional bytes encReactionEncIv = 27; message PollOption { optional string name = 1; } @@ -1551,10 +1764,19 @@ message NotificationMessageInfo { optional string participant = 4; } +message NotificationSettings { + optional string messageVibrate = 1; + optional string messagePopup = 2; + optional string messageLight = 3; + optional bool lowPriorityNotifications = 4; + optional bool reactionsMuted = 5; + optional string callVibrate = 6; +} + message PastParticipant { - required string userJid = 1; - required LeaveReason leaveReason = 2; - required uint64 leaveTs = 3; + optional string userJid = 1; + optional LeaveReason leaveReason = 2; + optional uint64 leaveTs = 3; enum LeaveReason { LEFT = 0; REMOVED = 1; @@ -1562,7 +1784,7 @@ message PastParticipant { } message PastParticipants { - required string groupJid = 1; + optional string groupJid = 1; repeated PastParticipant pastParticipants = 2; } @@ -1659,28 +1881,25 @@ message PaymentInfo { } } -message PendingKeyExchange { - optional uint32 sequence = 1; - optional bytes localBaseKey = 2; - optional bytes localBaseKeyPrivate = 3; - optional bytes localRatchetKey = 4; - optional bytes localRatchetKeyPrivate = 5; - optional bytes localIdentityKey = 7; - optional bytes localIdentityKeyPrivate = 8; -} - -message PendingPreKey { - optional uint32 preKeyId = 1; - optional int32 signedPreKeyId = 3; - optional bytes baseKey = 2; -} - message PhotoChange { optional bytes oldPhoto = 1; optional bytes newPhoto = 2; optional uint32 newPhotoId = 3; } +message PinInChat { + optional Type type = 1; + optional MessageKey key = 2; + optional int64 senderTimestampMs = 3; + optional int64 serverTimestampMs = 4; + optional MessageAddOnContextInfo messageAddOnContextInfo = 5; + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } +} + message Point { optional int32 xDeprecated = 1; optional int32 yDeprecated = 2; @@ -1701,6 +1920,8 @@ message PollUpdate { optional MessageKey pollUpdateMessageKey = 1; optional Message.PollVoteMessage vote = 2; optional int64 senderTimestampMs = 3; + optional int64 serverTimestampMs = 4; + optional bool unread = 5; } message PreKeyRecordStructure { @@ -1709,6 +1930,15 @@ message PreKeyRecordStructure { optional bytes privateKey = 3; } +message PreKeySignalMessage { + optional uint32 registrationId = 5; + optional uint32 preKeyId = 1; + optional uint32 signedPreKeyId = 6; + optional bytes baseKey = 2; + optional bytes identityKey = 3; + optional bytes message = 4; +} + message Pushname { optional string id = 1; optional string pushname = 2; @@ -1732,9 +1962,17 @@ message RecordStructure { repeated SessionStructure previousSessions = 2; } -message SenderChainKey { - optional uint32 iteration = 1; - optional bytes seed = 2; +message SenderKeyDistributionMessage { + optional uint32 id = 1; + optional uint32 iteration = 2; + optional bytes chainKey = 3; + optional bytes signingKey = 4; +} + +message SenderKeyMessage { + optional uint32 id = 1; + optional uint32 iteration = 2; + optional bytes ciphertext = 3; } message SenderKeyRecordStructure { @@ -1746,16 +1984,21 @@ message SenderKeyStateStructure { optional SenderChainKey senderChainKey = 2; optional SenderSigningKey senderSigningKey = 3; repeated SenderMessageKey senderMessageKeys = 4; -} - -message SenderMessageKey { - optional uint32 iteration = 1; - optional bytes seed = 2; -} - -message SenderSigningKey { - optional bytes public = 1; - optional bytes private = 2; + message SenderChainKey { + optional uint32 iteration = 1; + optional bytes seed = 2; + } + + message SenderMessageKey { + optional uint32 iteration = 1; + optional bytes seed = 2; + } + + message SenderSigningKey { + optional bytes public = 1; + optional bytes private = 2; + } + } message ServerErrorReceipt { @@ -1776,6 +2019,48 @@ message SessionStructure { optional uint32 localRegistrationId = 11; optional bool needsRefresh = 12; optional bytes aliceBaseKey = 13; + message Chain { + optional bytes senderRatchetKey = 1; + optional bytes senderRatchetKeyPrivate = 2; + optional ChainKey chainKey = 3; + repeated MessageKey messageKeys = 4; + message ChainKey { + optional uint32 index = 1; + optional bytes key = 2; + } + + message MessageKey { + optional uint32 index = 1; + optional bytes cipherKey = 2; + optional bytes macKey = 3; + optional bytes iv = 4; + } + + } + + message PendingKeyExchange { + optional uint32 sequence = 1; + optional bytes localBaseKey = 2; + optional bytes localBaseKeyPrivate = 3; + optional bytes localRatchetKey = 4; + optional bytes localRatchetKeyPrivate = 5; + optional bytes localIdentityKey = 7; + optional bytes localIdentityKeyPrivate = 8; + } + + message PendingPreKey { + optional uint32 preKeyId = 1; + optional int32 signedPreKeyId = 3; + optional bytes baseKey = 2; + } + +} + +message SignalMessage { + optional bytes ratchetKey = 1; + optional uint32 counter = 2; + optional uint32 previousCounter = 3; + optional bytes ciphertext = 4; } message SignedPreKeyRecordStructure { @@ -1802,6 +2087,7 @@ message StickerMetadata { optional string directPath = 8; optional uint64 fileLength = 9; optional float weight = 10; + optional int64 lastStickerSentTs = 11; } message SyncActionData { @@ -1840,6 +2126,14 @@ message SyncActionValue { optional NuxAction nuxAction = 31; optional PrimaryVersionAction primaryVersionAction = 32; optional StickerAction stickerAction = 33; + optional RemoveRecentStickerAction removeRecentStickerAction = 34; + optional ChatAssignmentAction chatAssignment = 35; + optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36; + optional PnForLidChatAction pnForLidChatAction = 37; + optional MarketingMessageAction marketingMessageAction = 38; + optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39; + optional ExternalWebBetaAction externalWebBetaAction = 40; + optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41; message AgentAction { optional string name = 1; optional int32 deviceID = 2; @@ -1855,6 +2149,14 @@ message SyncActionValue { optional SyncActionValue.SyncActionMessageRange messageRange = 2; } + message ChatAssignmentAction { + optional string deviceAgentID = 1; + } + + message ChatAssignmentOpenedStatusAction { + optional bool chatOpened = 1; + } + message ClearChatAction { optional SyncActionValue.SyncActionMessageRange messageRange = 1; } @@ -1862,6 +2164,7 @@ message SyncActionValue { message ContactAction { optional string fullName = 1; optional string firstName = 2; + optional string lidJid = 3; } message DeleteChatAction { @@ -1873,6 +2176,10 @@ message SyncActionValue { optional int64 messageTimestamp = 2; } + message ExternalWebBetaAction { + optional bool isOptIn = 1; + } + message KeyExpiration { optional int32 expiredKeyEpoch = 1; } @@ -1897,9 +2204,27 @@ message SyncActionValue { optional SyncActionValue.SyncActionMessageRange messageRange = 2; } + message MarketingMessageAction { + optional string name = 1; + optional string message = 2; + optional MarketingMessagePrototypeType type = 3; + optional int64 createdAt = 4; + optional int64 lastSentAt = 5; + optional bool isDeleted = 6; + optional string mediaId = 7; + enum MarketingMessagePrototypeType { + PERSONALIZED = 0; + } + } + + message MarketingMessageBroadcastAction { + optional int32 repliedCount = 1; + } + message MuteAction { optional bool muted = 1; optional int64 muteEndTimestamp = 2; + optional bool autoMuted = 3; } message NuxAction { @@ -1910,6 +2235,10 @@ message SyncActionValue { optional bool pinned = 1; } + message PnForLidChatAction { + optional string pnJid = 1; + } + message PrimaryFeature { repeated string flags = 1; } @@ -1918,6 +2247,10 @@ message SyncActionValue { optional string version = 1; } + message PrivacySettingRelayAllCalls { + optional bool isEnabled = 1; + } + message PushNameSetting { optional string name = 1; } @@ -1934,6 +2267,10 @@ message SyncActionValue { repeated RecentEmojiWeight weights = 1; } + message RemoveRecentStickerAction { + optional int64 lastStickerSentTs = 1; + } + message SecurityNotificationSetting { optional bool showNotification = 1; } @@ -1961,17 +2298,17 @@ message SyncActionValue { optional int64 expirationDate = 3; } + message SyncActionMessage { + optional MessageKey key = 1; + optional int64 timestamp = 2; + } + message SyncActionMessageRange { optional int64 lastMessageTimestamp = 1; optional int64 lastSystemMessageTimestamp = 2; repeated SyncActionValue.SyncActionMessage messages = 3; } - message SyncActionMessage { - optional MessageKey key = 1; - optional int64 timestamp = 2; - } - message TimeFormatAction { optional bool isTwentyFourHourFormatEnabled = 1; } @@ -2185,6 +2522,7 @@ message WebMessageInfo { optional KeepInChat keepInChat = 50; optional string originalSelfAuthorUserJidString = 51; optional uint64 revokeMessageTimestamp = 52; + optional PinInChat pinInChat = 54; enum BizPrivacyStatus { E2EE = 0; FB = 2; @@ -2350,6 +2688,39 @@ message WebMessageInfo { COMMUNITY_PARTICIPANT_PROMOTE = 147; COMMUNITY_PARTICIPANT_DEMOTE = 148; COMMUNITY_PARENT_GROUP_DELETED = 149; + COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150; + GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151; + MASKED_THREAD_CREATED = 152; + MASKED_THREAD_UNMASKED = 153; + BIZ_CHAT_ASSIGNMENT = 154; + CHAT_PSA = 155; + CHAT_POLL_CREATION_MESSAGE = 156; + CAG_MASKED_THREAD_CREATED = 157; + COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158; + CAG_INVITE_AUTO_ADD = 159; + BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; + CAG_INVITE_AUTO_JOINED = 161; + SCHEDULED_CALL_START_MESSAGE = 162; + COMMUNITY_INVITE_RICH = 163; + COMMUNITY_INVITE_AUTO_ADD_RICH = 164; + SUB_GROUP_INVITE_RICH = 165; + SUB_GROUP_PARTICIPANT_ADD_RICH = 166; + COMMUNITY_LINK_PARENT_GROUP_RICH = 167; + COMMUNITY_PARTICIPANT_ADD_RICH = 168; + SILENCED_UNKNOWN_CALLER_AUDIO = 169; + SILENCED_UNKNOWN_CALLER_VIDEO = 170; + GROUP_MEMBER_ADD_MODE = 171; + GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172; + COMMUNITY_CHANGE_DESCRIPTION = 173; + SENDER_INVITE = 174; + RECEIVER_INVITE = 175; + COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176; + PINNED_MESSAGE_IN_CHAT = 177; + PAYMENT_INVITE_SETUP_INVITER = 178; + PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179; + PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180; + LINKED_GROUP_CALL_START = 181; + REPORT_TO_ADMIN_ENABLED_STATUS = 182; } } |