diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-25 22:17:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-25 22:17:43 +0300 |
commit | b7959c62b1c479277a211504733aed14b6b914ff (patch) | |
tree | 53a5965280b758a85de7048f9d5f283c07b8ee0b /protocols/WhatsApp | |
parent | 520940ad3ea6b0d020c9a6a9356d2bb9ebaf31a2 (diff) |
getting rid of C-style shit
Diffstat (limited to 'protocols/WhatsApp')
-rw-r--r-- | protocols/WhatsApp/src/iq.cpp | 15 | ||||
-rw-r--r-- | protocols/WhatsApp/src/message.cpp | 10 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.cpp | 1940 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.h | 11341 | ||||
-rw-r--r-- | protocols/WhatsApp/src/protobuf-c/protobuf-c.c | 4 | ||||
-rw-r--r-- | protocols/WhatsApp/src/server.cpp | 4 |
6 files changed, 6045 insertions, 7269 deletions
diff --git a/protocols/WhatsApp/src/iq.cpp b/protocols/WhatsApp/src/iq.cpp index 6b5384dc90..2470162cf5 100644 --- a/protocols/WhatsApp/src/iq.cpp +++ b/protocols/WhatsApp/src/iq.cpp @@ -284,7 +284,7 @@ LBL_Error: m_noise->mixIntoKey(m_noise->noiseKeys.priv.data(), ephemeral_.data); // create reply - Wa__ClientPayload node = WA__CLIENT_PAYLOAD__INIT; + Wa__ClientPayload node; Wa__ClientPayload__DevicePairingRegistrationData pairingData; Wa__DeviceProps companion; Wa__DeviceProps__AppVersion appVersion; @@ -297,13 +297,11 @@ LBL_Error: uint8_t buildHash[16]; mir_md5_hash((BYTE *)APP_VERSION, sizeof(APP_VERSION) - 1, buildHash); - appVersion = WA__DEVICE_PROPS__APP_VERSION__INIT; appVersion.primary = v[0]; appVersion.has_primary = true; appVersion.secondary = v[1]; appVersion.has_secondary = true; appVersion.tertiary = v[2]; appVersion.has_tertiary = true; appVersion.quaternary = v[3]; appVersion.has_quaternary = true; - companion = WA__DEVICE_PROPS__INIT; companion.os = "Miranda NG"; companion.version = &appVersion; companion.platformtype = WA__DEVICE_PROPS__PLATFORM_TYPE__DESKTOP; companion.has_platformtype = true; @@ -313,7 +311,6 @@ LBL_Error: auto szRegId(encodeBigEndian(getDword(DBKEY_REG_ID))); auto szKeyId(encodeBigEndian(m_signalStore.preKey.keyid)); - pairingData = WA__CLIENT_PAYLOAD__DEVICE_PAIRING_REGISTRATION_DATA__INIT; pairingData.deviceprops = proto::SetBinary(buf.data(), buf.length()); pairingData.has_deviceprops = true; pairingData.buildhash = proto::SetBinary(buildHash, sizeof(buildHash)); pairingData.has_buildhash = true; pairingData.eregid = proto::SetBinary(szRegId.c_str(), szRegId.size()); pairingData.has_eregid = true; @@ -334,12 +331,12 @@ LBL_Error: node.passive = true; node.has_passive = true; } - Wa__ClientPayload__UserAgent__AppVersion userVersion = WA__CLIENT_PAYLOAD__USER_AGENT__APP_VERSION__INIT; + Wa__ClientPayload__UserAgent__AppVersion userVersion; userVersion.primary = 2; userVersion.has_primary = true; userVersion.secondary = 2230; userVersion.has_secondary = true; userVersion.tertiary = 15; userVersion.has_tertiary = true; - Wa__ClientPayload__UserAgent userAgent = WA__CLIENT_PAYLOAD__USER_AGENT__INIT; + Wa__ClientPayload__UserAgent userAgent; userAgent.appversion = &userVersion; userAgent.platform = WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__WEB; userAgent.has_platform = true; userAgent.releasechannel = WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE; userAgent.has_releasechannel = true; @@ -352,7 +349,7 @@ LBL_Error: userAgent.localelanguageiso6391 = "en"; userAgent.localecountryiso31661alpha2 = "US"; - Wa__ClientPayload__WebInfo webInfo = WA__CLIENT_PAYLOAD__WEB_INFO__INIT; + Wa__ClientPayload__WebInfo webInfo; webInfo.websubplatform = WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER; webInfo.has_websubplatform = true; node.connecttype = WA__CLIENT_PAYLOAD__CONNECT_TYPE__WIFI_UNKNOWN; node.has_connecttype = true; @@ -363,11 +360,11 @@ LBL_Error: MBinBuffer payload(proto::Serialize(&node)); MBinBuffer payloadEnc = m_noise->encrypt(payload.data(), payload.length()); - Wa__HandshakeMessage__ClientFinish finish = WA__HANDSHAKE_MESSAGE__CLIENT_FINISH__INIT; + Wa__HandshakeMessage__ClientFinish finish; finish.payload = {payloadEnc.length(), payloadEnc.data()}; finish.has_payload = true; finish.static_ = {encryptedPub.length(), encryptedPub.data()}; finish.has_static_ = true; - Wa__HandshakeMessage handshake = WA__HANDSHAKE_MESSAGE__INIT; + Wa__HandshakeMessage handshake; handshake.clientfinish = &finish; WSSend(handshake); diff --git a/protocols/WhatsApp/src/message.cpp b/protocols/WhatsApp/src/message.cpp index 03275b446d..0d7a849c68 100644 --- a/protocols/WhatsApp/src/message.cpp +++ b/protocols/WhatsApp/src/message.cpp @@ -92,14 +92,14 @@ void WhatsAppProto::OnReceiveMessage(const WANode &node) if (!bFromMe && participant) bFromMe = m_szJid == participant; - Wa__MessageKey key = WA__MESSAGE_KEY__INIT; + Wa__MessageKey key; key.remotejid = szChatId.GetBuffer(); key.id = (char*)msgId; key.fromme = bFromMe; key.has_fromme = true; if (participant) key.participant = (char*)participant; - Wa__WebMessageInfo msg = WA__WEB_MESSAGE_INFO__INIT; + Wa__WebMessageInfo msg; msg.key = &key; msg.messagetimestamp = _atoi64(node.getAttr("t")); msg.has_messagetimestamp = true; msg.pushname = (char*)node.getAttr("notify"); @@ -320,14 +320,14 @@ int WhatsAppProto::SendTextMessage(const char *jid, const char *pszMsg) bin2hex(msgId, sizeof(msgId), szMsgId); strupr(szMsgId); - Wa__Message body = WA__MESSAGE__INIT; + Wa__Message body; body.conversation = (char*)pszMsg; - Wa__Message__DeviceSentMessage sentBody = WA__MESSAGE__DEVICE_SENT_MESSAGE__INIT; + Wa__Message__DeviceSentMessage sentBody; sentBody.message = &body; sentBody.destinationjid = (char*)jid; - Wa__Message msg = WA__MESSAGE__INIT; + Wa__Message msg; msg.devicesentmessage = &sentBody; MBinBuffer encMsg(proto::Serialize(&msg)); diff --git a/protocols/WhatsApp/src/pmsg.pb-c.cpp b/protocols/WhatsApp/src/pmsg.pb-c.cpp index d9818f8907..38138cfc1b 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.cpp +++ b/protocols/WhatsApp/src/pmsg.pb-c.cpp @@ -7,12 +7,7 @@ #endif #include "pmsg.pb-c.h" -void wa__advdevice_identity__init - (Wa__ADVDeviceIdentity *message) -{ - static const Wa__ADVDeviceIdentity init_value = WA__ADVDEVICE_IDENTITY__INIT; - *message = init_value; -} + size_t wa__advdevice_identity__get_packed_size (const Wa__ADVDeviceIdentity *message) { @@ -52,12 +47,7 @@ void wa__advdevice_identity__free_unpacked assert(message->descriptor == &wa__advdevice_identity__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__advkey_index_list__init - (Wa__ADVKeyIndexList *message) -{ - static const Wa__ADVKeyIndexList init_value = WA__ADVKEY_INDEX_LIST__INIT; - *message = init_value; -} + size_t wa__advkey_index_list__get_packed_size (const Wa__ADVKeyIndexList *message) { @@ -97,12 +87,7 @@ void wa__advkey_index_list__free_unpacked assert(message->descriptor == &wa__advkey_index_list__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__advsigned_device_identity__init - (Wa__ADVSignedDeviceIdentity *message) -{ - static const Wa__ADVSignedDeviceIdentity init_value = WA__ADVSIGNED_DEVICE_IDENTITY__INIT; - *message = init_value; -} + size_t wa__advsigned_device_identity__get_packed_size (const Wa__ADVSignedDeviceIdentity *message) { @@ -142,12 +127,7 @@ void wa__advsigned_device_identity__free_unpacked assert(message->descriptor == &wa__advsigned_device_identity__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__advsigned_device_identity_hmac__init - (Wa__ADVSignedDeviceIdentityHMAC *message) -{ - static const Wa__ADVSignedDeviceIdentityHMAC init_value = WA__ADVSIGNED_DEVICE_IDENTITY_HMAC__INIT; - *message = init_value; -} + size_t wa__advsigned_device_identity_hmac__get_packed_size (const Wa__ADVSignedDeviceIdentityHMAC *message) { @@ -187,12 +167,7 @@ void wa__advsigned_device_identity_hmac__free_unpacked assert(message->descriptor == &wa__advsigned_device_identity_hmac__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__advsigned_key_index_list__init - (Wa__ADVSignedKeyIndexList *message) -{ - static const Wa__ADVSignedKeyIndexList init_value = WA__ADVSIGNED_KEY_INDEX_LIST__INIT; - *message = init_value; -} + size_t wa__advsigned_key_index_list__get_packed_size (const Wa__ADVSignedKeyIndexList *message) { @@ -232,12 +207,7 @@ void wa__advsigned_key_index_list__free_unpacked assert(message->descriptor == &wa__advsigned_key_index_list__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__action_link__init - (Wa__ActionLink *message) -{ - static const Wa__ActionLink init_value = WA__ACTION_LINK__INIT; - *message = init_value; -} + size_t wa__action_link__get_packed_size (const Wa__ActionLink *message) { @@ -277,12 +247,7 @@ void wa__action_link__free_unpacked assert(message->descriptor == &wa__action_link__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__auto_download_settings__init - (Wa__AutoDownloadSettings *message) -{ - static const Wa__AutoDownloadSettings init_value = WA__AUTO_DOWNLOAD_SETTINGS__INIT; - *message = init_value; -} + size_t wa__auto_download_settings__get_packed_size (const Wa__AutoDownloadSettings *message) { @@ -322,12 +287,7 @@ void wa__auto_download_settings__free_unpacked assert(message->descriptor == &wa__auto_download_settings__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__biz_account_link_info__init - (Wa__BizAccountLinkInfo *message) -{ - static const Wa__BizAccountLinkInfo init_value = WA__BIZ_ACCOUNT_LINK_INFO__INIT; - *message = init_value; -} + size_t wa__biz_account_link_info__get_packed_size (const Wa__BizAccountLinkInfo *message) { @@ -367,18 +327,7 @@ void wa__biz_account_link_info__free_unpacked assert(message->descriptor == &wa__biz_account_link_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__biz_account_payload__init - (Wa__BizAccountPayload *message) -{ - static const Wa__BizAccountPayload init_value = WA__BIZ_ACCOUNT_PAYLOAD__INIT; - *message = init_value; -} -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) @@ -412,12 +361,7 @@ void wa__biz_account_payload__free_unpacked assert(message->descriptor == &wa__biz_account_payload__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__biz_identity_info__init - (Wa__BizIdentityInfo *message) -{ - static const Wa__BizIdentityInfo init_value = WA__BIZ_IDENTITY_INFO__INIT; - *message = init_value; -} + size_t wa__biz_identity_info__get_packed_size (const Wa__BizIdentityInfo *message) { @@ -457,24 +401,7 @@ void wa__biz_identity_info__free_unpacked assert(message->descriptor == &wa__biz_identity_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__cert_chain__noise_certificate__details__init - (Wa__CertChain__NoiseCertificate__Details *message) -{ - static const Wa__CertChain__NoiseCertificate__Details init_value = WA__CERT_CHAIN__NOISE_CERTIFICATE__DETAILS__INIT; - *message = init_value; -} -void wa__cert_chain__noise_certificate__init - (Wa__CertChain__NoiseCertificate *message) -{ - static const Wa__CertChain__NoiseCertificate init_value = WA__CERT_CHAIN__NOISE_CERTIFICATE__INIT; - *message = init_value; -} -void wa__cert_chain__init - (Wa__CertChain *message) -{ - static const Wa__CertChain init_value = WA__CERT_CHAIN__INIT; - *message = init_value; -} + size_t wa__cert_chain__get_packed_size (const Wa__CertChain *message) { @@ -514,12 +441,7 @@ void wa__cert_chain__free_unpacked assert(message->descriptor == &wa__cert_chain__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__chain__init - (Wa__Chain *message) -{ - static const Wa__Chain init_value = WA__CHAIN__INIT; - *message = init_value; -} + size_t wa__chain__get_packed_size (const Wa__Chain *message) { @@ -559,12 +481,7 @@ void wa__chain__free_unpacked assert(message->descriptor == &wa__chain__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__chain_key__init - (Wa__ChainKey *message) -{ - static const Wa__ChainKey init_value = WA__CHAIN_KEY__INIT; - *message = init_value; -} + size_t wa__chain_key__get_packed_size (const Wa__ChainKey *message) { @@ -604,48 +521,7 @@ void wa__chain_key__free_unpacked assert(message->descriptor == &wa__chain_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__client_payload__dnssource__init - (Wa__ClientPayload__DNSSource *message) -{ - static const Wa__ClientPayload__DNSSource init_value = WA__CLIENT_PAYLOAD__DNSSOURCE__INIT; - *message = init_value; -} -void wa__client_payload__device_pairing_registration_data__init - (Wa__ClientPayload__DevicePairingRegistrationData *message) -{ - static const Wa__ClientPayload__DevicePairingRegistrationData init_value = WA__CLIENT_PAYLOAD__DEVICE_PAIRING_REGISTRATION_DATA__INIT; - *message = init_value; -} -void wa__client_payload__user_agent__app_version__init - (Wa__ClientPayload__UserAgent__AppVersion *message) -{ - static const Wa__ClientPayload__UserAgent__AppVersion init_value = WA__CLIENT_PAYLOAD__USER_AGENT__APP_VERSION__INIT; - *message = init_value; -} -void wa__client_payload__user_agent__init - (Wa__ClientPayload__UserAgent *message) -{ - static const Wa__ClientPayload__UserAgent init_value = WA__CLIENT_PAYLOAD__USER_AGENT__INIT; - *message = init_value; -} -void wa__client_payload__web_info__webd_payload__init - (Wa__ClientPayload__WebInfo__WebdPayload *message) -{ - static const Wa__ClientPayload__WebInfo__WebdPayload init_value = WA__CLIENT_PAYLOAD__WEB_INFO__WEBD_PAYLOAD__INIT; - *message = init_value; -} -void wa__client_payload__web_info__init - (Wa__ClientPayload__WebInfo *message) -{ - static const Wa__ClientPayload__WebInfo init_value = WA__CLIENT_PAYLOAD__WEB_INFO__INIT; - *message = init_value; -} -void wa__client_payload__init - (Wa__ClientPayload *message) -{ - static const Wa__ClientPayload init_value = WA__CLIENT_PAYLOAD__INIT; - *message = init_value; -} + size_t wa__client_payload__get_packed_size (const Wa__ClientPayload *message) { @@ -685,24 +561,7 @@ void wa__client_payload__free_unpacked assert(message->descriptor == &wa__client_payload__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__context_info__ad_reply_info__init - (Wa__ContextInfo__AdReplyInfo *message) -{ - static const Wa__ContextInfo__AdReplyInfo init_value = WA__CONTEXT_INFO__AD_REPLY_INFO__INIT; - *message = init_value; -} -void wa__context_info__external_ad_reply_info__init - (Wa__ContextInfo__ExternalAdReplyInfo *message) -{ - static const Wa__ContextInfo__ExternalAdReplyInfo init_value = WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__INIT; - *message = init_value; -} -void wa__context_info__init - (Wa__ContextInfo *message) -{ - static const Wa__ContextInfo init_value = WA__CONTEXT_INFO__INIT; - *message = init_value; -} + size_t wa__context_info__get_packed_size (const Wa__ContextInfo *message) { @@ -742,12 +601,7 @@ void wa__context_info__free_unpacked assert(message->descriptor == &wa__context_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__conversation__init - (Wa__Conversation *message) -{ - static const Wa__Conversation init_value = WA__CONVERSATION__INIT; - *message = init_value; -} + size_t wa__conversation__get_packed_size (const Wa__Conversation *message) { @@ -787,12 +641,7 @@ void wa__conversation__free_unpacked assert(message->descriptor == &wa__conversation__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__device_list_metadata__init - (Wa__DeviceListMetadata *message) -{ - static const Wa__DeviceListMetadata init_value = WA__DEVICE_LIST_METADATA__INIT; - *message = init_value; -} + size_t wa__device_list_metadata__get_packed_size (const Wa__DeviceListMetadata *message) { @@ -832,18 +681,7 @@ void wa__device_list_metadata__free_unpacked assert(message->descriptor == &wa__device_list_metadata__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__device_props__app_version__init - (Wa__DeviceProps__AppVersion *message) -{ - static const Wa__DeviceProps__AppVersion init_value = WA__DEVICE_PROPS__APP_VERSION__INIT; - *message = init_value; -} -void wa__device_props__init - (Wa__DeviceProps *message) -{ - static const Wa__DeviceProps init_value = WA__DEVICE_PROPS__INIT; - *message = init_value; -} + size_t wa__device_props__get_packed_size (const Wa__DeviceProps *message) { @@ -883,12 +721,7 @@ void wa__device_props__free_unpacked assert(message->descriptor == &wa__device_props__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__disappearing_mode__init - (Wa__DisappearingMode *message) -{ - static const Wa__DisappearingMode init_value = WA__DISAPPEARING_MODE__INIT; - *message = init_value; -} + size_t wa__disappearing_mode__get_packed_size (const Wa__DisappearingMode *message) { @@ -928,12 +761,7 @@ void wa__disappearing_mode__free_unpacked assert(message->descriptor == &wa__disappearing_mode__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__ephemeral_setting__init - (Wa__EphemeralSetting *message) -{ - static const Wa__EphemeralSetting init_value = WA__EPHEMERAL_SETTING__INIT; - *message = init_value; -} + size_t wa__ephemeral_setting__get_packed_size (const Wa__EphemeralSetting *message) { @@ -973,12 +801,7 @@ void wa__ephemeral_setting__free_unpacked assert(message->descriptor == &wa__ephemeral_setting__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__exit_code__init - (Wa__ExitCode *message) -{ - static const Wa__ExitCode init_value = WA__EXIT_CODE__INIT; - *message = init_value; -} + size_t wa__exit_code__get_packed_size (const Wa__ExitCode *message) { @@ -1018,12 +841,7 @@ void wa__exit_code__free_unpacked assert(message->descriptor == &wa__exit_code__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__external_blob_reference__init - (Wa__ExternalBlobReference *message) -{ - static const Wa__ExternalBlobReference init_value = WA__EXTERNAL_BLOB_REFERENCE__INIT; - *message = init_value; -} + size_t wa__external_blob_reference__get_packed_size (const Wa__ExternalBlobReference *message) { @@ -1063,12 +881,7 @@ void wa__external_blob_reference__free_unpacked assert(message->descriptor == &wa__external_blob_reference__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__global_settings__init - (Wa__GlobalSettings *message) -{ - static const Wa__GlobalSettings init_value = WA__GLOBAL_SETTINGS__INIT; - *message = init_value; -} + size_t wa__global_settings__get_packed_size (const Wa__GlobalSettings *message) { @@ -1108,12 +921,7 @@ void wa__global_settings__free_unpacked assert(message->descriptor == &wa__global_settings__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__group_participant__init - (Wa__GroupParticipant *message) -{ - static const Wa__GroupParticipant init_value = WA__GROUP_PARTICIPANT__INIT; - *message = init_value; -} + size_t wa__group_participant__get_packed_size (const Wa__GroupParticipant *message) { @@ -1153,30 +961,7 @@ void wa__group_participant__free_unpacked assert(message->descriptor == &wa__group_participant__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__handshake_message__client_finish__init - (Wa__HandshakeMessage__ClientFinish *message) -{ - static const Wa__HandshakeMessage__ClientFinish init_value = WA__HANDSHAKE_MESSAGE__CLIENT_FINISH__INIT; - *message = init_value; -} -void wa__handshake_message__client_hello__init - (Wa__HandshakeMessage__ClientHello *message) -{ - static const Wa__HandshakeMessage__ClientHello init_value = WA__HANDSHAKE_MESSAGE__CLIENT_HELLO__INIT; - *message = init_value; -} -void wa__handshake_message__server_hello__init - (Wa__HandshakeMessage__ServerHello *message) -{ - static const Wa__HandshakeMessage__ServerHello init_value = WA__HANDSHAKE_MESSAGE__SERVER_HELLO__INIT; - *message = init_value; -} -void wa__handshake_message__init - (Wa__HandshakeMessage *message) -{ - static const Wa__HandshakeMessage init_value = WA__HANDSHAKE_MESSAGE__INIT; - *message = init_value; -} + size_t wa__handshake_message__get_packed_size (const Wa__HandshakeMessage *message) { @@ -1216,12 +1001,7 @@ void wa__handshake_message__free_unpacked assert(message->descriptor == &wa__handshake_message__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__history_sync__init - (Wa__HistorySync *message) -{ - static const Wa__HistorySync init_value = WA__HISTORY_SYNC__INIT; - *message = init_value; -} + size_t wa__history_sync__get_packed_size (const Wa__HistorySync *message) { @@ -1261,12 +1041,7 @@ void wa__history_sync__free_unpacked assert(message->descriptor == &wa__history_sync__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__history_sync_msg__init - (Wa__HistorySyncMsg *message) -{ - static const Wa__HistorySyncMsg init_value = WA__HISTORY_SYNC_MSG__INIT; - *message = init_value; -} + size_t wa__history_sync_msg__get_packed_size (const Wa__HistorySyncMsg *message) { @@ -1306,30 +1081,7 @@ void wa__history_sync_msg__free_unpacked assert(message->descriptor == &wa__history_sync_msg__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__hydrated_template_button__hydrated_call_button__init - (Wa__HydratedTemplateButton__HydratedCallButton *message) -{ - static const Wa__HydratedTemplateButton__HydratedCallButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_CALL_BUTTON__INIT; - *message = init_value; -} -void wa__hydrated_template_button__hydrated_quick_reply_button__init - (Wa__HydratedTemplateButton__HydratedQuickReplyButton *message) -{ - static const Wa__HydratedTemplateButton__HydratedQuickReplyButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_QUICK_REPLY_BUTTON__INIT; - *message = init_value; -} -void wa__hydrated_template_button__hydrated_urlbutton__init - (Wa__HydratedTemplateButton__HydratedURLButton *message) -{ - static const Wa__HydratedTemplateButton__HydratedURLButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_URLBUTTON__INIT; - *message = init_value; -} -void wa__hydrated_template_button__init - (Wa__HydratedTemplateButton *message) -{ - static const Wa__HydratedTemplateButton init_value = WA__HYDRATED_TEMPLATE_BUTTON__INIT; - *message = init_value; -} + size_t wa__hydrated_template_button__get_packed_size (const Wa__HydratedTemplateButton *message) { @@ -1369,12 +1121,7 @@ void wa__hydrated_template_button__free_unpacked assert(message->descriptor == &wa__hydrated_template_button__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__identity_key_pair_structure__init - (Wa__IdentityKeyPairStructure *message) -{ - static const Wa__IdentityKeyPairStructure init_value = WA__IDENTITY_KEY_PAIR_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__identity_key_pair_structure__get_packed_size (const Wa__IdentityKeyPairStructure *message) { @@ -1414,12 +1161,7 @@ void wa__identity_key_pair_structure__free_unpacked assert(message->descriptor == &wa__identity_key_pair_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__interactive_annotation__init - (Wa__InteractiveAnnotation *message) -{ - static const Wa__InteractiveAnnotation init_value = WA__INTERACTIVE_ANNOTATION__INIT; - *message = init_value; -} + size_t wa__interactive_annotation__get_packed_size (const Wa__InteractiveAnnotation *message) { @@ -1459,12 +1201,7 @@ void wa__interactive_annotation__free_unpacked assert(message->descriptor == &wa__interactive_annotation__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__keep_in_chat__init - (Wa__KeepInChat *message) -{ - static const Wa__KeepInChat init_value = WA__KEEP_IN_CHAT__INIT; - *message = init_value; -} + size_t wa__keep_in_chat__get_packed_size (const Wa__KeepInChat *message) { @@ -1504,12 +1241,7 @@ void wa__keep_in_chat__free_unpacked assert(message->descriptor == &wa__keep_in_chat__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__key_id__init - (Wa__KeyId *message) -{ - static const Wa__KeyId init_value = WA__KEY_ID__INIT; - *message = init_value; -} + size_t wa__key_id__get_packed_size (const Wa__KeyId *message) { @@ -1549,12 +1281,7 @@ void wa__key_id__free_unpacked assert(message->descriptor == &wa__key_id__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__localized_name__init - (Wa__LocalizedName *message) -{ - static const Wa__LocalizedName init_value = WA__LOCALIZED_NAME__INIT; - *message = init_value; -} + size_t wa__localized_name__get_packed_size (const Wa__LocalizedName *message) { @@ -1594,12 +1321,7 @@ void wa__localized_name__free_unpacked assert(message->descriptor == &wa__localized_name__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__location__init - (Wa__Location *message) -{ - static const Wa__Location init_value = WA__LOCATION__INIT; - *message = init_value; -} + size_t wa__location__get_packed_size (const Wa__Location *message) { @@ -1639,12 +1361,7 @@ void wa__location__free_unpacked assert(message->descriptor == &wa__location__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__media_data__init - (Wa__MediaData *message) -{ - static const Wa__MediaData init_value = WA__MEDIA_DATA__INIT; - *message = init_value; -} + size_t wa__media_data__get_packed_size (const Wa__MediaData *message) { @@ -1684,12 +1401,7 @@ void wa__media_data__free_unpacked assert(message->descriptor == &wa__media_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__media_retry_notification__init - (Wa__MediaRetryNotification *message) -{ - static const Wa__MediaRetryNotification init_value = WA__MEDIA_RETRY_NOTIFICATION__INIT; - *message = init_value; -} + size_t wa__media_retry_notification__get_packed_size (const Wa__MediaRetryNotification *message) { @@ -1729,516 +1441,6 @@ void wa__media_retry_notification__free_unpacked assert(message->descriptor == &wa__media_retry_notification__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__message__app_state_fatal_exception_notification__init - (Wa__Message__AppStateFatalExceptionNotification *message) -{ - static const Wa__Message__AppStateFatalExceptionNotification init_value = WA__MESSAGE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key_data__init - (Wa__Message__AppStateSyncKeyData *message) -{ - static const Wa__Message__AppStateSyncKeyData init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_DATA__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key_fingerprint__init - (Wa__Message__AppStateSyncKeyFingerprint *message) -{ - static const Wa__Message__AppStateSyncKeyFingerprint init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_FINGERPRINT__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key_id__init - (Wa__Message__AppStateSyncKeyId *message) -{ - static const Wa__Message__AppStateSyncKeyId init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_ID__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key_request__init - (Wa__Message__AppStateSyncKeyRequest *message) -{ - static const Wa__Message__AppStateSyncKeyRequest init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_REQUEST__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key_share__init - (Wa__Message__AppStateSyncKeyShare *message) -{ - static const Wa__Message__AppStateSyncKeyShare init_value = WA__MESSAGE__APP_STATE_SYNC_KEY_SHARE__INIT; - *message = init_value; -} -void wa__message__app_state_sync_key__init - (Wa__Message__AppStateSyncKey *message) -{ - static const Wa__Message__AppStateSyncKey init_value = WA__MESSAGE__APP_STATE_SYNC_KEY__INIT; - *message = init_value; -} -void wa__message__audio_message__init - (Wa__Message__AudioMessage *message) -{ - static const Wa__Message__AudioMessage init_value = WA__MESSAGE__AUDIO_MESSAGE__INIT; - *message = init_value; -} -void wa__message__buttons_message__button__button_text__init - (Wa__Message__ButtonsMessage__Button__ButtonText *message) -{ - static const Wa__Message__ButtonsMessage__Button__ButtonText init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__BUTTON_TEXT__INIT; - *message = init_value; -} -void wa__message__buttons_message__button__native_flow_info__init - (Wa__Message__ButtonsMessage__Button__NativeFlowInfo *message) -{ - static const Wa__Message__ButtonsMessage__Button__NativeFlowInfo init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__NATIVE_FLOW_INFO__INIT; - *message = init_value; -} -void wa__message__buttons_message__button__init - (Wa__Message__ButtonsMessage__Button *message) -{ - static const Wa__Message__ButtonsMessage__Button init_value = WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__INIT; - *message = init_value; -} -void wa__message__buttons_message__init - (Wa__Message__ButtonsMessage *message) -{ - static const Wa__Message__ButtonsMessage init_value = WA__MESSAGE__BUTTONS_MESSAGE__INIT; - *message = init_value; -} -void wa__message__buttons_response_message__init - (Wa__Message__ButtonsResponseMessage *message) -{ - static const Wa__Message__ButtonsResponseMessage init_value = WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__call__init - (Wa__Message__Call *message) -{ - static const Wa__Message__Call init_value = WA__MESSAGE__CALL__INIT; - *message = init_value; -} -void wa__message__cancel_payment_request_message__init - (Wa__Message__CancelPaymentRequestMessage *message) -{ - static const Wa__Message__CancelPaymentRequestMessage init_value = WA__MESSAGE__CANCEL_PAYMENT_REQUEST_MESSAGE__INIT; - *message = init_value; -} -void wa__message__chat__init - (Wa__Message__Chat *message) -{ - static const Wa__Message__Chat init_value = WA__MESSAGE__CHAT__INIT; - *message = init_value; -} -void wa__message__contact_message__init - (Wa__Message__ContactMessage *message) -{ - static const Wa__Message__ContactMessage init_value = WA__MESSAGE__CONTACT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__contacts_array_message__init - (Wa__Message__ContactsArrayMessage *message) -{ - static const Wa__Message__ContactsArrayMessage init_value = WA__MESSAGE__CONTACTS_ARRAY_MESSAGE__INIT; - *message = init_value; -} -void wa__message__decline_payment_request_message__init - (Wa__Message__DeclinePaymentRequestMessage *message) -{ - static const Wa__Message__DeclinePaymentRequestMessage init_value = WA__MESSAGE__DECLINE_PAYMENT_REQUEST_MESSAGE__INIT; - *message = init_value; -} -void wa__message__device_sent_message__init - (Wa__Message__DeviceSentMessage *message) -{ - static const Wa__Message__DeviceSentMessage init_value = WA__MESSAGE__DEVICE_SENT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__document_message__init - (Wa__Message__DocumentMessage *message) -{ - static const Wa__Message__DocumentMessage init_value = WA__MESSAGE__DOCUMENT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__extended_text_message__init - (Wa__Message__ExtendedTextMessage *message) -{ - static const Wa__Message__ExtendedTextMessage init_value = WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__future_proof_message__init - (Wa__Message__FutureProofMessage *message) -{ - static const Wa__Message__FutureProofMessage init_value = WA__MESSAGE__FUTURE_PROOF_MESSAGE__INIT; - *message = init_value; -} -void wa__message__group_invite_message__init - (Wa__Message__GroupInviteMessage *message) -{ - static const Wa__Message__GroupInviteMessage init_value = WA__MESSAGE__GROUP_INVITE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__init - (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *message) -{ - static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMCURRENCY__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__init - (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *message) -{ - static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__init - (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *message) -{ - static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_UNIX_EPOCH__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init - (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *message) -{ - static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__hsmlocalizable_parameter__init - (Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter *message) -{ - static const Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__INIT; - *message = init_value; -} -void wa__message__highly_structured_message__init - (Wa__Message__HighlyStructuredMessage *message) -{ - static const Wa__Message__HighlyStructuredMessage init_value = WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__INIT; - *message = init_value; -} -void wa__message__history_sync_notification__init - (Wa__Message__HistorySyncNotification *message) -{ - static const Wa__Message__HistorySyncNotification init_value = WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__INIT; - *message = init_value; -} -void wa__message__image_message__init - (Wa__Message__ImageMessage *message) -{ - static const Wa__Message__ImageMessage init_value = WA__MESSAGE__IMAGE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__initial_security_notification_setting_sync__init - (Wa__Message__InitialSecurityNotificationSettingSync *message) -{ - static const Wa__Message__InitialSecurityNotificationSettingSync init_value = WA__MESSAGE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC__INIT; - *message = init_value; -} -void wa__message__interactive_message__body__init - (Wa__Message__InteractiveMessage__Body *message) -{ - static const Wa__Message__InteractiveMessage__Body init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__BODY__INIT; - *message = init_value; -} -void wa__message__interactive_message__collection_message__init - (Wa__Message__InteractiveMessage__CollectionMessage *message) -{ - static const Wa__Message__InteractiveMessage__CollectionMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__COLLECTION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__interactive_message__footer__init - (Wa__Message__InteractiveMessage__Footer *message) -{ - static const Wa__Message__InteractiveMessage__Footer init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__FOOTER__INIT; - *message = init_value; -} -void wa__message__interactive_message__header__init - (Wa__Message__InteractiveMessage__Header *message) -{ - static const Wa__Message__InteractiveMessage__Header init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__INIT; - *message = init_value; -} -void wa__message__interactive_message__native_flow_message__native_flow_button__init - (Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton *message) -{ - static const Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__NATIVE_FLOW_BUTTON__INIT; - *message = init_value; -} -void wa__message__interactive_message__native_flow_message__init - (Wa__Message__InteractiveMessage__NativeFlowMessage *message) -{ - static const Wa__Message__InteractiveMessage__NativeFlowMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__INIT; - *message = init_value; -} -void wa__message__interactive_message__shop_message__init - (Wa__Message__InteractiveMessage__ShopMessage *message) -{ - static const Wa__Message__InteractiveMessage__ShopMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__INIT; - *message = init_value; -} -void wa__message__interactive_message__init - (Wa__Message__InteractiveMessage *message) -{ - static const Wa__Message__InteractiveMessage init_value = WA__MESSAGE__INTERACTIVE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__interactive_response_message__body__init - (Wa__Message__InteractiveResponseMessage__Body *message) -{ - static const Wa__Message__InteractiveResponseMessage__Body init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__INIT; - *message = init_value; -} -void wa__message__interactive_response_message__native_flow_response_message__init - (Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message) -{ - static const Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NATIVE_FLOW_RESPONSE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__interactive_response_message__init - (Wa__Message__InteractiveResponseMessage *message) -{ - static const Wa__Message__InteractiveResponseMessage init_value = WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__invoice_message__init - (Wa__Message__InvoiceMessage *message) -{ - static const Wa__Message__InvoiceMessage init_value = WA__MESSAGE__INVOICE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__keep_in_chat_message__init - (Wa__Message__KeepInChatMessage *message) -{ - static const Wa__Message__KeepInChatMessage init_value = WA__MESSAGE__KEEP_IN_CHAT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__list_message__product_list_header_image__init - (Wa__Message__ListMessage__ProductListHeaderImage *message) -{ - static const Wa__Message__ListMessage__ProductListHeaderImage init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_HEADER_IMAGE__INIT; - *message = init_value; -} -void wa__message__list_message__product_list_info__init - (Wa__Message__ListMessage__ProductListInfo *message) -{ - static const Wa__Message__ListMessage__ProductListInfo init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_INFO__INIT; - *message = init_value; -} -void wa__message__list_message__product_section__init - (Wa__Message__ListMessage__ProductSection *message) -{ - static const Wa__Message__ListMessage__ProductSection init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT_SECTION__INIT; - *message = init_value; -} -void wa__message__list_message__product__init - (Wa__Message__ListMessage__Product *message) -{ - static const Wa__Message__ListMessage__Product init_value = WA__MESSAGE__LIST_MESSAGE__PRODUCT__INIT; - *message = init_value; -} -void wa__message__list_message__row__init - (Wa__Message__ListMessage__Row *message) -{ - static const Wa__Message__ListMessage__Row init_value = WA__MESSAGE__LIST_MESSAGE__ROW__INIT; - *message = init_value; -} -void wa__message__list_message__section__init - (Wa__Message__ListMessage__Section *message) -{ - static const Wa__Message__ListMessage__Section init_value = WA__MESSAGE__LIST_MESSAGE__SECTION__INIT; - *message = init_value; -} -void wa__message__list_message__init - (Wa__Message__ListMessage *message) -{ - static const Wa__Message__ListMessage init_value = WA__MESSAGE__LIST_MESSAGE__INIT; - *message = init_value; -} -void wa__message__list_response_message__single_select_reply__init - (Wa__Message__ListResponseMessage__SingleSelectReply *message) -{ - static const Wa__Message__ListResponseMessage__SingleSelectReply init_value = WA__MESSAGE__LIST_RESPONSE_MESSAGE__SINGLE_SELECT_REPLY__INIT; - *message = init_value; -} -void wa__message__list_response_message__init - (Wa__Message__ListResponseMessage *message) -{ - static const Wa__Message__ListResponseMessage init_value = WA__MESSAGE__LIST_RESPONSE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__live_location_message__init - (Wa__Message__LiveLocationMessage *message) -{ - static const Wa__Message__LiveLocationMessage init_value = WA__MESSAGE__LIVE_LOCATION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__location_message__init - (Wa__Message__LocationMessage *message) -{ - static const Wa__Message__LocationMessage init_value = WA__MESSAGE__LOCATION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__order_message__init - (Wa__Message__OrderMessage *message) -{ - static const Wa__Message__OrderMessage init_value = WA__MESSAGE__ORDER_MESSAGE__INIT; - *message = init_value; -} -void wa__message__payment_invite_message__init - (Wa__Message__PaymentInviteMessage *message) -{ - static const Wa__Message__PaymentInviteMessage init_value = WA__MESSAGE__PAYMENT_INVITE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__poll_creation_message__option__init - (Wa__Message__PollCreationMessage__Option *message) -{ - static const Wa__Message__PollCreationMessage__Option init_value = WA__MESSAGE__POLL_CREATION_MESSAGE__OPTION__INIT; - *message = init_value; -} -void wa__message__poll_creation_message__init - (Wa__Message__PollCreationMessage *message) -{ - static const Wa__Message__PollCreationMessage init_value = WA__MESSAGE__POLL_CREATION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__poll_enc_value__init - (Wa__Message__PollEncValue *message) -{ - static const Wa__Message__PollEncValue init_value = WA__MESSAGE__POLL_ENC_VALUE__INIT; - *message = init_value; -} -void wa__message__poll_update_message_metadata__init - (Wa__Message__PollUpdateMessageMetadata *message) -{ - static const Wa__Message__PollUpdateMessageMetadata init_value = WA__MESSAGE__POLL_UPDATE_MESSAGE_METADATA__INIT; - *message = init_value; -} -void wa__message__poll_update_message__init - (Wa__Message__PollUpdateMessage *message) -{ - static const Wa__Message__PollUpdateMessage init_value = WA__MESSAGE__POLL_UPDATE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__poll_vote_message__init - (Wa__Message__PollVoteMessage *message) -{ - static const Wa__Message__PollVoteMessage init_value = WA__MESSAGE__POLL_VOTE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__product_message__catalog_snapshot__init - (Wa__Message__ProductMessage__CatalogSnapshot *message) -{ - static const Wa__Message__ProductMessage__CatalogSnapshot init_value = WA__MESSAGE__PRODUCT_MESSAGE__CATALOG_SNAPSHOT__INIT; - *message = init_value; -} -void wa__message__product_message__product_snapshot__init - (Wa__Message__ProductMessage__ProductSnapshot *message) -{ - static const Wa__Message__ProductMessage__ProductSnapshot init_value = WA__MESSAGE__PRODUCT_MESSAGE__PRODUCT_SNAPSHOT__INIT; - *message = init_value; -} -void wa__message__product_message__init - (Wa__Message__ProductMessage *message) -{ - static const Wa__Message__ProductMessage init_value = WA__MESSAGE__PRODUCT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__protocol_message__init - (Wa__Message__ProtocolMessage *message) -{ - static const Wa__Message__ProtocolMessage init_value = WA__MESSAGE__PROTOCOL_MESSAGE__INIT; - *message = init_value; -} -void wa__message__reaction_message__init - (Wa__Message__ReactionMessage *message) -{ - static const Wa__Message__ReactionMessage init_value = WA__MESSAGE__REACTION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__request_media_upload_message__init - (Wa__Message__RequestMediaUploadMessage *message) -{ - static const Wa__Message__RequestMediaUploadMessage init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_MESSAGE__INIT; - *message = init_value; -} -void wa__message__request_media_upload_response_message__request_media_upload_result__init - (Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult *message) -{ - static const Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__REQUEST_MEDIA_UPLOAD_RESULT__INIT; - *message = init_value; -} -void wa__message__request_media_upload_response_message__init - (Wa__Message__RequestMediaUploadResponseMessage *message) -{ - static const Wa__Message__RequestMediaUploadResponseMessage init_value = WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__request_payment_message__init - (Wa__Message__RequestPaymentMessage *message) -{ - static const Wa__Message__RequestPaymentMessage init_value = WA__MESSAGE__REQUEST_PAYMENT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__request_phone_number_message__init - (Wa__Message__RequestPhoneNumberMessage *message) -{ - static const Wa__Message__RequestPhoneNumberMessage init_value = WA__MESSAGE__REQUEST_PHONE_NUMBER_MESSAGE__INIT; - *message = init_value; -} -void wa__message__send_payment_message__init - (Wa__Message__SendPaymentMessage *message) -{ - static const Wa__Message__SendPaymentMessage init_value = WA__MESSAGE__SEND_PAYMENT_MESSAGE__INIT; - *message = init_value; -} -void wa__message__sender_key_distribution_message__init - (Wa__Message__SenderKeyDistributionMessage *message) -{ - static const Wa__Message__SenderKeyDistributionMessage init_value = WA__MESSAGE__SENDER_KEY_DISTRIBUTION_MESSAGE__INIT; - *message = init_value; -} -void wa__message__sticker_message__init - (Wa__Message__StickerMessage *message) -{ - static const Wa__Message__StickerMessage init_value = WA__MESSAGE__STICKER_MESSAGE__INIT; - *message = init_value; -} -void wa__message__sticker_sync_rmrmessage__init - (Wa__Message__StickerSyncRMRMessage *message) -{ - static const Wa__Message__StickerSyncRMRMessage init_value = WA__MESSAGE__STICKER_SYNC_RMRMESSAGE__INIT; - *message = init_value; -} -void wa__message__template_button_reply_message__init - (Wa__Message__TemplateButtonReplyMessage *message) -{ - static const Wa__Message__TemplateButtonReplyMessage init_value = WA__MESSAGE__TEMPLATE_BUTTON_REPLY_MESSAGE__INIT; - *message = init_value; -} -void wa__message__template_message__four_row_template__init - (Wa__Message__TemplateMessage__FourRowTemplate *message) -{ - static const Wa__Message__TemplateMessage__FourRowTemplate init_value = WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__INIT; - *message = init_value; -} -void wa__message__template_message__hydrated_four_row_template__init - (Wa__Message__TemplateMessage__HydratedFourRowTemplate *message) -{ - static const Wa__Message__TemplateMessage__HydratedFourRowTemplate init_value = WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__INIT; - *message = init_value; -} -void wa__message__template_message__init - (Wa__Message__TemplateMessage *message) -{ - static const Wa__Message__TemplateMessage init_value = WA__MESSAGE__TEMPLATE_MESSAGE__INIT; - *message = init_value; -} -void wa__message__video_message__init - (Wa__Message__VideoMessage *message) -{ - static const Wa__Message__VideoMessage init_value = WA__MESSAGE__VIDEO_MESSAGE__INIT; - *message = init_value; -} -void wa__message__init - (Wa__Message *message) -{ - static const Wa__Message init_value = WA__MESSAGE__INIT; - *message = init_value; -} size_t wa__message__get_packed_size (const Wa__Message *message) { @@ -2278,12 +1480,7 @@ void wa__message__free_unpacked assert(message->descriptor == &wa__message__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__message_context_info__init - (Wa__MessageContextInfo *message) -{ - static const Wa__MessageContextInfo init_value = WA__MESSAGE_CONTEXT_INFO__INIT; - *message = init_value; -} + size_t wa__message_context_info__get_packed_size (const Wa__MessageContextInfo *message) { @@ -2323,12 +1520,7 @@ void wa__message_context_info__free_unpacked assert(message->descriptor == &wa__message_context_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__message_key__init - (Wa__MessageKey *message) -{ - static const Wa__MessageKey init_value = WA__MESSAGE_KEY__INIT; - *message = init_value; -} + size_t wa__message_key__get_packed_size (const Wa__MessageKey *message) { @@ -2368,12 +1560,7 @@ void wa__message_key__free_unpacked assert(message->descriptor == &wa__message_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__money__init - (Wa__Money *message) -{ - static const Wa__Money init_value = WA__MONEY__INIT; - *message = init_value; -} + size_t wa__money__get_packed_size (const Wa__Money *message) { @@ -2413,18 +1600,7 @@ void wa__money__free_unpacked assert(message->descriptor == &wa__money__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__msg_opaque_data__poll_option__init - (Wa__MsgOpaqueData__PollOption *message) -{ - static const Wa__MsgOpaqueData__PollOption init_value = WA__MSG_OPAQUE_DATA__POLL_OPTION__INIT; - *message = init_value; -} -void wa__msg_opaque_data__init - (Wa__MsgOpaqueData *message) -{ - static const Wa__MsgOpaqueData init_value = WA__MSG_OPAQUE_DATA__INIT; - *message = init_value; -} + size_t wa__msg_opaque_data__get_packed_size (const Wa__MsgOpaqueData *message) { @@ -2464,12 +1640,7 @@ void wa__msg_opaque_data__free_unpacked assert(message->descriptor == &wa__msg_opaque_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__msg_row_opaque_data__init - (Wa__MsgRowOpaqueData *message) -{ - static const Wa__MsgRowOpaqueData init_value = WA__MSG_ROW_OPAQUE_DATA__INIT; - *message = init_value; -} + size_t wa__msg_row_opaque_data__get_packed_size (const Wa__MsgRowOpaqueData *message) { @@ -2509,18 +1680,7 @@ void wa__msg_row_opaque_data__free_unpacked assert(message->descriptor == &wa__msg_row_opaque_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__noise_certificate__details__init - (Wa__NoiseCertificate__Details *message) -{ - static const Wa__NoiseCertificate__Details init_value = WA__NOISE_CERTIFICATE__DETAILS__INIT; - *message = init_value; -} -void wa__noise_certificate__init - (Wa__NoiseCertificate *message) -{ - static const Wa__NoiseCertificate init_value = WA__NOISE_CERTIFICATE__INIT; - *message = init_value; -} + size_t wa__noise_certificate__get_packed_size (const Wa__NoiseCertificate *message) { @@ -2560,12 +1720,7 @@ void wa__noise_certificate__free_unpacked assert(message->descriptor == &wa__noise_certificate__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__notification_message_info__init - (Wa__NotificationMessageInfo *message) -{ - static const Wa__NotificationMessageInfo init_value = WA__NOTIFICATION_MESSAGE_INFO__INIT; - *message = init_value; -} + size_t wa__notification_message_info__get_packed_size (const Wa__NotificationMessageInfo *message) { @@ -2605,12 +1760,7 @@ void wa__notification_message_info__free_unpacked assert(message->descriptor == &wa__notification_message_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__past_participant__init - (Wa__PastParticipant *message) -{ - static const Wa__PastParticipant init_value = WA__PAST_PARTICIPANT__INIT; - *message = init_value; -} + size_t wa__past_participant__get_packed_size (const Wa__PastParticipant *message) { @@ -2642,20 +1792,15 @@ 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); -} -void wa__past_participants__init - (Wa__PastParticipants *message) -{ - static const Wa__PastParticipants init_value = WA__PAST_PARTICIPANTS__INIT; - *message = init_value; + 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 (const Wa__PastParticipants *message) { @@ -2695,18 +1840,7 @@ void wa__past_participants__free_unpacked assert(message->descriptor == &wa__past_participants__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__payment_background__media_data__init - (Wa__PaymentBackground__MediaData *message) -{ - static const Wa__PaymentBackground__MediaData init_value = WA__PAYMENT_BACKGROUND__MEDIA_DATA__INIT; - *message = init_value; -} -void wa__payment_background__init - (Wa__PaymentBackground *message) -{ - static const Wa__PaymentBackground init_value = WA__PAYMENT_BACKGROUND__INIT; - *message = init_value; -} + size_t wa__payment_background__get_packed_size (const Wa__PaymentBackground *message) { @@ -2746,12 +1880,7 @@ void wa__payment_background__free_unpacked assert(message->descriptor == &wa__payment_background__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__payment_info__init - (Wa__PaymentInfo *message) -{ - static const Wa__PaymentInfo init_value = WA__PAYMENT_INFO__INIT; - *message = init_value; -} + size_t wa__payment_info__get_packed_size (const Wa__PaymentInfo *message) { @@ -2791,12 +1920,7 @@ void wa__payment_info__free_unpacked assert(message->descriptor == &wa__payment_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__pending_key_exchange__init - (Wa__PendingKeyExchange *message) -{ - static const Wa__PendingKeyExchange init_value = WA__PENDING_KEY_EXCHANGE__INIT; - *message = init_value; -} + size_t wa__pending_key_exchange__get_packed_size (const Wa__PendingKeyExchange *message) { @@ -2836,12 +1960,7 @@ void wa__pending_key_exchange__free_unpacked assert(message->descriptor == &wa__pending_key_exchange__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__pending_pre_key__init - (Wa__PendingPreKey *message) -{ - static const Wa__PendingPreKey init_value = WA__PENDING_PRE_KEY__INIT; - *message = init_value; -} + size_t wa__pending_pre_key__get_packed_size (const Wa__PendingPreKey *message) { @@ -2881,12 +2000,7 @@ void wa__pending_pre_key__free_unpacked assert(message->descriptor == &wa__pending_pre_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__photo_change__init - (Wa__PhotoChange *message) -{ - static const Wa__PhotoChange init_value = WA__PHOTO_CHANGE__INIT; - *message = init_value; -} + size_t wa__photo_change__get_packed_size (const Wa__PhotoChange *message) { @@ -2926,12 +2040,7 @@ void wa__photo_change__free_unpacked assert(message->descriptor == &wa__photo_change__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__point__init - (Wa__Point *message) -{ - static const Wa__Point init_value = WA__POINT__INIT; - *message = init_value; -} + size_t wa__point__get_packed_size (const Wa__Point *message) { @@ -2971,12 +2080,7 @@ void wa__point__free_unpacked assert(message->descriptor == &wa__point__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__poll_additional_metadata__init - (Wa__PollAdditionalMetadata *message) -{ - static const Wa__PollAdditionalMetadata init_value = WA__POLL_ADDITIONAL_METADATA__INIT; - *message = init_value; -} + size_t wa__poll_additional_metadata__get_packed_size (const Wa__PollAdditionalMetadata *message) { @@ -3016,12 +2120,7 @@ void wa__poll_additional_metadata__free_unpacked assert(message->descriptor == &wa__poll_additional_metadata__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__poll_enc_value__init - (Wa__PollEncValue *message) -{ - static const Wa__PollEncValue init_value = WA__POLL_ENC_VALUE__INIT; - *message = init_value; -} + size_t wa__poll_enc_value__get_packed_size (const Wa__PollEncValue *message) { @@ -3061,12 +2160,7 @@ void wa__poll_enc_value__free_unpacked assert(message->descriptor == &wa__poll_enc_value__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__poll_update__init - (Wa__PollUpdate *message) -{ - static const Wa__PollUpdate init_value = WA__POLL_UPDATE__INIT; - *message = init_value; -} + size_t wa__poll_update__get_packed_size (const Wa__PollUpdate *message) { @@ -3106,12 +2200,7 @@ void wa__poll_update__free_unpacked assert(message->descriptor == &wa__poll_update__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__pre_key_record_structure__init - (Wa__PreKeyRecordStructure *message) -{ - static const Wa__PreKeyRecordStructure init_value = WA__PRE_KEY_RECORD_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__pre_key_record_structure__get_packed_size (const Wa__PreKeyRecordStructure *message) { @@ -3151,12 +2240,7 @@ void wa__pre_key_record_structure__free_unpacked assert(message->descriptor == &wa__pre_key_record_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__pushname__init - (Wa__Pushname *message) -{ - static const Wa__Pushname init_value = WA__PUSHNAME__INIT; - *message = init_value; -} + size_t wa__pushname__get_packed_size (const Wa__Pushname *message) { @@ -3196,12 +2280,7 @@ void wa__pushname__free_unpacked assert(message->descriptor == &wa__pushname__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__reaction__init - (Wa__Reaction *message) -{ - static const Wa__Reaction init_value = WA__REACTION__INIT; - *message = init_value; -} + size_t wa__reaction__get_packed_size (const Wa__Reaction *message) { @@ -3241,12 +2320,7 @@ void wa__reaction__free_unpacked assert(message->descriptor == &wa__reaction__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__recent_emoji_weight__init - (Wa__RecentEmojiWeight *message) -{ - static const Wa__RecentEmojiWeight init_value = WA__RECENT_EMOJI_WEIGHT__INIT; - *message = init_value; -} + size_t wa__recent_emoji_weight__get_packed_size (const Wa__RecentEmojiWeight *message) { @@ -3286,12 +2360,7 @@ void wa__recent_emoji_weight__free_unpacked assert(message->descriptor == &wa__recent_emoji_weight__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__record_structure__init - (Wa__RecordStructure *message) -{ - static const Wa__RecordStructure init_value = WA__RECORD_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__record_structure__get_packed_size (const Wa__RecordStructure *message) { @@ -3331,12 +2400,7 @@ void wa__record_structure__free_unpacked assert(message->descriptor == &wa__record_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sender_chain_key__init - (Wa__SenderChainKey *message) -{ - static const Wa__SenderChainKey init_value = WA__SENDER_CHAIN_KEY__INIT; - *message = init_value; -} + size_t wa__sender_chain_key__get_packed_size (const Wa__SenderChainKey *message) { @@ -3376,12 +2440,7 @@ void wa__sender_chain_key__free_unpacked assert(message->descriptor == &wa__sender_chain_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sender_key_record_structure__init - (Wa__SenderKeyRecordStructure *message) -{ - static const Wa__SenderKeyRecordStructure init_value = WA__SENDER_KEY_RECORD_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__sender_key_record_structure__get_packed_size (const Wa__SenderKeyRecordStructure *message) { @@ -3421,12 +2480,7 @@ void wa__sender_key_record_structure__free_unpacked assert(message->descriptor == &wa__sender_key_record_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sender_key_state_structure__init - (Wa__SenderKeyStateStructure *message) -{ - static const Wa__SenderKeyStateStructure init_value = WA__SENDER_KEY_STATE_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__sender_key_state_structure__get_packed_size (const Wa__SenderKeyStateStructure *message) { @@ -3466,12 +2520,7 @@ void wa__sender_key_state_structure__free_unpacked assert(message->descriptor == &wa__sender_key_state_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sender_message_key__init - (Wa__SenderMessageKey *message) -{ - static const Wa__SenderMessageKey init_value = WA__SENDER_MESSAGE_KEY__INIT; - *message = init_value; -} + size_t wa__sender_message_key__get_packed_size (const Wa__SenderMessageKey *message) { @@ -3511,12 +2560,7 @@ void wa__sender_message_key__free_unpacked assert(message->descriptor == &wa__sender_message_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sender_signing_key__init - (Wa__SenderSigningKey *message) -{ - static const Wa__SenderSigningKey init_value = WA__SENDER_SIGNING_KEY__INIT; - *message = init_value; -} + size_t wa__sender_signing_key__get_packed_size (const Wa__SenderSigningKey *message) { @@ -3556,12 +2600,7 @@ void wa__sender_signing_key__free_unpacked assert(message->descriptor == &wa__sender_signing_key__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__server_error_receipt__init - (Wa__ServerErrorReceipt *message) -{ - static const Wa__ServerErrorReceipt init_value = WA__SERVER_ERROR_RECEIPT__INIT; - *message = init_value; -} + size_t wa__server_error_receipt__get_packed_size (const Wa__ServerErrorReceipt *message) { @@ -3601,12 +2640,7 @@ void wa__server_error_receipt__free_unpacked assert(message->descriptor == &wa__server_error_receipt__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__session_structure__init - (Wa__SessionStructure *message) -{ - static const Wa__SessionStructure init_value = WA__SESSION_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__session_structure__get_packed_size (const Wa__SessionStructure *message) { @@ -3646,12 +2680,7 @@ void wa__session_structure__free_unpacked assert(message->descriptor == &wa__session_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__signed_pre_key_record_structure__init - (Wa__SignedPreKeyRecordStructure *message) -{ - static const Wa__SignedPreKeyRecordStructure init_value = WA__SIGNED_PRE_KEY_RECORD_STRUCTURE__INIT; - *message = init_value; -} + size_t wa__signed_pre_key_record_structure__get_packed_size (const Wa__SignedPreKeyRecordStructure *message) { @@ -3691,12 +2720,7 @@ void wa__signed_pre_key_record_structure__free_unpacked assert(message->descriptor == &wa__signed_pre_key_record_structure__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__status_psa__init - (Wa__StatusPSA *message) -{ - static const Wa__StatusPSA init_value = WA__STATUS_PSA__INIT; - *message = init_value; -} + size_t wa__status_psa__get_packed_size (const Wa__StatusPSA *message) { @@ -3736,12 +2760,7 @@ void wa__status_psa__free_unpacked assert(message->descriptor == &wa__status_psa__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sticker_metadata__init - (Wa__StickerMetadata *message) -{ - static const Wa__StickerMetadata init_value = WA__STICKER_METADATA__INIT; - *message = init_value; -} + size_t wa__sticker_metadata__get_packed_size (const Wa__StickerMetadata *message) { @@ -3781,12 +2800,7 @@ void wa__sticker_metadata__free_unpacked assert(message->descriptor == &wa__sticker_metadata__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sync_action_data__init - (Wa__SyncActionData *message) -{ - static const Wa__SyncActionData init_value = WA__SYNC_ACTION_DATA__INIT; - *message = init_value; -} + size_t wa__sync_action_data__get_packed_size (const Wa__SyncActionData *message) { @@ -3826,186 +2840,6 @@ void wa__sync_action_data__free_unpacked assert(message->descriptor == &wa__sync_action_data__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__sync_action_value__agent_action__init - (Wa__SyncActionValue__AgentAction *message) -{ - static const Wa__SyncActionValue__AgentAction init_value = WA__SYNC_ACTION_VALUE__AGENT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__android_unsupported_actions__init - (Wa__SyncActionValue__AndroidUnsupportedActions *message) -{ - static const Wa__SyncActionValue__AndroidUnsupportedActions init_value = WA__SYNC_ACTION_VALUE__ANDROID_UNSUPPORTED_ACTIONS__INIT; - *message = init_value; -} -void wa__sync_action_value__archive_chat_action__init - (Wa__SyncActionValue__ArchiveChatAction *message) -{ - static const Wa__SyncActionValue__ArchiveChatAction init_value = WA__SYNC_ACTION_VALUE__ARCHIVE_CHAT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__clear_chat_action__init - (Wa__SyncActionValue__ClearChatAction *message) -{ - static const Wa__SyncActionValue__ClearChatAction init_value = WA__SYNC_ACTION_VALUE__CLEAR_CHAT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__contact_action__init - (Wa__SyncActionValue__ContactAction *message) -{ - static const Wa__SyncActionValue__ContactAction init_value = WA__SYNC_ACTION_VALUE__CONTACT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__delete_chat_action__init - (Wa__SyncActionValue__DeleteChatAction *message) -{ - static const Wa__SyncActionValue__DeleteChatAction init_value = WA__SYNC_ACTION_VALUE__DELETE_CHAT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__delete_message_for_me_action__init - (Wa__SyncActionValue__DeleteMessageForMeAction *message) -{ - static const Wa__SyncActionValue__DeleteMessageForMeAction init_value = WA__SYNC_ACTION_VALUE__DELETE_MESSAGE_FOR_ME_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__key_expiration__init - (Wa__SyncActionValue__KeyExpiration *message) -{ - static const Wa__SyncActionValue__KeyExpiration init_value = WA__SYNC_ACTION_VALUE__KEY_EXPIRATION__INIT; - *message = init_value; -} -void wa__sync_action_value__label_association_action__init - (Wa__SyncActionValue__LabelAssociationAction *message) -{ - static const Wa__SyncActionValue__LabelAssociationAction init_value = WA__SYNC_ACTION_VALUE__LABEL_ASSOCIATION_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__label_edit_action__init - (Wa__SyncActionValue__LabelEditAction *message) -{ - static const Wa__SyncActionValue__LabelEditAction init_value = WA__SYNC_ACTION_VALUE__LABEL_EDIT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__locale_setting__init - (Wa__SyncActionValue__LocaleSetting *message) -{ - static const Wa__SyncActionValue__LocaleSetting init_value = WA__SYNC_ACTION_VALUE__LOCALE_SETTING__INIT; - *message = init_value; -} -void wa__sync_action_value__mark_chat_as_read_action__init - (Wa__SyncActionValue__MarkChatAsReadAction *message) -{ - static const Wa__SyncActionValue__MarkChatAsReadAction init_value = WA__SYNC_ACTION_VALUE__MARK_CHAT_AS_READ_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__mute_action__init - (Wa__SyncActionValue__MuteAction *message) -{ - static const Wa__SyncActionValue__MuteAction init_value = WA__SYNC_ACTION_VALUE__MUTE_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__nux_action__init - (Wa__SyncActionValue__NuxAction *message) -{ - static const Wa__SyncActionValue__NuxAction init_value = WA__SYNC_ACTION_VALUE__NUX_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__pin_action__init - (Wa__SyncActionValue__PinAction *message) -{ - static const Wa__SyncActionValue__PinAction init_value = WA__SYNC_ACTION_VALUE__PIN_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__primary_feature__init - (Wa__SyncActionValue__PrimaryFeature *message) -{ - static const Wa__SyncActionValue__PrimaryFeature init_value = WA__SYNC_ACTION_VALUE__PRIMARY_FEATURE__INIT; - *message = init_value; -} -void wa__sync_action_value__primary_version_action__init - (Wa__SyncActionValue__PrimaryVersionAction *message) -{ - static const Wa__SyncActionValue__PrimaryVersionAction init_value = WA__SYNC_ACTION_VALUE__PRIMARY_VERSION_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__push_name_setting__init - (Wa__SyncActionValue__PushNameSetting *message) -{ - static const Wa__SyncActionValue__PushNameSetting init_value = WA__SYNC_ACTION_VALUE__PUSH_NAME_SETTING__INIT; - *message = init_value; -} -void wa__sync_action_value__quick_reply_action__init - (Wa__SyncActionValue__QuickReplyAction *message) -{ - static const Wa__SyncActionValue__QuickReplyAction init_value = WA__SYNC_ACTION_VALUE__QUICK_REPLY_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__recent_emoji_weights_action__init - (Wa__SyncActionValue__RecentEmojiWeightsAction *message) -{ - static const Wa__SyncActionValue__RecentEmojiWeightsAction init_value = WA__SYNC_ACTION_VALUE__RECENT_EMOJI_WEIGHTS_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__security_notification_setting__init - (Wa__SyncActionValue__SecurityNotificationSetting *message) -{ - static const Wa__SyncActionValue__SecurityNotificationSetting init_value = WA__SYNC_ACTION_VALUE__SECURITY_NOTIFICATION_SETTING__INIT; - *message = init_value; -} -void wa__sync_action_value__star_action__init - (Wa__SyncActionValue__StarAction *message) -{ - static const Wa__SyncActionValue__StarAction init_value = WA__SYNC_ACTION_VALUE__STAR_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__sticker_action__init - (Wa__SyncActionValue__StickerAction *message) -{ - static const Wa__SyncActionValue__StickerAction init_value = WA__SYNC_ACTION_VALUE__STICKER_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__subscription_action__init - (Wa__SyncActionValue__SubscriptionAction *message) -{ - static const Wa__SyncActionValue__SubscriptionAction init_value = WA__SYNC_ACTION_VALUE__SUBSCRIPTION_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__sync_action_message_range__init - (Wa__SyncActionValue__SyncActionMessageRange *message) -{ - static const Wa__SyncActionValue__SyncActionMessageRange init_value = WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE_RANGE__INIT; - *message = init_value; -} -void wa__sync_action_value__sync_action_message__init - (Wa__SyncActionValue__SyncActionMessage *message) -{ - static const Wa__SyncActionValue__SyncActionMessage init_value = WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE__INIT; - *message = init_value; -} -void wa__sync_action_value__time_format_action__init - (Wa__SyncActionValue__TimeFormatAction *message) -{ - static const Wa__SyncActionValue__TimeFormatAction init_value = WA__SYNC_ACTION_VALUE__TIME_FORMAT_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__unarchive_chats_setting__init - (Wa__SyncActionValue__UnarchiveChatsSetting *message) -{ - static const Wa__SyncActionValue__UnarchiveChatsSetting init_value = WA__SYNC_ACTION_VALUE__UNARCHIVE_CHATS_SETTING__INIT; - *message = init_value; -} -void wa__sync_action_value__user_status_mute_action__init - (Wa__SyncActionValue__UserStatusMuteAction *message) -{ - static const Wa__SyncActionValue__UserStatusMuteAction init_value = WA__SYNC_ACTION_VALUE__USER_STATUS_MUTE_ACTION__INIT; - *message = init_value; -} -void wa__sync_action_value__init - (Wa__SyncActionValue *message) -{ - static const Wa__SyncActionValue init_value = WA__SYNC_ACTION_VALUE__INIT; - *message = init_value; -} size_t wa__sync_action_value__get_packed_size (const Wa__SyncActionValue *message) { @@ -4045,12 +2879,7 @@ void wa__sync_action_value__free_unpacked assert(message->descriptor == &wa__sync_action_value__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_index__init - (Wa__SyncdIndex *message) -{ - static const Wa__SyncdIndex init_value = WA__SYNCD_INDEX__INIT; - *message = init_value; -} + size_t wa__syncd_index__get_packed_size (const Wa__SyncdIndex *message) { @@ -4090,12 +2919,7 @@ void wa__syncd_index__free_unpacked assert(message->descriptor == &wa__syncd_index__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_mutation__init - (Wa__SyncdMutation *message) -{ - static const Wa__SyncdMutation init_value = WA__SYNCD_MUTATION__INIT; - *message = init_value; -} + size_t wa__syncd_mutation__get_packed_size (const Wa__SyncdMutation *message) { @@ -4135,12 +2959,7 @@ void wa__syncd_mutation__free_unpacked assert(message->descriptor == &wa__syncd_mutation__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_mutations__init - (Wa__SyncdMutations *message) -{ - static const Wa__SyncdMutations init_value = WA__SYNCD_MUTATIONS__INIT; - *message = init_value; -} + size_t wa__syncd_mutations__get_packed_size (const Wa__SyncdMutations *message) { @@ -4180,12 +2999,7 @@ void wa__syncd_mutations__free_unpacked assert(message->descriptor == &wa__syncd_mutations__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_patch__init - (Wa__SyncdPatch *message) -{ - static const Wa__SyncdPatch init_value = WA__SYNCD_PATCH__INIT; - *message = init_value; -} + size_t wa__syncd_patch__get_packed_size (const Wa__SyncdPatch *message) { @@ -4225,12 +3039,7 @@ void wa__syncd_patch__free_unpacked assert(message->descriptor == &wa__syncd_patch__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_record__init - (Wa__SyncdRecord *message) -{ - static const Wa__SyncdRecord init_value = WA__SYNCD_RECORD__INIT; - *message = init_value; -} + size_t wa__syncd_record__get_packed_size (const Wa__SyncdRecord *message) { @@ -4270,12 +3079,7 @@ void wa__syncd_record__free_unpacked assert(message->descriptor == &wa__syncd_record__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_snapshot__init - (Wa__SyncdSnapshot *message) -{ - static const Wa__SyncdSnapshot init_value = WA__SYNCD_SNAPSHOT__INIT; - *message = init_value; -} + size_t wa__syncd_snapshot__get_packed_size (const Wa__SyncdSnapshot *message) { @@ -4315,12 +3119,7 @@ void wa__syncd_snapshot__free_unpacked assert(message->descriptor == &wa__syncd_snapshot__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_value__init - (Wa__SyncdValue *message) -{ - static const Wa__SyncdValue init_value = WA__SYNCD_VALUE__INIT; - *message = init_value; -} + size_t wa__syncd_value__get_packed_size (const Wa__SyncdValue *message) { @@ -4360,12 +3159,7 @@ void wa__syncd_value__free_unpacked assert(message->descriptor == &wa__syncd_value__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__syncd_version__init - (Wa__SyncdVersion *message) -{ - static const Wa__SyncdVersion init_value = WA__SYNCD_VERSION__INIT; - *message = init_value; -} + size_t wa__syncd_version__get_packed_size (const Wa__SyncdVersion *message) { @@ -4405,30 +3199,7 @@ void wa__syncd_version__free_unpacked assert(message->descriptor == &wa__syncd_version__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__template_button__call_button__init - (Wa__TemplateButton__CallButton *message) -{ - static const Wa__TemplateButton__CallButton init_value = WA__TEMPLATE_BUTTON__CALL_BUTTON__INIT; - *message = init_value; -} -void wa__template_button__quick_reply_button__init - (Wa__TemplateButton__QuickReplyButton *message) -{ - static const Wa__TemplateButton__QuickReplyButton init_value = WA__TEMPLATE_BUTTON__QUICK_REPLY_BUTTON__INIT; - *message = init_value; -} -void wa__template_button__urlbutton__init - (Wa__TemplateButton__URLButton *message) -{ - static const Wa__TemplateButton__URLButton init_value = WA__TEMPLATE_BUTTON__URLBUTTON__INIT; - *message = init_value; -} -void wa__template_button__init - (Wa__TemplateButton *message) -{ - static const Wa__TemplateButton init_value = WA__TEMPLATE_BUTTON__INIT; - *message = init_value; -} + size_t wa__template_button__get_packed_size (const Wa__TemplateButton *message) { @@ -4468,12 +3239,7 @@ void wa__template_button__free_unpacked assert(message->descriptor == &wa__template_button__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__user_receipt__init - (Wa__UserReceipt *message) -{ - static const Wa__UserReceipt init_value = WA__USER_RECEIPT__INIT; - *message = init_value; -} + size_t wa__user_receipt__get_packed_size (const Wa__UserReceipt *message) { @@ -4513,18 +3279,7 @@ void wa__user_receipt__free_unpacked assert(message->descriptor == &wa__user_receipt__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__verified_name_certificate__details__init - (Wa__VerifiedNameCertificate__Details *message) -{ - static const Wa__VerifiedNameCertificate__Details init_value = WA__VERIFIED_NAME_CERTIFICATE__DETAILS__INIT; - *message = init_value; -} -void wa__verified_name_certificate__init - (Wa__VerifiedNameCertificate *message) -{ - static const Wa__VerifiedNameCertificate init_value = WA__VERIFIED_NAME_CERTIFICATE__INIT; - *message = init_value; -} + size_t wa__verified_name_certificate__get_packed_size (const Wa__VerifiedNameCertificate *message) { @@ -4564,12 +3319,7 @@ void wa__verified_name_certificate__free_unpacked assert(message->descriptor == &wa__verified_name_certificate__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__wallpaper_settings__init - (Wa__WallpaperSettings *message) -{ - static const Wa__WallpaperSettings init_value = WA__WALLPAPER_SETTINGS__INIT; - *message = init_value; -} + size_t wa__wallpaper_settings__get_packed_size (const Wa__WallpaperSettings *message) { @@ -4609,12 +3359,7 @@ void wa__wallpaper_settings__free_unpacked assert(message->descriptor == &wa__wallpaper_settings__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__web_features__init - (Wa__WebFeatures *message) -{ - static const Wa__WebFeatures init_value = WA__WEB_FEATURES__INIT; - *message = init_value; -} + size_t wa__web_features__get_packed_size (const Wa__WebFeatures *message) { @@ -4654,12 +3399,7 @@ void wa__web_features__free_unpacked assert(message->descriptor == &wa__web_features__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__web_message_info__init - (Wa__WebMessageInfo *message) -{ - static const Wa__WebMessageInfo init_value = WA__WEB_MESSAGE_INFO__INIT; - *message = init_value; -} + size_t wa__web_message_info__get_packed_size (const Wa__WebMessageInfo *message) { @@ -4699,12 +3439,7 @@ void wa__web_message_info__free_unpacked assert(message->descriptor == &wa__web_message_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void wa__web_notifications_info__init - (Wa__WebNotificationsInfo *message) -{ - static const Wa__WebNotificationsInfo init_value = WA__WEB_NOTIFICATIONS_INFO__INIT; - *message = init_value; -} + size_t wa__web_notifications_info__get_packed_size (const Wa__WebNotificationsInfo *message) { @@ -4805,8 +3540,7 @@ const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor = wa__advdevice_identity__field_descriptors, wa__advdevice_identity__field_indices_by_name, 1, wa__advdevice_identity__number_ranges, - (ProtobufCMessageInit) wa__advdevice_identity__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__advkey_index_list__field_descriptors[4] = { @@ -4882,8 +3616,7 @@ const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor = wa__advkey_index_list__field_descriptors, wa__advkey_index_list__field_indices_by_name, 1, wa__advkey_index_list__number_ranges, - (ProtobufCMessageInit) wa__advkey_index_list__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__advsigned_device_identity__field_descriptors[4] = { @@ -4959,8 +3692,7 @@ const ProtobufCMessageDescriptor wa__advsigned_device_identity__descriptor = wa__advsigned_device_identity__field_descriptors, wa__advsigned_device_identity__field_indices_by_name, 1, wa__advsigned_device_identity__number_ranges, - (ProtobufCMessageInit) wa__advsigned_device_identity__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__advsigned_device_identity_hmac__field_descriptors[2] = { @@ -5010,8 +3742,7 @@ const ProtobufCMessageDescriptor wa__advsigned_device_identity_hmac__descriptor wa__advsigned_device_identity_hmac__field_descriptors, wa__advsigned_device_identity_hmac__field_indices_by_name, 1, wa__advsigned_device_identity_hmac__number_ranges, - (ProtobufCMessageInit) wa__advsigned_device_identity_hmac__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__advsigned_key_index_list__field_descriptors[2] = { @@ -5061,8 +3792,7 @@ const ProtobufCMessageDescriptor wa__advsigned_key_index_list__descriptor = wa__advsigned_key_index_list__field_descriptors, wa__advsigned_key_index_list__field_indices_by_name, 1, wa__advsigned_key_index_list__number_ranges, - (ProtobufCMessageInit) wa__advsigned_key_index_list__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__action_link__field_descriptors[2] = { @@ -5112,8 +3842,7 @@ const ProtobufCMessageDescriptor wa__action_link__descriptor = wa__action_link__field_descriptors, wa__action_link__field_indices_by_name, 1, wa__action_link__number_ranges, - (ProtobufCMessageInit) wa__action_link__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__auto_download_settings__field_descriptors[4] = { @@ -5189,8 +3918,7 @@ const ProtobufCMessageDescriptor wa__auto_download_settings__descriptor = wa__auto_download_settings__field_descriptors, wa__auto_download_settings__field_indices_by_name, 1, wa__auto_download_settings__number_ranges, - (ProtobufCMessageInit) wa__auto_download_settings__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__biz_account_link_info__account_type__enum_values_by_number[1] = { @@ -5333,8 +4061,7 @@ const ProtobufCMessageDescriptor wa__biz_account_link_info__descriptor = wa__biz_account_link_info__field_descriptors, wa__biz_account_link_info__field_indices_by_name, 1, wa__biz_account_link_info__number_ranges, - (ProtobufCMessageInit) wa__biz_account_link_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__biz_account_payload__field_descriptors[2] = { @@ -5384,8 +4111,7 @@ const ProtobufCMessageDescriptor wa__biz_account_payload__descriptor = wa__biz_account_payload__field_descriptors, wa__biz_account_payload__field_indices_by_name, 1, wa__biz_account_payload__number_ranges, - (ProtobufCMessageInit) wa__biz_account_payload__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__biz_identity_info__actual_actors_type__enum_values_by_number[2] = { @@ -5599,8 +4325,7 @@ const ProtobufCMessageDescriptor wa__biz_identity_info__descriptor = wa__biz_identity_info__field_descriptors, wa__biz_identity_info__field_indices_by_name, 1, wa__biz_identity_info__number_ranges, - (ProtobufCMessageInit) wa__biz_identity_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__cert_chain__noise_certificate__details__field_descriptors[5] = { @@ -5689,8 +4414,7 @@ const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__details__des wa__cert_chain__noise_certificate__details__field_descriptors, wa__cert_chain__noise_certificate__details__field_indices_by_name, 1, wa__cert_chain__noise_certificate__details__number_ranges, - (ProtobufCMessageInit) wa__cert_chain__noise_certificate__details__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__cert_chain__noise_certificate__field_descriptors[2] = { @@ -5740,8 +4464,7 @@ const ProtobufCMessageDescriptor wa__cert_chain__noise_certificate__descriptor = wa__cert_chain__noise_certificate__field_descriptors, wa__cert_chain__noise_certificate__field_indices_by_name, 1, wa__cert_chain__noise_certificate__number_ranges, - (ProtobufCMessageInit) wa__cert_chain__noise_certificate__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__cert_chain__field_descriptors[2] = { @@ -5791,8 +4514,7 @@ const ProtobufCMessageDescriptor wa__cert_chain__descriptor = wa__cert_chain__field_descriptors, wa__cert_chain__field_indices_by_name, 1, wa__cert_chain__number_ranges, - (ProtobufCMessageInit) wa__cert_chain__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__chain__field_descriptors[4] = { @@ -5868,8 +4590,7 @@ const ProtobufCMessageDescriptor wa__chain__descriptor = wa__chain__field_descriptors, wa__chain__field_indices_by_name, 1, wa__chain__number_ranges, - (ProtobufCMessageInit) wa__chain__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__chain_key__field_descriptors[2] = { @@ -5919,8 +4640,7 @@ const ProtobufCMessageDescriptor wa__chain_key__descriptor = wa__chain_key__field_descriptors, wa__chain_key__field_indices_by_name, 1, wa__chain_key__number_ranges, - (ProtobufCMessageInit) wa__chain_key__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__client_payload__dnssource__dnsresolution_method__enum_values_by_number[5] = { @@ -6004,8 +4724,7 @@ const ProtobufCMessageDescriptor wa__client_payload__dnssource__descriptor = wa__client_payload__dnssource__field_descriptors, wa__client_payload__dnssource__field_indices_by_name, 1, wa__client_payload__dnssource__number_ranges, - (ProtobufCMessageInit) wa__client_payload__dnssource__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__client_payload__device_pairing_registration_data__field_descriptors[8] = { @@ -6133,8 +4852,7 @@ const ProtobufCMessageDescriptor wa__client_payload__device_pairing_registration wa__client_payload__device_pairing_registration_data__field_descriptors, wa__client_payload__device_pairing_registration_data__field_indices_by_name, 1, wa__client_payload__device_pairing_registration_data__number_ranges, - (ProtobufCMessageInit) wa__client_payload__device_pairing_registration_data__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__client_payload__user_agent__app_version__field_descriptors[5] = { @@ -6223,8 +4941,7 @@ const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__de wa__client_payload__user_agent__app_version__field_descriptors, wa__client_payload__user_agent__app_version__field_indices_by_name, 1, wa__client_payload__user_agent__app_version__number_ranges, - (ProtobufCMessageInit) wa__client_payload__user_agent__app_version__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__client_payload__user_agent__platform__enum_values_by_number[29] = { @@ -6531,8 +5248,7 @@ const ProtobufCMessageDescriptor wa__client_payload__user_agent__descriptor = wa__client_payload__user_agent__field_descriptors, wa__client_payload__user_agent__field_indices_by_name, 1, wa__client_payload__user_agent__number_ranges, - (ProtobufCMessageInit) wa__client_payload__user_agent__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__client_payload__web_info__webd_payload__field_descriptors[11] = { @@ -6699,8 +5415,7 @@ const ProtobufCMessageDescriptor wa__client_payload__web_info__webd_payload__des wa__client_payload__web_info__webd_payload__field_descriptors, wa__client_payload__web_info__webd_payload__field_indices_by_name, 1, wa__client_payload__web_info__webd_payload__number_ranges, - (ProtobufCMessageInit) wa__client_payload__web_info__webd_payload__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__client_payload__web_info__web_sub_platform__enum_values_by_number[5] = { @@ -6810,8 +5525,7 @@ const ProtobufCMessageDescriptor wa__client_payload__web_info__descriptor = wa__client_payload__web_info__field_descriptors, wa__client_payload__web_info__field_indices_by_name, 1, wa__client_payload__web_info__number_ranges, - (ProtobufCMessageInit) wa__client_payload__web_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__client_payload__connect_reason__enum_values_by_number[6] = { @@ -7301,8 +6015,7 @@ const ProtobufCMessageDescriptor wa__client_payload__descriptor = wa__client_payload__field_descriptors, wa__client_payload__field_indices_by_name, 7, wa__client_payload__number_ranges, - (ProtobufCMessageInit) wa__client_payload__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__context_info__ad_reply_info__media_type__enum_values_by_number[3] = { @@ -7409,8 +6122,7 @@ const ProtobufCMessageDescriptor wa__context_info__ad_reply_info__descriptor = wa__context_info__ad_reply_info__field_descriptors, wa__context_info__ad_reply_info__field_indices_by_name, 2, wa__context_info__ad_reply_info__number_ranges, - (ProtobufCMessageInit) wa__context_info__ad_reply_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__context_info__external_ad_reply_info__media_type__enum_values_by_number[3] = { @@ -7620,8 +6332,7 @@ const ProtobufCMessageDescriptor wa__context_info__external_ad_reply_info__descr 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, - (ProtobufCMessageInit) wa__context_info__external_ad_reply_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__context_info__field_descriptors[23] = { @@ -7946,8 +6657,7 @@ const ProtobufCMessageDescriptor wa__context_info__descriptor = wa__context_info__field_descriptors, wa__context_info__field_indices_by_name, 3, wa__context_info__number_ranges, - (ProtobufCMessageInit) wa__context_info__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__conversation__end_of_history_transfer_type__enum_values_by_number[2] = { @@ -8519,8 +7229,7 @@ const ProtobufCMessageDescriptor wa__conversation__descriptor = wa__conversation__field_descriptors, wa__conversation__field_indices_by_name, 1, wa__conversation__number_ranges, - (ProtobufCMessageInit) wa__conversation__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__device_list_metadata__field_descriptors[6] = { @@ -8623,8 +7332,7 @@ const ProtobufCMessageDescriptor wa__device_list_metadata__descriptor = wa__device_list_metadata__field_descriptors, wa__device_list_metadata__field_indices_by_name, 2, wa__device_list_metadata__number_ranges, - (ProtobufCMessageInit) wa__device_list_metadata__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__device_props__app_version__field_descriptors[5] = { @@ -8713,8 +7421,7 @@ const ProtobufCMessageDescriptor wa__device_props__app_version__descriptor = wa__device_props__app_version__field_descriptors, wa__device_props__app_version__field_indices_by_name, 1, wa__device_props__app_version__number_ranges, - (ProtobufCMessageInit) wa__device_props__app_version__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__device_props__platform_type__enum_values_by_number[14] = { @@ -8842,8 +7549,7 @@ const ProtobufCMessageDescriptor wa__device_props__descriptor = wa__device_props__field_descriptors, wa__device_props__field_indices_by_name, 1, wa__device_props__number_ranges, - (ProtobufCMessageInit) wa__device_props__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__disappearing_mode__initiator__enum_values_by_number[3] = { @@ -8910,8 +7616,7 @@ const ProtobufCMessageDescriptor wa__disappearing_mode__descriptor = wa__disappearing_mode__field_descriptors, wa__disappearing_mode__field_indices_by_name, 1, wa__disappearing_mode__number_ranges, - (ProtobufCMessageInit) wa__disappearing_mode__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__ephemeral_setting__field_descriptors[2] = { @@ -8961,8 +7666,7 @@ const ProtobufCMessageDescriptor wa__ephemeral_setting__descriptor = wa__ephemeral_setting__field_descriptors, wa__ephemeral_setting__field_indices_by_name, 1, wa__ephemeral_setting__number_ranges, - (ProtobufCMessageInit) wa__ephemeral_setting__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__exit_code__field_descriptors[2] = { @@ -9012,8 +7716,7 @@ const ProtobufCMessageDescriptor wa__exit_code__descriptor = wa__exit_code__field_descriptors, wa__exit_code__field_indices_by_name, 1, wa__exit_code__number_ranges, - (ProtobufCMessageInit) wa__exit_code__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__external_blob_reference__field_descriptors[6] = { @@ -9115,8 +7818,7 @@ const ProtobufCMessageDescriptor wa__external_blob_reference__descriptor = wa__external_blob_reference__field_descriptors, wa__external_blob_reference__field_indices_by_name, 1, wa__external_blob_reference__number_ranges, - (ProtobufCMessageInit) wa__external_blob_reference__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__global_settings__field_descriptors[10] = { @@ -9270,8 +7972,7 @@ const ProtobufCMessageDescriptor wa__global_settings__descriptor = wa__global_settings__field_descriptors, wa__global_settings__field_indices_by_name, 1, wa__global_settings__number_ranges, - (ProtobufCMessageInit) wa__global_settings__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__group_participant__rank__enum_values_by_number[3] = { @@ -9351,8 +8052,7 @@ const ProtobufCMessageDescriptor wa__group_participant__descriptor = wa__group_participant__field_descriptors, wa__group_participant__field_indices_by_name, 1, wa__group_participant__number_ranges, - (ProtobufCMessageInit) wa__group_participant__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__handshake_message__client_finish__field_descriptors[2] = { @@ -9402,8 +8102,7 @@ const ProtobufCMessageDescriptor wa__handshake_message__client_finish__descripto wa__handshake_message__client_finish__field_descriptors, wa__handshake_message__client_finish__field_indices_by_name, 1, wa__handshake_message__client_finish__number_ranges, - (ProtobufCMessageInit) wa__handshake_message__client_finish__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__handshake_message__client_hello__field_descriptors[3] = { @@ -9466,8 +8165,7 @@ const ProtobufCMessageDescriptor wa__handshake_message__client_hello__descriptor wa__handshake_message__client_hello__field_descriptors, wa__handshake_message__client_hello__field_indices_by_name, 1, wa__handshake_message__client_hello__number_ranges, - (ProtobufCMessageInit) wa__handshake_message__client_hello__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__handshake_message__server_hello__field_descriptors[3] = { @@ -9530,8 +8228,7 @@ const ProtobufCMessageDescriptor wa__handshake_message__server_hello__descriptor wa__handshake_message__server_hello__field_descriptors, wa__handshake_message__server_hello__field_indices_by_name, 1, wa__handshake_message__server_hello__number_ranges, - (ProtobufCMessageInit) wa__handshake_message__server_hello__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__handshake_message__field_descriptors[3] = { @@ -9594,8 +8291,7 @@ const ProtobufCMessageDescriptor wa__handshake_message__descriptor = wa__handshake_message__field_descriptors, wa__handshake_message__field_indices_by_name, 1, wa__handshake_message__number_ranges, - (ProtobufCMessageInit) wa__handshake_message__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__history_sync__history_sync_type__enum_values_by_number[6] = { @@ -9799,8 +8495,7 @@ const ProtobufCMessageDescriptor wa__history_sync__descriptor = wa__history_sync__field_descriptors, wa__history_sync__field_indices_by_name, 2, wa__history_sync__number_ranges, - (ProtobufCMessageInit) wa__history_sync__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__history_sync_msg__field_descriptors[2] = { @@ -9850,8 +8545,7 @@ const ProtobufCMessageDescriptor wa__history_sync_msg__descriptor = wa__history_sync_msg__field_descriptors, wa__history_sync_msg__field_indices_by_name, 1, wa__history_sync_msg__number_ranges, - (ProtobufCMessageInit) wa__history_sync_msg__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_call_button__field_descriptors[2] = { @@ -9901,8 +8595,7 @@ const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_call_but wa__hydrated_template_button__hydrated_call_button__field_descriptors, wa__hydrated_template_button__hydrated_call_button__field_indices_by_name, 1, wa__hydrated_template_button__hydrated_call_button__number_ranges, - (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_call_button__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_quick_reply_button__field_descriptors[2] = { @@ -9952,8 +8645,7 @@ const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_quick_re wa__hydrated_template_button__hydrated_quick_reply_button__field_descriptors, wa__hydrated_template_button__hydrated_quick_reply_button__field_indices_by_name, 1, wa__hydrated_template_button__hydrated_quick_reply_button__number_ranges, - (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_quick_reply_button__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__hydrated_template_button__hydrated_urlbutton__field_descriptors[2] = { @@ -10003,8 +8695,7 @@ const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_urlbutto wa__hydrated_template_button__hydrated_urlbutton__field_descriptors, wa__hydrated_template_button__hydrated_urlbutton__field_indices_by_name, 1, wa__hydrated_template_button__hydrated_urlbutton__number_ranges, - (ProtobufCMessageInit) wa__hydrated_template_button__hydrated_urlbutton__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__hydrated_template_button__field_descriptors[4] = { @@ -10080,8 +8771,7 @@ const ProtobufCMessageDescriptor wa__hydrated_template_button__descriptor = wa__hydrated_template_button__field_descriptors, wa__hydrated_template_button__field_indices_by_name, 1, wa__hydrated_template_button__number_ranges, - (ProtobufCMessageInit) wa__hydrated_template_button__init, - NULL,NULL,NULL /* reserved[123] */ + NULL,NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__identity_key_pair_structure__field_descriptors[2] = { @@ -10131,7 +8821,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, - (ProtobufCMessageInit) wa__identity_key_pair_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__interactive_annotation__field_descriptors[2] = @@ -10182,7 +8872,7 @@ const ProtobufCMessageDescriptor wa__interactive_annotation__descriptor = wa__interactive_annotation__field_descriptors, wa__interactive_annotation__field_indices_by_name, 1, wa__interactive_annotation__number_ranges, - (ProtobufCMessageInit) wa__interactive_annotation__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__keep_in_chat__field_descriptors[4] = @@ -10259,7 +8949,7 @@ const ProtobufCMessageDescriptor wa__keep_in_chat__descriptor = wa__keep_in_chat__field_descriptors, wa__keep_in_chat__field_indices_by_name, 1, wa__keep_in_chat__number_ranges, - (ProtobufCMessageInit) wa__keep_in_chat__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__key_id__field_descriptors[1] = @@ -10297,7 +8987,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, - (ProtobufCMessageInit) wa__key_id__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__localized_name__field_descriptors[3] = @@ -10361,7 +9051,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, - (ProtobufCMessageInit) wa__localized_name__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__location__field_descriptors[3] = @@ -10425,7 +9115,7 @@ const ProtobufCMessageDescriptor wa__location__descriptor = wa__location__field_descriptors, wa__location__field_indices_by_name, 1, wa__location__number_ranges, - (ProtobufCMessageInit) wa__location__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__media_data__field_descriptors[1] = @@ -10463,7 +9153,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, - (ProtobufCMessageInit) wa__media_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__media_retry_notification__result_type__enum_values_by_number[4] = @@ -10559,7 +9249,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, - (ProtobufCMessageInit) wa__media_retry_notification__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_fatal_exception_notification__field_descriptors[2] = @@ -10610,7 +9300,7 @@ 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, - (ProtobufCMessageInit) wa__message__app_state_fatal_exception_notification__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_data__field_descriptors[3] = @@ -10674,7 +9364,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, - (ProtobufCMessageInit) wa__message__app_state_sync_key_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_fingerprint__field_descriptors[3] = @@ -10738,7 +9428,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, - (ProtobufCMessageInit) wa__message__app_state_sync_key_fingerprint__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_id__field_descriptors[1] = @@ -10776,7 +9466,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, - (ProtobufCMessageInit) wa__message__app_state_sync_key_id__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_request__field_descriptors[1] = @@ -10814,7 +9504,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, - (ProtobufCMessageInit) wa__message__app_state_sync_key_request__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key_share__field_descriptors[1] = @@ -10852,7 +9542,7 @@ 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, - (ProtobufCMessageInit) wa__message__app_state_sync_key_share__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__app_state_sync_key__field_descriptors[2] = @@ -10903,7 +9593,7 @@ const ProtobufCMessageDescriptor wa__message__app_state_sync_key__descriptor = 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, - (ProtobufCMessageInit) wa__message__app_state_sync_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__audio_message__field_descriptors[13] = @@ -11098,7 +9788,7 @@ const ProtobufCMessageDescriptor wa__message__audio_message__descriptor = wa__message__audio_message__field_descriptors, wa__message__audio_message__field_indices_by_name, 2, wa__message__audio_message__number_ranges, - (ProtobufCMessageInit) wa__message__audio_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__buttons_message__button__button_text__field_descriptors[1] = @@ -11136,7 +9826,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, - (ProtobufCMessageInit) wa__message__buttons_message__button__button_text__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__buttons_message__button__native_flow_info__field_descriptors[2] = @@ -11187,7 +9877,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, - (ProtobufCMessageInit) wa__message__buttons_message__button__native_flow_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_message__button__type__enum_values_by_number[3] = @@ -11294,7 +9984,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, - (ProtobufCMessageInit) wa__message__buttons_message__button__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_message__header_type__enum_values_by_number[7] = @@ -11487,7 +10177,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, - (ProtobufCMessageInit) wa__message__buttons_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__buttons_response_message__type__enum_values_by_number[2] = @@ -11592,7 +10282,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, - (ProtobufCMessageInit) wa__message__buttons_response_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__call__field_descriptors[4] = @@ -11669,7 +10359,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, - (ProtobufCMessageInit) wa__message__call__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__cancel_payment_request_message__field_descriptors[1] = @@ -11707,7 +10397,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, - (ProtobufCMessageInit) wa__message__cancel_payment_request_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__chat__field_descriptors[2] = @@ -11758,7 +10448,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, - (ProtobufCMessageInit) wa__message__chat__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__contact_message__field_descriptors[3] = @@ -11823,7 +10513,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, - (ProtobufCMessageInit) wa__message__contact_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__contacts_array_message__field_descriptors[3] = @@ -11888,7 +10578,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, - (ProtobufCMessageInit) wa__message__contacts_array_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__decline_payment_request_message__field_descriptors[1] = @@ -11926,7 +10616,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, - (ProtobufCMessageInit) wa__message__decline_payment_request_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__device_sent_message__field_descriptors[3] = @@ -11990,7 +10680,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, - (ProtobufCMessageInit) wa__message__device_sent_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__document_message__field_descriptors[20] = @@ -12275,7 +10965,7 @@ 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, - (ProtobufCMessageInit) wa__message__document_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__extended_text_message__font_type__enum_values_by_number[6] = @@ -12697,7 +11387,7 @@ const ProtobufCMessageDescriptor wa__message__extended_text_message__descriptor wa__message__extended_text_message__field_descriptors, wa__message__extended_text_message__field_indices_by_name, 3, wa__message__extended_text_message__number_ranges, - (ProtobufCMessageInit) wa__message__extended_text_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__future_proof_message__field_descriptors[1] = @@ -12735,7 +11425,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, - (ProtobufCMessageInit) wa__message__future_proof_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__group_invite_message__group_type__enum_values_by_number[2] = @@ -12892,7 +11582,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, - (ProtobufCMessageInit) wa__message__group_invite_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__field_descriptors[2] = @@ -12943,7 +11633,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, - (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__init, + 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] = @@ -13125,7 +11815,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, - (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__init, + 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] = @@ -13163,7 +11853,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, - (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__field_descriptors[2] = @@ -13214,7 +11904,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, - (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__field_descriptors[3] = @@ -13278,7 +11968,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, - (ProtobufCMessageInit) wa__message__highly_structured_message__hsmlocalizable_parameter__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__highly_structured_message__field_descriptors[9] = @@ -13420,7 +12110,7 @@ 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, - (ProtobufCMessageInit) wa__message__highly_structured_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__history_sync_notification__history_sync_type__enum_values_by_number[5] = @@ -13596,7 +12286,7 @@ const ProtobufCMessageDescriptor wa__message__history_sync_notification__descrip wa__message__history_sync_notification__field_descriptors, wa__message__history_sync_notification__field_indices_by_name, 1, wa__message__history_sync_notification__number_ranges, - (ProtobufCMessageInit) wa__message__history_sync_notification__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__image_message__field_descriptors[26] = @@ -13960,7 +12650,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, - (ProtobufCMessageInit) wa__message__image_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__initial_security_notification_setting_sync__field_descriptors[1] = @@ -13998,7 +12688,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, - (ProtobufCMessageInit) wa__message__initial_security_notification_setting_sync__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__body__field_descriptors[1] = @@ -14036,7 +12726,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, - (ProtobufCMessageInit) wa__message__interactive_message__body__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__collection_message__field_descriptors[3] = @@ -14100,7 +12790,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, - (ProtobufCMessageInit) wa__message__interactive_message__collection_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__footer__field_descriptors[1] = @@ -14138,7 +12828,7 @@ 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, - (ProtobufCMessageInit) wa__message__interactive_message__footer__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__header__field_descriptors[7] = @@ -14254,7 +12944,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_message__header__descr wa__message__interactive_message__header__field_descriptors, wa__message__interactive_message__header__field_indices_by_name, 1, wa__message__interactive_message__header__number_ranges, - (ProtobufCMessageInit) wa__message__interactive_message__header__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__field_descriptors[2] = @@ -14305,7 +12995,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, - (ProtobufCMessageInit) wa__message__interactive_message__native_flow_message__native_flow_button__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__native_flow_message__field_descriptors[3] = @@ -14369,7 +13059,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, - (ProtobufCMessageInit) wa__message__interactive_message__native_flow_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__interactive_message__shop_message__surface__enum_values_by_number[4] = @@ -14465,7 +13155,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, - (ProtobufCMessageInit) wa__message__interactive_message__shop_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_message__field_descriptors[7] = @@ -14582,7 +13272,7 @@ 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, - (ProtobufCMessageInit) wa__message__interactive_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_response_message__body__field_descriptors[1] = @@ -14620,7 +13310,7 @@ const ProtobufCMessageDescriptor wa__message__interactive_response_message__body 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, - (ProtobufCMessageInit) wa__message__interactive_response_message__body__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_response_message__native_flow_response_message__field_descriptors[3] = @@ -14684,7 +13374,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, - (ProtobufCMessageInit) wa__message__interactive_response_message__native_flow_response_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__interactive_response_message__field_descriptors[3] = @@ -14749,7 +13439,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, - (ProtobufCMessageInit) wa__message__interactive_response_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__invoice_message__attachment_type__enum_values_by_number[2] = @@ -14932,7 +13622,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, - (ProtobufCMessageInit) wa__message__invoice_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__keep_in_chat_message__field_descriptors[3] = @@ -14996,7 +13686,7 @@ 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, - (ProtobufCMessageInit) wa__message__keep_in_chat_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_list_header_image__field_descriptors[2] = @@ -15047,7 +13737,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, - (ProtobufCMessageInit) wa__message__list_message__product_list_header_image__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_list_info__field_descriptors[3] = @@ -15111,7 +13801,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, - (ProtobufCMessageInit) wa__message__list_message__product_list_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product_section__field_descriptors[2] = @@ -15162,7 +13852,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, - (ProtobufCMessageInit) wa__message__list_message__product_section__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__product__field_descriptors[1] = @@ -15200,7 +13890,7 @@ const ProtobufCMessageDescriptor wa__message__list_message__product__descriptor wa__message__list_message__product__field_descriptors, wa__message__list_message__product__field_indices_by_name, 1, wa__message__list_message__product__number_ranges, - (ProtobufCMessageInit) wa__message__list_message__product__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__row__field_descriptors[3] = @@ -15264,7 +13954,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, - (ProtobufCMessageInit) wa__message__list_message__row__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_message__section__field_descriptors[2] = @@ -15315,7 +14005,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, - (ProtobufCMessageInit) wa__message__list_message__section__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__list_message__list_type__enum_values_by_number[3] = @@ -15474,7 +14164,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, - (ProtobufCMessageInit) wa__message__list_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__list_response_message__single_select_reply__field_descriptors[1] = @@ -15512,7 +14202,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, - (ProtobufCMessageInit) wa__message__list_response_message__single_select_reply__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__list_response_message__list_type__enum_values_by_number[2] = @@ -15630,7 +14320,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, - (ProtobufCMessageInit) wa__message__list_response_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__live_location_message__field_descriptors[10] = @@ -15786,7 +14476,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, - (ProtobufCMessageInit) wa__message__live_location_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__location_message__field_descriptors[12] = @@ -15969,7 +14659,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, - (ProtobufCMessageInit) wa__message__location_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__order_message__order_status__enum_values_by_number[1] = @@ -16203,7 +14893,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, - (ProtobufCMessageInit) wa__message__order_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__payment_invite_message__service_type__enum_values_by_number[4] = @@ -16286,7 +14976,7 @@ 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, - (ProtobufCMessageInit) wa__message__payment_invite_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_creation_message__option__field_descriptors[1] = @@ -16324,7 +15014,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, - (ProtobufCMessageInit) wa__message__poll_creation_message__option__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_creation_message__field_descriptors[5] = @@ -16414,7 +15104,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, - (ProtobufCMessageInit) wa__message__poll_creation_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_enc_value__field_descriptors[2] = @@ -16465,7 +15155,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, - (ProtobufCMessageInit) wa__message__poll_enc_value__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; #define wa__message__poll_update_message_metadata__field_descriptors NULL @@ -16483,7 +15173,7 @@ const ProtobufCMessageDescriptor wa__message__poll_update_message_metadata__desc 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, - (ProtobufCMessageInit) wa__message__poll_update_message_metadata__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_update_message__field_descriptors[4] = @@ -16560,7 +15250,7 @@ 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, - (ProtobufCMessageInit) wa__message__poll_update_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__poll_vote_message__field_descriptors[1] = @@ -16598,7 +15288,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, - (ProtobufCMessageInit) wa__message__poll_vote_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__catalog_snapshot__field_descriptors[3] = @@ -16662,7 +15352,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, - (ProtobufCMessageInit) wa__message__product_message__catalog_snapshot__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__product_snapshot__field_descriptors[11] = @@ -16831,7 +15521,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, - (ProtobufCMessageInit) wa__message__product_message__product_snapshot__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__product_message__field_descriptors[6] = @@ -16936,7 +15626,7 @@ 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, - (ProtobufCMessageInit) wa__message__product_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__protocol_message__type__enum_values_by_number[12] = @@ -17166,7 +15856,7 @@ const ProtobufCMessageDescriptor wa__message__protocol_message__descriptor = wa__message__protocol_message__field_descriptors, wa__message__protocol_message__field_indices_by_name, 2, wa__message__protocol_message__number_ranges, - (ProtobufCMessageInit) wa__message__protocol_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__reaction_message__field_descriptors[4] = @@ -17243,7 +15933,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, - (ProtobufCMessageInit) wa__message__reaction_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_media_upload_message__field_descriptors[2] = @@ -17294,7 +15984,7 @@ const ProtobufCMessageDescriptor wa__message__request_media_upload_message__desc 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, - (ProtobufCMessageInit) wa__message__request_media_upload_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__request_media_upload_result__field_descriptors[3] = @@ -17358,7 +16048,7 @@ const ProtobufCMessageDescriptor wa__message__request_media_upload_response_mess 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, - (ProtobufCMessageInit) wa__message__request_media_upload_response_message__request_media_upload_result__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_media_upload_response_message__field_descriptors[3] = @@ -17422,7 +16112,7 @@ const ProtobufCMessageDescriptor wa__message__request_media_upload_response_mess 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, - (ProtobufCMessageInit) wa__message__request_media_upload_response_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_payment_message__field_descriptors[7] = @@ -17538,7 +16228,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, - (ProtobufCMessageInit) wa__message__request_payment_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__request_phone_number_message__field_descriptors[1] = @@ -17576,7 +16266,7 @@ 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, - (ProtobufCMessageInit) wa__message__request_phone_number_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__send_payment_message__field_descriptors[3] = @@ -17640,7 +16330,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, - (ProtobufCMessageInit) wa__message__send_payment_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__sender_key_distribution_message__field_descriptors[2] = @@ -17691,7 +16381,7 @@ 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, - (ProtobufCMessageInit) wa__message__sender_key_distribution_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__sticker_message__field_descriptors[15] = @@ -17912,7 +16602,7 @@ const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor = wa__message__sticker_message__field_descriptors, wa__message__sticker_message__field_indices_by_name, 2, wa__message__sticker_message__number_ranges, - (ProtobufCMessageInit) wa__message__sticker_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__sticker_sync_rmrmessage__field_descriptors[3] = @@ -17976,7 +16666,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, - (ProtobufCMessageInit) wa__message__sticker_sync_rmrmessage__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_button_reply_message__field_descriptors[4] = @@ -18053,7 +16743,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, - (ProtobufCMessageInit) wa__message__template_button_reply_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_message__four_row_template__field_descriptors[8] = @@ -18182,7 +16872,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, - (ProtobufCMessageInit) wa__message__template_message__four_row_template__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_message__hydrated_four_row_template__field_descriptors[9] = @@ -18324,7 +17014,7 @@ 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, - (ProtobufCMessageInit) wa__message__template_message__hydrated_four_row_template__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message__template_message__field_descriptors[4] = @@ -18401,7 +17091,7 @@ const ProtobufCMessageDescriptor wa__message__template_message__descriptor = wa__message__template_message__field_descriptors, wa__message__template_message__field_indices_by_name, 1, wa__message__template_message__number_ranges, - (ProtobufCMessageInit) wa__message__template_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__video_message__attribution__enum_values_by_number[3] = @@ -18756,7 +17446,7 @@ 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, - (ProtobufCMessageInit) wa__message__video_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__message__rmr_source__enum_values_by_number[2] = @@ -19412,7 +18102,7 @@ const ProtobufCMessageDescriptor wa__message__descriptor = wa__message__field_descriptors, wa__message__field_indices_by_name, 6, wa__message__number_ranges, - (ProtobufCMessageInit) wa__message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message_context_info__field_descriptors[4] = @@ -19489,7 +18179,7 @@ const ProtobufCMessageDescriptor wa__message_context_info__descriptor = wa__message_context_info__field_descriptors, wa__message_context_info__field_indices_by_name, 1, wa__message_context_info__number_ranges, - (ProtobufCMessageInit) wa__message_context_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__message_key__field_descriptors[4] = @@ -19566,7 +18256,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, - (ProtobufCMessageInit) wa__message_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__money__field_descriptors[3] = @@ -19630,7 +18320,7 @@ const ProtobufCMessageDescriptor wa__money__descriptor = wa__money__field_descriptors, wa__money__field_indices_by_name, 1, wa__money__number_ranges, - (ProtobufCMessageInit) wa__money__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__msg_opaque_data__poll_option__field_descriptors[1] = @@ -19668,7 +18358,7 @@ 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, - (ProtobufCMessageInit) wa__msg_opaque_data__poll_option__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__msg_opaque_data__field_descriptors[21] = @@ -19969,7 +18659,7 @@ const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor = wa__msg_opaque_data__field_descriptors, wa__msg_opaque_data__field_indices_by_name, 4, wa__msg_opaque_data__number_ranges, - (ProtobufCMessageInit) wa__msg_opaque_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__msg_row_opaque_data__field_descriptors[2] = @@ -20020,7 +18710,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, - (ProtobufCMessageInit) wa__msg_row_opaque_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__noise_certificate__details__field_descriptors[5] = @@ -20110,7 +18800,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, - (ProtobufCMessageInit) wa__noise_certificate__details__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__noise_certificate__field_descriptors[2] = @@ -20161,7 +18851,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, - (ProtobufCMessageInit) wa__noise_certificate__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__notification_message_info__field_descriptors[4] = @@ -20238,7 +18928,7 @@ 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, - (ProtobufCMessageInit) wa__notification_message_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__past_participant__leave_reason__enum_values_by_number[2] = @@ -20330,7 +19020,7 @@ const ProtobufCMessageDescriptor wa__past_participant__descriptor = wa__past_participant__field_descriptors, wa__past_participant__field_indices_by_name, 1, wa__past_participant__number_ranges, - (ProtobufCMessageInit) wa__past_participant__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__past_participants__field_descriptors[2] = @@ -20381,7 +19071,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, - (ProtobufCMessageInit) wa__past_participants__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__payment_background__media_data__field_descriptors[5] = @@ -20471,7 +19161,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, - (ProtobufCMessageInit) wa__payment_background__media_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__payment_background__type__enum_values_by_number[2] = @@ -20654,7 +19344,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, - (ProtobufCMessageInit) wa__payment_background__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__payment_info__currency__enum_values_by_number[2] = @@ -21012,7 +19702,7 @@ const ProtobufCMessageDescriptor wa__payment_info__descriptor = wa__payment_info__field_descriptors, wa__payment_info__field_indices_by_name, 1, wa__payment_info__number_ranges, - (ProtobufCMessageInit) wa__payment_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pending_key_exchange__field_descriptors[7] = @@ -21129,7 +19819,7 @@ const ProtobufCMessageDescriptor wa__pending_key_exchange__descriptor = wa__pending_key_exchange__field_descriptors, wa__pending_key_exchange__field_indices_by_name, 2, wa__pending_key_exchange__number_ranges, - (ProtobufCMessageInit) wa__pending_key_exchange__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pending_pre_key__field_descriptors[3] = @@ -21193,7 +19883,7 @@ const ProtobufCMessageDescriptor wa__pending_pre_key__descriptor = wa__pending_pre_key__field_descriptors, wa__pending_pre_key__field_indices_by_name, 1, wa__pending_pre_key__number_ranges, - (ProtobufCMessageInit) wa__pending_pre_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__photo_change__field_descriptors[3] = @@ -21257,7 +19947,7 @@ const ProtobufCMessageDescriptor wa__photo_change__descriptor = wa__photo_change__field_descriptors, wa__photo_change__field_indices_by_name, 1, wa__photo_change__number_ranges, - (ProtobufCMessageInit) wa__photo_change__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__point__field_descriptors[4] = @@ -21334,7 +20024,7 @@ const ProtobufCMessageDescriptor wa__point__descriptor = wa__point__field_descriptors, wa__point__field_indices_by_name, 1, wa__point__number_ranges, - (ProtobufCMessageInit) wa__point__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__poll_additional_metadata__field_descriptors[1] = @@ -21372,7 +20062,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, - (ProtobufCMessageInit) wa__poll_additional_metadata__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__poll_enc_value__field_descriptors[2] = @@ -21423,7 +20113,7 @@ 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, - (ProtobufCMessageInit) wa__poll_enc_value__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__poll_update__field_descriptors[3] = @@ -21487,7 +20177,7 @@ const ProtobufCMessageDescriptor wa__poll_update__descriptor = wa__poll_update__field_descriptors, wa__poll_update__field_indices_by_name, 1, wa__poll_update__number_ranges, - (ProtobufCMessageInit) wa__poll_update__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pre_key_record_structure__field_descriptors[3] = @@ -21551,7 +20241,7 @@ 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, - (ProtobufCMessageInit) wa__pre_key_record_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__pushname__field_descriptors[2] = @@ -21602,7 +20292,7 @@ const ProtobufCMessageDescriptor wa__pushname__descriptor = wa__pushname__field_descriptors, wa__pushname__field_indices_by_name, 1, wa__pushname__number_ranges, - (ProtobufCMessageInit) wa__pushname__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__reaction__field_descriptors[5] = @@ -21692,7 +20382,7 @@ const ProtobufCMessageDescriptor wa__reaction__descriptor = wa__reaction__field_descriptors, wa__reaction__field_indices_by_name, 1, wa__reaction__number_ranges, - (ProtobufCMessageInit) wa__reaction__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__recent_emoji_weight__field_descriptors[2] = @@ -21743,7 +20433,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, - (ProtobufCMessageInit) wa__recent_emoji_weight__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__record_structure__field_descriptors[2] = @@ -21794,7 +20484,7 @@ const ProtobufCMessageDescriptor wa__record_structure__descriptor = wa__record_structure__field_descriptors, wa__record_structure__field_indices_by_name, 1, wa__record_structure__number_ranges, - (ProtobufCMessageInit) wa__record_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_chain_key__field_descriptors[2] = @@ -21845,7 +20535,7 @@ const ProtobufCMessageDescriptor wa__sender_chain_key__descriptor = wa__sender_chain_key__field_descriptors, wa__sender_chain_key__field_indices_by_name, 1, wa__sender_chain_key__number_ranges, - (ProtobufCMessageInit) wa__sender_chain_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_key_record_structure__field_descriptors[1] = @@ -21883,7 +20573,7 @@ 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, - (ProtobufCMessageInit) wa__sender_key_record_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_key_state_structure__field_descriptors[4] = @@ -21960,7 +20650,7 @@ 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, - (ProtobufCMessageInit) wa__sender_key_state_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_message_key__field_descriptors[2] = @@ -22011,7 +20701,7 @@ const ProtobufCMessageDescriptor wa__sender_message_key__descriptor = wa__sender_message_key__field_descriptors, wa__sender_message_key__field_indices_by_name, 1, wa__sender_message_key__number_ranges, - (ProtobufCMessageInit) wa__sender_message_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sender_signing_key__field_descriptors[2] = @@ -22062,7 +20752,7 @@ const ProtobufCMessageDescriptor wa__sender_signing_key__descriptor = wa__sender_signing_key__field_descriptors, wa__sender_signing_key__field_indices_by_name, 1, wa__sender_signing_key__number_ranges, - (ProtobufCMessageInit) wa__sender_signing_key__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__server_error_receipt__field_descriptors[1] = @@ -22100,7 +20790,7 @@ const ProtobufCMessageDescriptor wa__server_error_receipt__descriptor = wa__server_error_receipt__field_descriptors, wa__server_error_receipt__field_indices_by_name, 1, wa__server_error_receipt__number_ranges, - (ProtobufCMessageInit) wa__server_error_receipt__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__session_structure__field_descriptors[13] = @@ -22294,7 +20984,7 @@ const ProtobufCMessageDescriptor wa__session_structure__descriptor = wa__session_structure__field_descriptors, wa__session_structure__field_indices_by_name, 1, wa__session_structure__number_ranges, - (ProtobufCMessageInit) wa__session_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__signed_pre_key_record_structure__field_descriptors[5] = @@ -22384,7 +21074,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, - (ProtobufCMessageInit) wa__signed_pre_key_record_structure__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__status_psa__field_descriptors[2] = @@ -22435,7 +21125,7 @@ const ProtobufCMessageDescriptor wa__status_psa__descriptor = wa__status_psa__field_descriptors, wa__status_psa__field_indices_by_name, 1, wa__status_psa__number_ranges, - (ProtobufCMessageInit) wa__status_psa__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sticker_metadata__field_descriptors[10] = @@ -22590,7 +21280,7 @@ const ProtobufCMessageDescriptor wa__sticker_metadata__descriptor = wa__sticker_metadata__field_descriptors, wa__sticker_metadata__field_indices_by_name, 1, wa__sticker_metadata__number_ranges, - (ProtobufCMessageInit) wa__sticker_metadata__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_data__field_descriptors[4] = @@ -22667,7 +21357,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, - (ProtobufCMessageInit) wa__sync_action_data__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__agent_action__field_descriptors[3] = @@ -22731,7 +21421,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, - (ProtobufCMessageInit) wa__sync_action_value__agent_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__android_unsupported_actions__field_descriptors[1] = @@ -22769,7 +21459,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, - (ProtobufCMessageInit) wa__sync_action_value__android_unsupported_actions__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__archive_chat_action__field_descriptors[2] = @@ -22820,7 +21510,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__archive_chat_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__clear_chat_action__field_descriptors[1] = @@ -22858,7 +21548,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__clear_chat_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__contact_action__field_descriptors[2] = @@ -22909,7 +21599,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__contact_action__descript 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, - (ProtobufCMessageInit) wa__sync_action_value__contact_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__delete_chat_action__field_descriptors[1] = @@ -22947,7 +21637,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, - (ProtobufCMessageInit) wa__sync_action_value__delete_chat_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__delete_message_for_me_action__field_descriptors[2] = @@ -22998,7 +21688,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__delete_message_for_me_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__key_expiration__field_descriptors[1] = @@ -23036,7 +21726,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, - (ProtobufCMessageInit) wa__sync_action_value__key_expiration__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__label_association_action__field_descriptors[1] = @@ -23074,7 +21764,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, - (ProtobufCMessageInit) wa__sync_action_value__label_association_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__label_edit_action__field_descriptors[4] = @@ -23151,7 +21841,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, - (ProtobufCMessageInit) wa__sync_action_value__label_edit_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__locale_setting__field_descriptors[1] = @@ -23189,7 +21879,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, - (ProtobufCMessageInit) wa__sync_action_value__locale_setting__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__mark_chat_as_read_action__field_descriptors[2] = @@ -23240,7 +21930,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__mark_chat_as_read_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__mute_action__field_descriptors[2] = @@ -23291,7 +21981,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__mute_action__descriptor 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, - (ProtobufCMessageInit) wa__sync_action_value__mute_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__nux_action__field_descriptors[1] = @@ -23329,7 +22019,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, - (ProtobufCMessageInit) wa__sync_action_value__nux_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__pin_action__field_descriptors[1] = @@ -23367,7 +22057,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__pin_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__primary_feature__field_descriptors[1] = @@ -23405,7 +22095,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, - (ProtobufCMessageInit) wa__sync_action_value__primary_feature__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__primary_version_action__field_descriptors[1] = @@ -23443,7 +22133,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__primary_version_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__push_name_setting__field_descriptors[1] = @@ -23481,7 +22171,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, - (ProtobufCMessageInit) wa__sync_action_value__push_name_setting__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__quick_reply_action__field_descriptors[5] = @@ -23571,7 +22261,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, - (ProtobufCMessageInit) wa__sync_action_value__quick_reply_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__recent_emoji_weights_action__field_descriptors[1] = @@ -23609,7 +22299,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__recent_emoji_weights_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__security_notification_setting__field_descriptors[1] = @@ -23647,7 +22337,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, - (ProtobufCMessageInit) wa__sync_action_value__security_notification_setting__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__star_action__field_descriptors[1] = @@ -23685,7 +22375,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, - (ProtobufCMessageInit) wa__sync_action_value__star_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__sticker_action__field_descriptors[10] = @@ -23840,7 +22530,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, - (ProtobufCMessageInit) wa__sync_action_value__sticker_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__subscription_action__field_descriptors[3] = @@ -23904,7 +22594,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__subscription_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message_range__field_descriptors[3] = @@ -23968,7 +22658,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, - (ProtobufCMessageInit) wa__sync_action_value__sync_action_message_range__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__sync_action_message__field_descriptors[2] = @@ -24019,7 +22709,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__sync_action_message__des 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, - (ProtobufCMessageInit) wa__sync_action_value__sync_action_message__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__time_format_action__field_descriptors[1] = @@ -24057,7 +22747,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, - (ProtobufCMessageInit) wa__sync_action_value__time_format_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__unarchive_chats_setting__field_descriptors[1] = @@ -24095,7 +22785,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, - (ProtobufCMessageInit) wa__sync_action_value__unarchive_chats_setting__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__user_status_mute_action__field_descriptors[1] = @@ -24133,7 +22823,7 @@ 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, - (ProtobufCMessageInit) wa__sync_action_value__user_status_mute_action__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__sync_action_value__field_descriptors[28] = @@ -24525,7 +23215,7 @@ const ProtobufCMessageDescriptor wa__sync_action_value__descriptor = wa__sync_action_value__field_descriptors, wa__sync_action_value__field_indices_by_name, 4, wa__sync_action_value__number_ranges, - (ProtobufCMessageInit) wa__sync_action_value__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_index__field_descriptors[1] = @@ -24563,7 +23253,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, - (ProtobufCMessageInit) wa__syncd_index__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__syncd_mutation__syncd_operation__enum_values_by_number[2] = @@ -24642,7 +23332,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, - (ProtobufCMessageInit) wa__syncd_mutation__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_mutations__field_descriptors[1] = @@ -24680,7 +23370,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, - (ProtobufCMessageInit) wa__syncd_mutations__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_patch__field_descriptors[8] = @@ -24809,7 +23499,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, - (ProtobufCMessageInit) wa__syncd_patch__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_record__field_descriptors[3] = @@ -24873,7 +23563,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, - (ProtobufCMessageInit) wa__syncd_record__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_snapshot__field_descriptors[4] = @@ -24950,7 +23640,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, - (ProtobufCMessageInit) wa__syncd_snapshot__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_value__field_descriptors[1] = @@ -24988,7 +23678,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, - (ProtobufCMessageInit) wa__syncd_value__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__syncd_version__field_descriptors[1] = @@ -25026,7 +23716,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, - (ProtobufCMessageInit) wa__syncd_version__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__call_button__field_descriptors[2] = @@ -25077,7 +23767,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, - (ProtobufCMessageInit) wa__template_button__call_button__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__quick_reply_button__field_descriptors[2] = @@ -25128,7 +23818,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, - (ProtobufCMessageInit) wa__template_button__quick_reply_button__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__urlbutton__field_descriptors[2] = @@ -25179,7 +23869,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, - (ProtobufCMessageInit) wa__template_button__urlbutton__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__template_button__field_descriptors[4] = @@ -25256,7 +23946,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, - (ProtobufCMessageInit) wa__template_button__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__user_receipt__field_descriptors[6] = @@ -25359,7 +24049,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, - (ProtobufCMessageInit) wa__user_receipt__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__verified_name_certificate__details__field_descriptors[5] = @@ -25452,7 +24142,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, - (ProtobufCMessageInit) wa__verified_name_certificate__details__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__verified_name_certificate__field_descriptors[3] = @@ -25516,7 +24206,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, - (ProtobufCMessageInit) wa__verified_name_certificate__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__wallpaper_settings__field_descriptors[2] = @@ -25567,7 +24257,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, - (ProtobufCMessageInit) wa__wallpaper_settings__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__web_features__flag__enum_values_by_number[4] = @@ -26212,7 +24902,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, - (ProtobufCMessageInit) wa__web_features__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue wa__web_message_info__biz_privacy_status__enum_values_by_number[4] = @@ -27189,7 +25879,7 @@ const ProtobufCMessageDescriptor wa__web_message_info__descriptor = wa__web_message_info__field_descriptors, wa__web_message_info__field_indices_by_name, 2, wa__web_message_info__number_ranges, - (ProtobufCMessageInit) wa__web_message_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor wa__web_notifications_info__field_descriptors[4] = @@ -27266,7 +25956,7 @@ 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, - (ProtobufCMessageInit) wa__web_notifications_info__init, + NULL, NULL,NULL,NULL /* reserved[123] */ }; 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 13f0097e67..247b332148 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.h +++ b/protocols/WhatsApp/src/pmsg.pb-c.h @@ -241,7305 +241,7396 @@ 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 + 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__WINDA = 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 + 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 + 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 + 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 + 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__UNBLOCKING_DATA = 5 + 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 + 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 + 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__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__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) } 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__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) +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__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) +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__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) +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__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) +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__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) +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__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__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) +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__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) +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__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) +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__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) +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__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__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) +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__MediaVisibility; +/* --- descriptors --- */ + +extern const ProtobufCEnumDescriptor wa__keep_type__descriptor; +extern const ProtobufCEnumDescriptor wa__media_visibility__descriptor; +extern const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor; +extern const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor; +extern const ProtobufCMessageDescriptor wa__advsigned_device_identity__descriptor; +extern const ProtobufCMessageDescriptor wa__advsigned_device_identity_hmac__descriptor; +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__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; +extern const ProtobufCMessageDescriptor wa__biz_account_payload__descriptor; +extern const ProtobufCMessageDescriptor wa__biz_identity_info__descriptor; +extern const ProtobufCEnumDescriptor wa__biz_identity_info__actual_actors_type__descriptor; +extern const ProtobufCEnumDescriptor wa__biz_identity_info__host_storage_type__descriptor; +extern const ProtobufCEnumDescriptor wa__biz_identity_info__verified_level_value__descriptor; +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__user_agent__descriptor; +extern const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__user_agent__platform__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__user_agent__release_channel__descriptor; +extern const ProtobufCMessageDescriptor wa__client_payload__web_info__descriptor; +extern const ProtobufCMessageDescriptor wa__client_payload__web_info__webd_payload__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__web_info__web_sub_platform__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__connect_reason__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__connect_type__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__iosapp_extension__descriptor; +extern const ProtobufCEnumDescriptor wa__client_payload__product__descriptor; +extern const ProtobufCMessageDescriptor wa__context_info__descriptor; +extern const ProtobufCMessageDescriptor wa__context_info__ad_reply_info__descriptor; +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__conversation__descriptor; +extern const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__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 ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor; +extern const ProtobufCMessageDescriptor wa__disappearing_mode__descriptor; +extern const ProtobufCEnumDescriptor wa__disappearing_mode__initiator__descriptor; +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_participant__descriptor; +extern const ProtobufCEnumDescriptor wa__group_participant__rank__descriptor; +extern const ProtobufCMessageDescriptor wa__handshake_message__descriptor; +extern const ProtobufCMessageDescriptor wa__handshake_message__client_finish__descriptor; +extern const ProtobufCMessageDescriptor wa__handshake_message__client_hello__descriptor; +extern const ProtobufCMessageDescriptor wa__handshake_message__server_hello__descriptor; +extern const ProtobufCMessageDescriptor wa__history_sync__descriptor; +extern const ProtobufCEnumDescriptor wa__history_sync__history_sync_type__descriptor; +extern const ProtobufCMessageDescriptor wa__history_sync_msg__descriptor; +extern const ProtobufCMessageDescriptor wa__hydrated_template_button__descriptor; +extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_call_button__descriptor; +extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_quick_reply_button__descriptor; +extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_urlbutton__descriptor; +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_id__descriptor; +extern const ProtobufCMessageDescriptor wa__localized_name__descriptor; +extern const ProtobufCMessageDescriptor wa__location__descriptor; +extern const ProtobufCMessageDescriptor wa__media_data__descriptor; +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_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; +extern const ProtobufCMessageDescriptor wa__message__buttons_message__button__button_text__descriptor; +extern const ProtobufCMessageDescriptor wa__message__buttons_message__button__native_flow_info__descriptor; +extern const ProtobufCEnumDescriptor wa__message__buttons_message__button__type__descriptor; +extern const ProtobufCEnumDescriptor wa__message__buttons_message__header_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__buttons_response_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__buttons_response_message__type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__call__descriptor; +extern const ProtobufCMessageDescriptor wa__message__cancel_payment_request_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__chat__descriptor; +extern const ProtobufCMessageDescriptor wa__message__contact_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__contacts_array_message__descriptor; +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__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; +extern const ProtobufCEnumDescriptor wa__message__extended_text_message__preview_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__future_proof_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__group_invite_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__group_invite_message__group_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor; +extern const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__descriptor; +extern const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor; +extern const ProtobufCMessageDescriptor wa__message__history_sync_notification__descriptor; +extern const ProtobufCEnumDescriptor wa__message__history_sync_notification__history_sync_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__image_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__initial_security_notification_setting_sync__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__body__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__collection_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__footer__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__header__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__descriptor; +extern const ProtobufCMessageDescriptor wa__message__interactive_message__shop_message__descriptor; +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 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_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; +extern const ProtobufCMessageDescriptor wa__message__list_response_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__list_response_message__single_select_reply__descriptor; +extern const ProtobufCEnumDescriptor wa__message__list_response_message__list_type__descriptor; +extern const ProtobufCMessageDescriptor wa__message__live_location_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__location_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__order_message__descriptor; +extern const ProtobufCEnumDescriptor wa__message__order_message__order_status__descriptor; +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__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_vote_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__product_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__product_message__catalog_snapshot__descriptor; +extern const ProtobufCMessageDescriptor wa__message__product_message__product_snapshot__descriptor; +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__send_payment_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__sender_key_distribution_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__sticker_sync_rmrmessage__descriptor; +extern const ProtobufCMessageDescriptor wa__message__template_button_reply_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__template_message__descriptor; +extern const ProtobufCMessageDescriptor wa__message__template_message__four_row_template__descriptor; +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 ProtobufCMessageDescriptor wa__message_context_info__descriptor; +extern const ProtobufCMessageDescriptor wa__message_key__descriptor; +extern const ProtobufCMessageDescriptor wa__money__descriptor; +extern const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor; +extern const ProtobufCMessageDescriptor wa__msg_opaque_data__poll_option__descriptor; +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__past_participant__descriptor; +extern const ProtobufCEnumDescriptor wa__past_participant__leave_reason__descriptor; +extern const ProtobufCMessageDescriptor wa__past_participants__descriptor; +extern const ProtobufCMessageDescriptor wa__payment_background__descriptor; +extern const ProtobufCMessageDescriptor wa__payment_background__media_data__descriptor; +extern const ProtobufCEnumDescriptor wa__payment_background__type__descriptor; +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__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__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_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__server_error_receipt__descriptor; +extern const ProtobufCMessageDescriptor wa__session_structure__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; +extern const ProtobufCMessageDescriptor wa__sync_action_data__descriptor; +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__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__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__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__primary_feature__descriptor; +extern const ProtobufCMessageDescriptor wa__sync_action_value__primary_version_action__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__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__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; +extern const ProtobufCMessageDescriptor wa__syncd_index__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_mutation__descriptor; +extern const ProtobufCEnumDescriptor wa__syncd_mutation__syncd_operation__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_mutations__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_patch__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_record__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_snapshot__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_value__descriptor; +extern const ProtobufCMessageDescriptor wa__syncd_version__descriptor; +extern const ProtobufCMessageDescriptor wa__template_button__descriptor; +extern const ProtobufCMessageDescriptor wa__template_button__call_button__descriptor; +extern const ProtobufCMessageDescriptor wa__template_button__quick_reply_button__descriptor; +extern const ProtobufCMessageDescriptor wa__template_button__urlbutton__descriptor; +extern const ProtobufCMessageDescriptor wa__user_receipt__descriptor; +extern const ProtobufCMessageDescriptor wa__verified_name_certificate__descriptor; +extern const ProtobufCMessageDescriptor wa__verified_name_certificate__details__descriptor; +extern const ProtobufCMessageDescriptor wa__wallpaper_settings__descriptor; +extern const ProtobufCMessageDescriptor wa__web_features__descriptor; +extern const ProtobufCEnumDescriptor wa__web_features__flag__descriptor; +extern const ProtobufCMessageDescriptor wa__web_message_info__descriptor; +extern const ProtobufCEnumDescriptor wa__web_message_info__biz_privacy_status__descriptor; +extern const ProtobufCEnumDescriptor wa__web_message_info__status__descriptor; +extern const ProtobufCEnumDescriptor wa__web_message_info__stub_type__descriptor; +extern const ProtobufCMessageDescriptor wa__web_notifications_info__descriptor; + /* --- messages --- */ -struct Wa__ADVDeviceIdentity : public ProtobufCMessage +extern "C" void message_init_generic(const ProtobufCMessageDescriptor * desc, ProtobufCMessage * message); + +struct ProtobufCppMessage : public ProtobufCMessage { - protobuf_c_boolean has_rawid; - uint32_t rawid; - protobuf_c_boolean has_timestamp; - uint64_t timestamp; - protobuf_c_boolean has_keyindex; - uint32_t keyindex; + ProtobufCppMessage(const ProtobufCMessageDescriptor &descr) + { + message_init_generic(&descr, this); + } }; -#define WA__ADVDEVICE_IDENTITY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__advdevice_identity__descriptor) \ - , 0, 0, 0, 0, 0, 0 } - -struct Wa__ADVKeyIndexList : public ProtobufCMessage +struct Wa__ADVDeviceIdentity : public ProtobufCppMessage { - protobuf_c_boolean has_rawid; - uint32_t rawid; - protobuf_c_boolean has_timestamp; - uint64_t timestamp; - protobuf_c_boolean has_currentindex; - uint32_t currentindex; - size_t n_validindexes; - uint32_t *validindexes; -}; -#define WA__ADVKEY_INDEX_LIST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__advkey_index_list__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0,NULL } + Wa__ADVDeviceIdentity() : + ProtobufCppMessage(wa__advdevice_identity__descriptor) + {} + protobuf_c_boolean has_rawid; + uint32_t rawid; + protobuf_c_boolean has_timestamp; + uint64_t timestamp; + protobuf_c_boolean has_keyindex; + uint32_t keyindex; +}; -struct Wa__ADVSignedDeviceIdentity : public ProtobufCMessage +struct Wa__ADVKeyIndexList : public ProtobufCppMessage { - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_accountsignaturekey; - ProtobufCBinaryData accountsignaturekey; - protobuf_c_boolean has_accountsignature; - ProtobufCBinaryData accountsignature; - protobuf_c_boolean has_devicesignature; - ProtobufCBinaryData devicesignature; -}; -#define WA__ADVSIGNED_DEVICE_IDENTITY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__advsigned_device_identity__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } + Wa__ADVKeyIndexList() : + ProtobufCppMessage(wa__advkey_index_list__descriptor) + {} + protobuf_c_boolean has_rawid; + uint32_t rawid; + protobuf_c_boolean has_timestamp; + uint64_t timestamp; + protobuf_c_boolean has_currentindex; + uint32_t currentindex; + size_t n_validindexes; + uint32_t *validindexes; +}; -struct Wa__ADVSignedDeviceIdentityHMAC : public ProtobufCMessage +struct Wa__ADVSignedDeviceIdentity : public ProtobufCppMessage { - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_hmac; - ProtobufCBinaryData hmac; -}; -#define WA__ADVSIGNED_DEVICE_IDENTITY_HMAC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__advsigned_device_identity_hmac__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__ADVSignedDeviceIdentity() : + ProtobufCppMessage(wa__advsigned_device_identity__descriptor) + {} + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_accountsignaturekey; + ProtobufCBinaryData accountsignaturekey; + protobuf_c_boolean has_accountsignature; + ProtobufCBinaryData accountsignature; + protobuf_c_boolean has_devicesignature; + ProtobufCBinaryData devicesignature; +}; -struct Wa__ADVSignedKeyIndexList : public ProtobufCMessage +struct Wa__ADVSignedDeviceIdentityHMAC : public ProtobufCppMessage { - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_accountsignature; - ProtobufCBinaryData accountsignature; -}; -#define WA__ADVSIGNED_KEY_INDEX_LIST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__advsigned_key_index_list__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__ADVSignedDeviceIdentityHMAC() : + ProtobufCppMessage(wa__advsigned_device_identity_hmac__descriptor) + {} + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_hmac; + ProtobufCBinaryData hmac; +}; -struct Wa__ActionLink : public ProtobufCMessage +struct Wa__ADVSignedKeyIndexList : public ProtobufCppMessage { - char *url; - char *buttontitle; -}; -#define WA__ACTION_LINK__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__action_link__descriptor) \ - , NULL, NULL } + Wa__ADVSignedKeyIndexList() : + ProtobufCppMessage(wa__advsigned_key_index_list__descriptor) + {} + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_accountsignature; + ProtobufCBinaryData accountsignature; +}; -struct Wa__AutoDownloadSettings : public ProtobufCMessage +struct Wa__ActionLink : public ProtobufCppMessage { - protobuf_c_boolean has_downloadimages; - protobuf_c_boolean downloadimages; - protobuf_c_boolean has_downloadaudio; - protobuf_c_boolean downloadaudio; - protobuf_c_boolean has_downloadvideo; - protobuf_c_boolean downloadvideo; - protobuf_c_boolean has_downloaddocuments; - protobuf_c_boolean downloaddocuments; -}; -#define WA__AUTO_DOWNLOAD_SETTINGS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__auto_download_settings__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0 } + Wa__ActionLink() : + ProtobufCppMessage(wa__action_link__descriptor) + {} + char *url; + char *buttontitle; +}; -struct Wa__BizAccountLinkInfo : public ProtobufCMessage +struct Wa__AutoDownloadSettings : public ProtobufCppMessage { - protobuf_c_boolean has_whatsappbizacctfbid; - uint64_t whatsappbizacctfbid; - char *whatsappacctnumber; - protobuf_c_boolean has_issuetime; - uint64_t issuetime; - protobuf_c_boolean has_hoststorage; - Wa__BizAccountLinkInfo__HostStorageType hoststorage; - protobuf_c_boolean has_accounttype; - Wa__BizAccountLinkInfo__AccountType accounttype; -}; -#define WA__BIZ_ACCOUNT_LINK_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__biz_account_link_info__descriptor) \ - , 0, 0, NULL, 0, 0, 0, WA__BIZ_ACCOUNT_LINK_INFO__HOST_STORAGE_TYPE__ON_PREMISE, 0, WA__BIZ_ACCOUNT_LINK_INFO__ACCOUNT_TYPE__ENTERPRISE } + Wa__AutoDownloadSettings() : + ProtobufCppMessage(wa__auto_download_settings__descriptor) + {} + protobuf_c_boolean has_downloadimages; + protobuf_c_boolean downloadimages; + protobuf_c_boolean has_downloadaudio; + protobuf_c_boolean downloadaudio; + protobuf_c_boolean has_downloadvideo; + protobuf_c_boolean downloadvideo; + protobuf_c_boolean has_downloaddocuments; + protobuf_c_boolean downloaddocuments; +}; -struct Wa__BizAccountPayload : public ProtobufCMessage +struct Wa__BizAccountLinkInfo : public ProtobufCppMessage { - Wa__VerifiedNameCertificate *vnamecert; - protobuf_c_boolean has_bizacctlinkinfo; - ProtobufCBinaryData bizacctlinkinfo; -}; -#define WA__BIZ_ACCOUNT_PAYLOAD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__biz_account_payload__descriptor) \ - , NULL, 0, {0,NULL} } + Wa__BizAccountLinkInfo() : + ProtobufCppMessage(wa__biz_account_link_info__descriptor) + {} + protobuf_c_boolean has_whatsappbizacctfbid; + uint64_t whatsappbizacctfbid; + char *whatsappacctnumber; + protobuf_c_boolean has_issuetime; + uint64_t issuetime; + protobuf_c_boolean has_hoststorage; + Wa__BizAccountLinkInfo__HostStorageType hoststorage; + protobuf_c_boolean has_accounttype; + Wa__BizAccountLinkInfo__AccountType accounttype; +}; -struct Wa__BizIdentityInfo : public ProtobufCMessage +struct Wa__BizAccountPayload : public ProtobufCppMessage { - protobuf_c_boolean has_vlevel; - Wa__BizIdentityInfo__VerifiedLevelValue vlevel; - Wa__VerifiedNameCertificate *vnamecert; - protobuf_c_boolean has_signed_; - protobuf_c_boolean signed_; - protobuf_c_boolean has_revoked; - protobuf_c_boolean revoked; - protobuf_c_boolean has_hoststorage; - Wa__BizIdentityInfo__HostStorageType hoststorage; - protobuf_c_boolean has_actualactors; - Wa__BizIdentityInfo__ActualActorsType actualactors; - protobuf_c_boolean has_privacymodets; - uint64_t privacymodets; - protobuf_c_boolean has_featurecontrols; - uint64_t featurecontrols; -}; -#define WA__BIZ_IDENTITY_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__biz_identity_info__descriptor) \ - , 0, WA__BIZ_IDENTITY_INFO__VERIFIED_LEVEL_VALUE__UNKNOWN, NULL, 0, 0, 0, 0, 0, WA__BIZ_IDENTITY_INFO__HOST_STORAGE_TYPE__ON_PREMISE, 0, WA__BIZ_IDENTITY_INFO__ACTUAL_ACTORS_TYPE__SELF, 0, 0, 0, 0 } + Wa__BizAccountPayload() : + ProtobufCppMessage(wa__biz_account_payload__descriptor) + {} + Wa__VerifiedNameCertificate *vnamecert; + protobuf_c_boolean has_bizacctlinkinfo; + ProtobufCBinaryData bizacctlinkinfo; +}; -struct Wa__CertChain__NoiseCertificate__Details : public ProtobufCMessage +struct Wa__BizIdentityInfo : public ProtobufCppMessage { - protobuf_c_boolean has_serial; - uint32_t serial; - protobuf_c_boolean has_issuerserial; - uint32_t issuerserial; - protobuf_c_boolean has_key; - ProtobufCBinaryData key; - protobuf_c_boolean has_notbefore; - uint64_t notbefore; - protobuf_c_boolean has_notafter; - uint64_t notafter; -}; -#define WA__CERT_CHAIN__NOISE_CERTIFICATE__DETAILS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__cert_chain__noise_certificate__details__descriptor) \ - , 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, 0 } + Wa__BizIdentityInfo() : + ProtobufCppMessage(wa__biz_identity_info__descriptor) + {} + protobuf_c_boolean has_vlevel; + Wa__BizIdentityInfo__VerifiedLevelValue vlevel; + Wa__VerifiedNameCertificate *vnamecert; + protobuf_c_boolean has_signed_; + protobuf_c_boolean signed_; + protobuf_c_boolean has_revoked; + protobuf_c_boolean revoked; + protobuf_c_boolean has_hoststorage; + Wa__BizIdentityInfo__HostStorageType hoststorage; + protobuf_c_boolean has_actualactors; + Wa__BizIdentityInfo__ActualActorsType actualactors; + protobuf_c_boolean has_privacymodets; + uint64_t privacymodets; + protobuf_c_boolean has_featurecontrols; + uint64_t featurecontrols; +}; -struct Wa__CertChain__NoiseCertificate : public ProtobufCMessage +struct Wa__CertChain__NoiseCertificate__Details : public ProtobufCppMessage { - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; -}; -#define WA__CERT_CHAIN__NOISE_CERTIFICATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__cert_chain__noise_certificate__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__CertChain__NoiseCertificate__Details() : + ProtobufCppMessage(wa__cert_chain__noise_certificate__details__descriptor) + {} + protobuf_c_boolean has_serial; + uint32_t serial; + protobuf_c_boolean has_issuerserial; + uint32_t issuerserial; + protobuf_c_boolean has_key; + ProtobufCBinaryData key; + protobuf_c_boolean has_notbefore; + uint64_t notbefore; + protobuf_c_boolean has_notafter; + uint64_t notafter; +}; -struct Wa__CertChain : public ProtobufCMessage +struct Wa__CertChain__NoiseCertificate : public ProtobufCppMessage { - Wa__CertChain__NoiseCertificate *leaf; - Wa__CertChain__NoiseCertificate *intermediate; -}; -#define WA__CERT_CHAIN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__cert_chain__descriptor) \ - , NULL, NULL } - - -struct Wa__Chain : public ProtobufCMessage -{ - protobuf_c_boolean has_senderratchetkey; - ProtobufCBinaryData senderratchetkey; - protobuf_c_boolean has_senderratchetkeyprivate; - ProtobufCBinaryData senderratchetkeyprivate; - Wa__ChainKey *chainkey; - size_t n_messagekeys; - Wa__MessageKey **messagekeys; -}; -#define WA__CHAIN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__chain__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, NULL, 0,NULL } - - -struct Wa__ChainKey : public ProtobufCMessage -{ - protobuf_c_boolean has_index; - uint32_t index; - protobuf_c_boolean has_key; - ProtobufCBinaryData key; -}; -#define WA__CHAIN_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__chain_key__descriptor) \ - , 0, 0, 0, {0,NULL} } - - -struct Wa__ClientPayload__DNSSource : public ProtobufCMessage -{ - protobuf_c_boolean has_dnsmethod; - Wa__ClientPayload__DNSSource__DNSResolutionMethod dnsmethod; - protobuf_c_boolean has_appcached; - protobuf_c_boolean appcached; -}; -#define WA__CLIENT_PAYLOAD__DNSSOURCE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__dnssource__descriptor) \ - , 0, WA__CLIENT_PAYLOAD__DNSSOURCE__DNSRESOLUTION_METHOD__SYSTEM, 0, 0 } - - -struct Wa__ClientPayload__DevicePairingRegistrationData : public ProtobufCMessage -{ - protobuf_c_boolean has_eregid; - ProtobufCBinaryData eregid; - protobuf_c_boolean has_ekeytype; - ProtobufCBinaryData ekeytype; - protobuf_c_boolean has_eident; - ProtobufCBinaryData eident; - protobuf_c_boolean has_eskeyid; - ProtobufCBinaryData eskeyid; - protobuf_c_boolean has_eskeyval; - ProtobufCBinaryData eskeyval; - protobuf_c_boolean has_eskeysig; - ProtobufCBinaryData eskeysig; - protobuf_c_boolean has_buildhash; - ProtobufCBinaryData buildhash; - protobuf_c_boolean has_deviceprops; - ProtobufCBinaryData deviceprops; -}; -#define WA__CLIENT_PAYLOAD__DEVICE_PAIRING_REGISTRATION_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__device_pairing_registration_data__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } - - -struct Wa__ClientPayload__UserAgent__AppVersion : public ProtobufCMessage -{ - protobuf_c_boolean has_primary; - uint32_t primary; - protobuf_c_boolean has_secondary; - uint32_t secondary; - protobuf_c_boolean has_tertiary; - uint32_t tertiary; - protobuf_c_boolean has_quaternary; - uint32_t quaternary; - protobuf_c_boolean has_quinary; - uint32_t quinary; -}; -#define WA__CLIENT_PAYLOAD__USER_AGENT__APP_VERSION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__user_agent__app_version__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -struct Wa__ClientPayload__UserAgent : public ProtobufCMessage -{ - protobuf_c_boolean has_platform; - Wa__ClientPayload__UserAgent__Platform platform; - Wa__ClientPayload__UserAgent__AppVersion *appversion; - char *mcc; - char *mnc; - char *osversion; - char *manufacturer; - char *device; - char *osbuildnumber; - char *phoneid; - protobuf_c_boolean has_releasechannel; - Wa__ClientPayload__UserAgent__ReleaseChannel releasechannel; - char *localelanguageiso6391; - char *localecountryiso31661alpha2; - char *deviceboard; -}; -#define WA__CLIENT_PAYLOAD__USER_AGENT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__user_agent__descriptor) \ - , 0, WA__CLIENT_PAYLOAD__USER_AGENT__PLATFORM__ANDROID, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, WA__CLIENT_PAYLOAD__USER_AGENT__RELEASE_CHANNEL__RELEASE, NULL, NULL, NULL } - - -struct Wa__ClientPayload__WebInfo__WebdPayload : public ProtobufCMessage -{ - protobuf_c_boolean has_usesparticipantinkey; - protobuf_c_boolean usesparticipantinkey; - protobuf_c_boolean has_supportsstarredmessages; - protobuf_c_boolean supportsstarredmessages; - protobuf_c_boolean has_supportsdocumentmessages; - protobuf_c_boolean supportsdocumentmessages; - protobuf_c_boolean has_supportsurlmessages; - protobuf_c_boolean supportsurlmessages; - protobuf_c_boolean has_supportsmediaretry; - protobuf_c_boolean supportsmediaretry; - protobuf_c_boolean has_supportse2eimage; - protobuf_c_boolean supportse2eimage; - protobuf_c_boolean has_supportse2evideo; - protobuf_c_boolean supportse2evideo; - protobuf_c_boolean has_supportse2eaudio; - protobuf_c_boolean supportse2eaudio; - protobuf_c_boolean has_supportse2edocument; - protobuf_c_boolean supportse2edocument; - char *documenttypes; - protobuf_c_boolean has_features; - ProtobufCBinaryData features; -}; -#define WA__CLIENT_PAYLOAD__WEB_INFO__WEBD_PAYLOAD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__web_info__webd_payload__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL} } - - -struct Wa__ClientPayload__WebInfo : public ProtobufCMessage -{ - char *reftoken; - char *version; - Wa__ClientPayload__WebInfo__WebdPayload *webdpayload; - protobuf_c_boolean has_websubplatform; - Wa__ClientPayload__WebInfo__WebSubPlatform websubplatform; -}; -#define WA__CLIENT_PAYLOAD__WEB_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__web_info__descriptor) \ - , NULL, NULL, NULL, 0, WA__CLIENT_PAYLOAD__WEB_INFO__WEB_SUB_PLATFORM__WEB_BROWSER } - - -struct Wa__ClientPayload : public ProtobufCMessage -{ - protobuf_c_boolean has_username; - uint64_t username; - protobuf_c_boolean has_passive; - protobuf_c_boolean passive; - Wa__ClientPayload__UserAgent *useragent; - Wa__ClientPayload__WebInfo *webinfo; - char *pushname; - protobuf_c_boolean has_sessionid; - int32_t sessionid; - protobuf_c_boolean has_shortconnect; - protobuf_c_boolean shortconnect; - protobuf_c_boolean has_connecttype; - Wa__ClientPayload__ConnectType connecttype; - protobuf_c_boolean has_connectreason; - Wa__ClientPayload__ConnectReason connectreason; - size_t n_shards; - int32_t *shards; - Wa__ClientPayload__DNSSource *dnssource; - protobuf_c_boolean has_connectattemptcount; - uint32_t connectattemptcount; - protobuf_c_boolean has_device; - uint32_t device; - Wa__ClientPayload__DevicePairingRegistrationData *devicepairingdata; - protobuf_c_boolean has_product; - Wa__ClientPayload__Product product; - protobuf_c_boolean has_fbcat; - ProtobufCBinaryData fbcat; - protobuf_c_boolean has_fbuseragent; - ProtobufCBinaryData fbuseragent; - protobuf_c_boolean has_oc; - protobuf_c_boolean oc; - protobuf_c_boolean has_lc; - int32_t lc; - protobuf_c_boolean has_iosappextension; - Wa__ClientPayload__IOSAppExtension iosappextension; - protobuf_c_boolean has_fbappid; - uint64_t fbappid; - protobuf_c_boolean has_fbdeviceid; - ProtobufCBinaryData fbdeviceid; - protobuf_c_boolean has_pull; - protobuf_c_boolean pull; - protobuf_c_boolean has_paddingbytes; - ProtobufCBinaryData paddingbytes; -}; -#define WA__CLIENT_PAYLOAD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__client_payload__descriptor) \ - , 0, 0, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, WA__CLIENT_PAYLOAD__CONNECT_TYPE__CELLULAR_UNKNOWN, 0, WA__CLIENT_PAYLOAD__CONNECT_REASON__PUSH, 0,NULL, NULL, 0, 0, 0, 0, NULL, 0, WA__CLIENT_PAYLOAD__PRODUCT__WHATSAPP, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, WA__CLIENT_PAYLOAD__IOSAPP_EXTENSION__SHARE_EXTENSION, 0, 0, 0, {0,NULL}, 0, 0, 0, {0,NULL} } - - -struct Wa__ContextInfo__AdReplyInfo : public ProtobufCMessage -{ - char *advertisername; - protobuf_c_boolean has_mediatype; - Wa__ContextInfo__AdReplyInfo__MediaType mediatype; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - char *caption; -}; -#define WA__CONTEXT_INFO__AD_REPLY_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__context_info__ad_reply_info__descriptor) \ - , NULL, 0, WA__CONTEXT_INFO__AD_REPLY_INFO__MEDIA_TYPE__NONE, 0, {0,NULL}, NULL } - - -struct Wa__ContextInfo__ExternalAdReplyInfo : public ProtobufCMessage -{ - char *title; - char *body; - protobuf_c_boolean has_mediatype; - Wa__ContextInfo__ExternalAdReplyInfo__MediaType mediatype; - char *thumbnailurl; - char *mediaurl; - protobuf_c_boolean has_thumbnail; - ProtobufCBinaryData thumbnail; - char *sourcetype; - char *sourceid; - char *sourceurl; - protobuf_c_boolean has_containsautoreply; - protobuf_c_boolean containsautoreply; - protobuf_c_boolean has_renderlargerthumbnail; - protobuf_c_boolean renderlargerthumbnail; - protobuf_c_boolean has_showadattribution; - protobuf_c_boolean showadattribution; -}; -#define WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__context_info__external_ad_reply_info__descriptor) \ - , NULL, NULL, 0, WA__CONTEXT_INFO__EXTERNAL_AD_REPLY_INFO__MEDIA_TYPE__NONE, NULL, NULL, 0, {0,NULL}, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0 } - - -struct Wa__ContextInfo : public ProtobufCMessage -{ - char *stanzaid; - char *participant; - Wa__Message *quotedmessage; - char *remotejid; - size_t n_mentionedjid; - char **mentionedjid; - char *conversionsource; - protobuf_c_boolean has_conversiondata; - ProtobufCBinaryData conversiondata; - protobuf_c_boolean has_conversiondelayseconds; - uint32_t conversiondelayseconds; - protobuf_c_boolean has_forwardingscore; - uint32_t forwardingscore; - protobuf_c_boolean has_isforwarded; - protobuf_c_boolean isforwarded; - Wa__ContextInfo__AdReplyInfo *quotedad; - Wa__MessageKey *placeholderkey; - protobuf_c_boolean has_expiration; - uint32_t expiration; - protobuf_c_boolean has_ephemeralsettingtimestamp; - int64_t ephemeralsettingtimestamp; - protobuf_c_boolean has_ephemeralsharedsecret; - ProtobufCBinaryData ephemeralsharedsecret; - Wa__ContextInfo__ExternalAdReplyInfo *externaladreply; - char *entrypointconversionsource; - char *entrypointconversionapp; - protobuf_c_boolean has_entrypointconversiondelayseconds; - uint32_t entrypointconversiondelayseconds; - Wa__DisappearingMode *disappearingmode; - Wa__ActionLink *actionlink; - char *groupsubject; - char *parentgroupjid; -}; -#define WA__CONTEXT_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__context_info__descriptor) \ - , NULL, NULL, NULL, NULL, 0,NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, {0,NULL}, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL } - - -struct Wa__Conversation : public ProtobufCMessage -{ - char *id; - size_t n_messages; - Wa__HistorySyncMsg **messages; - char *newjid; - char *oldjid; - protobuf_c_boolean has_lastmsgtimestamp; - uint64_t lastmsgtimestamp; - protobuf_c_boolean has_unreadcount; - uint32_t unreadcount; - protobuf_c_boolean has_readonly; - protobuf_c_boolean readonly; - protobuf_c_boolean has_endofhistorytransfer; - protobuf_c_boolean endofhistorytransfer; - protobuf_c_boolean has_ephemeralexpiration; - uint32_t ephemeralexpiration; - protobuf_c_boolean has_ephemeralsettingtimestamp; - int64_t ephemeralsettingtimestamp; - protobuf_c_boolean has_endofhistorytransfertype; - Wa__Conversation__EndOfHistoryTransferType endofhistorytransfertype; - protobuf_c_boolean has_conversationtimestamp; - uint64_t conversationtimestamp; - char *name; - char *phash; - protobuf_c_boolean has_notspam; - protobuf_c_boolean notspam; - protobuf_c_boolean has_archived; - protobuf_c_boolean archived; - Wa__DisappearingMode *disappearingmode; - protobuf_c_boolean has_unreadmentioncount; - uint32_t unreadmentioncount; - protobuf_c_boolean has_markedasunread; - protobuf_c_boolean markedasunread; - size_t n_participant; - Wa__GroupParticipant **participant; - protobuf_c_boolean has_tctoken; - ProtobufCBinaryData tctoken; - protobuf_c_boolean has_tctokentimestamp; - uint64_t tctokentimestamp; - protobuf_c_boolean has_contactprimaryidentitykey; - ProtobufCBinaryData contactprimaryidentitykey; - protobuf_c_boolean has_pinned; - uint32_t pinned; - protobuf_c_boolean has_muteendtime; - uint64_t muteendtime; - Wa__WallpaperSettings *wallpaper; - protobuf_c_boolean has_mediavisibility; - Wa__MediaVisibility mediavisibility; - protobuf_c_boolean has_tctokensendertimestamp; - uint64_t tctokensendertimestamp; - protobuf_c_boolean has_suspended; - protobuf_c_boolean suspended; - protobuf_c_boolean has_terminated; - protobuf_c_boolean terminated; - protobuf_c_boolean has_createdat; - uint64_t createdat; - char *createdby; - char *description; - protobuf_c_boolean has_support; - protobuf_c_boolean support; - protobuf_c_boolean has_isparentgroup; - protobuf_c_boolean isparentgroup; - protobuf_c_boolean has_isdefaultsubgroup; - protobuf_c_boolean isdefaultsubgroup; - char *parentgroupid; - char *displayname; - char *pnjid; - protobuf_c_boolean has_selfpnexposed; - protobuf_c_boolean selfpnexposed; -}; -#define WA__CONVERSATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__conversation__descriptor) \ - , NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__CONVERSATION__END_OF_HISTORY_TRANSFER_TYPE__COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY, 0, 0, NULL, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0,NULL, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, 0, 0, 0, NULL, 0, WA__MEDIA_VISIBILITY__DEFAULT, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 0, 0 } - - -struct Wa__DeviceListMetadata : public ProtobufCMessage -{ - protobuf_c_boolean has_senderkeyhash; - ProtobufCBinaryData senderkeyhash; - protobuf_c_boolean has_sendertimestamp; - uint64_t sendertimestamp; - size_t n_senderkeyindexes; - uint32_t *senderkeyindexes; - protobuf_c_boolean has_recipientkeyhash; - ProtobufCBinaryData recipientkeyhash; - protobuf_c_boolean has_recipienttimestamp; - uint64_t recipienttimestamp; - size_t n_recipientkeyindexes; - uint32_t *recipientkeyindexes; -}; -#define WA__DEVICE_LIST_METADATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__device_list_metadata__descriptor) \ - , 0, {0,NULL}, 0, 0, 0,NULL, 0, {0,NULL}, 0, 0, 0,NULL } - - -struct Wa__DeviceProps__AppVersion : public ProtobufCMessage -{ - protobuf_c_boolean has_primary; - uint32_t primary; - protobuf_c_boolean has_secondary; - uint32_t secondary; - protobuf_c_boolean has_tertiary; - uint32_t tertiary; - protobuf_c_boolean has_quaternary; - uint32_t quaternary; - protobuf_c_boolean has_quinary; - uint32_t quinary; -}; -#define WA__DEVICE_PROPS__APP_VERSION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__device_props__app_version__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -struct Wa__DeviceProps : public ProtobufCMessage -{ - char *os; - Wa__DeviceProps__AppVersion *version; - protobuf_c_boolean has_platformtype; - Wa__DeviceProps__PlatformType platformtype; - protobuf_c_boolean has_requirefullsync; - protobuf_c_boolean requirefullsync; -}; -#define WA__DEVICE_PROPS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__device_props__descriptor) \ - , NULL, NULL, 0, WA__DEVICE_PROPS__PLATFORM_TYPE__UNKNOWN, 0, 0 } - - -struct Wa__DisappearingMode : public ProtobufCMessage -{ - protobuf_c_boolean has_initiator; - Wa__DisappearingMode__Initiator initiator; -}; -#define WA__DISAPPEARING_MODE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__disappearing_mode__descriptor) \ - , 0, WA__DISAPPEARING_MODE__INITIATOR__CHANGED_IN_CHAT } - - -struct Wa__EphemeralSetting : public ProtobufCMessage -{ - protobuf_c_boolean has_duration; - int32_t duration; - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; -#define WA__EPHEMERAL_SETTING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__ephemeral_setting__descriptor) \ - , 0, 0, 0, 0 } - - -struct Wa__ExitCode : public ProtobufCMessage -{ - protobuf_c_boolean has_code; - uint64_t code; - char *text; -}; -#define WA__EXIT_CODE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__exit_code__descriptor) \ - , 0, 0, NULL } + Wa__CertChain__NoiseCertificate() : + ProtobufCppMessage(wa__cert_chain__noise_certificate__descriptor) + {} + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; +}; -struct Wa__ExternalBlobReference : public ProtobufCMessage +struct Wa__CertChain : public ProtobufCppMessage { - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *directpath; - char *handle; - protobuf_c_boolean has_filesizebytes; - uint64_t filesizebytes; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; -}; -#define WA__EXTERNAL_BLOB_REFERENCE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__external_blob_reference__descriptor) \ - , 0, {0,NULL}, NULL, NULL, 0, 0, 0, {0,NULL}, 0, {0,NULL} } + Wa__CertChain() : + ProtobufCppMessage(wa__cert_chain__descriptor) + {} + + Wa__CertChain__NoiseCertificate *leaf; + 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() : + ProtobufCppMessage(wa__client_payload__dnssource__descriptor) + {} + + protobuf_c_boolean has_dnsmethod; + Wa__ClientPayload__DNSSource__DNSResolutionMethod dnsmethod; + protobuf_c_boolean has_appcached; + protobuf_c_boolean appcached; +}; + +struct Wa__ClientPayload__DevicePairingRegistrationData : public ProtobufCppMessage +{ + Wa__ClientPayload__DevicePairingRegistrationData() : + ProtobufCppMessage(wa__client_payload__device_pairing_registration_data__descriptor) + {} + + protobuf_c_boolean has_eregid; + ProtobufCBinaryData eregid; + protobuf_c_boolean has_ekeytype; + ProtobufCBinaryData ekeytype; + protobuf_c_boolean has_eident; + ProtobufCBinaryData eident; + protobuf_c_boolean has_eskeyid; + ProtobufCBinaryData eskeyid; + protobuf_c_boolean has_eskeyval; + ProtobufCBinaryData eskeyval; + protobuf_c_boolean has_eskeysig; + ProtobufCBinaryData eskeysig; + protobuf_c_boolean has_buildhash; + ProtobufCBinaryData buildhash; + protobuf_c_boolean has_deviceprops; + ProtobufCBinaryData deviceprops; +}; + +struct Wa__ClientPayload__UserAgent__AppVersion : public ProtobufCppMessage +{ + Wa__ClientPayload__UserAgent__AppVersion() : + ProtobufCppMessage(wa__client_payload__user_agent__app_version__descriptor) + {} + + protobuf_c_boolean has_primary; + uint32_t primary; + protobuf_c_boolean has_secondary; + uint32_t secondary; + protobuf_c_boolean has_tertiary; + uint32_t tertiary; + protobuf_c_boolean has_quaternary; + uint32_t quaternary; + protobuf_c_boolean has_quinary; + uint32_t quinary; +}; + +struct Wa__ClientPayload__UserAgent : public ProtobufCppMessage +{ + Wa__ClientPayload__UserAgent() : + ProtobufCppMessage(wa__client_payload__user_agent__descriptor) + {} + + protobuf_c_boolean has_platform; + Wa__ClientPayload__UserAgent__Platform platform; + Wa__ClientPayload__UserAgent__AppVersion *appversion; + char *mcc; + char *mnc; + char *osversion; + char *manufacturer; + char *device; + char *osbuildnumber; + char *phoneid; + protobuf_c_boolean has_releasechannel; + Wa__ClientPayload__UserAgent__ReleaseChannel releasechannel; + char *localelanguageiso6391; + char *localecountryiso31661alpha2; + char *deviceboard; +}; + +struct Wa__ClientPayload__WebInfo__WebdPayload : public ProtobufCppMessage +{ + Wa__ClientPayload__WebInfo__WebdPayload() : + ProtobufCppMessage(wa__client_payload__web_info__webd_payload__descriptor) + {} + + protobuf_c_boolean has_usesparticipantinkey; + protobuf_c_boolean usesparticipantinkey; + protobuf_c_boolean has_supportsstarredmessages; + protobuf_c_boolean supportsstarredmessages; + protobuf_c_boolean has_supportsdocumentmessages; + protobuf_c_boolean supportsdocumentmessages; + protobuf_c_boolean has_supportsurlmessages; + protobuf_c_boolean supportsurlmessages; + protobuf_c_boolean has_supportsmediaretry; + protobuf_c_boolean supportsmediaretry; + protobuf_c_boolean has_supportse2eimage; + protobuf_c_boolean supportse2eimage; + protobuf_c_boolean has_supportse2evideo; + protobuf_c_boolean supportse2evideo; + protobuf_c_boolean has_supportse2eaudio; + protobuf_c_boolean supportse2eaudio; + protobuf_c_boolean has_supportse2edocument; + protobuf_c_boolean supportse2edocument; + char *documenttypes; + protobuf_c_boolean has_features; + ProtobufCBinaryData features; +}; + +struct Wa__ClientPayload__WebInfo : public ProtobufCppMessage +{ + Wa__ClientPayload__WebInfo() : + ProtobufCppMessage(wa__client_payload__web_info__descriptor) + {} + + char *reftoken; + char *version; + Wa__ClientPayload__WebInfo__WebdPayload *webdpayload; + protobuf_c_boolean has_websubplatform; + Wa__ClientPayload__WebInfo__WebSubPlatform websubplatform; +}; + +struct Wa__ClientPayload : public ProtobufCppMessage +{ + Wa__ClientPayload() : + ProtobufCppMessage(wa__client_payload__descriptor) + {} + + protobuf_c_boolean has_username; + uint64_t username; + protobuf_c_boolean has_passive; + protobuf_c_boolean passive; + Wa__ClientPayload__UserAgent *useragent; + Wa__ClientPayload__WebInfo *webinfo; + char *pushname; + protobuf_c_boolean has_sessionid; + int32_t sessionid; + protobuf_c_boolean has_shortconnect; + protobuf_c_boolean shortconnect; + protobuf_c_boolean has_connecttype; + Wa__ClientPayload__ConnectType connecttype; + protobuf_c_boolean has_connectreason; + Wa__ClientPayload__ConnectReason connectreason; + size_t n_shards; + int32_t *shards; + Wa__ClientPayload__DNSSource *dnssource; + protobuf_c_boolean has_connectattemptcount; + uint32_t connectattemptcount; + protobuf_c_boolean has_device; + uint32_t device; + Wa__ClientPayload__DevicePairingRegistrationData *devicepairingdata; + protobuf_c_boolean has_product; + Wa__ClientPayload__Product product; + protobuf_c_boolean has_fbcat; + ProtobufCBinaryData fbcat; + protobuf_c_boolean has_fbuseragent; + ProtobufCBinaryData fbuseragent; + protobuf_c_boolean has_oc; + protobuf_c_boolean oc; + protobuf_c_boolean has_lc; + int32_t lc; + protobuf_c_boolean has_iosappextension; + Wa__ClientPayload__IOSAppExtension iosappextension; + protobuf_c_boolean has_fbappid; + uint64_t fbappid; + protobuf_c_boolean has_fbdeviceid; + ProtobufCBinaryData fbdeviceid; + protobuf_c_boolean has_pull; + protobuf_c_boolean pull; + protobuf_c_boolean has_paddingbytes; + ProtobufCBinaryData paddingbytes; +}; + +struct Wa__ContextInfo__AdReplyInfo : public ProtobufCppMessage +{ + Wa__ContextInfo__AdReplyInfo() : + ProtobufCppMessage(wa__context_info__ad_reply_info__descriptor) + {} + + char *advertisername; + protobuf_c_boolean has_mediatype; + Wa__ContextInfo__AdReplyInfo__MediaType mediatype; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + char *caption; +}; + +struct Wa__ContextInfo__ExternalAdReplyInfo : public ProtobufCppMessage +{ + Wa__ContextInfo__ExternalAdReplyInfo() : + ProtobufCppMessage(wa__context_info__external_ad_reply_info__descriptor) + {} + + char *title; + char *body; + protobuf_c_boolean has_mediatype; + Wa__ContextInfo__ExternalAdReplyInfo__MediaType mediatype; + char *thumbnailurl; + char *mediaurl; + protobuf_c_boolean has_thumbnail; + ProtobufCBinaryData thumbnail; + char *sourcetype; + char *sourceid; + char *sourceurl; + protobuf_c_boolean has_containsautoreply; + protobuf_c_boolean containsautoreply; + protobuf_c_boolean has_renderlargerthumbnail; + protobuf_c_boolean renderlargerthumbnail; + protobuf_c_boolean has_showadattribution; + protobuf_c_boolean showadattribution; +}; + +struct Wa__ContextInfo : public ProtobufCppMessage +{ + Wa__ContextInfo() : + ProtobufCppMessage(wa__context_info__descriptor) + {} + + char *stanzaid; + char *participant; + Wa__Message *quotedmessage; + char *remotejid; + size_t n_mentionedjid; + char **mentionedjid; + char *conversionsource; + protobuf_c_boolean has_conversiondata; + ProtobufCBinaryData conversiondata; + protobuf_c_boolean has_conversiondelayseconds; + uint32_t conversiondelayseconds; + protobuf_c_boolean has_forwardingscore; + uint32_t forwardingscore; + protobuf_c_boolean has_isforwarded; + protobuf_c_boolean isforwarded; + Wa__ContextInfo__AdReplyInfo *quotedad; + Wa__MessageKey *placeholderkey; + protobuf_c_boolean has_expiration; + uint32_t expiration; + protobuf_c_boolean has_ephemeralsettingtimestamp; + int64_t ephemeralsettingtimestamp; + protobuf_c_boolean has_ephemeralsharedsecret; + ProtobufCBinaryData ephemeralsharedsecret; + Wa__ContextInfo__ExternalAdReplyInfo *externaladreply; + char *entrypointconversionsource; + char *entrypointconversionapp; + protobuf_c_boolean has_entrypointconversiondelayseconds; + uint32_t entrypointconversiondelayseconds; + Wa__DisappearingMode *disappearingmode; + Wa__ActionLink *actionlink; + char *groupsubject; + char *parentgroupjid; +}; + +struct Wa__Conversation : public ProtobufCppMessage +{ + Wa__Conversation() : + ProtobufCppMessage(wa__conversation__descriptor) + {} + + char *id; + size_t n_messages; + Wa__HistorySyncMsg **messages; + char *newjid; + char *oldjid; + protobuf_c_boolean has_lastmsgtimestamp; + uint64_t lastmsgtimestamp; + protobuf_c_boolean has_unreadcount; + uint32_t unreadcount; + protobuf_c_boolean has_readonly; + protobuf_c_boolean readonly; + protobuf_c_boolean has_endofhistorytransfer; + protobuf_c_boolean endofhistorytransfer; + protobuf_c_boolean has_ephemeralexpiration; + uint32_t ephemeralexpiration; + protobuf_c_boolean has_ephemeralsettingtimestamp; + int64_t ephemeralsettingtimestamp; + protobuf_c_boolean has_endofhistorytransfertype; + Wa__Conversation__EndOfHistoryTransferType endofhistorytransfertype; + protobuf_c_boolean has_conversationtimestamp; + uint64_t conversationtimestamp; + char *name; + char *phash; + protobuf_c_boolean has_notspam; + protobuf_c_boolean notspam; + protobuf_c_boolean has_archived; + protobuf_c_boolean archived; + Wa__DisappearingMode *disappearingmode; + protobuf_c_boolean has_unreadmentioncount; + uint32_t unreadmentioncount; + protobuf_c_boolean has_markedasunread; + protobuf_c_boolean markedasunread; + size_t n_participant; + Wa__GroupParticipant **participant; + protobuf_c_boolean has_tctoken; + ProtobufCBinaryData tctoken; + protobuf_c_boolean has_tctokentimestamp; + uint64_t tctokentimestamp; + protobuf_c_boolean has_contactprimaryidentitykey; + ProtobufCBinaryData contactprimaryidentitykey; + protobuf_c_boolean has_pinned; + uint32_t pinned; + protobuf_c_boolean has_muteendtime; + uint64_t muteendtime; + Wa__WallpaperSettings *wallpaper; + protobuf_c_boolean has_mediavisibility; + Wa__MediaVisibility mediavisibility; + protobuf_c_boolean has_tctokensendertimestamp; + uint64_t tctokensendertimestamp; + protobuf_c_boolean has_suspended; + protobuf_c_boolean suspended; + protobuf_c_boolean has_terminated; + protobuf_c_boolean terminated; + protobuf_c_boolean has_createdat; + uint64_t createdat; + char *createdby; + char *description; + protobuf_c_boolean has_support; + protobuf_c_boolean support; + protobuf_c_boolean has_isparentgroup; + protobuf_c_boolean isparentgroup; + protobuf_c_boolean has_isdefaultsubgroup; + protobuf_c_boolean isdefaultsubgroup; + char *parentgroupid; + char *displayname; + char *pnjid; + protobuf_c_boolean has_selfpnexposed; + protobuf_c_boolean selfpnexposed; +}; + +struct Wa__DeviceListMetadata : public ProtobufCppMessage +{ + Wa__DeviceListMetadata() : + ProtobufCppMessage(wa__device_list_metadata__descriptor) + {} + + protobuf_c_boolean has_senderkeyhash; + ProtobufCBinaryData senderkeyhash; + protobuf_c_boolean has_sendertimestamp; + uint64_t sendertimestamp; + size_t n_senderkeyindexes; + uint32_t *senderkeyindexes; + protobuf_c_boolean has_recipientkeyhash; + ProtobufCBinaryData recipientkeyhash; + protobuf_c_boolean has_recipienttimestamp; + uint64_t recipienttimestamp; + size_t n_recipientkeyindexes; + uint32_t *recipientkeyindexes; +}; + +struct Wa__DeviceProps__AppVersion : public ProtobufCppMessage +{ + Wa__DeviceProps__AppVersion() : + ProtobufCppMessage(wa__device_props__app_version__descriptor) + {} + + protobuf_c_boolean has_primary; + uint32_t primary; + protobuf_c_boolean has_secondary; + uint32_t secondary; + protobuf_c_boolean has_tertiary; + uint32_t tertiary; + protobuf_c_boolean has_quaternary; + uint32_t quaternary; + protobuf_c_boolean has_quinary; + uint32_t quinary; +}; + +struct Wa__DeviceProps : public ProtobufCppMessage +{ + Wa__DeviceProps() : + ProtobufCppMessage(wa__device_props__descriptor) + {} + + char *os; + Wa__DeviceProps__AppVersion *version; + protobuf_c_boolean has_platformtype; + Wa__DeviceProps__PlatformType platformtype; + protobuf_c_boolean has_requirefullsync; + protobuf_c_boolean requirefullsync; +}; + +struct Wa__DisappearingMode : public ProtobufCppMessage +{ + Wa__DisappearingMode() : + ProtobufCppMessage(wa__disappearing_mode__descriptor) + {} + + protobuf_c_boolean has_initiator; + Wa__DisappearingMode__Initiator initiator; +}; + +struct Wa__EphemeralSetting : public ProtobufCppMessage +{ + Wa__EphemeralSetting() : + ProtobufCppMessage(wa__ephemeral_setting__descriptor) + {} + + protobuf_c_boolean has_duration; + int32_t duration; + protobuf_c_boolean has_timestamp; + int64_t timestamp; +}; + +struct Wa__ExitCode : public ProtobufCppMessage +{ + Wa__ExitCode() : + ProtobufCppMessage(wa__exit_code__descriptor) + {} -struct Wa__GlobalSettings : public ProtobufCMessage -{ - Wa__WallpaperSettings *lightthemewallpaper; - protobuf_c_boolean has_mediavisibility; - Wa__MediaVisibility mediavisibility; - Wa__WallpaperSettings *darkthemewallpaper; - Wa__AutoDownloadSettings *autodownloadwifi; - Wa__AutoDownloadSettings *autodownloadcellular; - Wa__AutoDownloadSettings *autodownloadroaming; - protobuf_c_boolean has_showindividualnotificationspreview; - protobuf_c_boolean showindividualnotificationspreview; - protobuf_c_boolean has_showgroupnotificationspreview; - protobuf_c_boolean showgroupnotificationspreview; - protobuf_c_boolean has_disappearingmodeduration; - int32_t disappearingmodeduration; - protobuf_c_boolean has_disappearingmodetimestamp; - int64_t disappearingmodetimestamp; + protobuf_c_boolean has_code; + uint64_t code; + char *text; }; -#define WA__GLOBAL_SETTINGS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__global_settings__descriptor) \ - , NULL, 0, WA__MEDIA_VISIBILITY__DEFAULT, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0 } - -struct Wa__GroupParticipant : public ProtobufCMessage +struct Wa__ExternalBlobReference : public ProtobufCppMessage { - char *userjid; - protobuf_c_boolean has_rank; - Wa__GroupParticipant__Rank rank; -}; -#define WA__GROUP_PARTICIPANT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__group_participant__descriptor) \ - , NULL, 0, WA__GROUP_PARTICIPANT__RANK__REGULAR } + Wa__ExternalBlobReference() : + ProtobufCppMessage(wa__external_blob_reference__descriptor) + {} + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *directpath; + char *handle; + protobuf_c_boolean has_filesizebytes; + uint64_t filesizebytes; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; +}; -struct Wa__HandshakeMessage__ClientFinish : public ProtobufCMessage +struct Wa__GlobalSettings : public ProtobufCppMessage { - protobuf_c_boolean has_static_; - ProtobufCBinaryData static_; - protobuf_c_boolean has_payload; - ProtobufCBinaryData payload; -}; -#define WA__HANDSHAKE_MESSAGE__CLIENT_FINISH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__handshake_message__client_finish__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__GlobalSettings() : + ProtobufCppMessage(wa__global_settings__descriptor) + {} + Wa__WallpaperSettings *lightthemewallpaper; + protobuf_c_boolean has_mediavisibility; + Wa__MediaVisibility mediavisibility; + Wa__WallpaperSettings *darkthemewallpaper; + Wa__AutoDownloadSettings *autodownloadwifi; + Wa__AutoDownloadSettings *autodownloadcellular; + Wa__AutoDownloadSettings *autodownloadroaming; + protobuf_c_boolean has_showindividualnotificationspreview; + protobuf_c_boolean showindividualnotificationspreview; + protobuf_c_boolean has_showgroupnotificationspreview; + protobuf_c_boolean showgroupnotificationspreview; + protobuf_c_boolean has_disappearingmodeduration; + int32_t disappearingmodeduration; + protobuf_c_boolean has_disappearingmodetimestamp; + int64_t disappearingmodetimestamp; +}; -struct Wa__HandshakeMessage__ClientHello : public ProtobufCMessage +struct Wa__GroupParticipant : public ProtobufCppMessage { - protobuf_c_boolean has_ephemeral; - ProtobufCBinaryData ephemeral; - protobuf_c_boolean has_static_; - ProtobufCBinaryData static_; - protobuf_c_boolean has_payload; - ProtobufCBinaryData payload; -}; -#define WA__HANDSHAKE_MESSAGE__CLIENT_HELLO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__handshake_message__client_hello__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } + Wa__GroupParticipant() : + ProtobufCppMessage(wa__group_participant__descriptor) + {} + char *userjid; + protobuf_c_boolean has_rank; + Wa__GroupParticipant__Rank rank; +}; -struct Wa__HandshakeMessage__ServerHello : public ProtobufCMessage +struct Wa__HandshakeMessage__ClientFinish : public ProtobufCppMessage { - protobuf_c_boolean has_ephemeral; - ProtobufCBinaryData ephemeral; - protobuf_c_boolean has_static_; - ProtobufCBinaryData static_; - protobuf_c_boolean has_payload; - ProtobufCBinaryData payload; -}; -#define WA__HANDSHAKE_MESSAGE__SERVER_HELLO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__handshake_message__server_hello__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } + Wa__HandshakeMessage__ClientFinish() : + ProtobufCppMessage(wa__handshake_message__client_finish__descriptor) + {} + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; +}; -struct Wa__HandshakeMessage : public ProtobufCMessage +struct Wa__HandshakeMessage__ClientHello : public ProtobufCppMessage { - Wa__HandshakeMessage__ClientHello *clienthello; - Wa__HandshakeMessage__ServerHello *serverhello; - Wa__HandshakeMessage__ClientFinish *clientfinish; -}; -#define WA__HANDSHAKE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__handshake_message__descriptor) \ - , NULL, NULL, NULL } + Wa__HandshakeMessage__ClientHello() : + ProtobufCppMessage(wa__handshake_message__client_hello__descriptor) + {} + protobuf_c_boolean has_ephemeral; + ProtobufCBinaryData ephemeral; + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; +}; -struct Wa__HistorySync : public ProtobufCMessage +struct Wa__HandshakeMessage__ServerHello : public ProtobufCppMessage { - Wa__HistorySync__HistorySyncType synctype; - size_t n_conversations; - Wa__Conversation **conversations; - size_t n_statusv3messages; - Wa__WebMessageInfo **statusv3messages; - protobuf_c_boolean has_chunkorder; - uint32_t chunkorder; - protobuf_c_boolean has_progress; - uint32_t progress; - size_t n_pushnames; - Wa__Pushname **pushnames; - Wa__GlobalSettings *globalsettings; - protobuf_c_boolean has_threadidusersecret; - ProtobufCBinaryData threadidusersecret; - protobuf_c_boolean has_threaddstimeframeoffset; - uint32_t threaddstimeframeoffset; - size_t n_recentstickers; - Wa__StickerMetadata **recentstickers; - size_t n_pastparticipants; - Wa__PastParticipants **pastparticipants; -}; -#define WA__HISTORY_SYNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__history_sync__descriptor) \ - , WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP, 0,NULL, 0,NULL, 0, 0, 0, 0, 0,NULL, NULL, 0, {0,NULL}, 0, 0, 0,NULL, 0,NULL } + Wa__HandshakeMessage__ServerHello() : + ProtobufCppMessage(wa__handshake_message__server_hello__descriptor) + {} + protobuf_c_boolean has_ephemeral; + ProtobufCBinaryData ephemeral; + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; +}; -struct Wa__HistorySyncMsg : public ProtobufCMessage +struct Wa__HandshakeMessage : public ProtobufCppMessage { - Wa__WebMessageInfo *message; - protobuf_c_boolean has_msgorderid; - uint64_t msgorderid; -}; -#define WA__HISTORY_SYNC_MSG__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__history_sync_msg__descriptor) \ - , NULL, 0, 0 } + Wa__HandshakeMessage() : + ProtobufCppMessage(wa__handshake_message__descriptor) + {} + Wa__HandshakeMessage__ClientHello *clienthello; + Wa__HandshakeMessage__ServerHello *serverhello; + Wa__HandshakeMessage__ClientFinish *clientfinish; +}; -struct Wa__HydratedTemplateButton__HydratedCallButton : public ProtobufCMessage +struct Wa__HistorySync : public ProtobufCppMessage { - char *displaytext; - char *phonenumber; -}; -#define WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_CALL_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__hydrated_template_button__hydrated_call_button__descriptor) \ - , NULL, NULL } + Wa__HistorySync() : + ProtobufCppMessage(wa__history_sync__descriptor) + {} + Wa__HistorySync__HistorySyncType synctype; + size_t n_conversations; + Wa__Conversation **conversations; + size_t n_statusv3messages; + Wa__WebMessageInfo **statusv3messages; + protobuf_c_boolean has_chunkorder; + uint32_t chunkorder; + protobuf_c_boolean has_progress; + uint32_t progress; + size_t n_pushnames; + Wa__Pushname **pushnames; + Wa__GlobalSettings *globalsettings; + protobuf_c_boolean has_threadidusersecret; + ProtobufCBinaryData threadidusersecret; + protobuf_c_boolean has_threaddstimeframeoffset; + uint32_t threaddstimeframeoffset; + size_t n_recentstickers; + Wa__StickerMetadata **recentstickers; + size_t n_pastparticipants; + Wa__PastParticipants **pastparticipants; +}; -struct Wa__HydratedTemplateButton__HydratedQuickReplyButton : public ProtobufCMessage +struct Wa__HistorySyncMsg : public ProtobufCppMessage { - char *displaytext; - char *id; -}; -#define WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_QUICK_REPLY_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__hydrated_template_button__hydrated_quick_reply_button__descriptor) \ - , NULL, NULL } + Wa__HistorySyncMsg() : + ProtobufCppMessage(wa__history_sync_msg__descriptor) + {} + Wa__WebMessageInfo *message; + protobuf_c_boolean has_msgorderid; + uint64_t msgorderid; +}; -struct Wa__HydratedTemplateButton__HydratedURLButton : public ProtobufCMessage +struct Wa__HydratedTemplateButton__HydratedCallButton : public ProtobufCppMessage { - char *displaytext; - char *url; + Wa__HydratedTemplateButton__HydratedCallButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_call_button__descriptor) + {} + + char *displaytext; + char *phonenumber; }; -#define WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_URLBUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__hydrated_template_button__hydrated_urlbutton__descriptor) \ - , NULL, NULL } +struct Wa__HydratedTemplateButton__HydratedQuickReplyButton : public ProtobufCppMessage +{ + Wa__HydratedTemplateButton__HydratedQuickReplyButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_quick_reply_button__descriptor) + {} -typedef enum { - WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON__NOT_SET = 0, - 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) -} Wa__HydratedTemplateButton__HydratedButtonCase; + char *displaytext; + char *id; +}; -struct Wa__HydratedTemplateButton : public ProtobufCMessage +struct Wa__HydratedTemplateButton__HydratedURLButton : public ProtobufCppMessage { - protobuf_c_boolean has_index; - uint32_t index; - Wa__HydratedTemplateButton__HydratedButtonCase hydrated_button_case; - union { - Wa__HydratedTemplateButton__HydratedQuickReplyButton *quickreplybutton; - Wa__HydratedTemplateButton__HydratedURLButton *urlbutton; - Wa__HydratedTemplateButton__HydratedCallButton *callbutton; - }; + Wa__HydratedTemplateButton__HydratedURLButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_urlbutton__descriptor) + {} + + char *displaytext; + char *url; }; -#define WA__HYDRATED_TEMPLATE_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__hydrated_template_button__descriptor) \ - , 0, 0, WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON__NOT_SET, {0} } +typedef enum +{ + WA__HYDRATED_TEMPLATE_BUTTON__HYDRATED_BUTTON__NOT_SET = 0, + 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) +} Wa__HydratedTemplateButton__HydratedButtonCase; -struct Wa__IdentityKeyPairStructure : public ProtobufCMessage +struct Wa__HydratedTemplateButton : public ProtobufCppMessage { - protobuf_c_boolean has_publickey; - ProtobufCBinaryData publickey; - protobuf_c_boolean has_privatekey; - ProtobufCBinaryData privatekey; + Wa__HydratedTemplateButton() : + ProtobufCppMessage(wa__hydrated_template_button__descriptor) + {} + + protobuf_c_boolean has_index; + uint32_t index; + Wa__HydratedTemplateButton__HydratedButtonCase hydrated_button_case; + union + { + Wa__HydratedTemplateButton__HydratedQuickReplyButton *quickreplybutton; + Wa__HydratedTemplateButton__HydratedURLButton *urlbutton; + Wa__HydratedTemplateButton__HydratedCallButton *callbutton; + }; }; -#define WA__IDENTITY_KEY_PAIR_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__identity_key_pair_structure__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } +struct Wa__IdentityKeyPairStructure : public ProtobufCppMessage +{ + Wa__IdentityKeyPairStructure() : + ProtobufCppMessage(wa__identity_key_pair_structure__descriptor) + {} + + protobuf_c_boolean has_publickey; + ProtobufCBinaryData publickey; + protobuf_c_boolean has_privatekey; + ProtobufCBinaryData privatekey; +}; -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) +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) } Wa__InteractiveAnnotation__ActionCase; -struct Wa__InteractiveAnnotation : public ProtobufCMessage +struct Wa__InteractiveAnnotation : public ProtobufCppMessage { - size_t n_polygonvertices; - Wa__Point **polygonvertices; - Wa__InteractiveAnnotation__ActionCase action_case; - union { - Wa__Location *location; - }; -}; -#define WA__INTERACTIVE_ANNOTATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__interactive_annotation__descriptor) \ - , 0,NULL, WA__INTERACTIVE_ANNOTATION__ACTION__NOT_SET, {0} } + Wa__InteractiveAnnotation() : + ProtobufCppMessage(wa__interactive_annotation__descriptor) + {} + size_t n_polygonvertices; + Wa__Point **polygonvertices; + Wa__InteractiveAnnotation__ActionCase action_case; + union + { + Wa__Location *location; + }; +}; -struct Wa__KeepInChat : public ProtobufCMessage +struct Wa__KeepInChat : public ProtobufCppMessage { - protobuf_c_boolean has_keeptype; - Wa__KeepType keeptype; - protobuf_c_boolean has_servertimestamp; - int64_t servertimestamp; - Wa__MessageKey *key; - char *devicejid; -}; -#define WA__KEEP_IN_CHAT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__keep_in_chat__descriptor) \ - , 0, WA__KEEP_TYPE__UNKNOWN, 0, 0, NULL, NULL } + Wa__KeepInChat() : + ProtobufCppMessage(wa__keep_in_chat__descriptor) + {} + protobuf_c_boolean has_keeptype; + Wa__KeepType keeptype; + protobuf_c_boolean has_servertimestamp; + int64_t servertimestamp; + Wa__MessageKey *key; + char *devicejid; +}; -struct Wa__KeyId : public ProtobufCMessage +struct Wa__KeyId : public ProtobufCppMessage { - protobuf_c_boolean has_id; - ProtobufCBinaryData id; -}; -#define WA__KEY_ID__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__key_id__descriptor) \ - , 0, {0,NULL} } + Wa__KeyId() : + ProtobufCppMessage(wa__key_id__descriptor) + {} + protobuf_c_boolean has_id; + ProtobufCBinaryData id; +}; -struct Wa__LocalizedName : public ProtobufCMessage +struct Wa__LocalizedName : public ProtobufCppMessage { - char *lg; - char *lc; - char *verifiedname; -}; -#define WA__LOCALIZED_NAME__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__localized_name__descriptor) \ - , NULL, NULL, NULL } + Wa__LocalizedName() : + ProtobufCppMessage(wa__localized_name__descriptor) + {} + char *lg; + char *lc; + char *verifiedname; +}; -struct Wa__Location : public ProtobufCMessage +struct Wa__Location : public ProtobufCppMessage { - protobuf_c_boolean has_degreeslatitude; - double degreeslatitude; - protobuf_c_boolean has_degreeslongitude; - double degreeslongitude; - char *name; -}; -#define WA__LOCATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__location__descriptor) \ - , 0, 0, 0, 0, NULL } + Wa__Location() : + ProtobufCppMessage(wa__location__descriptor) + {} + protobuf_c_boolean has_degreeslatitude; + double degreeslatitude; + protobuf_c_boolean has_degreeslongitude; + double degreeslongitude; + char *name; +}; -struct Wa__MediaData : public ProtobufCMessage +struct Wa__MediaData : public ProtobufCppMessage { - char *localpath; -}; -#define WA__MEDIA_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__media_data__descriptor) \ - , NULL } + Wa__MediaData() : + ProtobufCppMessage(wa__media_data__descriptor) + {} + char *localpath; +}; -struct Wa__MediaRetryNotification : public ProtobufCMessage +struct Wa__MediaRetryNotification : public ProtobufCppMessage { - char *stanzaid; - char *directpath; - protobuf_c_boolean has_result; - Wa__MediaRetryNotification__ResultType result; -}; -#define WA__MEDIA_RETRY_NOTIFICATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__media_retry_notification__descriptor) \ - , NULL, NULL, 0, WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR } + Wa__MediaRetryNotification() : + ProtobufCppMessage(wa__media_retry_notification__descriptor) + {} + char *stanzaid; + char *directpath; + protobuf_c_boolean has_result; + Wa__MediaRetryNotification__ResultType result; +}; -struct Wa__Message__AppStateFatalExceptionNotification : public ProtobufCMessage +struct Wa__Message__AppStateFatalExceptionNotification : public ProtobufCppMessage { - size_t n_collectionnames; - char **collectionnames; - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; -#define WA__MESSAGE__APP_STATE_FATAL_EXCEPTION_NOTIFICATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_fatal_exception_notification__descriptor) \ - , 0,NULL, 0, 0 } + Wa__Message__AppStateFatalExceptionNotification() : + ProtobufCppMessage(wa__message__app_state_fatal_exception_notification__descriptor) + {} + size_t n_collectionnames; + char **collectionnames; + protobuf_c_boolean has_timestamp; + int64_t timestamp; +}; -struct Wa__Message__AppStateSyncKeyData : public ProtobufCMessage +struct Wa__Message__AppStateSyncKeyData : public ProtobufCppMessage { - protobuf_c_boolean has_keydata; - ProtobufCBinaryData keydata; - Wa__Message__AppStateSyncKeyFingerprint *fingerprint; - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key_data__descriptor) \ - , 0, {0,NULL}, NULL, 0, 0 } + Wa__Message__AppStateSyncKeyData() : + ProtobufCppMessage(wa__message__app_state_sync_key_data__descriptor) + {} + protobuf_c_boolean has_keydata; + ProtobufCBinaryData keydata; + Wa__Message__AppStateSyncKeyFingerprint *fingerprint; + protobuf_c_boolean has_timestamp; + int64_t timestamp; +}; -struct Wa__Message__AppStateSyncKeyFingerprint : public ProtobufCMessage +struct Wa__Message__AppStateSyncKeyFingerprint : public ProtobufCppMessage { - protobuf_c_boolean has_rawid; - uint32_t rawid; - protobuf_c_boolean has_currentindex; - uint32_t currentindex; - size_t n_deviceindexes; - uint32_t *deviceindexes; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY_FINGERPRINT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key_fingerprint__descriptor) \ - , 0, 0, 0, 0, 0,NULL } + Wa__Message__AppStateSyncKeyFingerprint() : + ProtobufCppMessage(wa__message__app_state_sync_key_fingerprint__descriptor) + {} + protobuf_c_boolean has_rawid; + uint32_t rawid; + protobuf_c_boolean has_currentindex; + uint32_t currentindex; + size_t n_deviceindexes; + uint32_t *deviceindexes; +}; -struct Wa__Message__AppStateSyncKeyId : public ProtobufCMessage +struct Wa__Message__AppStateSyncKeyId : public ProtobufCppMessage { - protobuf_c_boolean has_keyid; - ProtobufCBinaryData keyid; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY_ID__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key_id__descriptor) \ - , 0, {0,NULL} } + Wa__Message__AppStateSyncKeyId() : + ProtobufCppMessage(wa__message__app_state_sync_key_id__descriptor) + {} + protobuf_c_boolean has_keyid; + ProtobufCBinaryData keyid; +}; -struct Wa__Message__AppStateSyncKeyRequest : public ProtobufCMessage +struct Wa__Message__AppStateSyncKeyRequest : public ProtobufCppMessage { - size_t n_keyids; - Wa__Message__AppStateSyncKeyId **keyids; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY_REQUEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key_request__descriptor) \ - , 0,NULL } + Wa__Message__AppStateSyncKeyRequest() : + ProtobufCppMessage(wa__message__app_state_sync_key_request__descriptor) + {} + size_t n_keyids; + Wa__Message__AppStateSyncKeyId **keyids; +}; -struct Wa__Message__AppStateSyncKeyShare : public ProtobufCMessage +struct Wa__Message__AppStateSyncKeyShare : public ProtobufCppMessage { - size_t n_keys; - Wa__Message__AppStateSyncKey **keys; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY_SHARE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key_share__descriptor) \ - , 0,NULL } + Wa__Message__AppStateSyncKeyShare() : + ProtobufCppMessage(wa__message__app_state_sync_key_share__descriptor) + {} + size_t n_keys; + Wa__Message__AppStateSyncKey **keys; +}; -struct Wa__Message__AppStateSyncKey : public ProtobufCMessage +struct Wa__Message__AppStateSyncKey : public ProtobufCppMessage { - Wa__Message__AppStateSyncKeyId *keyid; - Wa__Message__AppStateSyncKeyData *keydata; -}; -#define WA__MESSAGE__APP_STATE_SYNC_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__app_state_sync_key__descriptor) \ - , NULL, NULL } + Wa__Message__AppStateSyncKey() : + ProtobufCppMessage(wa__message__app_state_sync_key__descriptor) + {} + Wa__Message__AppStateSyncKeyId *keyid; + Wa__Message__AppStateSyncKeyData *keydata; +}; -struct Wa__Message__AudioMessage : public ProtobufCMessage +struct Wa__Message__AudioMessage : public ProtobufCppMessage { - char *url; - char *mimetype; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_seconds; - uint32_t seconds; - protobuf_c_boolean has_ptt; - protobuf_c_boolean ptt; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - char *directpath; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_streamingsidecar; - ProtobufCBinaryData streamingsidecar; - protobuf_c_boolean has_waveform; - ProtobufCBinaryData waveform; -}; -#define WA__MESSAGE__AUDIO_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__audio_message__descriptor) \ - , NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL} } + Wa__Message__AudioMessage() : + ProtobufCppMessage(wa__message__audio_message__descriptor) + {} + char *url; + char *mimetype; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_seconds; + uint32_t seconds; + protobuf_c_boolean has_ptt; + protobuf_c_boolean ptt; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + char *directpath; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_streamingsidecar; + ProtobufCBinaryData streamingsidecar; + protobuf_c_boolean has_waveform; + ProtobufCBinaryData waveform; +}; -struct Wa__Message__ButtonsMessage__Button__ButtonText : public ProtobufCMessage +struct Wa__Message__ButtonsMessage__Button__ButtonText : public ProtobufCppMessage { - char *displaytext; -}; -#define WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__BUTTON_TEXT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__buttons_message__button__button_text__descriptor) \ - , NULL } + Wa__Message__ButtonsMessage__Button__ButtonText() : + ProtobufCppMessage(wa__message__buttons_message__button__button_text__descriptor) + {} + char *displaytext; +}; -struct Wa__Message__ButtonsMessage__Button__NativeFlowInfo : public ProtobufCMessage +struct Wa__Message__ButtonsMessage__Button__NativeFlowInfo : public ProtobufCppMessage { - char *name; - char *paramsjson; -}; -#define WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__NATIVE_FLOW_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__buttons_message__button__native_flow_info__descriptor) \ - , NULL, NULL } + Wa__Message__ButtonsMessage__Button__NativeFlowInfo() : + ProtobufCppMessage(wa__message__buttons_message__button__native_flow_info__descriptor) + {} + char *name; + char *paramsjson; +}; -struct Wa__Message__ButtonsMessage__Button : public ProtobufCMessage +struct Wa__Message__ButtonsMessage__Button : public ProtobufCppMessage { - char *buttonid; - Wa__Message__ButtonsMessage__Button__ButtonText *buttontext; - protobuf_c_boolean has_type; - Wa__Message__ButtonsMessage__Button__Type type; - Wa__Message__ButtonsMessage__Button__NativeFlowInfo *nativeflowinfo; -}; -#define WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__buttons_message__button__descriptor) \ - , NULL, NULL, 0, WA__MESSAGE__BUTTONS_MESSAGE__BUTTON__TYPE__UNKNOWN, NULL } + Wa__Message__ButtonsMessage__Button() : + ProtobufCppMessage(wa__message__buttons_message__button__descriptor) + {} + char *buttonid; + Wa__Message__ButtonsMessage__Button__ButtonText *buttontext; + protobuf_c_boolean has_type; + Wa__Message__ButtonsMessage__Button__Type type; + Wa__Message__ButtonsMessage__Button__NativeFlowInfo *nativeflowinfo; +}; -typedef enum { - WA__MESSAGE__BUTTONS_MESSAGE__HEADER__NOT_SET = 0, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TEXT = 1, - WA__MESSAGE__BUTTONS_MESSAGE__HEADER_DOCUMENT_MESSAGE = 2, - 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) +typedef enum +{ + WA__MESSAGE__BUTTONS_MESSAGE__HEADER__NOT_SET = 0, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TEXT = 1, + WA__MESSAGE__BUTTONS_MESSAGE__HEADER_DOCUMENT_MESSAGE = 2, + 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) } Wa__Message__ButtonsMessage__HeaderCase; -struct Wa__Message__ButtonsMessage : public ProtobufCMessage -{ - char *contenttext; - char *footertext; - Wa__ContextInfo *contextinfo; - size_t n_buttons; - Wa__Message__ButtonsMessage__Button **buttons; - protobuf_c_boolean has_headertype; - Wa__Message__ButtonsMessage__HeaderType headertype; - Wa__Message__ButtonsMessage__HeaderCase header_case; - union { - char *text; - Wa__Message__DocumentMessage *documentmessage; - Wa__Message__ImageMessage *imagemessage; - Wa__Message__VideoMessage *videomessage; - Wa__Message__LocationMessage *locationmessage; - }; -}; -#define WA__MESSAGE__BUTTONS_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__buttons_message__descriptor) \ - , NULL, NULL, NULL, 0,NULL, 0, WA__MESSAGE__BUTTONS_MESSAGE__HEADER_TYPE__UNKNOWN, WA__MESSAGE__BUTTONS_MESSAGE__HEADER__NOT_SET, {0} } - - -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) +struct Wa__Message__ButtonsMessage : public ProtobufCppMessage +{ + Wa__Message__ButtonsMessage() : + ProtobufCppMessage(wa__message__buttons_message__descriptor) + {} + + char *contenttext; + char *footertext; + Wa__ContextInfo *contextinfo; + size_t n_buttons; + Wa__Message__ButtonsMessage__Button **buttons; + protobuf_c_boolean has_headertype; + Wa__Message__ButtonsMessage__HeaderType headertype; + Wa__Message__ButtonsMessage__HeaderCase header_case; + union + { + char *text; + Wa__Message__DocumentMessage *documentmessage; + Wa__Message__ImageMessage *imagemessage; + Wa__Message__VideoMessage *videomessage; + Wa__Message__LocationMessage *locationmessage; + }; +}; + +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) } Wa__Message__ButtonsResponseMessage__ResponseCase; -struct Wa__Message__ButtonsResponseMessage : public ProtobufCMessage +struct Wa__Message__ButtonsResponseMessage : public ProtobufCppMessage { - char *selectedbuttonid; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_type; - Wa__Message__ButtonsResponseMessage__Type type; - Wa__Message__ButtonsResponseMessage__ResponseCase response_case; - union { - char *selecteddisplaytext; - }; -}; -#define WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__buttons_response_message__descriptor) \ - , NULL, NULL, 0, WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__TYPE__UNKNOWN, WA__MESSAGE__BUTTONS_RESPONSE_MESSAGE__RESPONSE__NOT_SET, {0} } + Wa__Message__ButtonsResponseMessage() : + ProtobufCppMessage(wa__message__buttons_response_message__descriptor) + {} + char *selectedbuttonid; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_type; + Wa__Message__ButtonsResponseMessage__Type type; + Wa__Message__ButtonsResponseMessage__ResponseCase response_case; + union + { + char *selecteddisplaytext; + }; +}; -struct Wa__Message__Call : public ProtobufCMessage +struct Wa__Message__Call : public ProtobufCppMessage { - protobuf_c_boolean has_callkey; - ProtobufCBinaryData callkey; - char *conversionsource; - protobuf_c_boolean has_conversiondata; - ProtobufCBinaryData conversiondata; - protobuf_c_boolean has_conversiondelayseconds; - uint32_t conversiondelayseconds; -}; -#define WA__MESSAGE__CALL__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__call__descriptor) \ - , 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0 } + Wa__Message__Call() : + ProtobufCppMessage(wa__message__call__descriptor) + {} + protobuf_c_boolean has_callkey; + ProtobufCBinaryData callkey; + char *conversionsource; + protobuf_c_boolean has_conversiondata; + ProtobufCBinaryData conversiondata; + protobuf_c_boolean has_conversiondelayseconds; + uint32_t conversiondelayseconds; +}; -struct Wa__Message__CancelPaymentRequestMessage : public ProtobufCMessage +struct Wa__Message__CancelPaymentRequestMessage : public ProtobufCppMessage { - Wa__MessageKey *key; -}; -#define WA__MESSAGE__CANCEL_PAYMENT_REQUEST_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__cancel_payment_request_message__descriptor) \ - , NULL } + Wa__Message__CancelPaymentRequestMessage() : + ProtobufCppMessage(wa__message__cancel_payment_request_message__descriptor) + {} + Wa__MessageKey *key; +}; -struct Wa__Message__Chat : public ProtobufCMessage +struct Wa__Message__Chat : public ProtobufCppMessage { - char *displayname; - char *id; -}; -#define WA__MESSAGE__CHAT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__chat__descriptor) \ - , NULL, NULL } + Wa__Message__Chat() : + ProtobufCppMessage(wa__message__chat__descriptor) + {} + char *displayname; + char *id; +}; -struct Wa__Message__ContactMessage : public ProtobufCMessage +struct Wa__Message__ContactMessage : public ProtobufCppMessage { - char *displayname; - char *vcard; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__CONTACT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__contact_message__descriptor) \ - , NULL, NULL, NULL } - - -struct Wa__Message__ContactsArrayMessage : public ProtobufCMessage -{ - char *displayname; - size_t n_contacts; - Wa__Message__ContactMessage **contacts; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__CONTACTS_ARRAY_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__contacts_array_message__descriptor) \ - , NULL, 0,NULL, NULL } - - -struct Wa__Message__DeclinePaymentRequestMessage : public ProtobufCMessage -{ - Wa__MessageKey *key; -}; -#define WA__MESSAGE__DECLINE_PAYMENT_REQUEST_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__decline_payment_request_message__descriptor) \ - , NULL } - - -struct Wa__Message__DeviceSentMessage : public ProtobufCMessage -{ - char *destinationjid; - Wa__Message *message; - char *phash; -}; -#define WA__MESSAGE__DEVICE_SENT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__device_sent_message__descriptor) \ - , NULL, NULL, NULL } - - -struct Wa__Message__DocumentMessage : public ProtobufCMessage -{ - char *url; - char *mimetype; - char *title; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_pagecount; - uint32_t pagecount; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *filename; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - char *directpath; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_contactvcard; - protobuf_c_boolean contactvcard; - char *thumbnaildirectpath; - protobuf_c_boolean has_thumbnailsha256; - ProtobufCBinaryData thumbnailsha256; - protobuf_c_boolean has_thumbnailencsha256; - ProtobufCBinaryData thumbnailencsha256; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_thumbnailheight; - uint32_t thumbnailheight; - protobuf_c_boolean has_thumbnailwidth; - uint32_t thumbnailwidth; - char *caption; -}; -#define WA__MESSAGE__DOCUMENT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__document_message__descriptor) \ - , NULL, NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL } - - -struct Wa__Message__ExtendedTextMessage : public ProtobufCMessage -{ - char *text; - char *matchedtext; - char *canonicalurl; - char *description; - char *title; - protobuf_c_boolean has_textargb; - uint32_t textargb; - protobuf_c_boolean has_backgroundargb; - uint32_t backgroundargb; - protobuf_c_boolean has_font; - Wa__Message__ExtendedTextMessage__FontType font; - protobuf_c_boolean has_previewtype; - Wa__Message__ExtendedTextMessage__PreviewType previewtype; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_donotplayinline; - protobuf_c_boolean donotplayinline; - char *thumbnaildirectpath; - protobuf_c_boolean has_thumbnailsha256; - ProtobufCBinaryData thumbnailsha256; - protobuf_c_boolean has_thumbnailencsha256; - ProtobufCBinaryData thumbnailencsha256; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_thumbnailheight; - uint32_t thumbnailheight; - protobuf_c_boolean has_thumbnailwidth; - uint32_t thumbnailwidth; - protobuf_c_boolean has_invitelinkgrouptype; - Wa__Message__ExtendedTextMessage__InviteLinkGroupType invitelinkgrouptype; - char *invitelinkparentgroupsubjectv2; - protobuf_c_boolean has_invitelinkparentgroupthumbnailv2; - ProtobufCBinaryData invitelinkparentgroupthumbnailv2; - protobuf_c_boolean has_invitelinkgrouptypev2; - Wa__Message__ExtendedTextMessage__InviteLinkGroupType invitelinkgrouptypev2; -}; -#define WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__extended_text_message__descriptor) \ - , NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__FONT_TYPE__SANS_SERIF, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__PREVIEW_TYPE__NONE, 0, {0,NULL}, NULL, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT, NULL, 0, {0,NULL}, 0, WA__MESSAGE__EXTENDED_TEXT_MESSAGE__INVITE_LINK_GROUP_TYPE__DEFAULT } - - -struct Wa__Message__FutureProofMessage : public ProtobufCMessage -{ - Wa__Message *message; -}; -#define WA__MESSAGE__FUTURE_PROOF_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__future_proof_message__descriptor) \ - , NULL } - - -struct Wa__Message__GroupInviteMessage : public ProtobufCMessage -{ - char *groupjid; - char *invitecode; - protobuf_c_boolean has_inviteexpiration; - int64_t inviteexpiration; - char *groupname; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - char *caption; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_grouptype; - Wa__Message__GroupInviteMessage__GroupType grouptype; -}; -#define WA__MESSAGE__GROUP_INVITE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__group_invite_message__descriptor) \ - , NULL, NULL, 0, 0, NULL, 0, {0,NULL}, NULL, NULL, 0, WA__MESSAGE__GROUP_INVITE_MESSAGE__GROUP_TYPE__DEFAULT } - - -struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency : public ProtobufCMessage -{ - char *currencycode; - protobuf_c_boolean has_amount1000; - int64_t amount1000; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMCURRENCY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor) \ - , NULL, 0, 0 } - - -struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent : public ProtobufCMessage -{ - protobuf_c_boolean has_dayofweek; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType dayofweek; - protobuf_c_boolean has_year; - uint32_t year; - protobuf_c_boolean has_month; - uint32_t month; - protobuf_c_boolean has_dayofmonth; - uint32_t dayofmonth; - protobuf_c_boolean has_hour; - uint32_t hour; - protobuf_c_boolean has_minute; - uint32_t minute; - protobuf_c_boolean has_calendar; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType calendar; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor) \ - , 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__DAY_OF_WEEK_TYPE__MONDAY, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_COMPONENT__CALENDAR_TYPE__GREGORIAN } - - -struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch : public ProtobufCMessage -{ - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__HSMDATE_TIME_UNIX_EPOCH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor) \ - , 0, 0 } - - -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) + Wa__Message__ContactMessage() : + ProtobufCppMessage(wa__message__contact_message__descriptor) + {} + + char *displayname; + char *vcard; + Wa__ContextInfo *contextinfo; +}; + +struct Wa__Message__ContactsArrayMessage : public ProtobufCppMessage +{ + Wa__Message__ContactsArrayMessage() : + ProtobufCppMessage(wa__message__contacts_array_message__descriptor) + {} + + char *displayname; + size_t n_contacts; + Wa__Message__ContactMessage **contacts; + Wa__ContextInfo *contextinfo; +}; + +struct Wa__Message__DeclinePaymentRequestMessage : public ProtobufCppMessage +{ + Wa__Message__DeclinePaymentRequestMessage() : + ProtobufCppMessage(wa__message__decline_payment_request_message__descriptor) + {} + + Wa__MessageKey *key; +}; + +struct Wa__Message__DeviceSentMessage : public ProtobufCppMessage +{ + Wa__Message__DeviceSentMessage() : + ProtobufCppMessage(wa__message__device_sent_message__descriptor) + {} + + char *destinationjid; + Wa__Message *message; + char *phash; +}; + +struct Wa__Message__DocumentMessage : public ProtobufCppMessage +{ + Wa__Message__DocumentMessage() : + ProtobufCppMessage(wa__message__document_message__descriptor) + {} + + char *url; + char *mimetype; + char *title; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_pagecount; + uint32_t pagecount; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *filename; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + char *directpath; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_contactvcard; + protobuf_c_boolean contactvcard; + char *thumbnaildirectpath; + protobuf_c_boolean has_thumbnailsha256; + ProtobufCBinaryData thumbnailsha256; + protobuf_c_boolean has_thumbnailencsha256; + ProtobufCBinaryData thumbnailencsha256; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_thumbnailheight; + uint32_t thumbnailheight; + protobuf_c_boolean has_thumbnailwidth; + uint32_t thumbnailwidth; + char *caption; +}; + +struct Wa__Message__ExtendedTextMessage : public ProtobufCppMessage +{ + Wa__Message__ExtendedTextMessage() : + ProtobufCppMessage(wa__message__extended_text_message__descriptor) + {} + + char *text; + char *matchedtext; + char *canonicalurl; + char *description; + char *title; + protobuf_c_boolean has_textargb; + uint32_t textargb; + protobuf_c_boolean has_backgroundargb; + uint32_t backgroundargb; + protobuf_c_boolean has_font; + Wa__Message__ExtendedTextMessage__FontType font; + protobuf_c_boolean has_previewtype; + Wa__Message__ExtendedTextMessage__PreviewType previewtype; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_donotplayinline; + protobuf_c_boolean donotplayinline; + char *thumbnaildirectpath; + protobuf_c_boolean has_thumbnailsha256; + ProtobufCBinaryData thumbnailsha256; + protobuf_c_boolean has_thumbnailencsha256; + ProtobufCBinaryData thumbnailencsha256; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_thumbnailheight; + uint32_t thumbnailheight; + protobuf_c_boolean has_thumbnailwidth; + uint32_t thumbnailwidth; + protobuf_c_boolean has_invitelinkgrouptype; + Wa__Message__ExtendedTextMessage__InviteLinkGroupType invitelinkgrouptype; + char *invitelinkparentgroupsubjectv2; + protobuf_c_boolean has_invitelinkparentgroupthumbnailv2; + ProtobufCBinaryData invitelinkparentgroupthumbnailv2; + protobuf_c_boolean has_invitelinkgrouptypev2; + Wa__Message__ExtendedTextMessage__InviteLinkGroupType invitelinkgrouptypev2; +}; + +struct Wa__Message__FutureProofMessage : public ProtobufCppMessage +{ + Wa__Message__FutureProofMessage() : + ProtobufCppMessage(wa__message__future_proof_message__descriptor) + {} + + Wa__Message *message; +}; + +struct Wa__Message__GroupInviteMessage : public ProtobufCppMessage +{ + Wa__Message__GroupInviteMessage() : + ProtobufCppMessage(wa__message__group_invite_message__descriptor) + {} + + char *groupjid; + char *invitecode; + protobuf_c_boolean has_inviteexpiration; + int64_t inviteexpiration; + char *groupname; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + char *caption; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_grouptype; + Wa__Message__GroupInviteMessage__GroupType grouptype; +}; + +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency : public ProtobufCppMessage +{ + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency() : + ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor) + {} + + char *currencycode; + protobuf_c_boolean has_amount1000; + int64_t amount1000; +}; + +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent : public ProtobufCppMessage +{ + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent() : + ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor) + {} + + protobuf_c_boolean has_dayofweek; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__DayOfWeekType dayofweek; + protobuf_c_boolean has_year; + uint32_t year; + protobuf_c_boolean has_month; + uint32_t month; + protobuf_c_boolean has_dayofmonth; + uint32_t dayofmonth; + protobuf_c_boolean has_hour; + uint32_t hour; + protobuf_c_boolean has_minute; + uint32_t minute; + protobuf_c_boolean has_calendar; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent__CalendarType calendar; +}; + +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch : public ProtobufCppMessage +{ + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch() : + ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor) + {} + + protobuf_c_boolean has_timestamp; + int64_t timestamp; +}; + +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) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase; -struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime : public ProtobufCMessage +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase datetime_oneof_case; - union { - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *component; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *unixepoch; - }; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor) \ - , WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__HSMDATE_TIME__DATETIME_ONEOF__NOT_SET, {0} } + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime() : + ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor) + {} + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase datetime_oneof_case; + union + { + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeComponent *component; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__HSMDateTimeUnixEpoch *unixepoch; + }; +}; -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) +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) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase; -struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter : public ProtobufCMessage -{ - char *default_; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase param_oneof_case; - union { - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *currency; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *datetime; - }; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor) \ - , NULL, WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__HSMLOCALIZABLE_PARAMETER__PARAM_ONEOF__NOT_SET, {0} } - - -struct Wa__Message__HighlyStructuredMessage : public ProtobufCMessage -{ - char *namespace_; - char *elementname; - size_t n_params; - char **params; - char *fallbacklg; - char *fallbacklc; - size_t n_localizableparams; - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter **localizableparams; - char *deterministiclg; - char *deterministiclc; - Wa__Message__TemplateMessage *hydratedhsm; -}; -#define WA__MESSAGE__HIGHLY_STRUCTURED_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__highly_structured_message__descriptor) \ - , NULL, NULL, 0,NULL, NULL, NULL, 0,NULL, NULL, NULL, NULL } - - -struct Wa__Message__HistorySyncNotification : public ProtobufCMessage -{ - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - char *directpath; - protobuf_c_boolean has_synctype; - Wa__Message__HistorySyncNotification__HistorySyncType synctype; - protobuf_c_boolean has_chunkorder; - uint32_t chunkorder; - char *originalmessageid; - protobuf_c_boolean has_progress; - uint32_t progress; -}; -#define WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__history_sync_notification__descriptor) \ - , 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, WA__MESSAGE__HISTORY_SYNC_NOTIFICATION__HISTORY_SYNC_TYPE__INITIAL_BOOTSTRAP, 0, 0, NULL, 0, 0 } - - -struct Wa__Message__ImageMessage : public ProtobufCMessage -{ - char *url; - char *mimetype; - char *caption; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_height; - uint32_t height; - protobuf_c_boolean has_width; - uint32_t width; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - size_t n_interactiveannotations; - Wa__InteractiveAnnotation **interactiveannotations; - char *directpath; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_firstscansidecar; - ProtobufCBinaryData firstscansidecar; - protobuf_c_boolean has_firstscanlength; - uint32_t firstscanlength; - protobuf_c_boolean has_experimentgroupid; - uint32_t experimentgroupid; - protobuf_c_boolean has_scanssidecar; - ProtobufCBinaryData scanssidecar; - size_t n_scanlengths; - uint32_t *scanlengths; - protobuf_c_boolean has_midqualityfilesha256; - ProtobufCBinaryData midqualityfilesha256; - protobuf_c_boolean has_midqualityfileencsha256; - ProtobufCBinaryData midqualityfileencsha256; - protobuf_c_boolean has_viewonce; - protobuf_c_boolean viewonce; - char *thumbnaildirectpath; - protobuf_c_boolean has_thumbnailsha256; - ProtobufCBinaryData thumbnailsha256; - protobuf_c_boolean has_thumbnailencsha256; - ProtobufCBinaryData thumbnailencsha256; - char *staticurl; -}; -#define WA__MESSAGE__IMAGE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__image_message__descriptor) \ - , NULL, NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0,NULL, NULL, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, 0,NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL } - - -struct Wa__Message__InitialSecurityNotificationSettingSync : public ProtobufCMessage -{ - protobuf_c_boolean has_securitynotificationenabled; - protobuf_c_boolean securitynotificationenabled; -}; -#define WA__MESSAGE__INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__initial_security_notification_setting_sync__descriptor) \ - , 0, 0 } - - -struct Wa__Message__InteractiveMessage__Body : public ProtobufCMessage -{ - char *text; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__BODY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__body__descriptor) \ - , NULL } - - -struct Wa__Message__InteractiveMessage__CollectionMessage : public ProtobufCMessage -{ - char *bizjid; - char *id; - protobuf_c_boolean has_messageversion; - int32_t messageversion; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__COLLECTION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__collection_message__descriptor) \ - , NULL, NULL, 0, 0 } - - -struct Wa__Message__InteractiveMessage__Footer : public ProtobufCMessage -{ - char *text; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__FOOTER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__footer__descriptor) \ - , NULL } - - -typedef enum { - WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__NOT_SET = 0, - 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) +struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter : public ProtobufCppMessage +{ + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter() : + ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor) + {} + + char *default_; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase param_oneof_case; + union + { + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMCurrency *currency; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime *datetime; + }; +}; + +struct Wa__Message__HighlyStructuredMessage : public ProtobufCppMessage +{ + Wa__Message__HighlyStructuredMessage() : + ProtobufCppMessage(wa__message__highly_structured_message__descriptor) + {} + + char *namespace_; + char *elementname; + size_t n_params; + char **params; + char *fallbacklg; + char *fallbacklc; + size_t n_localizableparams; + Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter **localizableparams; + char *deterministiclg; + char *deterministiclc; + Wa__Message__TemplateMessage *hydratedhsm; +}; + +struct Wa__Message__HistorySyncNotification : public ProtobufCppMessage +{ + Wa__Message__HistorySyncNotification() : + ProtobufCppMessage(wa__message__history_sync_notification__descriptor) + {} + + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + char *directpath; + protobuf_c_boolean has_synctype; + Wa__Message__HistorySyncNotification__HistorySyncType synctype; + protobuf_c_boolean has_chunkorder; + uint32_t chunkorder; + char *originalmessageid; + protobuf_c_boolean has_progress; + uint32_t progress; +}; + +struct Wa__Message__ImageMessage : public ProtobufCppMessage +{ + Wa__Message__ImageMessage() : + ProtobufCppMessage(wa__message__image_message__descriptor) + {} + + char *url; + char *mimetype; + char *caption; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_height; + uint32_t height; + protobuf_c_boolean has_width; + uint32_t width; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + size_t n_interactiveannotations; + Wa__InteractiveAnnotation **interactiveannotations; + char *directpath; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_firstscansidecar; + ProtobufCBinaryData firstscansidecar; + protobuf_c_boolean has_firstscanlength; + uint32_t firstscanlength; + protobuf_c_boolean has_experimentgroupid; + uint32_t experimentgroupid; + protobuf_c_boolean has_scanssidecar; + ProtobufCBinaryData scanssidecar; + size_t n_scanlengths; + uint32_t *scanlengths; + protobuf_c_boolean has_midqualityfilesha256; + ProtobufCBinaryData midqualityfilesha256; + protobuf_c_boolean has_midqualityfileencsha256; + ProtobufCBinaryData midqualityfileencsha256; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; + char *thumbnaildirectpath; + protobuf_c_boolean has_thumbnailsha256; + ProtobufCBinaryData thumbnailsha256; + protobuf_c_boolean has_thumbnailencsha256; + ProtobufCBinaryData thumbnailencsha256; + char *staticurl; +}; + +struct Wa__Message__InitialSecurityNotificationSettingSync : public ProtobufCppMessage +{ + Wa__Message__InitialSecurityNotificationSettingSync() : + ProtobufCppMessage(wa__message__initial_security_notification_setting_sync__descriptor) + {} + + protobuf_c_boolean has_securitynotificationenabled; + protobuf_c_boolean securitynotificationenabled; +}; + +struct Wa__Message__InteractiveMessage__Body : public ProtobufCppMessage +{ + Wa__Message__InteractiveMessage__Body() : + ProtobufCppMessage(wa__message__interactive_message__body__descriptor) + {} + + char *text; +}; + +struct Wa__Message__InteractiveMessage__CollectionMessage : public ProtobufCppMessage +{ + Wa__Message__InteractiveMessage__CollectionMessage() : + ProtobufCppMessage(wa__message__interactive_message__collection_message__descriptor) + {} + + char *bizjid; + char *id; + protobuf_c_boolean has_messageversion; + int32_t messageversion; +}; + +struct Wa__Message__InteractiveMessage__Footer : public ProtobufCppMessage +{ + Wa__Message__InteractiveMessage__Footer() : + ProtobufCppMessage(wa__message__interactive_message__footer__descriptor) + {} + + char *text; +}; + +typedef enum +{ + WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__NOT_SET = 0, + 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__InteractiveMessage__Header__MediaCase; -struct Wa__Message__InteractiveMessage__Header : public ProtobufCMessage +struct Wa__Message__InteractiveMessage__Header : public ProtobufCppMessage { - char *title; - char *subtitle; - protobuf_c_boolean has_hasmediaattachment; - protobuf_c_boolean hasmediaattachment; - Wa__Message__InteractiveMessage__Header__MediaCase media_case; - union { - Wa__Message__DocumentMessage *documentmessage; - Wa__Message__ImageMessage *imagemessage; - ProtobufCBinaryData jpegthumbnail; - Wa__Message__VideoMessage *videomessage; - }; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__header__descriptor) \ - , NULL, NULL, 0, 0, WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__NOT_SET, {0} } + Wa__Message__InteractiveMessage__Header() : + ProtobufCppMessage(wa__message__interactive_message__header__descriptor) + {} + char *title; + char *subtitle; + protobuf_c_boolean has_hasmediaattachment; + protobuf_c_boolean hasmediaattachment; + Wa__Message__InteractiveMessage__Header__MediaCase media_case; + union + { + Wa__Message__DocumentMessage *documentmessage; + Wa__Message__ImageMessage *imagemessage; + ProtobufCBinaryData jpegthumbnail; + Wa__Message__VideoMessage *videomessage; + }; +}; -struct Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton : public ProtobufCMessage +struct Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton : public ProtobufCppMessage { - char *name; - char *buttonparamsjson; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__NATIVE_FLOW_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__native_flow_message__native_flow_button__descriptor) \ - , NULL, NULL } + Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton() : + ProtobufCppMessage(wa__message__interactive_message__native_flow_message__native_flow_button__descriptor) + {} + char *name; + char *buttonparamsjson; +}; -struct Wa__Message__InteractiveMessage__NativeFlowMessage : public ProtobufCMessage +struct Wa__Message__InteractiveMessage__NativeFlowMessage : public ProtobufCppMessage { - size_t n_buttons; - Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton **buttons; - char *messageparamsjson; - protobuf_c_boolean has_messageversion; - int32_t messageversion; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__NATIVE_FLOW_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__native_flow_message__descriptor) \ - , 0,NULL, NULL, 0, 0 } + Wa__Message__InteractiveMessage__NativeFlowMessage() : + ProtobufCppMessage(wa__message__interactive_message__native_flow_message__descriptor) + {} + size_t n_buttons; + Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton **buttons; + char *messageparamsjson; + protobuf_c_boolean has_messageversion; + int32_t messageversion; +}; -struct Wa__Message__InteractiveMessage__ShopMessage : public ProtobufCMessage +struct Wa__Message__InteractiveMessage__ShopMessage : public ProtobufCppMessage { - char *id; - protobuf_c_boolean has_surface; - Wa__Message__InteractiveMessage__ShopMessage__Surface surface; - protobuf_c_boolean has_messageversion; - int32_t messageversion; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__shop_message__descriptor) \ - , NULL, 0, WA__MESSAGE__INTERACTIVE_MESSAGE__SHOP_MESSAGE__SURFACE__UNKNOWN_SURFACE, 0, 0 } + Wa__Message__InteractiveMessage__ShopMessage() : + ProtobufCppMessage(wa__message__interactive_message__shop_message__descriptor) + {} + char *id; + protobuf_c_boolean has_surface; + Wa__Message__InteractiveMessage__ShopMessage__Surface surface; + protobuf_c_boolean has_messageversion; + int32_t messageversion; +}; -typedef enum { - WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE__NOT_SET = 0, - 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) +typedef enum +{ + WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE__NOT_SET = 0, + 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) } Wa__Message__InteractiveMessage__InteractiveMessageCase; -struct Wa__Message__InteractiveMessage : public ProtobufCMessage +struct Wa__Message__InteractiveMessage : public ProtobufCppMessage { - Wa__Message__InteractiveMessage__Header *header; - Wa__Message__InteractiveMessage__Body *body; - Wa__Message__InteractiveMessage__Footer *footer; - Wa__ContextInfo *contextinfo; - Wa__Message__InteractiveMessage__InteractiveMessageCase interactive_message_case; - union { - Wa__Message__InteractiveMessage__ShopMessage *shopstorefrontmessage; - Wa__Message__InteractiveMessage__CollectionMessage *collectionmessage; - Wa__Message__InteractiveMessage__NativeFlowMessage *nativeflowmessage; - }; -}; -#define WA__MESSAGE__INTERACTIVE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_message__descriptor) \ - , NULL, NULL, NULL, NULL, WA__MESSAGE__INTERACTIVE_MESSAGE__INTERACTIVE_MESSAGE__NOT_SET, {0} } - + Wa__Message__InteractiveMessage() : + ProtobufCppMessage(wa__message__interactive_message__descriptor) + {} -struct Wa__Message__InteractiveResponseMessage__Body : public ProtobufCMessage -{ - char *text; + Wa__Message__InteractiveMessage__Header *header; + Wa__Message__InteractiveMessage__Body *body; + Wa__Message__InteractiveMessage__Footer *footer; + Wa__ContextInfo *contextinfo; + Wa__Message__InteractiveMessage__InteractiveMessageCase interactive_message_case; + union + { + Wa__Message__InteractiveMessage__ShopMessage *shopstorefrontmessage; + Wa__Message__InteractiveMessage__CollectionMessage *collectionmessage; + Wa__Message__InteractiveMessage__NativeFlowMessage *nativeflowmessage; + }; }; -#define WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__BODY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_response_message__body__descriptor) \ - , NULL } - -struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage : public ProtobufCMessage +struct Wa__Message__InteractiveResponseMessage__Body : public ProtobufCppMessage { - char *name; - char *paramsjson; - protobuf_c_boolean has_version; - int32_t version; -}; -#define WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NATIVE_FLOW_RESPONSE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_response_message__native_flow_response_message__descriptor) \ - , NULL, NULL, 0, 0 } - - -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) -} Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase; + Wa__Message__InteractiveResponseMessage__Body() : + ProtobufCppMessage(wa__message__interactive_response_message__body__descriptor) + {} -struct Wa__Message__InteractiveResponseMessage : public ProtobufCMessage -{ - Wa__Message__InteractiveResponseMessage__Body *body; - Wa__ContextInfo *contextinfo; - Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase interactive_response_message_case; - union { - Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *nativeflowresponsemessage; - }; + char *text; }; -#define WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__interactive_response_message__descriptor) \ - , NULL, NULL, WA__MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__INTERACTIVE_RESPONSE_MESSAGE__NOT_SET, {0} } - -struct Wa__Message__InvoiceMessage : public ProtobufCMessage +struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage : public ProtobufCppMessage { - char *note; - char *token; - protobuf_c_boolean has_attachmenttype; - Wa__Message__InvoiceMessage__AttachmentType attachmenttype; - char *attachmentmimetype; - protobuf_c_boolean has_attachmentmediakey; - ProtobufCBinaryData attachmentmediakey; - protobuf_c_boolean has_attachmentmediakeytimestamp; - int64_t attachmentmediakeytimestamp; - protobuf_c_boolean has_attachmentfilesha256; - ProtobufCBinaryData attachmentfilesha256; - protobuf_c_boolean has_attachmentfileencsha256; - ProtobufCBinaryData attachmentfileencsha256; - char *attachmentdirectpath; - protobuf_c_boolean has_attachmentjpegthumbnail; - ProtobufCBinaryData attachmentjpegthumbnail; -}; -#define WA__MESSAGE__INVOICE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__invoice_message__descriptor) \ - , NULL, NULL, 0, WA__MESSAGE__INVOICE_MESSAGE__ATTACHMENT_TYPE__IMAGE, NULL, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, {0,NULL} } + Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage() : + ProtobufCppMessage(wa__message__interactive_response_message__native_flow_response_message__descriptor) + {} + char *name; + char *paramsjson; + protobuf_c_boolean has_version; + int32_t version; +}; -struct Wa__Message__KeepInChatMessage : public ProtobufCMessage +typedef enum { - Wa__MessageKey *key; - protobuf_c_boolean has_keeptype; - Wa__KeepType keeptype; - protobuf_c_boolean has_timestampms; - int64_t timestampms; + 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) +} Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase; + +struct Wa__Message__InteractiveResponseMessage : public ProtobufCppMessage +{ + Wa__Message__InteractiveResponseMessage() : + ProtobufCppMessage(wa__message__interactive_response_message__descriptor) + {} + + Wa__Message__InteractiveResponseMessage__Body *body; + Wa__ContextInfo *contextinfo; + Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase interactive_response_message_case; + union + { + Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *nativeflowresponsemessage; + }; +}; + +struct Wa__Message__InvoiceMessage : public ProtobufCppMessage +{ + Wa__Message__InvoiceMessage() : + ProtobufCppMessage(wa__message__invoice_message__descriptor) + {} + + char *note; + char *token; + protobuf_c_boolean has_attachmenttype; + Wa__Message__InvoiceMessage__AttachmentType attachmenttype; + char *attachmentmimetype; + protobuf_c_boolean has_attachmentmediakey; + ProtobufCBinaryData attachmentmediakey; + protobuf_c_boolean has_attachmentmediakeytimestamp; + int64_t attachmentmediakeytimestamp; + protobuf_c_boolean has_attachmentfilesha256; + ProtobufCBinaryData attachmentfilesha256; + protobuf_c_boolean has_attachmentfileencsha256; + ProtobufCBinaryData attachmentfileencsha256; + char *attachmentdirectpath; + protobuf_c_boolean has_attachmentjpegthumbnail; + ProtobufCBinaryData attachmentjpegthumbnail; +}; + +struct Wa__Message__KeepInChatMessage : public ProtobufCppMessage +{ + Wa__Message__KeepInChatMessage() : + ProtobufCppMessage(wa__message__keep_in_chat_message__descriptor) + {} + + Wa__MessageKey *key; + protobuf_c_boolean has_keeptype; + Wa__KeepType keeptype; + 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__ProductListHeaderImage : public ProtobufCMessage +struct Wa__Message__ListMessage__ProductListHeaderImage : public ProtobufCppMessage { - char *productid; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; -}; -#define WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_HEADER_IMAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__product_list_header_image__descriptor) \ - , NULL, 0, {0,NULL} } + Wa__Message__ListMessage__ProductListHeaderImage() : + ProtobufCppMessage(wa__message__list_message__product_list_header_image__descriptor) + {} - -struct Wa__Message__ListMessage__ProductListInfo : public ProtobufCMessage -{ - size_t n_productsections; - Wa__Message__ListMessage__ProductSection **productsections; - Wa__Message__ListMessage__ProductListHeaderImage *headerimage; - char *businessownerjid; + char *productid; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; }; -#define WA__MESSAGE__LIST_MESSAGE__PRODUCT_LIST_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__product_list_info__descriptor) \ - , 0,NULL, NULL, NULL } - -struct Wa__Message__ListMessage__ProductSection : public ProtobufCMessage +struct Wa__Message__ListMessage__ProductListInfo : public ProtobufCppMessage { - char *title; - size_t n_products; - Wa__Message__ListMessage__Product **products; -}; -#define WA__MESSAGE__LIST_MESSAGE__PRODUCT_SECTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__product_section__descriptor) \ - , NULL, 0,NULL } + Wa__Message__ListMessage__ProductListInfo() : + ProtobufCppMessage(wa__message__list_message__product_list_info__descriptor) + {} + size_t n_productsections; + Wa__Message__ListMessage__ProductSection **productsections; + Wa__Message__ListMessage__ProductListHeaderImage *headerimage; + char *businessownerjid; +}; -struct Wa__Message__ListMessage__Product : public ProtobufCMessage +struct Wa__Message__ListMessage__ProductSection : public ProtobufCppMessage { - char *productid; -}; -#define WA__MESSAGE__LIST_MESSAGE__PRODUCT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__product__descriptor) \ - , NULL } + Wa__Message__ListMessage__ProductSection() : + ProtobufCppMessage(wa__message__list_message__product_section__descriptor) + {} + char *title; + size_t n_products; + Wa__Message__ListMessage__Product **products; +}; -struct Wa__Message__ListMessage__Row : public ProtobufCMessage +struct Wa__Message__ListMessage__Product : public ProtobufCppMessage { - char *title; - char *description; - char *rowid; -}; -#define WA__MESSAGE__LIST_MESSAGE__ROW__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__row__descriptor) \ - , NULL, NULL, NULL } + Wa__Message__ListMessage__Product() : + ProtobufCppMessage(wa__message__list_message__product__descriptor) + {} + char *productid; +}; -struct Wa__Message__ListMessage__Section : public ProtobufCMessage +struct Wa__Message__ListMessage__Row : public ProtobufCppMessage { - char *title; - size_t n_rows; - Wa__Message__ListMessage__Row **rows; -}; -#define WA__MESSAGE__LIST_MESSAGE__SECTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__section__descriptor) \ - , NULL, 0,NULL } + Wa__Message__ListMessage__Row() : + ProtobufCppMessage(wa__message__list_message__row__descriptor) + {} + char *title; + char *description; + char *rowid; +}; -struct Wa__Message__ListMessage : public ProtobufCMessage +struct Wa__Message__ListMessage__Section : public ProtobufCppMessage { - char *title; - char *description; - char *buttontext; - protobuf_c_boolean has_listtype; - Wa__Message__ListMessage__ListType listtype; - size_t n_sections; - Wa__Message__ListMessage__Section **sections; - Wa__Message__ListMessage__ProductListInfo *productlistinfo; - char *footertext; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__LIST_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_message__descriptor) \ - , NULL, NULL, NULL, 0, WA__MESSAGE__LIST_MESSAGE__LIST_TYPE__UNKNOWN, 0,NULL, NULL, NULL, NULL } + Wa__Message__ListMessage__Section() : + ProtobufCppMessage(wa__message__list_message__section__descriptor) + {} + char *title; + size_t n_rows; + Wa__Message__ListMessage__Row **rows; +}; -struct Wa__Message__ListResponseMessage__SingleSelectReply : public ProtobufCMessage +struct Wa__Message__ListMessage : public ProtobufCppMessage { - char *selectedrowid; -}; -#define WA__MESSAGE__LIST_RESPONSE_MESSAGE__SINGLE_SELECT_REPLY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_response_message__single_select_reply__descriptor) \ - , NULL } + Wa__Message__ListMessage() : + ProtobufCppMessage(wa__message__list_message__descriptor) + {} + char *title; + char *description; + char *buttontext; + protobuf_c_boolean has_listtype; + Wa__Message__ListMessage__ListType listtype; + size_t n_sections; + Wa__Message__ListMessage__Section **sections; + Wa__Message__ListMessage__ProductListInfo *productlistinfo; + char *footertext; + Wa__ContextInfo *contextinfo; +}; -struct Wa__Message__ListResponseMessage : public ProtobufCMessage +struct Wa__Message__ListResponseMessage__SingleSelectReply : public ProtobufCppMessage { - char *title; - protobuf_c_boolean has_listtype; - Wa__Message__ListResponseMessage__ListType listtype; - Wa__Message__ListResponseMessage__SingleSelectReply *singleselectreply; - Wa__ContextInfo *contextinfo; - char *description; -}; -#define WA__MESSAGE__LIST_RESPONSE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__list_response_message__descriptor) \ - , NULL, 0, WA__MESSAGE__LIST_RESPONSE_MESSAGE__LIST_TYPE__UNKNOWN, NULL, NULL, NULL } + Wa__Message__ListResponseMessage__SingleSelectReply() : + ProtobufCppMessage(wa__message__list_response_message__single_select_reply__descriptor) + {} + char *selectedrowid; +}; -struct Wa__Message__LiveLocationMessage : public ProtobufCMessage +struct Wa__Message__ListResponseMessage : public ProtobufCppMessage { - protobuf_c_boolean has_degreeslatitude; - double degreeslatitude; - protobuf_c_boolean has_degreeslongitude; - double degreeslongitude; - protobuf_c_boolean has_accuracyinmeters; - uint32_t accuracyinmeters; - protobuf_c_boolean has_speedinmps; - float speedinmps; - protobuf_c_boolean has_degreesclockwisefrommagneticnorth; - uint32_t degreesclockwisefrommagneticnorth; - char *caption; - protobuf_c_boolean has_sequencenumber; - int64_t sequencenumber; - protobuf_c_boolean has_timeoffset; - uint32_t timeoffset; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__LIVE_LOCATION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__live_location_message__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, {0,NULL}, NULL } + Wa__Message__ListResponseMessage() : + ProtobufCppMessage(wa__message__list_response_message__descriptor) + {} + char *title; + protobuf_c_boolean has_listtype; + Wa__Message__ListResponseMessage__ListType listtype; + Wa__Message__ListResponseMessage__SingleSelectReply *singleselectreply; + Wa__ContextInfo *contextinfo; + char *description; +}; -struct Wa__Message__LocationMessage : public ProtobufCMessage +struct Wa__Message__LiveLocationMessage : public ProtobufCppMessage { - protobuf_c_boolean has_degreeslatitude; - double degreeslatitude; - protobuf_c_boolean has_degreeslongitude; - double degreeslongitude; - char *name; - char *address; - char *url; - protobuf_c_boolean has_islive; - protobuf_c_boolean islive; - protobuf_c_boolean has_accuracyinmeters; - uint32_t accuracyinmeters; - protobuf_c_boolean has_speedinmps; - float speedinmps; - protobuf_c_boolean has_degreesclockwisefrommagneticnorth; - uint32_t degreesclockwisefrommagneticnorth; - char *comment; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__LOCATION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__location_message__descriptor) \ - , 0, 0, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, NULL } + Wa__Message__LiveLocationMessage() : + ProtobufCppMessage(wa__message__live_location_message__descriptor) + {} + protobuf_c_boolean has_degreeslatitude; + double degreeslatitude; + protobuf_c_boolean has_degreeslongitude; + double degreeslongitude; + protobuf_c_boolean has_accuracyinmeters; + uint32_t accuracyinmeters; + protobuf_c_boolean has_speedinmps; + float speedinmps; + protobuf_c_boolean has_degreesclockwisefrommagneticnorth; + uint32_t degreesclockwisefrommagneticnorth; + char *caption; + protobuf_c_boolean has_sequencenumber; + int64_t sequencenumber; + protobuf_c_boolean has_timeoffset; + uint32_t timeoffset; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; +}; -struct Wa__Message__OrderMessage : public ProtobufCMessage +struct Wa__Message__LocationMessage : public ProtobufCppMessage { - char *orderid; - protobuf_c_boolean has_thumbnail; - ProtobufCBinaryData thumbnail; - protobuf_c_boolean has_itemcount; - int32_t itemcount; - protobuf_c_boolean has_status; - Wa__Message__OrderMessage__OrderStatus status; - protobuf_c_boolean has_surface; - Wa__Message__OrderMessage__OrderSurface surface; - char *message; - char *ordertitle; - char *sellerjid; - char *token; - protobuf_c_boolean has_totalamount1000; - int64_t totalamount1000; - char *totalcurrencycode; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__ORDER_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__order_message__descriptor) \ - , NULL, 0, {0,NULL}, 0, 0, 0, WA__MESSAGE__ORDER_MESSAGE__ORDER_STATUS__INQUIRY, 0, WA__MESSAGE__ORDER_MESSAGE__ORDER_SURFACE__CATALOG, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } + Wa__Message__LocationMessage() : + ProtobufCppMessage(wa__message__location_message__descriptor) + {} + protobuf_c_boolean has_degreeslatitude; + double degreeslatitude; + protobuf_c_boolean has_degreeslongitude; + double degreeslongitude; + char *name; + char *address; + char *url; + protobuf_c_boolean has_islive; + protobuf_c_boolean islive; + protobuf_c_boolean has_accuracyinmeters; + uint32_t accuracyinmeters; + protobuf_c_boolean has_speedinmps; + float speedinmps; + protobuf_c_boolean has_degreesclockwisefrommagneticnorth; + uint32_t degreesclockwisefrommagneticnorth; + char *comment; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; +}; -struct Wa__Message__PaymentInviteMessage : public ProtobufCMessage +struct Wa__Message__OrderMessage : public ProtobufCppMessage { - protobuf_c_boolean has_servicetype; - Wa__Message__PaymentInviteMessage__ServiceType servicetype; - protobuf_c_boolean has_expirytimestamp; - int64_t expirytimestamp; + Wa__Message__OrderMessage() : + ProtobufCppMessage(wa__message__order_message__descriptor) + {} + + char *orderid; + protobuf_c_boolean has_thumbnail; + ProtobufCBinaryData thumbnail; + protobuf_c_boolean has_itemcount; + int32_t itemcount; + protobuf_c_boolean has_status; + Wa__Message__OrderMessage__OrderStatus status; + protobuf_c_boolean has_surface; + Wa__Message__OrderMessage__OrderSurface surface; + char *message; + char *ordertitle; + char *sellerjid; + char *token; + protobuf_c_boolean has_totalamount1000; + int64_t totalamount1000; + char *totalcurrencycode; + Wa__ContextInfo *contextinfo; }; -#define WA__MESSAGE__PAYMENT_INVITE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__payment_invite_message__descriptor) \ - , 0, WA__MESSAGE__PAYMENT_INVITE_MESSAGE__SERVICE_TYPE__UNKNOWN, 0, 0 } - -struct Wa__Message__PollCreationMessage__Option : public ProtobufCMessage +struct Wa__Message__PaymentInviteMessage : public ProtobufCppMessage { - char *optionname; -}; -#define WA__MESSAGE__POLL_CREATION_MESSAGE__OPTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_creation_message__option__descriptor) \ - , NULL } + Wa__Message__PaymentInviteMessage() : + ProtobufCppMessage(wa__message__payment_invite_message__descriptor) + {} + protobuf_c_boolean has_servicetype; + Wa__Message__PaymentInviteMessage__ServiceType servicetype; + protobuf_c_boolean has_expirytimestamp; + int64_t expirytimestamp; +}; -struct Wa__Message__PollCreationMessage : public ProtobufCMessage +struct Wa__Message__PollCreationMessage__Option : public ProtobufCppMessage { - protobuf_c_boolean has_enckey; - ProtobufCBinaryData enckey; - char *name; - size_t n_options; - Wa__Message__PollCreationMessage__Option **options; - protobuf_c_boolean has_selectableoptionscount; - uint32_t selectableoptionscount; - Wa__ContextInfo *contextinfo; + Wa__Message__PollCreationMessage__Option() : + ProtobufCppMessage(wa__message__poll_creation_message__option__descriptor) + {} + + char *optionname; }; -#define WA__MESSAGE__POLL_CREATION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_creation_message__descriptor) \ - , 0, {0,NULL}, NULL, 0,NULL, 0, 0, NULL } +struct Wa__Message__PollCreationMessage : public ProtobufCppMessage +{ + Wa__Message__PollCreationMessage() : + ProtobufCppMessage(wa__message__poll_creation_message__descriptor) + {} -struct Wa__Message__PollEncValue : public ProtobufCMessage -{ - protobuf_c_boolean has_encpayload; - ProtobufCBinaryData encpayload; - protobuf_c_boolean has_enciv; - ProtobufCBinaryData enciv; + protobuf_c_boolean has_enckey; + ProtobufCBinaryData enckey; + char *name; + size_t n_options; + Wa__Message__PollCreationMessage__Option **options; + protobuf_c_boolean has_selectableoptionscount; + uint32_t selectableoptionscount; + Wa__ContextInfo *contextinfo; }; -#define WA__MESSAGE__POLL_ENC_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_enc_value__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } - -struct Wa__Message__PollUpdateMessageMetadata : public ProtobufCMessage +struct Wa__Message__PollEncValue : public ProtobufCppMessage { -}; -#define WA__MESSAGE__POLL_UPDATE_MESSAGE_METADATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_update_message_metadata__descriptor) \ - } + Wa__Message__PollEncValue() : + ProtobufCppMessage(wa__message__poll_enc_value__descriptor) + {} + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; +}; -struct Wa__Message__PollUpdateMessage : public ProtobufCMessage +struct Wa__Message__PollUpdateMessageMetadata : public ProtobufCppMessage { - Wa__MessageKey *pollcreationmessagekey; - Wa__Message__PollEncValue *vote; - Wa__Message__PollUpdateMessageMetadata *metadata; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; + Wa__Message__PollUpdateMessageMetadata() : + ProtobufCppMessage(wa__message__poll_update_message_metadata__descriptor) + {} }; -#define WA__MESSAGE__POLL_UPDATE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_update_message__descriptor) \ - , NULL, NULL, NULL, 0, 0 } - -struct Wa__Message__PollVoteMessage : public ProtobufCMessage +struct Wa__Message__PollUpdateMessage : public ProtobufCppMessage { - size_t n_selectedoptions; - ProtobufCBinaryData *selectedoptions; -}; -#define WA__MESSAGE__POLL_VOTE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__poll_vote_message__descriptor) \ - , 0,NULL } + Wa__Message__PollUpdateMessage() : + ProtobufCppMessage(wa__message__poll_update_message__descriptor) + {} + Wa__MessageKey *pollcreationmessagekey; + Wa__Message__PollEncValue *vote; + Wa__Message__PollUpdateMessageMetadata *metadata; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; +}; -struct Wa__Message__ProductMessage__CatalogSnapshot : public ProtobufCMessage +struct Wa__Message__PollVoteMessage : public ProtobufCppMessage { - Wa__Message__ImageMessage *catalogimage; - char *title; - char *description; -}; -#define WA__MESSAGE__PRODUCT_MESSAGE__CATALOG_SNAPSHOT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__product_message__catalog_snapshot__descriptor) \ - , NULL, NULL, NULL } + Wa__Message__PollVoteMessage() : + ProtobufCppMessage(wa__message__poll_vote_message__descriptor) + {} + size_t n_selectedoptions; + ProtobufCBinaryData *selectedoptions; +}; -struct Wa__Message__ProductMessage__ProductSnapshot : public ProtobufCMessage +struct Wa__Message__ProductMessage__CatalogSnapshot : public ProtobufCppMessage { - Wa__Message__ImageMessage *productimage; - char *productid; - char *title; - char *description; - char *currencycode; - protobuf_c_boolean has_priceamount1000; - int64_t priceamount1000; - char *retailerid; - char *url; - protobuf_c_boolean has_productimagecount; - uint32_t productimagecount; - char *firstimageid; - protobuf_c_boolean has_salepriceamount1000; - int64_t salepriceamount1000; -}; -#define WA__MESSAGE__PRODUCT_MESSAGE__PRODUCT_SNAPSHOT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__product_message__product_snapshot__descriptor) \ - , NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, 0, 0, NULL, 0, 0 } + Wa__Message__ProductMessage__CatalogSnapshot() : + ProtobufCppMessage(wa__message__product_message__catalog_snapshot__descriptor) + {} + Wa__Message__ImageMessage *catalogimage; + char *title; + char *description; +}; -struct Wa__Message__ProductMessage : public ProtobufCMessage +struct Wa__Message__ProductMessage__ProductSnapshot : public ProtobufCppMessage { - Wa__Message__ProductMessage__ProductSnapshot *product; - char *businessownerjid; - Wa__Message__ProductMessage__CatalogSnapshot *catalog; - char *body; - char *footer; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__PRODUCT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__product_message__descriptor) \ - , NULL, NULL, NULL, NULL, NULL, NULL } + Wa__Message__ProductMessage__ProductSnapshot() : + ProtobufCppMessage(wa__message__product_message__product_snapshot__descriptor) + {} + Wa__Message__ImageMessage *productimage; + char *productid; + char *title; + char *description; + char *currencycode; + protobuf_c_boolean has_priceamount1000; + int64_t priceamount1000; + char *retailerid; + char *url; + protobuf_c_boolean has_productimagecount; + uint32_t productimagecount; + char *firstimageid; + protobuf_c_boolean has_salepriceamount1000; + int64_t salepriceamount1000; +}; -struct Wa__Message__ProtocolMessage : public ProtobufCMessage +struct Wa__Message__ProductMessage : public ProtobufCppMessage { - Wa__MessageKey *key; - protobuf_c_boolean has_type; - Wa__Message__ProtocolMessage__Type type; - protobuf_c_boolean has_ephemeralexpiration; - uint32_t ephemeralexpiration; - protobuf_c_boolean has_ephemeralsettingtimestamp; - int64_t ephemeralsettingtimestamp; - Wa__Message__HistorySyncNotification *historysyncnotification; - Wa__Message__AppStateSyncKeyShare *appstatesynckeyshare; - Wa__Message__AppStateSyncKeyRequest *appstatesynckeyrequest; - Wa__Message__InitialSecurityNotificationSettingSync *initialsecuritynotificationsettingsync; - Wa__Message__AppStateFatalExceptionNotification *appstatefatalexceptionnotification; - Wa__DisappearingMode *disappearingmode; - Wa__Message__RequestMediaUploadMessage *requestmediauploadmessage; - Wa__Message__RequestMediaUploadResponseMessage *requestmediauploadresponsemessage; -}; -#define WA__MESSAGE__PROTOCOL_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__protocol_message__descriptor) \ - , NULL, 0, WA__MESSAGE__PROTOCOL_MESSAGE__TYPE__REVOKE, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } + Wa__Message__ProductMessage() : + ProtobufCppMessage(wa__message__product_message__descriptor) + {} + Wa__Message__ProductMessage__ProductSnapshot *product; + char *businessownerjid; + Wa__Message__ProductMessage__CatalogSnapshot *catalog; + char *body; + char *footer; + Wa__ContextInfo *contextinfo; +}; -struct Wa__Message__ReactionMessage : public ProtobufCMessage +struct Wa__Message__ProtocolMessage : public ProtobufCppMessage { - Wa__MessageKey *key; - char *text; - char *groupingkey; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; -}; -#define WA__MESSAGE__REACTION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__reaction_message__descriptor) \ - , NULL, NULL, NULL, 0, 0 } + Wa__Message__ProtocolMessage() : + ProtobufCppMessage(wa__message__protocol_message__descriptor) + {} + Wa__MessageKey *key; + protobuf_c_boolean has_type; + Wa__Message__ProtocolMessage__Type type; + protobuf_c_boolean has_ephemeralexpiration; + uint32_t ephemeralexpiration; + protobuf_c_boolean has_ephemeralsettingtimestamp; + int64_t ephemeralsettingtimestamp; + Wa__Message__HistorySyncNotification *historysyncnotification; + Wa__Message__AppStateSyncKeyShare *appstatesynckeyshare; + Wa__Message__AppStateSyncKeyRequest *appstatesynckeyrequest; + Wa__Message__InitialSecurityNotificationSettingSync *initialsecuritynotificationsettingsync; + Wa__Message__AppStateFatalExceptionNotification *appstatefatalexceptionnotification; + Wa__DisappearingMode *disappearingmode; + Wa__Message__RequestMediaUploadMessage *requestmediauploadmessage; + Wa__Message__RequestMediaUploadResponseMessage *requestmediauploadresponsemessage; +}; -struct Wa__Message__RequestMediaUploadMessage : public ProtobufCMessage +struct Wa__Message__ReactionMessage : public ProtobufCppMessage { - size_t n_filesha256; - char **filesha256; - protobuf_c_boolean has_rmrsource; - Wa__Message__RmrSource rmrsource; -}; -#define WA__MESSAGE__REQUEST_MEDIA_UPLOAD_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__request_media_upload_message__descriptor) \ - , 0,NULL, 0, WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER } + Wa__Message__ReactionMessage() : + ProtobufCppMessage(wa__message__reaction_message__descriptor) + {} + Wa__MessageKey *key; + char *text; + char *groupingkey; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; +}; -struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult : public ProtobufCMessage +struct Wa__Message__RequestMediaUploadMessage : public ProtobufCppMessage { - char *filesha256; - protobuf_c_boolean has_mediauploadresult; - Wa__MediaRetryNotification__ResultType mediauploadresult; - Wa__Message__StickerMessage *stickermessage; -}; -#define WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__REQUEST_MEDIA_UPLOAD_RESULT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__request_media_upload_response_message__request_media_upload_result__descriptor) \ - , NULL, 0, WA__MEDIA_RETRY_NOTIFICATION__RESULT_TYPE__GENERAL_ERROR, NULL } + 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 : public ProtobufCMessage +struct Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult : public ProtobufCppMessage { - protobuf_c_boolean has_rmrsource; - Wa__Message__RmrSource rmrsource; - char *stanzaid; - size_t n_reuploadresult; - Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult **reuploadresult; -}; -#define WA__MESSAGE__REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__request_media_upload_response_message__descriptor) \ - , 0, WA__MESSAGE__RMR_SOURCE__FAVORITE_STICKER, NULL, 0,NULL } + 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__RequestPaymentMessage : public ProtobufCMessage +struct Wa__Message__RequestMediaUploadResponseMessage : public ProtobufCppMessage { - Wa__Message *notemessage; - char *currencycodeiso4217; - protobuf_c_boolean has_amount1000; - uint64_t amount1000; - char *requestfrom; - protobuf_c_boolean has_expirytimestamp; - int64_t expirytimestamp; - Wa__Money *amount; - Wa__PaymentBackground *background; -}; -#define WA__MESSAGE__REQUEST_PAYMENT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__request_payment_message__descriptor) \ - , NULL, NULL, 0, 0, NULL, 0, 0, NULL, NULL } + 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__RequestPhoneNumberMessage : public ProtobufCMessage +struct Wa__Message__RequestPaymentMessage : public ProtobufCppMessage { - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__REQUEST_PHONE_NUMBER_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__request_phone_number_message__descriptor) \ - , NULL } + Wa__Message__RequestPaymentMessage() : + ProtobufCppMessage(wa__message__request_payment_message__descriptor) + {} + Wa__Message *notemessage; + char *currencycodeiso4217; + protobuf_c_boolean has_amount1000; + uint64_t amount1000; + char *requestfrom; + protobuf_c_boolean has_expirytimestamp; + int64_t expirytimestamp; + Wa__Money *amount; + Wa__PaymentBackground *background; +}; -struct Wa__Message__SendPaymentMessage : public ProtobufCMessage +struct Wa__Message__RequestPhoneNumberMessage : public ProtobufCppMessage { - Wa__Message *notemessage; - Wa__MessageKey *requestmessagekey; - Wa__PaymentBackground *background; -}; -#define WA__MESSAGE__SEND_PAYMENT_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__send_payment_message__descriptor) \ - , NULL, NULL, NULL } + Wa__Message__RequestPhoneNumberMessage() : + ProtobufCppMessage(wa__message__request_phone_number_message__descriptor) + {} + Wa__ContextInfo *contextinfo; +}; -struct Wa__Message__SenderKeyDistributionMessage : public ProtobufCMessage +struct Wa__Message__SendPaymentMessage : public ProtobufCppMessage { - char *groupid; - protobuf_c_boolean has_axolotlsenderkeydistributionmessage; - ProtobufCBinaryData axolotlsenderkeydistributionmessage; -}; -#define WA__MESSAGE__SENDER_KEY_DISTRIBUTION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__sender_key_distribution_message__descriptor) \ - , NULL, 0, {0,NULL} } + Wa__Message__SendPaymentMessage() : + ProtobufCppMessage(wa__message__send_payment_message__descriptor) + {} + Wa__Message *notemessage; + Wa__MessageKey *requestmessagekey; + Wa__PaymentBackground *background; +}; -struct Wa__Message__StickerMessage : public ProtobufCMessage +struct Wa__Message__SenderKeyDistributionMessage : public ProtobufCppMessage { - char *url; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *mimetype; - protobuf_c_boolean has_height; - uint32_t height; - protobuf_c_boolean has_width; - uint32_t width; - char *directpath; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_firstframelength; - uint32_t firstframelength; - protobuf_c_boolean has_firstframesidecar; - ProtobufCBinaryData firstframesidecar; - protobuf_c_boolean has_isanimated; - protobuf_c_boolean isanimated; - protobuf_c_boolean has_pngthumbnail; - ProtobufCBinaryData pngthumbnail; - Wa__ContextInfo *contextinfo; -}; -#define WA__MESSAGE__STICKER_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__sticker_message__descriptor) \ - , NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, {0,NULL}, NULL } + Wa__Message__SenderKeyDistributionMessage() : + ProtobufCppMessage(wa__message__sender_key_distribution_message__descriptor) + {} + char *groupid; + protobuf_c_boolean has_axolotlsenderkeydistributionmessage; + ProtobufCBinaryData axolotlsenderkeydistributionmessage; +}; -struct Wa__Message__StickerSyncRMRMessage : public ProtobufCMessage +struct Wa__Message__StickerMessage : public ProtobufCppMessage { - size_t n_filehash; - char **filehash; - char *rmrsource; - protobuf_c_boolean has_requesttimestamp; - int64_t requesttimestamp; + Wa__Message__StickerMessage() : + ProtobufCppMessage(wa__message__sticker_message__descriptor) + {} + + char *url; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *mimetype; + protobuf_c_boolean has_height; + uint32_t height; + protobuf_c_boolean has_width; + uint32_t width; + char *directpath; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_firstframelength; + uint32_t firstframelength; + protobuf_c_boolean has_firstframesidecar; + ProtobufCBinaryData firstframesidecar; + protobuf_c_boolean has_isanimated; + protobuf_c_boolean isanimated; + protobuf_c_boolean has_pngthumbnail; + ProtobufCBinaryData pngthumbnail; + Wa__ContextInfo *contextinfo; }; -#define WA__MESSAGE__STICKER_SYNC_RMRMESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__sticker_sync_rmrmessage__descriptor) \ - , 0,NULL, NULL, 0, 0 } +struct Wa__Message__StickerSyncRMRMessage : public ProtobufCppMessage +{ + Wa__Message__StickerSyncRMRMessage() : + ProtobufCppMessage(wa__message__sticker_sync_rmrmessage__descriptor) + {} -struct Wa__Message__TemplateButtonReplyMessage : public ProtobufCMessage + size_t n_filehash; + char **filehash; + char *rmrsource; + protobuf_c_boolean has_requesttimestamp; + int64_t requesttimestamp; +}; + +struct Wa__Message__TemplateButtonReplyMessage : public ProtobufCppMessage { - char *selectedid; - char *selecteddisplaytext; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_selectedindex; - uint32_t selectedindex; -}; -#define WA__MESSAGE__TEMPLATE_BUTTON_REPLY_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__template_button_reply_message__descriptor) \ - , NULL, NULL, NULL, 0, 0 } + Wa__Message__TemplateButtonReplyMessage() : + ProtobufCppMessage(wa__message__template_button_reply_message__descriptor) + {} + char *selectedid; + char *selecteddisplaytext; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_selectedindex; + uint32_t selectedindex; +}; -typedef enum { - WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE__NOT_SET = 0, - WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_DOCUMENT_MESSAGE = 1, - WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_HIGHLY_STRUCTURED_MESSAGE = 2, - 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) +typedef enum +{ + WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE__NOT_SET = 0, + WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_DOCUMENT_MESSAGE = 1, + WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE_HIGHLY_STRUCTURED_MESSAGE = 2, + 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) } Wa__Message__TemplateMessage__FourRowTemplate__TitleCase; -struct Wa__Message__TemplateMessage__FourRowTemplate : public ProtobufCMessage -{ - Wa__Message__HighlyStructuredMessage *content; - Wa__Message__HighlyStructuredMessage *footer; - size_t n_buttons; - Wa__TemplateButton **buttons; - Wa__Message__TemplateMessage__FourRowTemplate__TitleCase title_case; - union { - Wa__Message__DocumentMessage *documentmessage; - Wa__Message__HighlyStructuredMessage *highlystructuredmessage; - Wa__Message__ImageMessage *imagemessage; - Wa__Message__VideoMessage *videomessage; - Wa__Message__LocationMessage *locationmessage; - }; -}; -#define WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__template_message__four_row_template__descriptor) \ - , NULL, NULL, 0,NULL, WA__MESSAGE__TEMPLATE_MESSAGE__FOUR_ROW_TEMPLATE__TITLE__NOT_SET, {0} } - - -typedef enum { - WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE__NOT_SET = 0, - WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_DOCUMENT_MESSAGE = 1, - WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_HYDRATED_TITLE_TEXT = 2, - 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) +struct Wa__Message__TemplateMessage__FourRowTemplate : public ProtobufCppMessage +{ + Wa__Message__TemplateMessage__FourRowTemplate() : + ProtobufCppMessage(wa__message__template_message__four_row_template__descriptor) + {} + + Wa__Message__HighlyStructuredMessage *content; + Wa__Message__HighlyStructuredMessage *footer; + size_t n_buttons; + Wa__TemplateButton **buttons; + Wa__Message__TemplateMessage__FourRowTemplate__TitleCase title_case; + union + { + Wa__Message__DocumentMessage *documentmessage; + Wa__Message__HighlyStructuredMessage *highlystructuredmessage; + Wa__Message__ImageMessage *imagemessage; + Wa__Message__VideoMessage *videomessage; + Wa__Message__LocationMessage *locationmessage; + }; +}; + +typedef enum +{ + WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE__NOT_SET = 0, + WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_DOCUMENT_MESSAGE = 1, + WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE_HYDRATED_TITLE_TEXT = 2, + 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) } Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase; -struct Wa__Message__TemplateMessage__HydratedFourRowTemplate : public ProtobufCMessage -{ - char *hydratedcontenttext; - char *hydratedfootertext; - size_t n_hydratedbuttons; - Wa__HydratedTemplateButton **hydratedbuttons; - char *templateid; - Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase title_case; - union { - Wa__Message__DocumentMessage *documentmessage; - char *hydratedtitletext; - Wa__Message__ImageMessage *imagemessage; - Wa__Message__VideoMessage *videomessage; - Wa__Message__LocationMessage *locationmessage; - }; -}; -#define WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__template_message__hydrated_four_row_template__descriptor) \ - , NULL, NULL, 0,NULL, NULL, WA__MESSAGE__TEMPLATE_MESSAGE__HYDRATED_FOUR_ROW_TEMPLATE__TITLE__NOT_SET, {0} } - - -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) +struct Wa__Message__TemplateMessage__HydratedFourRowTemplate : public ProtobufCppMessage +{ + Wa__Message__TemplateMessage__HydratedFourRowTemplate() : + ProtobufCppMessage(wa__message__template_message__hydrated_four_row_template__descriptor) + {} + + char *hydratedcontenttext; + char *hydratedfootertext; + size_t n_hydratedbuttons; + Wa__HydratedTemplateButton **hydratedbuttons; + char *templateid; + Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase title_case; + union + { + Wa__Message__DocumentMessage *documentmessage; + char *hydratedtitletext; + Wa__Message__ImageMessage *imagemessage; + Wa__Message__VideoMessage *videomessage; + Wa__Message__LocationMessage *locationmessage; + }; +}; + +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__TemplateMessage__FormatCase; -struct Wa__Message__TemplateMessage : public ProtobufCMessage -{ - Wa__ContextInfo *contextinfo; - Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; - Wa__Message__TemplateMessage__FormatCase format_case; - union { - Wa__Message__TemplateMessage__FourRowTemplate *fourrowtemplate; - Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedfourrowtemplate; - }; -}; -#define WA__MESSAGE__TEMPLATE_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__template_message__descriptor) \ - , NULL, NULL, WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__NOT_SET, {0} } - - -struct Wa__Message__VideoMessage : public ProtobufCMessage -{ - char *url; - char *mimetype; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_seconds; - uint32_t seconds; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *caption; - protobuf_c_boolean has_gifplayback; - protobuf_c_boolean gifplayback; - protobuf_c_boolean has_height; - uint32_t height; - protobuf_c_boolean has_width; - uint32_t width; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - size_t n_interactiveannotations; - Wa__InteractiveAnnotation **interactiveannotations; - char *directpath; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; - Wa__ContextInfo *contextinfo; - protobuf_c_boolean has_streamingsidecar; - ProtobufCBinaryData streamingsidecar; - protobuf_c_boolean has_gifattribution; - Wa__Message__VideoMessage__Attribution gifattribution; - protobuf_c_boolean has_viewonce; - protobuf_c_boolean viewonce; - char *thumbnaildirectpath; - protobuf_c_boolean has_thumbnailsha256; - ProtobufCBinaryData thumbnailsha256; - protobuf_c_boolean has_thumbnailencsha256; - ProtobufCBinaryData thumbnailencsha256; - char *staticurl; -}; -#define WA__MESSAGE__VIDEO_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__video_message__descriptor) \ - , NULL, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, {0,NULL}, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL}, 0,NULL, NULL, 0, 0, 0, {0,NULL}, NULL, 0, {0,NULL}, 0, WA__MESSAGE__VIDEO_MESSAGE__ATTRIBUTION__NONE, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL } - - -struct Wa__Message : public ProtobufCMessage -{ - char *conversation; - Wa__Message__SenderKeyDistributionMessage *senderkeydistributionmessage; - Wa__Message__ImageMessage *imagemessage; - Wa__Message__ContactMessage *contactmessage; - Wa__Message__LocationMessage *locationmessage; - Wa__Message__ExtendedTextMessage *extendedtextmessage; - Wa__Message__DocumentMessage *documentmessage; - Wa__Message__AudioMessage *audiomessage; - Wa__Message__VideoMessage *videomessage; - Wa__Message__Call *call; - Wa__Message__Chat *chat; - Wa__Message__ProtocolMessage *protocolmessage; - Wa__Message__ContactsArrayMessage *contactsarraymessage; - Wa__Message__HighlyStructuredMessage *highlystructuredmessage; - Wa__Message__SenderKeyDistributionMessage *fastratchetkeysenderkeydistributionmessage; - Wa__Message__SendPaymentMessage *sendpaymentmessage; - Wa__Message__LiveLocationMessage *livelocationmessage; - Wa__Message__RequestPaymentMessage *requestpaymentmessage; - Wa__Message__DeclinePaymentRequestMessage *declinepaymentrequestmessage; - Wa__Message__CancelPaymentRequestMessage *cancelpaymentrequestmessage; - Wa__Message__TemplateMessage *templatemessage; - Wa__Message__StickerMessage *stickermessage; - Wa__Message__GroupInviteMessage *groupinvitemessage; - Wa__Message__TemplateButtonReplyMessage *templatebuttonreplymessage; - Wa__Message__ProductMessage *productmessage; - Wa__Message__DeviceSentMessage *devicesentmessage; - Wa__MessageContextInfo *messagecontextinfo; - Wa__Message__ListMessage *listmessage; - Wa__Message__FutureProofMessage *viewoncemessage; - Wa__Message__OrderMessage *ordermessage; - Wa__Message__ListResponseMessage *listresponsemessage; - Wa__Message__FutureProofMessage *ephemeralmessage; - Wa__Message__InvoiceMessage *invoicemessage; - Wa__Message__ButtonsMessage *buttonsmessage; - Wa__Message__ButtonsResponseMessage *buttonsresponsemessage; - Wa__Message__PaymentInviteMessage *paymentinvitemessage; - Wa__Message__InteractiveMessage *interactivemessage; - Wa__Message__ReactionMessage *reactionmessage; - Wa__Message__StickerSyncRMRMessage *stickersyncrmrmessage; - Wa__Message__InteractiveResponseMessage *interactiveresponsemessage; - Wa__Message__PollCreationMessage *pollcreationmessage; - Wa__Message__PollUpdateMessage *pollupdatemessage; - Wa__Message__KeepInChatMessage *keepinchatmessage; - Wa__Message__FutureProofMessage *documentwithcaptionmessage; - Wa__Message__RequestPhoneNumberMessage *requestphonenumbermessage; - Wa__Message__FutureProofMessage *viewoncemessagev2; -}; -#define WA__MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message__descriptor) \ - , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } - - -struct Wa__MessageContextInfo : public ProtobufCMessage -{ - Wa__DeviceListMetadata *devicelistmetadata; - protobuf_c_boolean has_devicelistmetadataversion; - int32_t devicelistmetadataversion; - protobuf_c_boolean has_messagesecret; - ProtobufCBinaryData messagesecret; - protobuf_c_boolean has_paddingbytes; - ProtobufCBinaryData paddingbytes; -}; -#define WA__MESSAGE_CONTEXT_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message_context_info__descriptor) \ - , NULL, 0, 0, 0, {0,NULL}, 0, {0,NULL} } - - -struct Wa__MessageKey : public ProtobufCMessage -{ - char *remotejid; - protobuf_c_boolean has_fromme; - protobuf_c_boolean fromme; - char *id; - char *participant; -}; -#define WA__MESSAGE_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__message_key__descriptor) \ - , NULL, 0, 0, NULL, NULL } - - -struct Wa__Money : public ProtobufCMessage -{ - protobuf_c_boolean has_value; - int64_t value; - protobuf_c_boolean has_offset; - uint32_t offset; - char *currencycode; -}; -#define WA__MONEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__money__descriptor) \ - , 0, 0, 0, 0, NULL } - - -struct Wa__MsgOpaqueData__PollOption : public ProtobufCMessage -{ - char *name; -}; -#define WA__MSG_OPAQUE_DATA__POLL_OPTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__msg_opaque_data__poll_option__descriptor) \ - , NULL } - - -struct Wa__MsgOpaqueData : public ProtobufCMessage -{ - char *body; - char *caption; - protobuf_c_boolean has_lng; - double lng; - protobuf_c_boolean has_islive; - protobuf_c_boolean islive; - protobuf_c_boolean has_lat; - double lat; - protobuf_c_boolean has_paymentamount1000; - int32_t paymentamount1000; - char *paymentnotemsgbody; - char *canonicalurl; - char *matchedtext; - char *title; - char *description; - protobuf_c_boolean has_futureproofbuffer; - ProtobufCBinaryData futureproofbuffer; - char *clienturl; - char *loc; - char *pollname; - size_t n_polloptions; - Wa__MsgOpaqueData__PollOption **polloptions; - protobuf_c_boolean has_pollselectableoptionscount; - uint32_t pollselectableoptionscount; - protobuf_c_boolean has_messagesecret; - ProtobufCBinaryData messagesecret; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; - char *pollupdateparentkey; - Wa__PollEncValue *encpollvote; +struct Wa__Message__TemplateMessage : public ProtobufCppMessage +{ + Wa__Message__TemplateMessage() : + ProtobufCppMessage(wa__message__template_message__descriptor) + {} + + Wa__ContextInfo *contextinfo; + Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; + Wa__Message__TemplateMessage__FormatCase format_case; + union + { + Wa__Message__TemplateMessage__FourRowTemplate *fourrowtemplate; + Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedfourrowtemplate; + }; +}; + +struct Wa__Message__VideoMessage : public ProtobufCppMessage +{ + Wa__Message__VideoMessage() : + ProtobufCppMessage(wa__message__video_message__descriptor) + {} + + char *url; + char *mimetype; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_seconds; + uint32_t seconds; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *caption; + protobuf_c_boolean has_gifplayback; + protobuf_c_boolean gifplayback; + protobuf_c_boolean has_height; + uint32_t height; + protobuf_c_boolean has_width; + uint32_t width; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + size_t n_interactiveannotations; + Wa__InteractiveAnnotation **interactiveannotations; + char *directpath; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; + Wa__ContextInfo *contextinfo; + protobuf_c_boolean has_streamingsidecar; + ProtobufCBinaryData streamingsidecar; + protobuf_c_boolean has_gifattribution; + Wa__Message__VideoMessage__Attribution gifattribution; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; + char *thumbnaildirectpath; + protobuf_c_boolean has_thumbnailsha256; + ProtobufCBinaryData thumbnailsha256; + protobuf_c_boolean has_thumbnailencsha256; + ProtobufCBinaryData thumbnailencsha256; + char *staticurl; +}; + +struct Wa__Message : public ProtobufCppMessage +{ + Wa__Message() : + ProtobufCppMessage(wa__message__descriptor) + {} + + char *conversation; + Wa__Message__SenderKeyDistributionMessage *senderkeydistributionmessage; + Wa__Message__ImageMessage *imagemessage; + Wa__Message__ContactMessage *contactmessage; + Wa__Message__LocationMessage *locationmessage; + Wa__Message__ExtendedTextMessage *extendedtextmessage; + Wa__Message__DocumentMessage *documentmessage; + Wa__Message__AudioMessage *audiomessage; + Wa__Message__VideoMessage *videomessage; + Wa__Message__Call *call; + Wa__Message__Chat *chat; + Wa__Message__ProtocolMessage *protocolmessage; + Wa__Message__ContactsArrayMessage *contactsarraymessage; + Wa__Message__HighlyStructuredMessage *highlystructuredmessage; + Wa__Message__SenderKeyDistributionMessage *fastratchetkeysenderkeydistributionmessage; + Wa__Message__SendPaymentMessage *sendpaymentmessage; + Wa__Message__LiveLocationMessage *livelocationmessage; + Wa__Message__RequestPaymentMessage *requestpaymentmessage; + Wa__Message__DeclinePaymentRequestMessage *declinepaymentrequestmessage; + Wa__Message__CancelPaymentRequestMessage *cancelpaymentrequestmessage; + Wa__Message__TemplateMessage *templatemessage; + Wa__Message__StickerMessage *stickermessage; + Wa__Message__GroupInviteMessage *groupinvitemessage; + Wa__Message__TemplateButtonReplyMessage *templatebuttonreplymessage; + Wa__Message__ProductMessage *productmessage; + Wa__Message__DeviceSentMessage *devicesentmessage; + Wa__MessageContextInfo *messagecontextinfo; + Wa__Message__ListMessage *listmessage; + Wa__Message__FutureProofMessage *viewoncemessage; + Wa__Message__OrderMessage *ordermessage; + Wa__Message__ListResponseMessage *listresponsemessage; + Wa__Message__FutureProofMessage *ephemeralmessage; + Wa__Message__InvoiceMessage *invoicemessage; + Wa__Message__ButtonsMessage *buttonsmessage; + Wa__Message__ButtonsResponseMessage *buttonsresponsemessage; + Wa__Message__PaymentInviteMessage *paymentinvitemessage; + Wa__Message__InteractiveMessage *interactivemessage; + Wa__Message__ReactionMessage *reactionmessage; + Wa__Message__StickerSyncRMRMessage *stickersyncrmrmessage; + Wa__Message__InteractiveResponseMessage *interactiveresponsemessage; + Wa__Message__PollCreationMessage *pollcreationmessage; + Wa__Message__PollUpdateMessage *pollupdatemessage; + Wa__Message__KeepInChatMessage *keepinchatmessage; + Wa__Message__FutureProofMessage *documentwithcaptionmessage; + Wa__Message__RequestPhoneNumberMessage *requestphonenumbermessage; + Wa__Message__FutureProofMessage *viewoncemessagev2; +}; + +struct Wa__MessageContextInfo : public ProtobufCppMessage +{ + Wa__MessageContextInfo() : + ProtobufCppMessage(wa__message_context_info__descriptor) + {} + + Wa__DeviceListMetadata *devicelistmetadata; + protobuf_c_boolean has_devicelistmetadataversion; + int32_t devicelistmetadataversion; + protobuf_c_boolean has_messagesecret; + ProtobufCBinaryData messagesecret; + protobuf_c_boolean has_paddingbytes; + ProtobufCBinaryData paddingbytes; +}; + +struct Wa__MessageKey : public ProtobufCppMessage +{ + Wa__MessageKey() : + ProtobufCppMessage(wa__message_key__descriptor) + {} + + char *remotejid; + protobuf_c_boolean has_fromme; + protobuf_c_boolean fromme; + char *id; + char *participant; +}; + +struct Wa__Money : public ProtobufCppMessage +{ + Wa__Money() : + ProtobufCppMessage(wa__money__descriptor) + {} + + protobuf_c_boolean has_value; + int64_t value; + protobuf_c_boolean has_offset; + uint32_t offset; + char *currencycode; +}; + +struct Wa__MsgOpaqueData__PollOption : public ProtobufCppMessage +{ + Wa__MsgOpaqueData__PollOption() : + ProtobufCppMessage(wa__msg_opaque_data__poll_option__descriptor) + {} + + char *name; +}; + +struct Wa__MsgOpaqueData : public ProtobufCppMessage +{ + Wa__MsgOpaqueData() : + ProtobufCppMessage(wa__msg_opaque_data__descriptor) + {} + + char *body; + char *caption; + protobuf_c_boolean has_lng; + double lng; + protobuf_c_boolean has_islive; + protobuf_c_boolean islive; + protobuf_c_boolean has_lat; + double lat; + protobuf_c_boolean has_paymentamount1000; + int32_t paymentamount1000; + char *paymentnotemsgbody; + char *canonicalurl; + char *matchedtext; + char *title; + char *description; + protobuf_c_boolean has_futureproofbuffer; + ProtobufCBinaryData futureproofbuffer; + char *clienturl; + char *loc; + char *pollname; + size_t n_polloptions; + Wa__MsgOpaqueData__PollOption **polloptions; + protobuf_c_boolean has_pollselectableoptionscount; + uint32_t pollselectableoptionscount; + protobuf_c_boolean has_messagesecret; + ProtobufCBinaryData messagesecret; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + char *pollupdateparentkey; + Wa__PollEncValue *encpollvote; }; -#define WA__MSG_OPAQUE_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__msg_opaque_data__descriptor) \ - , NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, {0,NULL}, NULL, NULL, NULL, 0,NULL, 0, 0, 0, {0,NULL}, 0, 0, NULL, NULL } - -struct Wa__MsgRowOpaqueData : public ProtobufCMessage +struct Wa__MsgRowOpaqueData : public ProtobufCppMessage { - Wa__MsgOpaqueData *currentmsg; - Wa__MsgOpaqueData *quotedmsg; -}; -#define WA__MSG_ROW_OPAQUE_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__msg_row_opaque_data__descriptor) \ - , NULL, NULL } - + Wa__MsgRowOpaqueData() : + ProtobufCppMessage(wa__msg_row_opaque_data__descriptor) + {} -struct Wa__NoiseCertificate__Details : public ProtobufCMessage -{ - protobuf_c_boolean has_serial; - uint32_t serial; - char *issuer; - protobuf_c_boolean has_expires; - uint64_t expires; - char *subject; - protobuf_c_boolean has_key; - ProtobufCBinaryData key; + Wa__MsgOpaqueData *currentmsg; + Wa__MsgOpaqueData *quotedmsg; }; -#define WA__NOISE_CERTIFICATE__DETAILS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__noise_certificate__details__descriptor) \ - , 0, 0, NULL, 0, 0, NULL, 0, {0,NULL} } +struct Wa__NoiseCertificate__Details : public ProtobufCppMessage +{ + Wa__NoiseCertificate__Details() : + ProtobufCppMessage(wa__noise_certificate__details__descriptor) + {} -struct Wa__NoiseCertificate : public ProtobufCMessage -{ - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; -}; -#define WA__NOISE_CERTIFICATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__noise_certificate__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } - - -struct Wa__NotificationMessageInfo : public ProtobufCMessage -{ - Wa__MessageKey *key; - Wa__Message *message; - protobuf_c_boolean has_messagetimestamp; - uint64_t messagetimestamp; - char *participant; -}; -#define WA__NOTIFICATION_MESSAGE_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__notification_message_info__descriptor) \ - , NULL, NULL, 0, 0, NULL } - - -struct Wa__PastParticipant : public ProtobufCMessage -{ - char *userjid; - Wa__PastParticipant__LeaveReason leavereason; - uint64_t leavets; -}; -#define WA__PAST_PARTICIPANT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__past_participant__descriptor) \ - , NULL, WA__PAST_PARTICIPANT__LEAVE_REASON__LEFT, 0 } - - -struct Wa__PastParticipants : public ProtobufCMessage -{ - char *groupjid; - size_t n_pastparticipants; - Wa__PastParticipant **pastparticipants; -}; -#define WA__PAST_PARTICIPANTS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__past_participants__descriptor) \ - , NULL, 0,NULL } - - -struct Wa__PaymentBackground__MediaData : public ProtobufCMessage -{ - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_mediakeytimestamp; - int64_t mediakeytimestamp; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - char *directpath; -}; -#define WA__PAYMENT_BACKGROUND__MEDIA_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__payment_background__media_data__descriptor) \ - , 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, NULL } - - -struct Wa__PaymentBackground : public ProtobufCMessage -{ - char *id; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_width; - uint32_t width; - protobuf_c_boolean has_height; - uint32_t height; - char *mimetype; - protobuf_c_boolean has_placeholderargb; - uint32_t placeholderargb; - protobuf_c_boolean has_textargb; - uint32_t textargb; - protobuf_c_boolean has_subtextargb; - uint32_t subtextargb; - Wa__PaymentBackground__MediaData *mediadata; - protobuf_c_boolean has_type; - Wa__PaymentBackground__Type type; -}; -#define WA__PAYMENT_BACKGROUND__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__payment_background__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, NULL, 0, WA__PAYMENT_BACKGROUND__TYPE__UNKNOWN } - - -struct Wa__PaymentInfo : public ProtobufCMessage -{ - protobuf_c_boolean has_currencydeprecated; - Wa__PaymentInfo__Currency currencydeprecated; - protobuf_c_boolean has_amount1000; - uint64_t amount1000; - char *receiverjid; - protobuf_c_boolean has_status; - Wa__PaymentInfo__Status status; - protobuf_c_boolean has_transactiontimestamp; - uint64_t transactiontimestamp; - Wa__MessageKey *requestmessagekey; - protobuf_c_boolean has_expirytimestamp; - uint64_t expirytimestamp; - protobuf_c_boolean has_futureproofed; - protobuf_c_boolean futureproofed; - char *currency; - protobuf_c_boolean has_txnstatus; - Wa__PaymentInfo__TxnStatus txnstatus; - protobuf_c_boolean has_usenovifiatformat; - protobuf_c_boolean usenovifiatformat; - Wa__Money *primaryamount; - Wa__Money *exchangeamount; + protobuf_c_boolean has_serial; + uint32_t serial; + char *issuer; + protobuf_c_boolean has_expires; + uint64_t expires; + char *subject; + protobuf_c_boolean has_key; + ProtobufCBinaryData key; }; -#define WA__PAYMENT_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__payment_info__descriptor) \ - , 0, WA__PAYMENT_INFO__CURRENCY__UNKNOWN_CURRENCY, 0, 0, NULL, 0, WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS, 0, 0, NULL, 0, 0, 0, 0, NULL, 0, WA__PAYMENT_INFO__TXN_STATUS__UNKNOWN, 0, 0, NULL, NULL } - -struct Wa__PendingKeyExchange : public ProtobufCMessage +struct Wa__NoiseCertificate : 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; + Wa__NoiseCertificate() : + ProtobufCppMessage(wa__noise_certificate__descriptor) + {} + + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; +}; + +struct Wa__NotificationMessageInfo : public ProtobufCppMessage +{ + Wa__NotificationMessageInfo() : + ProtobufCppMessage(wa__notification_message_info__descriptor) + {} + + Wa__MessageKey *key; + Wa__Message *message; + protobuf_c_boolean has_messagetimestamp; + uint64_t messagetimestamp; + char *participant; +}; + +struct Wa__PastParticipant : public ProtobufCppMessage +{ + Wa__PastParticipant() : + ProtobufCppMessage(wa__past_participant__descriptor) + {} + + char *userjid; + Wa__PastParticipant__LeaveReason leavereason; + uint64_t leavets; +}; + +struct Wa__PastParticipants : public ProtobufCppMessage +{ + Wa__PastParticipants() : + ProtobufCppMessage(wa__past_participants__descriptor) + {} + + char *groupjid; + size_t n_pastparticipants; + Wa__PastParticipant **pastparticipants; +}; + +struct Wa__PaymentBackground__MediaData : public ProtobufCppMessage +{ + Wa__PaymentBackground__MediaData() : + ProtobufCppMessage(wa__payment_background__media_data__descriptor) + {} + + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_mediakeytimestamp; + int64_t mediakeytimestamp; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + char *directpath; +}; + +struct Wa__PaymentBackground : public ProtobufCppMessage +{ + Wa__PaymentBackground() : + ProtobufCppMessage(wa__payment_background__descriptor) + {} + + char *id; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_width; + uint32_t width; + protobuf_c_boolean has_height; + uint32_t height; + char *mimetype; + protobuf_c_boolean has_placeholderargb; + uint32_t placeholderargb; + protobuf_c_boolean has_textargb; + uint32_t textargb; + protobuf_c_boolean has_subtextargb; + uint32_t subtextargb; + Wa__PaymentBackground__MediaData *mediadata; + protobuf_c_boolean has_type; + Wa__PaymentBackground__Type type; +}; + +struct Wa__PaymentInfo : public ProtobufCppMessage +{ + Wa__PaymentInfo() : + ProtobufCppMessage(wa__payment_info__descriptor) + {} + + protobuf_c_boolean has_currencydeprecated; + Wa__PaymentInfo__Currency currencydeprecated; + protobuf_c_boolean has_amount1000; + uint64_t amount1000; + char *receiverjid; + protobuf_c_boolean has_status; + Wa__PaymentInfo__Status status; + protobuf_c_boolean has_transactiontimestamp; + uint64_t transactiontimestamp; + Wa__MessageKey *requestmessagekey; + protobuf_c_boolean has_expirytimestamp; + uint64_t expirytimestamp; + protobuf_c_boolean has_futureproofed; + protobuf_c_boolean futureproofed; + char *currency; + protobuf_c_boolean has_txnstatus; + Wa__PaymentInfo__TxnStatus txnstatus; + protobuf_c_boolean has_usenovifiatformat; + protobuf_c_boolean usenovifiatformat; + Wa__Money *primaryamount; + Wa__Money *exchangeamount; }; -#define WA__PENDING_KEY_EXCHANGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__pending_key_exchange__descriptor) \ - , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } - - -struct Wa__PendingPreKey : public ProtobufCMessage + +struct Wa__PendingKeyExchange : 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; -}; -#define WA__PENDING_PRE_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__pending_pre_key__descriptor) \ - , 0, 0, 0, 0, 0, {0,NULL} } - - -struct Wa__PhotoChange : public ProtobufCMessage + 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 { - protobuf_c_boolean has_oldphoto; - ProtobufCBinaryData oldphoto; - protobuf_c_boolean has_newphoto; - ProtobufCBinaryData newphoto; - protobuf_c_boolean has_newphotoid; - uint32_t newphotoid; -}; -#define WA__PHOTO_CHANGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__photo_change__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, 0 } + 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() : + ProtobufCppMessage(wa__photo_change__descriptor) + {} -struct Wa__Point : public ProtobufCMessage -{ - protobuf_c_boolean has_xdeprecated; - int32_t xdeprecated; - protobuf_c_boolean has_ydeprecated; - int32_t ydeprecated; - protobuf_c_boolean has_x; - double x; - protobuf_c_boolean has_y; - double y; + protobuf_c_boolean has_oldphoto; + ProtobufCBinaryData oldphoto; + protobuf_c_boolean has_newphoto; + ProtobufCBinaryData newphoto; + protobuf_c_boolean has_newphotoid; + uint32_t newphotoid; }; -#define WA__POINT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__point__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0 } - -struct Wa__PollAdditionalMetadata : public ProtobufCMessage +struct Wa__Point : public ProtobufCppMessage { - protobuf_c_boolean has_pollinvalidated; - protobuf_c_boolean pollinvalidated; -}; -#define WA__POLL_ADDITIONAL_METADATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__poll_additional_metadata__descriptor) \ - , 0, 0 } + Wa__Point() : + ProtobufCppMessage(wa__point__descriptor) + {} + protobuf_c_boolean has_xdeprecated; + int32_t xdeprecated; + protobuf_c_boolean has_ydeprecated; + int32_t ydeprecated; + protobuf_c_boolean has_x; + double x; + protobuf_c_boolean has_y; + double y; +}; -struct Wa__PollEncValue : public ProtobufCMessage +struct Wa__PollAdditionalMetadata : public ProtobufCppMessage { - protobuf_c_boolean has_encpayload; - ProtobufCBinaryData encpayload; - protobuf_c_boolean has_enciv; - ProtobufCBinaryData enciv; -}; -#define WA__POLL_ENC_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__poll_enc_value__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__PollAdditionalMetadata() : + ProtobufCppMessage(wa__poll_additional_metadata__descriptor) + {} + protobuf_c_boolean has_pollinvalidated; + protobuf_c_boolean pollinvalidated; +}; -struct Wa__PollUpdate : public ProtobufCMessage +struct Wa__PollEncValue : public ProtobufCppMessage { - Wa__MessageKey *pollupdatemessagekey; - Wa__Message__PollVoteMessage *vote; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; -}; -#define WA__POLL_UPDATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__poll_update__descriptor) \ - , NULL, NULL, 0, 0 } + Wa__PollEncValue() : + ProtobufCppMessage(wa__poll_enc_value__descriptor) + {} + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; +}; -struct Wa__PreKeyRecordStructure : public ProtobufCMessage +struct Wa__PollUpdate : public ProtobufCppMessage { - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_publickey; - ProtobufCBinaryData publickey; - protobuf_c_boolean has_privatekey; - ProtobufCBinaryData privatekey; -}; -#define WA__PRE_KEY_RECORD_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__pre_key_record_structure__descriptor) \ - , 0, 0, 0, {0,NULL}, 0, {0,NULL} } + Wa__PollUpdate() : + ProtobufCppMessage(wa__poll_update__descriptor) + {} + Wa__MessageKey *pollupdatemessagekey; + Wa__Message__PollVoteMessage *vote; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; +}; -struct Wa__Pushname : public ProtobufCMessage +struct Wa__PreKeyRecordStructure : public ProtobufCppMessage { - char *id; - char *pushname; -}; -#define WA__PUSHNAME__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__pushname__descriptor) \ - , NULL, NULL } + Wa__PreKeyRecordStructure() : + ProtobufCppMessage(wa__pre_key_record_structure__descriptor) + {} + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_publickey; + ProtobufCBinaryData publickey; + protobuf_c_boolean has_privatekey; + ProtobufCBinaryData privatekey; +}; -struct Wa__Reaction : public ProtobufCMessage +struct Wa__Pushname : public ProtobufCppMessage { - Wa__MessageKey *key; - char *text; - char *groupingkey; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; - protobuf_c_boolean has_unread; - protobuf_c_boolean unread; -}; -#define WA__REACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__reaction__descriptor) \ - , NULL, NULL, NULL, 0, 0, 0, 0 } + Wa__Pushname() : + ProtobufCppMessage(wa__pushname__descriptor) + {} + char *id; + char *pushname; +}; -struct Wa__RecentEmojiWeight : public ProtobufCMessage +struct Wa__Reaction : public ProtobufCppMessage { - char *emoji; - protobuf_c_boolean has_weight; - float weight; -}; -#define WA__RECENT_EMOJI_WEIGHT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__recent_emoji_weight__descriptor) \ - , NULL, 0, 0 } + Wa__Reaction() : + ProtobufCppMessage(wa__reaction__descriptor) + {} + Wa__MessageKey *key; + char *text; + char *groupingkey; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + protobuf_c_boolean has_unread; + protobuf_c_boolean unread; +}; -struct Wa__RecordStructure : public ProtobufCMessage +struct Wa__RecentEmojiWeight : public ProtobufCppMessage { - Wa__SessionStructure *currentsession; - size_t n_previoussessions; - Wa__SessionStructure **previoussessions; -}; -#define WA__RECORD_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__record_structure__descriptor) \ - , NULL, 0,NULL } + Wa__RecentEmojiWeight() : + ProtobufCppMessage(wa__recent_emoji_weight__descriptor) + {} + char *emoji; + protobuf_c_boolean has_weight; + float weight; +}; -struct Wa__SenderChainKey : public ProtobufCMessage +struct Wa__RecordStructure : public ProtobufCppMessage { - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_seed; - ProtobufCBinaryData seed; -}; -#define WA__SENDER_CHAIN_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sender_chain_key__descriptor) \ - , 0, 0, 0, {0,NULL} } + Wa__RecordStructure() : + ProtobufCppMessage(wa__record_structure__descriptor) + {} + Wa__SessionStructure *currentsession; + size_t n_previoussessions; + Wa__SessionStructure **previoussessions; +}; -struct Wa__SenderKeyRecordStructure : public ProtobufCMessage +struct Wa__SenderChainKey : public ProtobufCppMessage { - size_t n_senderkeystates; - Wa__SenderKeyStateStructure **senderkeystates; -}; -#define WA__SENDER_KEY_RECORD_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sender_key_record_structure__descriptor) \ - , 0,NULL } + Wa__SenderChainKey() : + ProtobufCppMessage(wa__sender_chain_key__descriptor) + {} + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_seed; + ProtobufCBinaryData seed; +}; -struct Wa__SenderKeyStateStructure : public ProtobufCMessage +struct Wa__SenderKeyRecordStructure : public ProtobufCppMessage { - protobuf_c_boolean has_senderkeyid; - uint32_t senderkeyid; - Wa__SenderChainKey *senderchainkey; - Wa__SenderSigningKey *sendersigningkey; - size_t n_sendermessagekeys; - Wa__SenderMessageKey **sendermessagekeys; -}; -#define WA__SENDER_KEY_STATE_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sender_key_state_structure__descriptor) \ - , 0, 0, NULL, NULL, 0,NULL } + Wa__SenderKeyRecordStructure() : + ProtobufCppMessage(wa__sender_key_record_structure__descriptor) + {} + size_t n_senderkeystates; + Wa__SenderKeyStateStructure **senderkeystates; +}; -struct Wa__SenderMessageKey : public ProtobufCMessage +struct Wa__SenderKeyStateStructure : public ProtobufCppMessage { - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_seed; - ProtobufCBinaryData seed; -}; -#define WA__SENDER_MESSAGE_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sender_message_key__descriptor) \ - , 0, 0, 0, {0,NULL} } + Wa__SenderKeyStateStructure() : + ProtobufCppMessage(wa__sender_key_state_structure__descriptor) + {} + protobuf_c_boolean has_senderkeyid; + uint32_t senderkeyid; + Wa__SenderChainKey *senderchainkey; + Wa__SenderSigningKey *sendersigningkey; + size_t n_sendermessagekeys; + Wa__SenderMessageKey **sendermessagekeys; +}; -struct Wa__SenderSigningKey : public ProtobufCMessage +struct Wa__SenderMessageKey : public ProtobufCppMessage { - protobuf_c_boolean has_public_; - ProtobufCBinaryData public_; - protobuf_c_boolean has_private_; - ProtobufCBinaryData private_; -}; -#define WA__SENDER_SIGNING_KEY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sender_signing_key__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL} } + Wa__SenderMessageKey() : + ProtobufCppMessage(wa__sender_message_key__descriptor) + {} + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_seed; + ProtobufCBinaryData seed; +}; -struct Wa__ServerErrorReceipt : public ProtobufCMessage +struct Wa__SenderSigningKey : public ProtobufCppMessage { - char *stanzaid; -}; -#define WA__SERVER_ERROR_RECEIPT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__server_error_receipt__descriptor) \ - , NULL } + Wa__SenderSigningKey() : + ProtobufCppMessage(wa__sender_signing_key__descriptor) + {} + protobuf_c_boolean has_public_; + ProtobufCBinaryData public_; + protobuf_c_boolean has_private_; + ProtobufCBinaryData private_; +}; -struct Wa__SessionStructure : public ProtobufCMessage +struct Wa__ServerErrorReceipt : public ProtobufCppMessage { - protobuf_c_boolean has_sessionversion; - uint32_t sessionversion; - protobuf_c_boolean has_localidentitypublic; - ProtobufCBinaryData localidentitypublic; - protobuf_c_boolean has_remoteidentitypublic; - ProtobufCBinaryData remoteidentitypublic; - protobuf_c_boolean has_rootkey; - ProtobufCBinaryData rootkey; - protobuf_c_boolean has_previouscounter; - uint32_t previouscounter; - Wa__Chain *senderchain; - size_t n_receiverchains; - Wa__Chain **receiverchains; - Wa__PendingKeyExchange *pendingkeyexchange; - Wa__PendingPreKey *pendingprekey; - protobuf_c_boolean has_remoteregistrationid; - uint32_t remoteregistrationid; - protobuf_c_boolean has_localregistrationid; - uint32_t localregistrationid; - protobuf_c_boolean has_needsrefresh; - protobuf_c_boolean needsrefresh; - protobuf_c_boolean has_alicebasekey; - ProtobufCBinaryData alicebasekey; -}; -#define WA__SESSION_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__session_structure__descriptor) \ - , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0, NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, {0,NULL} } + Wa__ServerErrorReceipt() : + ProtobufCppMessage(wa__server_error_receipt__descriptor) + {} + char *stanzaid; +}; -struct Wa__SignedPreKeyRecordStructure : public ProtobufCMessage +struct Wa__SessionStructure : public ProtobufCppMessage { - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_publickey; - ProtobufCBinaryData publickey; - protobuf_c_boolean has_privatekey; - ProtobufCBinaryData privatekey; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; - protobuf_c_boolean has_timestamp; - uint64_t timestamp; -}; -#define WA__SIGNED_PRE_KEY_RECORD_STRUCTURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__signed_pre_key_record_structure__descriptor) \ - , 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0 } + Wa__SessionStructure() : + ProtobufCppMessage(wa__session_structure__descriptor) + {} + protobuf_c_boolean has_sessionversion; + uint32_t sessionversion; + protobuf_c_boolean has_localidentitypublic; + ProtobufCBinaryData localidentitypublic; + protobuf_c_boolean has_remoteidentitypublic; + ProtobufCBinaryData remoteidentitypublic; + protobuf_c_boolean has_rootkey; + ProtobufCBinaryData rootkey; + protobuf_c_boolean has_previouscounter; + uint32_t previouscounter; + Wa__Chain *senderchain; + size_t n_receiverchains; + Wa__Chain **receiverchains; + Wa__PendingKeyExchange *pendingkeyexchange; + Wa__PendingPreKey *pendingprekey; + protobuf_c_boolean has_remoteregistrationid; + uint32_t remoteregistrationid; + protobuf_c_boolean has_localregistrationid; + uint32_t localregistrationid; + protobuf_c_boolean has_needsrefresh; + protobuf_c_boolean needsrefresh; + protobuf_c_boolean has_alicebasekey; + ProtobufCBinaryData alicebasekey; +}; -struct Wa__StatusPSA : public ProtobufCMessage +struct Wa__SignedPreKeyRecordStructure : public ProtobufCppMessage { - uint64_t campaignid; - protobuf_c_boolean has_campaignexpirationtimestamp; - uint64_t campaignexpirationtimestamp; -}; -#define WA__STATUS_PSA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__status_psa__descriptor) \ - , 0, 0, 0 } + Wa__SignedPreKeyRecordStructure() : + ProtobufCppMessage(wa__signed_pre_key_record_structure__descriptor) + {} + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_publickey; + ProtobufCBinaryData publickey; + protobuf_c_boolean has_privatekey; + ProtobufCBinaryData privatekey; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; + protobuf_c_boolean has_timestamp; + uint64_t timestamp; +}; -struct Wa__StickerMetadata : public ProtobufCMessage +struct Wa__StatusPSA : public ProtobufCppMessage { - char *url; - protobuf_c_boolean has_filesha256; - ProtobufCBinaryData filesha256; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *mimetype; - protobuf_c_boolean has_height; - uint32_t height; - protobuf_c_boolean has_width; - uint32_t width; - char *directpath; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_weight; - float weight; -}; -#define WA__STICKER_METADATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sticker_metadata__descriptor) \ - , NULL, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0 } + Wa__StatusPSA() : + ProtobufCppMessage(wa__status_psa__descriptor) + {} + uint64_t campaignid; + protobuf_c_boolean has_campaignexpirationtimestamp; + uint64_t campaignexpirationtimestamp; +}; -struct Wa__SyncActionData : public ProtobufCMessage +struct Wa__StickerMetadata : public ProtobufCppMessage { - protobuf_c_boolean has_index; - ProtobufCBinaryData index; - Wa__SyncActionValue *value; - protobuf_c_boolean has_padding; - ProtobufCBinaryData padding; - protobuf_c_boolean has_version; - int32_t version; -}; -#define WA__SYNC_ACTION_DATA__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_data__descriptor) \ - , 0, {0,NULL}, NULL, 0, {0,NULL}, 0, 0 } + Wa__StickerMetadata() : + ProtobufCppMessage(wa__sticker_metadata__descriptor) + {} + char *url; + protobuf_c_boolean has_filesha256; + ProtobufCBinaryData filesha256; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *mimetype; + protobuf_c_boolean has_height; + uint32_t height; + protobuf_c_boolean has_width; + uint32_t width; + char *directpath; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_weight; + float weight; +}; -struct Wa__SyncActionValue__AgentAction : public ProtobufCMessage +struct Wa__SyncActionData : public ProtobufCppMessage { - char *name; - protobuf_c_boolean has_deviceid; - int32_t deviceid; - protobuf_c_boolean has_isdeleted; - protobuf_c_boolean isdeleted; -}; -#define WA__SYNC_ACTION_VALUE__AGENT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__agent_action__descriptor) \ - , NULL, 0, 0, 0, 0 } + Wa__SyncActionData() : + ProtobufCppMessage(wa__sync_action_data__descriptor) + {} + protobuf_c_boolean has_index; + ProtobufCBinaryData index; + Wa__SyncActionValue *value; + protobuf_c_boolean has_padding; + ProtobufCBinaryData padding; + protobuf_c_boolean has_version; + int32_t version; +}; -struct Wa__SyncActionValue__AndroidUnsupportedActions : public ProtobufCMessage +struct Wa__SyncActionValue__AgentAction : public ProtobufCppMessage { - protobuf_c_boolean has_allowed; - protobuf_c_boolean allowed; -}; -#define WA__SYNC_ACTION_VALUE__ANDROID_UNSUPPORTED_ACTIONS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__android_unsupported_actions__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__AgentAction() : + ProtobufCppMessage(wa__sync_action_value__agent_action__descriptor) + {} + char *name; + protobuf_c_boolean has_deviceid; + int32_t deviceid; + protobuf_c_boolean has_isdeleted; + protobuf_c_boolean isdeleted; +}; -struct Wa__SyncActionValue__ArchiveChatAction : public ProtobufCMessage +struct Wa__SyncActionValue__AndroidUnsupportedActions : public ProtobufCppMessage { - protobuf_c_boolean has_archived; - protobuf_c_boolean archived; - Wa__SyncActionValue__SyncActionMessageRange *messagerange; -}; -#define WA__SYNC_ACTION_VALUE__ARCHIVE_CHAT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__archive_chat_action__descriptor) \ - , 0, 0, NULL } + Wa__SyncActionValue__AndroidUnsupportedActions() : + ProtobufCppMessage(wa__sync_action_value__android_unsupported_actions__descriptor) + {} + protobuf_c_boolean has_allowed; + protobuf_c_boolean allowed; +}; -struct Wa__SyncActionValue__ClearChatAction : public ProtobufCMessage +struct Wa__SyncActionValue__ArchiveChatAction : public ProtobufCppMessage { - Wa__SyncActionValue__SyncActionMessageRange *messagerange; -}; -#define WA__SYNC_ACTION_VALUE__CLEAR_CHAT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__clear_chat_action__descriptor) \ - , NULL } + Wa__SyncActionValue__ArchiveChatAction() : + ProtobufCppMessage(wa__sync_action_value__archive_chat_action__descriptor) + {} + protobuf_c_boolean has_archived; + protobuf_c_boolean archived; + Wa__SyncActionValue__SyncActionMessageRange *messagerange; +}; -struct Wa__SyncActionValue__ContactAction : public ProtobufCMessage +struct Wa__SyncActionValue__ClearChatAction : public ProtobufCppMessage { - char *fullname; - char *firstname; -}; -#define WA__SYNC_ACTION_VALUE__CONTACT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__contact_action__descriptor) \ - , NULL, NULL } + Wa__SyncActionValue__ClearChatAction() : + ProtobufCppMessage(wa__sync_action_value__clear_chat_action__descriptor) + {} + Wa__SyncActionValue__SyncActionMessageRange *messagerange; +}; -struct Wa__SyncActionValue__DeleteChatAction : public ProtobufCMessage +struct Wa__SyncActionValue__ContactAction : public ProtobufCppMessage { - Wa__SyncActionValue__SyncActionMessageRange *messagerange; -}; -#define WA__SYNC_ACTION_VALUE__DELETE_CHAT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__delete_chat_action__descriptor) \ - , NULL } + Wa__SyncActionValue__ContactAction() : + ProtobufCppMessage(wa__sync_action_value__contact_action__descriptor) + {} + char *fullname; + char *firstname; +}; -struct Wa__SyncActionValue__DeleteMessageForMeAction : public ProtobufCMessage +struct Wa__SyncActionValue__DeleteChatAction : public ProtobufCppMessage { - protobuf_c_boolean has_deletemedia; - protobuf_c_boolean deletemedia; - protobuf_c_boolean has_messagetimestamp; - int64_t messagetimestamp; -}; -#define WA__SYNC_ACTION_VALUE__DELETE_MESSAGE_FOR_ME_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__delete_message_for_me_action__descriptor) \ - , 0, 0, 0, 0 } + Wa__SyncActionValue__DeleteChatAction() : + ProtobufCppMessage(wa__sync_action_value__delete_chat_action__descriptor) + {} + Wa__SyncActionValue__SyncActionMessageRange *messagerange; +}; -struct Wa__SyncActionValue__KeyExpiration : public ProtobufCMessage +struct Wa__SyncActionValue__DeleteMessageForMeAction : public ProtobufCppMessage { - protobuf_c_boolean has_expiredkeyepoch; - int32_t expiredkeyepoch; -}; -#define WA__SYNC_ACTION_VALUE__KEY_EXPIRATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__key_expiration__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__DeleteMessageForMeAction() : + ProtobufCppMessage(wa__sync_action_value__delete_message_for_me_action__descriptor) + {} + protobuf_c_boolean has_deletemedia; + protobuf_c_boolean deletemedia; + protobuf_c_boolean has_messagetimestamp; + int64_t messagetimestamp; +}; -struct Wa__SyncActionValue__LabelAssociationAction : public ProtobufCMessage +struct Wa__SyncActionValue__KeyExpiration : public ProtobufCppMessage { - protobuf_c_boolean has_labeled; - protobuf_c_boolean labeled; -}; -#define WA__SYNC_ACTION_VALUE__LABEL_ASSOCIATION_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__label_association_action__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__KeyExpiration() : + ProtobufCppMessage(wa__sync_action_value__key_expiration__descriptor) + {} + protobuf_c_boolean has_expiredkeyepoch; + int32_t expiredkeyepoch; +}; -struct Wa__SyncActionValue__LabelEditAction : public ProtobufCMessage +struct Wa__SyncActionValue__LabelAssociationAction : public ProtobufCppMessage { - char *name; - protobuf_c_boolean has_color; - int32_t color; - protobuf_c_boolean has_predefinedid; - int32_t predefinedid; - protobuf_c_boolean has_deleted; - protobuf_c_boolean deleted; -}; -#define WA__SYNC_ACTION_VALUE__LABEL_EDIT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__label_edit_action__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0 } + Wa__SyncActionValue__LabelAssociationAction() : + ProtobufCppMessage(wa__sync_action_value__label_association_action__descriptor) + {} + protobuf_c_boolean has_labeled; + protobuf_c_boolean labeled; +}; -struct Wa__SyncActionValue__LocaleSetting : public ProtobufCMessage +struct Wa__SyncActionValue__LabelEditAction : public ProtobufCppMessage { - char *locale; -}; -#define WA__SYNC_ACTION_VALUE__LOCALE_SETTING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__locale_setting__descriptor) \ - , NULL } + Wa__SyncActionValue__LabelEditAction() : + ProtobufCppMessage(wa__sync_action_value__label_edit_action__descriptor) + {} + char *name; + protobuf_c_boolean has_color; + int32_t color; + protobuf_c_boolean has_predefinedid; + int32_t predefinedid; + protobuf_c_boolean has_deleted; + protobuf_c_boolean deleted; +}; -struct Wa__SyncActionValue__MarkChatAsReadAction : public ProtobufCMessage +struct Wa__SyncActionValue__LocaleSetting : public ProtobufCppMessage { - protobuf_c_boolean has_read; - protobuf_c_boolean read; - Wa__SyncActionValue__SyncActionMessageRange *messagerange; -}; -#define WA__SYNC_ACTION_VALUE__MARK_CHAT_AS_READ_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__mark_chat_as_read_action__descriptor) \ - , 0, 0, NULL } + Wa__SyncActionValue__LocaleSetting() : + ProtobufCppMessage(wa__sync_action_value__locale_setting__descriptor) + {} + char *locale; +}; -struct Wa__SyncActionValue__MuteAction : public ProtobufCMessage +struct Wa__SyncActionValue__MarkChatAsReadAction : public ProtobufCppMessage { - protobuf_c_boolean has_muted; - protobuf_c_boolean muted; - protobuf_c_boolean has_muteendtimestamp; - int64_t muteendtimestamp; -}; -#define WA__SYNC_ACTION_VALUE__MUTE_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__mute_action__descriptor) \ - , 0, 0, 0, 0 } + Wa__SyncActionValue__MarkChatAsReadAction() : + ProtobufCppMessage(wa__sync_action_value__mark_chat_as_read_action__descriptor) + {} + protobuf_c_boolean has_read; + protobuf_c_boolean read; + Wa__SyncActionValue__SyncActionMessageRange *messagerange; +}; -struct Wa__SyncActionValue__NuxAction : public ProtobufCMessage +struct Wa__SyncActionValue__MuteAction : public ProtobufCppMessage { - protobuf_c_boolean has_acknowledged; - protobuf_c_boolean acknowledged; -}; -#define WA__SYNC_ACTION_VALUE__NUX_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__nux_action__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__MuteAction() : + ProtobufCppMessage(wa__sync_action_value__mute_action__descriptor) + {} + protobuf_c_boolean has_muted; + protobuf_c_boolean muted; + protobuf_c_boolean has_muteendtimestamp; + int64_t muteendtimestamp; +}; -struct Wa__SyncActionValue__PinAction : public ProtobufCMessage +struct Wa__SyncActionValue__NuxAction : public ProtobufCppMessage { - protobuf_c_boolean has_pinned; - protobuf_c_boolean pinned; -}; -#define WA__SYNC_ACTION_VALUE__PIN_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__pin_action__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__NuxAction() : + ProtobufCppMessage(wa__sync_action_value__nux_action__descriptor) + {} + protobuf_c_boolean has_acknowledged; + protobuf_c_boolean acknowledged; +}; -struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCMessage +struct Wa__SyncActionValue__PinAction : public ProtobufCppMessage { - size_t n_flags; - char **flags; -}; -#define WA__SYNC_ACTION_VALUE__PRIMARY_FEATURE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__primary_feature__descriptor) \ - , 0,NULL } + Wa__SyncActionValue__PinAction() : + ProtobufCppMessage(wa__sync_action_value__pin_action__descriptor) + {} + protobuf_c_boolean has_pinned; + protobuf_c_boolean pinned; +}; -struct Wa__SyncActionValue__PrimaryVersionAction : public ProtobufCMessage +struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCppMessage { - char *version; -}; -#define WA__SYNC_ACTION_VALUE__PRIMARY_VERSION_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__primary_version_action__descriptor) \ - , NULL } + Wa__SyncActionValue__PrimaryFeature() : + ProtobufCppMessage(wa__sync_action_value__primary_feature__descriptor) + {} + size_t n_flags; + char **flags; +}; -struct Wa__SyncActionValue__PushNameSetting : public ProtobufCMessage +struct Wa__SyncActionValue__PrimaryVersionAction : public ProtobufCppMessage { - char *name; -}; -#define WA__SYNC_ACTION_VALUE__PUSH_NAME_SETTING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__push_name_setting__descriptor) \ - , NULL } + Wa__SyncActionValue__PrimaryVersionAction() : + ProtobufCppMessage(wa__sync_action_value__primary_version_action__descriptor) + {} + char *version; +}; -struct Wa__SyncActionValue__QuickReplyAction : public ProtobufCMessage +struct Wa__SyncActionValue__PushNameSetting : public ProtobufCppMessage { - char *shortcut; - char *message; - size_t n_keywords; - char **keywords; - protobuf_c_boolean has_count; - int32_t count; - protobuf_c_boolean has_deleted; - protobuf_c_boolean deleted; -}; -#define WA__SYNC_ACTION_VALUE__QUICK_REPLY_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__quick_reply_action__descriptor) \ - , NULL, NULL, 0,NULL, 0, 0, 0, 0 } + Wa__SyncActionValue__PushNameSetting() : + ProtobufCppMessage(wa__sync_action_value__push_name_setting__descriptor) + {} + char *name; +}; -struct Wa__SyncActionValue__RecentEmojiWeightsAction : public ProtobufCMessage +struct Wa__SyncActionValue__QuickReplyAction : public ProtobufCppMessage { - size_t n_weights; - Wa__RecentEmojiWeight **weights; -}; -#define WA__SYNC_ACTION_VALUE__RECENT_EMOJI_WEIGHTS_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__recent_emoji_weights_action__descriptor) \ - , 0,NULL } + Wa__SyncActionValue__QuickReplyAction() : + ProtobufCppMessage(wa__sync_action_value__quick_reply_action__descriptor) + {} + char *shortcut; + char *message; + size_t n_keywords; + char **keywords; + protobuf_c_boolean has_count; + int32_t count; + protobuf_c_boolean has_deleted; + protobuf_c_boolean deleted; +}; -struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCMessage +struct Wa__SyncActionValue__RecentEmojiWeightsAction : public ProtobufCppMessage { - protobuf_c_boolean has_shownotification; - protobuf_c_boolean shownotification; -}; -#define WA__SYNC_ACTION_VALUE__SECURITY_NOTIFICATION_SETTING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__security_notification_setting__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__RecentEmojiWeightsAction() : + ProtobufCppMessage(wa__sync_action_value__recent_emoji_weights_action__descriptor) + {} + size_t n_weights; + Wa__RecentEmojiWeight **weights; +}; -struct Wa__SyncActionValue__StarAction : public ProtobufCMessage +struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCppMessage { - protobuf_c_boolean has_starred; - protobuf_c_boolean starred; -}; -#define WA__SYNC_ACTION_VALUE__STAR_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__star_action__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__SecurityNotificationSetting() : + ProtobufCppMessage(wa__sync_action_value__security_notification_setting__descriptor) + {} + protobuf_c_boolean has_shownotification; + protobuf_c_boolean shownotification; +}; -struct Wa__SyncActionValue__StickerAction : public ProtobufCMessage +struct Wa__SyncActionValue__StarAction : public ProtobufCppMessage { - char *url; - protobuf_c_boolean has_fileencsha256; - ProtobufCBinaryData fileencsha256; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - char *mimetype; - protobuf_c_boolean has_height; - uint32_t height; - protobuf_c_boolean has_width; - uint32_t width; - char *directpath; - protobuf_c_boolean has_filelength; - uint64_t filelength; - protobuf_c_boolean has_isfavorite; - protobuf_c_boolean isfavorite; - protobuf_c_boolean has_deviceidhint; - uint32_t deviceidhint; -}; -#define WA__SYNC_ACTION_VALUE__STICKER_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__sticker_action__descriptor) \ - , NULL, 0, {0,NULL}, 0, {0,NULL}, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0 } + Wa__SyncActionValue__StarAction() : + ProtobufCppMessage(wa__sync_action_value__star_action__descriptor) + {} + protobuf_c_boolean has_starred; + protobuf_c_boolean starred; +}; -struct Wa__SyncActionValue__SubscriptionAction : public ProtobufCMessage +struct Wa__SyncActionValue__StickerAction : public ProtobufCppMessage { - protobuf_c_boolean has_isdeactivated; - protobuf_c_boolean isdeactivated; - protobuf_c_boolean has_isautorenewing; - protobuf_c_boolean isautorenewing; - protobuf_c_boolean has_expirationdate; - int64_t expirationdate; -}; -#define WA__SYNC_ACTION_VALUE__SUBSCRIPTION_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__subscription_action__descriptor) \ - , 0, 0, 0, 0, 0, 0 } + Wa__SyncActionValue__StickerAction() : + ProtobufCppMessage(wa__sync_action_value__sticker_action__descriptor) + {} + char *url; + protobuf_c_boolean has_fileencsha256; + ProtobufCBinaryData fileencsha256; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + char *mimetype; + protobuf_c_boolean has_height; + uint32_t height; + protobuf_c_boolean has_width; + uint32_t width; + char *directpath; + protobuf_c_boolean has_filelength; + uint64_t filelength; + protobuf_c_boolean has_isfavorite; + protobuf_c_boolean isfavorite; + protobuf_c_boolean has_deviceidhint; + uint32_t deviceidhint; +}; -struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCMessage +struct Wa__SyncActionValue__SubscriptionAction : public ProtobufCppMessage { - protobuf_c_boolean has_lastmessagetimestamp; - int64_t lastmessagetimestamp; - protobuf_c_boolean has_lastsystemmessagetimestamp; - int64_t lastsystemmessagetimestamp; - size_t n_messages; - Wa__SyncActionValue__SyncActionMessage **messages; -}; -#define WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE_RANGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__sync_action_message_range__descriptor) \ - , 0, 0, 0, 0, 0,NULL } + Wa__SyncActionValue__SubscriptionAction() : + ProtobufCppMessage(wa__sync_action_value__subscription_action__descriptor) + {} + protobuf_c_boolean has_isdeactivated; + protobuf_c_boolean isdeactivated; + protobuf_c_boolean has_isautorenewing; + protobuf_c_boolean isautorenewing; + protobuf_c_boolean has_expirationdate; + int64_t expirationdate; +}; -struct Wa__SyncActionValue__SyncActionMessage : public ProtobufCMessage +struct Wa__SyncActionValue__SyncActionMessageRange : public ProtobufCppMessage { - Wa__MessageKey *key; - protobuf_c_boolean has_timestamp; - int64_t timestamp; -}; -#define WA__SYNC_ACTION_VALUE__SYNC_ACTION_MESSAGE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__sync_action_message__descriptor) \ - , NULL, 0, 0 } + Wa__SyncActionValue__SyncActionMessageRange() : + ProtobufCppMessage(wa__sync_action_value__sync_action_message_range__descriptor) + {} + protobuf_c_boolean has_lastmessagetimestamp; + int64_t lastmessagetimestamp; + protobuf_c_boolean has_lastsystemmessagetimestamp; + int64_t lastsystemmessagetimestamp; + size_t n_messages; + Wa__SyncActionValue__SyncActionMessage **messages; +}; -struct Wa__SyncActionValue__TimeFormatAction : public ProtobufCMessage +struct Wa__SyncActionValue__SyncActionMessage : public ProtobufCppMessage { - protobuf_c_boolean has_istwentyfourhourformatenabled; - protobuf_c_boolean istwentyfourhourformatenabled; -}; -#define WA__SYNC_ACTION_VALUE__TIME_FORMAT_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__time_format_action__descriptor) \ - , 0, 0 } + 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__UnarchiveChatsSetting : public ProtobufCMessage +struct Wa__SyncActionValue__TimeFormatAction : public ProtobufCppMessage { - protobuf_c_boolean has_unarchivechats; - protobuf_c_boolean unarchivechats; -}; -#define WA__SYNC_ACTION_VALUE__UNARCHIVE_CHATS_SETTING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__unarchive_chats_setting__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__TimeFormatAction() : + ProtobufCppMessage(wa__sync_action_value__time_format_action__descriptor) + {} + protobuf_c_boolean has_istwentyfourhourformatenabled; + protobuf_c_boolean istwentyfourhourformatenabled; +}; -struct Wa__SyncActionValue__UserStatusMuteAction : public ProtobufCMessage +struct Wa__SyncActionValue__UnarchiveChatsSetting : public ProtobufCppMessage { - protobuf_c_boolean has_muted; - protobuf_c_boolean muted; -}; -#define WA__SYNC_ACTION_VALUE__USER_STATUS_MUTE_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__user_status_mute_action__descriptor) \ - , 0, 0 } + Wa__SyncActionValue__UnarchiveChatsSetting() : + ProtobufCppMessage(wa__sync_action_value__unarchive_chats_setting__descriptor) + {} + protobuf_c_boolean has_unarchivechats; + protobuf_c_boolean unarchivechats; +}; -struct Wa__SyncActionValue : public ProtobufCMessage +struct Wa__SyncActionValue__UserStatusMuteAction : public ProtobufCppMessage { - protobuf_c_boolean has_timestamp; - int64_t timestamp; - Wa__SyncActionValue__StarAction *staraction; - Wa__SyncActionValue__ContactAction *contactaction; - Wa__SyncActionValue__MuteAction *muteaction; - Wa__SyncActionValue__PinAction *pinaction; - Wa__SyncActionValue__SecurityNotificationSetting *securitynotificationsetting; - Wa__SyncActionValue__PushNameSetting *pushnamesetting; - Wa__SyncActionValue__QuickReplyAction *quickreplyaction; - Wa__SyncActionValue__RecentEmojiWeightsAction *recentemojiweightsaction; - Wa__SyncActionValue__LabelEditAction *labeleditaction; - Wa__SyncActionValue__LabelAssociationAction *labelassociationaction; - Wa__SyncActionValue__LocaleSetting *localesetting; - Wa__SyncActionValue__ArchiveChatAction *archivechataction; - Wa__SyncActionValue__DeleteMessageForMeAction *deletemessageformeaction; - Wa__SyncActionValue__KeyExpiration *keyexpiration; - Wa__SyncActionValue__MarkChatAsReadAction *markchatasreadaction; - Wa__SyncActionValue__ClearChatAction *clearchataction; - Wa__SyncActionValue__DeleteChatAction *deletechataction; - Wa__SyncActionValue__UnarchiveChatsSetting *unarchivechatssetting; - Wa__SyncActionValue__PrimaryFeature *primaryfeature; - Wa__SyncActionValue__AndroidUnsupportedActions *androidunsupportedactions; - Wa__SyncActionValue__AgentAction *agentaction; - Wa__SyncActionValue__SubscriptionAction *subscriptionaction; - Wa__SyncActionValue__UserStatusMuteAction *userstatusmuteaction; - Wa__SyncActionValue__TimeFormatAction *timeformataction; - Wa__SyncActionValue__NuxAction *nuxaction; - Wa__SyncActionValue__PrimaryVersionAction *primaryversionaction; - Wa__SyncActionValue__StickerAction *stickeraction; -}; -#define WA__SYNC_ACTION_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__sync_action_value__descriptor) \ - , 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } + Wa__SyncActionValue__UserStatusMuteAction() : + ProtobufCppMessage(wa__sync_action_value__user_status_mute_action__descriptor) + {} + protobuf_c_boolean has_muted; + protobuf_c_boolean muted; +}; -struct Wa__SyncdIndex : public ProtobufCMessage +struct Wa__SyncActionValue : public ProtobufCppMessage { - protobuf_c_boolean has_blob; - ProtobufCBinaryData blob; -}; -#define WA__SYNCD_INDEX__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_index__descriptor) \ - , 0, {0,NULL} } + Wa__SyncActionValue() : + ProtobufCppMessage(wa__sync_action_value__descriptor) + {} + protobuf_c_boolean has_timestamp; + int64_t timestamp; + Wa__SyncActionValue__StarAction *staraction; + Wa__SyncActionValue__ContactAction *contactaction; + Wa__SyncActionValue__MuteAction *muteaction; + Wa__SyncActionValue__PinAction *pinaction; + Wa__SyncActionValue__SecurityNotificationSetting *securitynotificationsetting; + Wa__SyncActionValue__PushNameSetting *pushnamesetting; + Wa__SyncActionValue__QuickReplyAction *quickreplyaction; + Wa__SyncActionValue__RecentEmojiWeightsAction *recentemojiweightsaction; + Wa__SyncActionValue__LabelEditAction *labeleditaction; + Wa__SyncActionValue__LabelAssociationAction *labelassociationaction; + Wa__SyncActionValue__LocaleSetting *localesetting; + Wa__SyncActionValue__ArchiveChatAction *archivechataction; + Wa__SyncActionValue__DeleteMessageForMeAction *deletemessageformeaction; + Wa__SyncActionValue__KeyExpiration *keyexpiration; + Wa__SyncActionValue__MarkChatAsReadAction *markchatasreadaction; + Wa__SyncActionValue__ClearChatAction *clearchataction; + Wa__SyncActionValue__DeleteChatAction *deletechataction; + Wa__SyncActionValue__UnarchiveChatsSetting *unarchivechatssetting; + Wa__SyncActionValue__PrimaryFeature *primaryfeature; + Wa__SyncActionValue__AndroidUnsupportedActions *androidunsupportedactions; + Wa__SyncActionValue__AgentAction *agentaction; + Wa__SyncActionValue__SubscriptionAction *subscriptionaction; + Wa__SyncActionValue__UserStatusMuteAction *userstatusmuteaction; + Wa__SyncActionValue__TimeFormatAction *timeformataction; + Wa__SyncActionValue__NuxAction *nuxaction; + Wa__SyncActionValue__PrimaryVersionAction *primaryversionaction; + Wa__SyncActionValue__StickerAction *stickeraction; +}; -struct Wa__SyncdMutation : public ProtobufCMessage +struct Wa__SyncdIndex : public ProtobufCppMessage { - protobuf_c_boolean has_operation; - Wa__SyncdMutation__SyncdOperation operation; - Wa__SyncdRecord *record; -}; -#define WA__SYNCD_MUTATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_mutation__descriptor) \ - , 0, WA__SYNCD_MUTATION__SYNCD_OPERATION__SET, NULL } + Wa__SyncdIndex() : + ProtobufCppMessage(wa__syncd_index__descriptor) + {} + protobuf_c_boolean has_blob; + ProtobufCBinaryData blob; +}; -struct Wa__SyncdMutations : public ProtobufCMessage +struct Wa__SyncdMutation : public ProtobufCppMessage { - size_t n_mutations; - Wa__SyncdMutation **mutations; -}; -#define WA__SYNCD_MUTATIONS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_mutations__descriptor) \ - , 0,NULL } + Wa__SyncdMutation() : + ProtobufCppMessage(wa__syncd_mutation__descriptor) + {} + protobuf_c_boolean has_operation; + Wa__SyncdMutation__SyncdOperation operation; + Wa__SyncdRecord *record; +}; -struct Wa__SyncdPatch : public ProtobufCMessage +struct Wa__SyncdMutations : public ProtobufCppMessage { - Wa__SyncdVersion *version; - size_t n_mutations; - Wa__SyncdMutation **mutations; - Wa__ExternalBlobReference *externalmutations; - protobuf_c_boolean has_snapshotmac; - ProtobufCBinaryData snapshotmac; - protobuf_c_boolean has_patchmac; - ProtobufCBinaryData patchmac; - Wa__KeyId *keyid; - Wa__ExitCode *exitcode; - protobuf_c_boolean has_deviceindex; - uint32_t deviceindex; -}; -#define WA__SYNCD_PATCH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_patch__descriptor) \ - , NULL, 0,NULL, NULL, 0, {0,NULL}, 0, {0,NULL}, NULL, NULL, 0, 0 } + Wa__SyncdMutations() : + ProtobufCppMessage(wa__syncd_mutations__descriptor) + {} + size_t n_mutations; + Wa__SyncdMutation **mutations; +}; -struct Wa__SyncdRecord : public ProtobufCMessage +struct Wa__SyncdPatch : public ProtobufCppMessage { - Wa__SyncdIndex *index; - Wa__SyncdValue *value; - Wa__KeyId *keyid; -}; -#define WA__SYNCD_RECORD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_record__descriptor) \ - , NULL, NULL, NULL } + Wa__SyncdPatch() : + ProtobufCppMessage(wa__syncd_patch__descriptor) + {} + Wa__SyncdVersion *version; + size_t n_mutations; + Wa__SyncdMutation **mutations; + Wa__ExternalBlobReference *externalmutations; + protobuf_c_boolean has_snapshotmac; + ProtobufCBinaryData snapshotmac; + protobuf_c_boolean has_patchmac; + ProtobufCBinaryData patchmac; + Wa__KeyId *keyid; + Wa__ExitCode *exitcode; + protobuf_c_boolean has_deviceindex; + uint32_t deviceindex; +}; -struct Wa__SyncdSnapshot : public ProtobufCMessage +struct Wa__SyncdRecord : public ProtobufCppMessage { - Wa__SyncdVersion *version; - size_t n_records; - Wa__SyncdRecord **records; - protobuf_c_boolean has_mac; - ProtobufCBinaryData mac; - Wa__KeyId *keyid; -}; -#define WA__SYNCD_SNAPSHOT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_snapshot__descriptor) \ - , NULL, 0,NULL, 0, {0,NULL}, NULL } + Wa__SyncdRecord() : + ProtobufCppMessage(wa__syncd_record__descriptor) + {} + Wa__SyncdIndex *index; + Wa__SyncdValue *value; + Wa__KeyId *keyid; +}; -struct Wa__SyncdValue : public ProtobufCMessage +struct Wa__SyncdSnapshot : public ProtobufCppMessage { - protobuf_c_boolean has_blob; - ProtobufCBinaryData blob; -}; -#define WA__SYNCD_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_value__descriptor) \ - , 0, {0,NULL} } + Wa__SyncdSnapshot() : + ProtobufCppMessage(wa__syncd_snapshot__descriptor) + {} + Wa__SyncdVersion *version; + size_t n_records; + Wa__SyncdRecord **records; + protobuf_c_boolean has_mac; + ProtobufCBinaryData mac; + Wa__KeyId *keyid; +}; -struct Wa__SyncdVersion : public ProtobufCMessage +struct Wa__SyncdValue : public ProtobufCppMessage { - protobuf_c_boolean has_version; - uint64_t version; -}; -#define WA__SYNCD_VERSION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__syncd_version__descriptor) \ - , 0, 0 } + Wa__SyncdValue() : + ProtobufCppMessage(wa__syncd_value__descriptor) + {} + protobuf_c_boolean has_blob; + ProtobufCBinaryData blob; +}; -struct Wa__TemplateButton__CallButton : public ProtobufCMessage +struct Wa__SyncdVersion : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage *displaytext; - Wa__Message__HighlyStructuredMessage *phonenumber; -}; -#define WA__TEMPLATE_BUTTON__CALL_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__template_button__call_button__descriptor) \ - , NULL, NULL } + Wa__SyncdVersion() : + ProtobufCppMessage(wa__syncd_version__descriptor) + {} + protobuf_c_boolean has_version; + uint64_t version; +}; -struct Wa__TemplateButton__QuickReplyButton : public ProtobufCMessage +struct Wa__TemplateButton__CallButton : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage *displaytext; - char *id; -}; -#define WA__TEMPLATE_BUTTON__QUICK_REPLY_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__template_button__quick_reply_button__descriptor) \ - , NULL, NULL } + Wa__TemplateButton__CallButton() : + ProtobufCppMessage(wa__template_button__call_button__descriptor) + {} + Wa__Message__HighlyStructuredMessage *displaytext; + Wa__Message__HighlyStructuredMessage *phonenumber; +}; -struct Wa__TemplateButton__URLButton : public ProtobufCMessage +struct Wa__TemplateButton__QuickReplyButton : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage *displaytext; - Wa__Message__HighlyStructuredMessage *url; + Wa__TemplateButton__QuickReplyButton() : + ProtobufCppMessage(wa__template_button__quick_reply_button__descriptor) + {} + + Wa__Message__HighlyStructuredMessage *displaytext; + char *id; }; -#define WA__TEMPLATE_BUTTON__URLBUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__template_button__urlbutton__descriptor) \ - , NULL, NULL } +struct Wa__TemplateButton__URLButton : public ProtobufCppMessage +{ + Wa__TemplateButton__URLButton() : + ProtobufCppMessage(wa__template_button__urlbutton__descriptor) + {} -typedef enum { - WA__TEMPLATE_BUTTON__BUTTON__NOT_SET = 0, - 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) -} Wa__TemplateButton__ButtonCase; + Wa__Message__HighlyStructuredMessage *displaytext; + Wa__Message__HighlyStructuredMessage *url; +}; -struct Wa__TemplateButton : public ProtobufCMessage -{ - protobuf_c_boolean has_index; - uint32_t index; - Wa__TemplateButton__ButtonCase button_case; - union { - Wa__TemplateButton__QuickReplyButton *quickreplybutton; - Wa__TemplateButton__URLButton *urlbutton; - Wa__TemplateButton__CallButton *callbutton; - }; -}; -#define WA__TEMPLATE_BUTTON__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__template_button__descriptor) \ - , 0, 0, WA__TEMPLATE_BUTTON__BUTTON__NOT_SET, {0} } - - -struct Wa__UserReceipt : public ProtobufCMessage -{ - char *userjid; - protobuf_c_boolean has_receipttimestamp; - int64_t receipttimestamp; - protobuf_c_boolean has_readtimestamp; - int64_t readtimestamp; - protobuf_c_boolean has_playedtimestamp; - int64_t playedtimestamp; - size_t n_pendingdevicejid; - char **pendingdevicejid; - size_t n_delivereddevicejid; - char **delivereddevicejid; -}; -#define WA__USER_RECEIPT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__user_receipt__descriptor) \ - , NULL, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL } - - -struct Wa__VerifiedNameCertificate__Details : public ProtobufCMessage -{ - protobuf_c_boolean has_serial; - uint64_t serial; - char *issuer; - char *verifiedname; - size_t n_localizednames; - Wa__LocalizedName **localizednames; - protobuf_c_boolean has_issuetime; - uint64_t issuetime; -}; -#define WA__VERIFIED_NAME_CERTIFICATE__DETAILS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__verified_name_certificate__details__descriptor) \ - , 0, 0, NULL, NULL, 0,NULL, 0, 0 } - - -struct Wa__VerifiedNameCertificate : public ProtobufCMessage -{ - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; - protobuf_c_boolean has_serversignature; - ProtobufCBinaryData serversignature; -}; -#define WA__VERIFIED_NAME_CERTIFICATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__verified_name_certificate__descriptor) \ - , 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL} } - - -struct Wa__WallpaperSettings : public ProtobufCMessage -{ - char *filename; - protobuf_c_boolean has_opacity; - uint32_t opacity; -}; -#define WA__WALLPAPER_SETTINGS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__wallpaper_settings__descriptor) \ - , NULL, 0, 0 } - - -struct Wa__WebFeatures : public ProtobufCMessage -{ - protobuf_c_boolean has_labelsdisplay; - Wa__WebFeatures__Flag labelsdisplay; - protobuf_c_boolean has_voipindividualoutgoing; - Wa__WebFeatures__Flag voipindividualoutgoing; - protobuf_c_boolean has_groupsv3; - Wa__WebFeatures__Flag groupsv3; - protobuf_c_boolean has_groupsv3create; - Wa__WebFeatures__Flag groupsv3create; - protobuf_c_boolean has_changenumberv2; - Wa__WebFeatures__Flag changenumberv2; - protobuf_c_boolean has_querystatusv3thumbnail; - Wa__WebFeatures__Flag querystatusv3thumbnail; - protobuf_c_boolean has_livelocations; - Wa__WebFeatures__Flag livelocations; - protobuf_c_boolean has_queryvname; - Wa__WebFeatures__Flag queryvname; - protobuf_c_boolean has_voipindividualincoming; - Wa__WebFeatures__Flag voipindividualincoming; - protobuf_c_boolean has_quickrepliesquery; - Wa__WebFeatures__Flag quickrepliesquery; - protobuf_c_boolean has_payments; - Wa__WebFeatures__Flag payments; - protobuf_c_boolean has_stickerpackquery; - Wa__WebFeatures__Flag stickerpackquery; - protobuf_c_boolean has_livelocationsfinal; - Wa__WebFeatures__Flag livelocationsfinal; - protobuf_c_boolean has_labelsedit; - Wa__WebFeatures__Flag labelsedit; - protobuf_c_boolean has_mediaupload; - Wa__WebFeatures__Flag mediaupload; - protobuf_c_boolean has_mediauploadrichquickreplies; - Wa__WebFeatures__Flag mediauploadrichquickreplies; - protobuf_c_boolean has_vnamev2; - Wa__WebFeatures__Flag vnamev2; - protobuf_c_boolean has_videoplaybackurl; - Wa__WebFeatures__Flag videoplaybackurl; - protobuf_c_boolean has_statusranking; - Wa__WebFeatures__Flag statusranking; - protobuf_c_boolean has_voipindividualvideo; - Wa__WebFeatures__Flag voipindividualvideo; - protobuf_c_boolean has_thirdpartystickers; - Wa__WebFeatures__Flag thirdpartystickers; - protobuf_c_boolean has_frequentlyforwardedsetting; - Wa__WebFeatures__Flag frequentlyforwardedsetting; - protobuf_c_boolean has_groupsv4joinpermission; - Wa__WebFeatures__Flag groupsv4joinpermission; - protobuf_c_boolean has_recentstickers; - Wa__WebFeatures__Flag recentstickers; - protobuf_c_boolean has_catalog; - Wa__WebFeatures__Flag catalog; - protobuf_c_boolean has_starredstickers; - Wa__WebFeatures__Flag starredstickers; - protobuf_c_boolean has_voipgroupcall; - Wa__WebFeatures__Flag voipgroupcall; - protobuf_c_boolean has_templatemessage; - Wa__WebFeatures__Flag templatemessage; - protobuf_c_boolean has_templatemessageinteractivity; - Wa__WebFeatures__Flag templatemessageinteractivity; - protobuf_c_boolean has_ephemeralmessages; - Wa__WebFeatures__Flag ephemeralmessages; - protobuf_c_boolean has_e2enotificationsync; - Wa__WebFeatures__Flag e2enotificationsync; - protobuf_c_boolean has_recentstickersv2; - Wa__WebFeatures__Flag recentstickersv2; - protobuf_c_boolean has_recentstickersv3; - Wa__WebFeatures__Flag recentstickersv3; - protobuf_c_boolean has_usernotice; - Wa__WebFeatures__Flag usernotice; - protobuf_c_boolean has_support; - Wa__WebFeatures__Flag support; - protobuf_c_boolean has_groupuiicleanup; - Wa__WebFeatures__Flag groupuiicleanup; - protobuf_c_boolean has_groupdogfoodinginternalonly; - Wa__WebFeatures__Flag groupdogfoodinginternalonly; - protobuf_c_boolean has_settingssync; - Wa__WebFeatures__Flag settingssync; - protobuf_c_boolean has_archivev2; - Wa__WebFeatures__Flag archivev2; - protobuf_c_boolean has_ephemeralallowgroupmembers; - Wa__WebFeatures__Flag ephemeralallowgroupmembers; - protobuf_c_boolean has_ephemeral24hduration; - Wa__WebFeatures__Flag ephemeral24hduration; - protobuf_c_boolean has_mdforceupgrade; - Wa__WebFeatures__Flag mdforceupgrade; - protobuf_c_boolean has_disappearingmode; - Wa__WebFeatures__Flag disappearingmode; - protobuf_c_boolean has_externalmdoptinavailable; - Wa__WebFeatures__Flag externalmdoptinavailable; - protobuf_c_boolean has_nodeletemessagetimelimit; - Wa__WebFeatures__Flag nodeletemessagetimelimit; -}; -#define WA__WEB_FEATURES__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__web_features__descriptor) \ - , 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED, 0, WA__WEB_FEATURES__FLAG__NOT_STARTED } - - -struct Wa__WebMessageInfo : public ProtobufCMessage -{ - Wa__MessageKey *key; - Wa__Message *message; - protobuf_c_boolean has_messagetimestamp; - uint64_t messagetimestamp; - protobuf_c_boolean has_status; - Wa__WebMessageInfo__Status status; - char *participant; - protobuf_c_boolean has_messagec2stimestamp; - uint64_t messagec2stimestamp; - protobuf_c_boolean has_ignore; - protobuf_c_boolean ignore; - protobuf_c_boolean has_starred; - protobuf_c_boolean starred; - protobuf_c_boolean has_broadcast; - protobuf_c_boolean broadcast; - char *pushname; - protobuf_c_boolean has_mediaciphertextsha256; - ProtobufCBinaryData mediaciphertextsha256; - protobuf_c_boolean has_multicast; - protobuf_c_boolean multicast; - protobuf_c_boolean has_urltext; - protobuf_c_boolean urltext; - protobuf_c_boolean has_urlnumber; - protobuf_c_boolean urlnumber; - protobuf_c_boolean has_messagestubtype; - Wa__WebMessageInfo__StubType messagestubtype; - protobuf_c_boolean has_clearmedia; - protobuf_c_boolean clearmedia; - size_t n_messagestubparameters; - char **messagestubparameters; - protobuf_c_boolean has_duration; - uint32_t duration; - size_t n_labels; - char **labels; - Wa__PaymentInfo *paymentinfo; - Wa__Message__LiveLocationMessage *finallivelocation; - Wa__PaymentInfo *quotedpaymentinfo; - protobuf_c_boolean has_ephemeralstarttimestamp; - uint64_t ephemeralstarttimestamp; - protobuf_c_boolean has_ephemeralduration; - uint32_t ephemeralduration; - protobuf_c_boolean has_ephemeralofftoon; - protobuf_c_boolean ephemeralofftoon; - protobuf_c_boolean has_ephemeraloutofsync; - protobuf_c_boolean ephemeraloutofsync; - protobuf_c_boolean has_bizprivacystatus; - Wa__WebMessageInfo__BizPrivacyStatus bizprivacystatus; - char *verifiedbizname; - Wa__MediaData *mediadata; - Wa__PhotoChange *photochange; - size_t n_userreceipt; - Wa__UserReceipt **userreceipt; - size_t n_reactions; - Wa__Reaction **reactions; - Wa__MediaData *quotedstickerdata; - protobuf_c_boolean has_futureproofdata; - ProtobufCBinaryData futureproofdata; - Wa__StatusPSA *statuspsa; - size_t n_pollupdates; - Wa__PollUpdate **pollupdates; - Wa__PollAdditionalMetadata *polladditionalmetadata; - char *agentid; - protobuf_c_boolean has_statusalreadyviewed; - protobuf_c_boolean statusalreadyviewed; - protobuf_c_boolean has_messagesecret; - ProtobufCBinaryData messagesecret; - Wa__KeepInChat *keepinchat; - char *originalselfauthoruserjidstring; - protobuf_c_boolean has_revokemessagetimestamp; - uint64_t revokemessagetimestamp; -}; -#define WA__WEB_MESSAGE_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__web_message_info__descriptor) \ - , NULL, NULL, 0, 0, 0, WA__WEB_MESSAGE_INFO__STATUS__ERROR, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, WA__WEB_MESSAGE_INFO__STUB_TYPE__UNKNOWN, 0, 0, 0,NULL, 0, 0, 0,NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, WA__WEB_MESSAGE_INFO__BIZ_PRIVACY_STATUS__E2EE, NULL, NULL, NULL, 0,NULL, 0,NULL, NULL, 0, {0,NULL}, NULL, 0,NULL, NULL, NULL, 0, 0, 0, {0,NULL}, NULL, NULL, 0, 0 } - - -struct Wa__WebNotificationsInfo : public ProtobufCMessage -{ - protobuf_c_boolean has_timestamp; - uint64_t timestamp; - protobuf_c_boolean has_unreadchats; - uint32_t unreadchats; - protobuf_c_boolean has_notifymessagecount; - uint32_t notifymessagecount; - size_t n_notifymessages; - Wa__WebMessageInfo **notifymessages; -}; -#define WA__WEB_NOTIFICATIONS_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&wa__web_notifications_info__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0,NULL } +typedef enum +{ + WA__TEMPLATE_BUTTON__BUTTON__NOT_SET = 0, + 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) +} Wa__TemplateButton__ButtonCase; +struct Wa__TemplateButton : public ProtobufCppMessage +{ + Wa__TemplateButton() : + ProtobufCppMessage(wa__template_button__descriptor) + {} + + protobuf_c_boolean has_index; + uint32_t index; + Wa__TemplateButton__ButtonCase button_case; + union + { + Wa__TemplateButton__QuickReplyButton *quickreplybutton; + Wa__TemplateButton__URLButton *urlbutton; + Wa__TemplateButton__CallButton *callbutton; + }; +}; + +struct Wa__UserReceipt : public ProtobufCppMessage +{ + Wa__UserReceipt() : + ProtobufCppMessage(wa__user_receipt__descriptor) + {} + + char *userjid; + protobuf_c_boolean has_receipttimestamp; + int64_t receipttimestamp; + protobuf_c_boolean has_readtimestamp; + int64_t readtimestamp; + protobuf_c_boolean has_playedtimestamp; + int64_t playedtimestamp; + size_t n_pendingdevicejid; + char **pendingdevicejid; + size_t n_delivereddevicejid; + char **delivereddevicejid; +}; + +struct Wa__VerifiedNameCertificate__Details : public ProtobufCppMessage +{ + Wa__VerifiedNameCertificate__Details() : + ProtobufCppMessage(wa__verified_name_certificate__details__descriptor) + {} + + protobuf_c_boolean has_serial; + uint64_t serial; + char *issuer; + char *verifiedname; + size_t n_localizednames; + Wa__LocalizedName **localizednames; + protobuf_c_boolean has_issuetime; + uint64_t issuetime; +}; + +struct Wa__VerifiedNameCertificate : public ProtobufCppMessage +{ + Wa__VerifiedNameCertificate() : + ProtobufCppMessage(wa__verified_name_certificate__descriptor) + {} + + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; + protobuf_c_boolean has_serversignature; + ProtobufCBinaryData serversignature; +}; + +struct Wa__WallpaperSettings : public ProtobufCppMessage +{ + Wa__WallpaperSettings() : + ProtobufCppMessage(wa__wallpaper_settings__descriptor) + {} + + char *filename; + protobuf_c_boolean has_opacity; + uint32_t opacity; +}; + +struct Wa__WebFeatures : public ProtobufCppMessage +{ + Wa__WebFeatures() : + ProtobufCppMessage(wa__web_features__descriptor) + {} + + protobuf_c_boolean has_labelsdisplay; + Wa__WebFeatures__Flag labelsdisplay; + protobuf_c_boolean has_voipindividualoutgoing; + Wa__WebFeatures__Flag voipindividualoutgoing; + protobuf_c_boolean has_groupsv3; + Wa__WebFeatures__Flag groupsv3; + protobuf_c_boolean has_groupsv3create; + Wa__WebFeatures__Flag groupsv3create; + protobuf_c_boolean has_changenumberv2; + Wa__WebFeatures__Flag changenumberv2; + protobuf_c_boolean has_querystatusv3thumbnail; + Wa__WebFeatures__Flag querystatusv3thumbnail; + protobuf_c_boolean has_livelocations; + Wa__WebFeatures__Flag livelocations; + protobuf_c_boolean has_queryvname; + Wa__WebFeatures__Flag queryvname; + protobuf_c_boolean has_voipindividualincoming; + Wa__WebFeatures__Flag voipindividualincoming; + protobuf_c_boolean has_quickrepliesquery; + Wa__WebFeatures__Flag quickrepliesquery; + protobuf_c_boolean has_payments; + Wa__WebFeatures__Flag payments; + protobuf_c_boolean has_stickerpackquery; + Wa__WebFeatures__Flag stickerpackquery; + protobuf_c_boolean has_livelocationsfinal; + Wa__WebFeatures__Flag livelocationsfinal; + protobuf_c_boolean has_labelsedit; + Wa__WebFeatures__Flag labelsedit; + protobuf_c_boolean has_mediaupload; + Wa__WebFeatures__Flag mediaupload; + protobuf_c_boolean has_mediauploadrichquickreplies; + Wa__WebFeatures__Flag mediauploadrichquickreplies; + protobuf_c_boolean has_vnamev2; + Wa__WebFeatures__Flag vnamev2; + protobuf_c_boolean has_videoplaybackurl; + Wa__WebFeatures__Flag videoplaybackurl; + protobuf_c_boolean has_statusranking; + Wa__WebFeatures__Flag statusranking; + protobuf_c_boolean has_voipindividualvideo; + Wa__WebFeatures__Flag voipindividualvideo; + protobuf_c_boolean has_thirdpartystickers; + Wa__WebFeatures__Flag thirdpartystickers; + protobuf_c_boolean has_frequentlyforwardedsetting; + Wa__WebFeatures__Flag frequentlyforwardedsetting; + protobuf_c_boolean has_groupsv4joinpermission; + Wa__WebFeatures__Flag groupsv4joinpermission; + protobuf_c_boolean has_recentstickers; + Wa__WebFeatures__Flag recentstickers; + protobuf_c_boolean has_catalog; + Wa__WebFeatures__Flag catalog; + protobuf_c_boolean has_starredstickers; + Wa__WebFeatures__Flag starredstickers; + protobuf_c_boolean has_voipgroupcall; + Wa__WebFeatures__Flag voipgroupcall; + protobuf_c_boolean has_templatemessage; + Wa__WebFeatures__Flag templatemessage; + protobuf_c_boolean has_templatemessageinteractivity; + Wa__WebFeatures__Flag templatemessageinteractivity; + protobuf_c_boolean has_ephemeralmessages; + Wa__WebFeatures__Flag ephemeralmessages; + protobuf_c_boolean has_e2enotificationsync; + Wa__WebFeatures__Flag e2enotificationsync; + protobuf_c_boolean has_recentstickersv2; + Wa__WebFeatures__Flag recentstickersv2; + protobuf_c_boolean has_recentstickersv3; + Wa__WebFeatures__Flag recentstickersv3; + protobuf_c_boolean has_usernotice; + Wa__WebFeatures__Flag usernotice; + protobuf_c_boolean has_support; + Wa__WebFeatures__Flag support; + protobuf_c_boolean has_groupuiicleanup; + Wa__WebFeatures__Flag groupuiicleanup; + protobuf_c_boolean has_groupdogfoodinginternalonly; + Wa__WebFeatures__Flag groupdogfoodinginternalonly; + protobuf_c_boolean has_settingssync; + Wa__WebFeatures__Flag settingssync; + protobuf_c_boolean has_archivev2; + Wa__WebFeatures__Flag archivev2; + protobuf_c_boolean has_ephemeralallowgroupmembers; + Wa__WebFeatures__Flag ephemeralallowgroupmembers; + protobuf_c_boolean has_ephemeral24hduration; + Wa__WebFeatures__Flag ephemeral24hduration; + protobuf_c_boolean has_mdforceupgrade; + Wa__WebFeatures__Flag mdforceupgrade; + protobuf_c_boolean has_disappearingmode; + Wa__WebFeatures__Flag disappearingmode; + protobuf_c_boolean has_externalmdoptinavailable; + Wa__WebFeatures__Flag externalmdoptinavailable; + protobuf_c_boolean has_nodeletemessagetimelimit; + Wa__WebFeatures__Flag nodeletemessagetimelimit; +}; + +struct Wa__WebMessageInfo : public ProtobufCppMessage +{ + Wa__WebMessageInfo() : + ProtobufCppMessage(wa__web_message_info__descriptor) + {} + + Wa__MessageKey *key; + Wa__Message *message; + protobuf_c_boolean has_messagetimestamp; + uint64_t messagetimestamp; + protobuf_c_boolean has_status; + Wa__WebMessageInfo__Status status; + char *participant; + protobuf_c_boolean has_messagec2stimestamp; + uint64_t messagec2stimestamp; + protobuf_c_boolean has_ignore; + protobuf_c_boolean ignore; + protobuf_c_boolean has_starred; + protobuf_c_boolean starred; + protobuf_c_boolean has_broadcast; + protobuf_c_boolean broadcast; + char *pushname; + protobuf_c_boolean has_mediaciphertextsha256; + ProtobufCBinaryData mediaciphertextsha256; + protobuf_c_boolean has_multicast; + protobuf_c_boolean multicast; + protobuf_c_boolean has_urltext; + protobuf_c_boolean urltext; + protobuf_c_boolean has_urlnumber; + protobuf_c_boolean urlnumber; + protobuf_c_boolean has_messagestubtype; + Wa__WebMessageInfo__StubType messagestubtype; + protobuf_c_boolean has_clearmedia; + protobuf_c_boolean clearmedia; + size_t n_messagestubparameters; + char **messagestubparameters; + protobuf_c_boolean has_duration; + uint32_t duration; + size_t n_labels; + char **labels; + Wa__PaymentInfo *paymentinfo; + Wa__Message__LiveLocationMessage *finallivelocation; + Wa__PaymentInfo *quotedpaymentinfo; + protobuf_c_boolean has_ephemeralstarttimestamp; + uint64_t ephemeralstarttimestamp; + protobuf_c_boolean has_ephemeralduration; + uint32_t ephemeralduration; + protobuf_c_boolean has_ephemeralofftoon; + protobuf_c_boolean ephemeralofftoon; + protobuf_c_boolean has_ephemeraloutofsync; + protobuf_c_boolean ephemeraloutofsync; + protobuf_c_boolean has_bizprivacystatus; + Wa__WebMessageInfo__BizPrivacyStatus bizprivacystatus; + char *verifiedbizname; + Wa__MediaData *mediadata; + Wa__PhotoChange *photochange; + size_t n_userreceipt; + Wa__UserReceipt **userreceipt; + size_t n_reactions; + Wa__Reaction **reactions; + Wa__MediaData *quotedstickerdata; + protobuf_c_boolean has_futureproofdata; + ProtobufCBinaryData futureproofdata; + Wa__StatusPSA *statuspsa; + size_t n_pollupdates; + Wa__PollUpdate **pollupdates; + Wa__PollAdditionalMetadata *polladditionalmetadata; + char *agentid; + protobuf_c_boolean has_statusalreadyviewed; + protobuf_c_boolean statusalreadyviewed; + protobuf_c_boolean has_messagesecret; + ProtobufCBinaryData messagesecret; + Wa__KeepInChat *keepinchat; + char *originalselfauthoruserjidstring; + protobuf_c_boolean has_revokemessagetimestamp; + uint64_t revokemessagetimestamp; +}; + +struct Wa__WebNotificationsInfo : public ProtobufCppMessage +{ + Wa__WebNotificationsInfo() : + ProtobufCppMessage(wa__web_notifications_info__descriptor) + {} + + protobuf_c_boolean has_timestamp; + uint64_t timestamp; + protobuf_c_boolean has_unreadchats; + uint32_t unreadchats; + protobuf_c_boolean has_notifymessagecount; + uint32_t notifymessagecount; + size_t n_notifymessages; + Wa__WebMessageInfo **notifymessages; +}; /* 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__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__CertChain *message, + ProtobufCAllocator *allocator); /* Wa__Chain methods */ void wa__chain__init - (Wa__Chain *message); +(Wa__Chain *message); size_t wa__chain__get_packed_size - (const Wa__Chain *message); +(const Wa__Chain *message); size_t wa__chain__pack - (const Wa__Chain *message, - uint8_t *out); +(const Wa__Chain *message, + uint8_t *out); size_t wa__chain__pack_to_buffer - (const Wa__Chain *message, - ProtobufCBuffer *buffer); +(const Wa__Chain *message, + ProtobufCBuffer *buffer); Wa__Chain * - wa__chain__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +wa__chain__unpack +(ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); void wa__chain__free_unpacked - (Wa__Chain *message, - ProtobufCAllocator *allocator); +(Wa__Chain *message, + ProtobufCAllocator *allocator); /* Wa__ChainKey methods */ void wa__chain_key__init - (Wa__ChainKey *message); +(Wa__ChainKey *message); size_t wa__chain_key__get_packed_size - (const Wa__ChainKey *message); +(const Wa__ChainKey *message); size_t wa__chain_key__pack - (const Wa__ChainKey *message, - uint8_t *out); +(const Wa__ChainKey *message, + uint8_t *out); size_t wa__chain_key__pack_to_buffer - (const Wa__ChainKey *message, - ProtobufCBuffer *buffer); +(const Wa__ChainKey *message, + ProtobufCBuffer *buffer); Wa__ChainKey * - wa__chain_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__ChainKey *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__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 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__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 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__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__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__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__AppStateSyncKeyShare *message); /* Wa__Message__AppStateSyncKey methods */ void wa__message__app_state_sync_key__init - (Wa__Message__AppStateSyncKey *message); +(Wa__Message__AppStateSyncKey *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__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__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__ProductSection *message); /* Wa__Message__ListMessage__Product methods */ void wa__message__list_message__product__init - (Wa__Message__ListMessage__Product *message); +(Wa__Message__ListMessage__Product *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__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__PollEncValue *message); /* Wa__Message__PollUpdateMessageMetadata methods */ void wa__message__poll_update_message_metadata__init - (Wa__Message__PollUpdateMessageMetadata *message); +(Wa__Message__PollUpdateMessageMetadata *message); /* Wa__Message__PollUpdateMessage methods */ void wa__message__poll_update_message__init - (Wa__Message__PollUpdateMessage *message); +(Wa__Message__PollUpdateMessage *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__ReactionMessage *message); /* Wa__Message__RequestMediaUploadMessage methods */ void wa__message__request_media_upload_message__init - (Wa__Message__RequestMediaUploadMessage *message); +(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__RequestMediaUploadResult *message); /* Wa__Message__RequestMediaUploadResponseMessage methods */ void wa__message__request_media_upload_response_message__init - (Wa__Message__RequestMediaUploadResponseMessage *message); +(Wa__Message__RequestMediaUploadResponseMessage *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__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__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__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__PaymentInfo *message, + ProtobufCAllocator *allocator); /* Wa__PendingKeyExchange methods */ void wa__pending_key_exchange__init - (Wa__PendingKeyExchange *message); +(Wa__PendingKeyExchange *message); size_t wa__pending_key_exchange__get_packed_size - (const Wa__PendingKeyExchange *message); +(const Wa__PendingKeyExchange *message); size_t wa__pending_key_exchange__pack - (const Wa__PendingKeyExchange *message, - uint8_t *out); +(const Wa__PendingKeyExchange *message, + uint8_t *out); size_t wa__pending_key_exchange__pack_to_buffer - (const Wa__PendingKeyExchange *message, - ProtobufCBuffer *buffer); +(const Wa__PendingKeyExchange *message, + ProtobufCBuffer *buffer); Wa__PendingKeyExchange * - wa__pending_key_exchange__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__PendingKeyExchange *message, + ProtobufCAllocator *allocator); /* Wa__PendingPreKey methods */ void wa__pending_pre_key__init - (Wa__PendingPreKey *message); +(Wa__PendingPreKey *message); size_t wa__pending_pre_key__get_packed_size - (const Wa__PendingPreKey *message); +(const Wa__PendingPreKey *message); size_t wa__pending_pre_key__pack - (const Wa__PendingPreKey *message, - uint8_t *out); +(const Wa__PendingPreKey *message, + uint8_t *out); size_t wa__pending_pre_key__pack_to_buffer - (const Wa__PendingPreKey *message, - ProtobufCBuffer *buffer); +(const Wa__PendingPreKey *message, + ProtobufCBuffer *buffer); Wa__PendingPreKey * - wa__pending_pre_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__PendingPreKey *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__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__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__RecordStructure *message, + ProtobufCAllocator *allocator); /* Wa__SenderChainKey methods */ void wa__sender_chain_key__init - (Wa__SenderChainKey *message); +(Wa__SenderChainKey *message); size_t wa__sender_chain_key__get_packed_size - (const Wa__SenderChainKey *message); +(const Wa__SenderChainKey *message); size_t wa__sender_chain_key__pack - (const Wa__SenderChainKey *message, - uint8_t *out); +(const Wa__SenderChainKey *message, + uint8_t *out); size_t wa__sender_chain_key__pack_to_buffer - (const Wa__SenderChainKey *message, - ProtobufCBuffer *buffer); +(const Wa__SenderChainKey *message, + ProtobufCBuffer *buffer); Wa__SenderChainKey * - wa__sender_chain_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__SenderChainKey *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 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__SenderKeyStateStructure *message, + ProtobufCAllocator *allocator); /* Wa__SenderMessageKey methods */ void wa__sender_message_key__init - (Wa__SenderMessageKey *message); +(Wa__SenderMessageKey *message); size_t wa__sender_message_key__get_packed_size - (const Wa__SenderMessageKey *message); +(const Wa__SenderMessageKey *message); size_t wa__sender_message_key__pack - (const Wa__SenderMessageKey *message, - uint8_t *out); +(const Wa__SenderMessageKey *message, + uint8_t *out); size_t wa__sender_message_key__pack_to_buffer - (const Wa__SenderMessageKey *message, - ProtobufCBuffer *buffer); +(const Wa__SenderMessageKey *message, + ProtobufCBuffer *buffer); Wa__SenderMessageKey * - wa__sender_message_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__SenderMessageKey *message, + ProtobufCAllocator *allocator); /* Wa__SenderSigningKey methods */ void wa__sender_signing_key__init - (Wa__SenderSigningKey *message); +(Wa__SenderSigningKey *message); size_t wa__sender_signing_key__get_packed_size - (const Wa__SenderSigningKey *message); +(const Wa__SenderSigningKey *message); size_t wa__sender_signing_key__pack - (const Wa__SenderSigningKey *message, - uint8_t *out); +(const Wa__SenderSigningKey *message, + uint8_t *out); size_t wa__sender_signing_key__pack_to_buffer - (const Wa__SenderSigningKey *message, - ProtobufCBuffer *buffer); +(const Wa__SenderSigningKey *message, + ProtobufCBuffer *buffer); Wa__SenderSigningKey * - wa__sender_signing_key__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); +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__SenderSigningKey *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 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__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__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__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__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__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__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__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__SubscriptionAction *message); /* Wa__SyncActionValue__SyncActionMessageRange methods */ void wa__sync_action_value__sync_action_message_range__init - (Wa__SyncActionValue__SyncActionMessageRange *message); +(Wa__SyncActionValue__SyncActionMessageRange *message); /* Wa__SyncActionValue__SyncActionMessage methods */ void wa__sync_action_value__sync_action_message__init - (Wa__SyncActionValue__SyncActionMessage *message); +(Wa__SyncActionValue__SyncActionMessage *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__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); +(const Wa__CertChain *message, + void *closure_data); typedef void (*Wa__Chain_Closure) - (const Wa__Chain *message, - void *closure_data); +(const Wa__Chain *message, + void *closure_data); typedef void (*Wa__ChainKey_Closure) - (const Wa__ChainKey *message, - void *closure_data); +(const Wa__ChainKey *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__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_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__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_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__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__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__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); +(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__AppStateSyncKey *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__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__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); +(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__Product *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__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); +(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__PollUpdateMessageMetadata *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__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); +(const Wa__Message__ReactionMessage *message, + void *closure_data); typedef void (*Wa__Message__RequestMediaUploadMessage_Closure) - (const Wa__Message__RequestMediaUploadMessage *message, - void *closure_data); +(const Wa__Message__RequestMediaUploadMessage *message, + void *closure_data); typedef void (*Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult_Closure) - (const Wa__Message__RequestMediaUploadResponseMessage__RequestMediaUploadResult *message, - void *closure_data); +(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__RequestMediaUploadResponseMessage *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__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__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__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); +(const Wa__PaymentInfo *message, + void *closure_data); typedef void (*Wa__PendingKeyExchange_Closure) - (const Wa__PendingKeyExchange *message, - void *closure_data); +(const Wa__PendingKeyExchange *message, + void *closure_data); typedef void (*Wa__PendingPreKey_Closure) - (const Wa__PendingPreKey *message, - void *closure_data); +(const Wa__PendingPreKey *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__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__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); +(const Wa__RecordStructure *message, + void *closure_data); typedef void (*Wa__SenderChainKey_Closure) - (const Wa__SenderChainKey *message, - void *closure_data); +(const Wa__SenderChainKey *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_Closure) - (const Wa__SenderKeyStateStructure *message, - void *closure_data); +(const Wa__SenderKeyStateStructure *message, + void *closure_data); typedef void (*Wa__SenderMessageKey_Closure) - (const Wa__SenderMessageKey *message, - void *closure_data); +(const Wa__SenderMessageKey *message, + void *closure_data); typedef void (*Wa__SenderSigningKey_Closure) - (const Wa__SenderSigningKey *message, - void *closure_data); +(const Wa__SenderSigningKey *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_Closure) - (const Wa__SessionStructure *message, - void *closure_data); +(const Wa__SessionStructure *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__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__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__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__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__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__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); +(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__SyncActionMessageRange *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__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 --- */ - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor wa__keep_type__descriptor; -extern const ProtobufCEnumDescriptor wa__media_visibility__descriptor; -extern const ProtobufCMessageDescriptor wa__advdevice_identity__descriptor; -extern const ProtobufCMessageDescriptor wa__advkey_index_list__descriptor; -extern const ProtobufCMessageDescriptor wa__advsigned_device_identity__descriptor; -extern const ProtobufCMessageDescriptor wa__advsigned_device_identity_hmac__descriptor; -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__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; -extern const ProtobufCMessageDescriptor wa__biz_account_payload__descriptor; -extern const ProtobufCMessageDescriptor wa__biz_identity_info__descriptor; -extern const ProtobufCEnumDescriptor wa__biz_identity_info__actual_actors_type__descriptor; -extern const ProtobufCEnumDescriptor wa__biz_identity_info__host_storage_type__descriptor; -extern const ProtobufCEnumDescriptor wa__biz_identity_info__verified_level_value__descriptor; -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__user_agent__descriptor; -extern const ProtobufCMessageDescriptor wa__client_payload__user_agent__app_version__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__user_agent__platform__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__user_agent__release_channel__descriptor; -extern const ProtobufCMessageDescriptor wa__client_payload__web_info__descriptor; -extern const ProtobufCMessageDescriptor wa__client_payload__web_info__webd_payload__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__web_info__web_sub_platform__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__connect_reason__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__connect_type__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__iosapp_extension__descriptor; -extern const ProtobufCEnumDescriptor wa__client_payload__product__descriptor; -extern const ProtobufCMessageDescriptor wa__context_info__descriptor; -extern const ProtobufCMessageDescriptor wa__context_info__ad_reply_info__descriptor; -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__conversation__descriptor; -extern const ProtobufCEnumDescriptor wa__conversation__end_of_history_transfer_type__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 ProtobufCEnumDescriptor wa__device_props__platform_type__descriptor; -extern const ProtobufCMessageDescriptor wa__disappearing_mode__descriptor; -extern const ProtobufCEnumDescriptor wa__disappearing_mode__initiator__descriptor; -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_participant__descriptor; -extern const ProtobufCEnumDescriptor wa__group_participant__rank__descriptor; -extern const ProtobufCMessageDescriptor wa__handshake_message__descriptor; -extern const ProtobufCMessageDescriptor wa__handshake_message__client_finish__descriptor; -extern const ProtobufCMessageDescriptor wa__handshake_message__client_hello__descriptor; -extern const ProtobufCMessageDescriptor wa__handshake_message__server_hello__descriptor; -extern const ProtobufCMessageDescriptor wa__history_sync__descriptor; -extern const ProtobufCEnumDescriptor wa__history_sync__history_sync_type__descriptor; -extern const ProtobufCMessageDescriptor wa__history_sync_msg__descriptor; -extern const ProtobufCMessageDescriptor wa__hydrated_template_button__descriptor; -extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_call_button__descriptor; -extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_quick_reply_button__descriptor; -extern const ProtobufCMessageDescriptor wa__hydrated_template_button__hydrated_urlbutton__descriptor; -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_id__descriptor; -extern const ProtobufCMessageDescriptor wa__localized_name__descriptor; -extern const ProtobufCMessageDescriptor wa__location__descriptor; -extern const ProtobufCMessageDescriptor wa__media_data__descriptor; -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_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; -extern const ProtobufCMessageDescriptor wa__message__buttons_message__button__button_text__descriptor; -extern const ProtobufCMessageDescriptor wa__message__buttons_message__button__native_flow_info__descriptor; -extern const ProtobufCEnumDescriptor wa__message__buttons_message__button__type__descriptor; -extern const ProtobufCEnumDescriptor wa__message__buttons_message__header_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__buttons_response_message__descriptor; -extern const ProtobufCEnumDescriptor wa__message__buttons_response_message__type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__call__descriptor; -extern const ProtobufCMessageDescriptor wa__message__cancel_payment_request_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__chat__descriptor; -extern const ProtobufCMessageDescriptor wa__message__contact_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__contacts_array_message__descriptor; -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__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; -extern const ProtobufCEnumDescriptor wa__message__extended_text_message__preview_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__future_proof_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__group_invite_message__descriptor; -extern const ProtobufCEnumDescriptor wa__message__group_invite_message__group_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmcurrency__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__descriptor; -extern const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__calendar_type__descriptor; -extern const ProtobufCEnumDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_component__day_of_week_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__hsmdate_time_unix_epoch__descriptor; -extern const ProtobufCMessageDescriptor wa__message__history_sync_notification__descriptor; -extern const ProtobufCEnumDescriptor wa__message__history_sync_notification__history_sync_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__image_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__initial_security_notification_setting_sync__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__body__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__collection_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__footer__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__header__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__native_flow_message__native_flow_button__descriptor; -extern const ProtobufCMessageDescriptor wa__message__interactive_message__shop_message__descriptor; -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 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_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; -extern const ProtobufCMessageDescriptor wa__message__list_response_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__list_response_message__single_select_reply__descriptor; -extern const ProtobufCEnumDescriptor wa__message__list_response_message__list_type__descriptor; -extern const ProtobufCMessageDescriptor wa__message__live_location_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__location_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__order_message__descriptor; -extern const ProtobufCEnumDescriptor wa__message__order_message__order_status__descriptor; -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__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_vote_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__product_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__product_message__catalog_snapshot__descriptor; -extern const ProtobufCMessageDescriptor wa__message__product_message__product_snapshot__descriptor; -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__send_payment_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__sender_key_distribution_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__sticker_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__sticker_sync_rmrmessage__descriptor; -extern const ProtobufCMessageDescriptor wa__message__template_button_reply_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__template_message__descriptor; -extern const ProtobufCMessageDescriptor wa__message__template_message__four_row_template__descriptor; -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 ProtobufCMessageDescriptor wa__message_context_info__descriptor; -extern const ProtobufCMessageDescriptor wa__message_key__descriptor; -extern const ProtobufCMessageDescriptor wa__money__descriptor; -extern const ProtobufCMessageDescriptor wa__msg_opaque_data__descriptor; -extern const ProtobufCMessageDescriptor wa__msg_opaque_data__poll_option__descriptor; -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__past_participant__descriptor; -extern const ProtobufCEnumDescriptor wa__past_participant__leave_reason__descriptor; -extern const ProtobufCMessageDescriptor wa__past_participants__descriptor; -extern const ProtobufCMessageDescriptor wa__payment_background__descriptor; -extern const ProtobufCMessageDescriptor wa__payment_background__media_data__descriptor; -extern const ProtobufCEnumDescriptor wa__payment_background__type__descriptor; -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__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__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_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__server_error_receipt__descriptor; -extern const ProtobufCMessageDescriptor wa__session_structure__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; -extern const ProtobufCMessageDescriptor wa__sync_action_data__descriptor; -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__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__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__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__primary_feature__descriptor; -extern const ProtobufCMessageDescriptor wa__sync_action_value__primary_version_action__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__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__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; -extern const ProtobufCMessageDescriptor wa__syncd_index__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_mutation__descriptor; -extern const ProtobufCEnumDescriptor wa__syncd_mutation__syncd_operation__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_mutations__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_patch__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_record__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_snapshot__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_value__descriptor; -extern const ProtobufCMessageDescriptor wa__syncd_version__descriptor; -extern const ProtobufCMessageDescriptor wa__template_button__descriptor; -extern const ProtobufCMessageDescriptor wa__template_button__call_button__descriptor; -extern const ProtobufCMessageDescriptor wa__template_button__quick_reply_button__descriptor; -extern const ProtobufCMessageDescriptor wa__template_button__urlbutton__descriptor; -extern const ProtobufCMessageDescriptor wa__user_receipt__descriptor; -extern const ProtobufCMessageDescriptor wa__verified_name_certificate__descriptor; -extern const ProtobufCMessageDescriptor wa__verified_name_certificate__details__descriptor; -extern const ProtobufCMessageDescriptor wa__wallpaper_settings__descriptor; -extern const ProtobufCMessageDescriptor wa__web_features__descriptor; -extern const ProtobufCEnumDescriptor wa__web_features__flag__descriptor; -extern const ProtobufCMessageDescriptor wa__web_message_info__descriptor; -extern const ProtobufCEnumDescriptor wa__web_message_info__biz_privacy_status__descriptor; -extern const ProtobufCEnumDescriptor wa__web_message_info__status__descriptor; -extern const ProtobufCEnumDescriptor wa__web_message_info__stub_type__descriptor; -extern const ProtobufCMessageDescriptor wa__web_notifications_info__descriptor; - PROTOBUF_C__END_DECLS diff --git a/protocols/WhatsApp/src/protobuf-c/protobuf-c.c b/protocols/WhatsApp/src/protobuf-c/protobuf-c.c index 0606cf677d..3001639518 100644 --- a/protocols/WhatsApp/src/protobuf-c/protobuf-c.c +++ b/protocols/WhatsApp/src/protobuf-c/protobuf-c.c @@ -2941,9 +2941,7 @@ parse_member(ScannedMember *scanned_member, * for old code, and which would be useful to support allocating * descriptors dynamically). */ -static void -message_init_generic(const ProtobufCMessageDescriptor *desc, - ProtobufCMessage *message) +void message_init_generic(const ProtobufCMessageDescriptor *desc, ProtobufCMessage *message) { unsigned i; diff --git a/protocols/WhatsApp/src/server.cpp b/protocols/WhatsApp/src/server.cpp index fa57b7c189..df5671ad5f 100644 --- a/protocols/WhatsApp/src/server.cpp +++ b/protocols/WhatsApp/src/server.cpp @@ -50,11 +50,11 @@ void WhatsAppProto::ServerThreadWorker() Utils_GetRandom(m_wMsgPrefix, sizeof(m_wMsgPrefix)); - Wa__HandshakeMessage__ClientHello client = WA__HANDSHAKE_MESSAGE__CLIENT_HELLO__INIT; + Wa__HandshakeMessage__ClientHello client; client.ephemeral = {m_noise->ephemeral.pub.length(), m_noise->ephemeral.pub.data()}; client.has_ephemeral = true; - Wa__HandshakeMessage msg = WA__HANDSHAKE_MESSAGE__INIT; + Wa__HandshakeMessage msg; msg.clienthello = &client; WSSend(msg); |