diff options
author | George Hazan <ghazan@miranda.im> | 2023-06-09 12:55:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-06-09 12:55:37 +0300 |
commit | 6eca44b20b08364d18cbec8c5e4a3973deff572d (patch) | |
tree | 787450e3119c1f858bf68416e78dec1ece7ccc1a /protocols/WhatsApp | |
parent | 6b6457c79f7c635b5460e9bbd2f7e1c892a3e0ae (diff) |
WhatsApp: update for generated protobuf code
Diffstat (limited to 'protocols/WhatsApp')
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.cpp | 4 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.pb-c.h | 6762 | ||||
-rw-r--r-- | protocols/WhatsApp/src/pmsg.proto | 2 |
3 files changed, 3042 insertions, 3726 deletions
diff --git a/protocols/WhatsApp/src/pmsg.pb-c.cpp b/protocols/WhatsApp/src/pmsg.pb-c.cpp index f291032187..5626e378b1 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.cpp +++ b/protocols/WhatsApp/src/pmsg.pb-c.cpp @@ -7,7 +7,6 @@ #endif #include "pmsg.pb-c.h" - size_t wa__advdevice_identity__get_packed_size (const Wa__ADVDeviceIdentity *message) { @@ -327,6 +326,7 @@ void wa__avatar_user_settings__free_unpacked assert(message->descriptor == &wa__avatar_user_settings__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } + size_t wa__biz_account_link_info__get_packed_size (const Wa__BizAccountLinkInfo *message) { @@ -646,6 +646,7 @@ void wa__device_consistency_code_message__free_unpacked assert(message->descriptor == &wa__device_consistency_code_message__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } + size_t wa__device_list_metadata__get_packed_size (const Wa__DeviceListMetadata *message) { @@ -3645,6 +3646,7 @@ void wa__web_notifications_info__free_unpacked assert(message->descriptor == &wa__web_notifications_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } + static const ProtobufCFieldDescriptor wa__advdevice_identity__field_descriptors[5] = { { diff --git a/protocols/WhatsApp/src/pmsg.pb-c.h b/protocols/WhatsApp/src/pmsg.pb-c.h index a327047381..c35812bf50 100644 --- a/protocols/WhatsApp/src/pmsg.pb-c.h +++ b/protocols/WhatsApp/src/pmsg.pb-c.h @@ -4,16 +4,17 @@ #ifndef PROTOBUF_C_pmsg_2eproto__INCLUDED #define PROTOBUF_C_pmsg_2eproto__INCLUDED -#include "protobuf-c/protobuf-c.h" +#include <protobuf-c/protobuf-c.h> PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1000000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION +#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif + struct Wa__ADVDeviceIdentity; struct Wa__ADVKeyIndexList; struct Wa__ADVSignedDeviceIdentity; @@ -644,20 +645,17 @@ typedef enum _Wa__PastParticipant__LeaveReason { 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 -{ +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 -{ +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 -{ +typedef enum _Wa__PaymentInfo__Status { WA__PAYMENT_INFO__STATUS__UNKNOWN_STATUS = 0, WA__PAYMENT_INFO__STATUS__PROCESSING = 1, WA__PAYMENT_INFO__STATUS__SENT = 2, @@ -672,8 +670,7 @@ typedef enum _Wa__PaymentInfo__Status 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 -{ +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, @@ -723,24 +720,21 @@ typedef enum _Wa__SyncdMutation__SyncdOperation { 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 -{ +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 -{ +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 -{ +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, @@ -749,8 +743,7 @@ typedef enum _Wa__WebMessageInfo__Status 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 -{ +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, @@ -947,8 +940,7 @@ typedef enum _Wa__KeepType { 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 -{ +typedef enum _Wa__MediaVisibility { WA__MEDIA_VISIBILITY__DEFAULT = 0, WA__MEDIA_VISIBILITY__OFF = 1, WA__MEDIA_VISIBILITY__ON = 2 @@ -1290,4172 +1282,4264 @@ struct ProtobufCppMessage : public ProtobufCMessage struct Wa__ADVDeviceIdentity : public ProtobufCppMessage { - Wa__ADVDeviceIdentity() : - ProtobufCppMessage(wa__advdevice_identity__descriptor) - {} + 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; - protobuf_c_boolean has_accounttype; - Wa__ADVEncryptionType accounttype; - protobuf_c_boolean has_devicetype; - Wa__ADVEncryptionType devicetype; + protobuf_c_boolean has_rawid; + uint32_t rawid; + protobuf_c_boolean has_timestamp; + uint64_t timestamp; + protobuf_c_boolean has_keyindex; + uint32_t keyindex; + protobuf_c_boolean has_accounttype; + Wa__ADVEncryptionType accounttype; + protobuf_c_boolean has_devicetype; + Wa__ADVEncryptionType devicetype; }; struct Wa__ADVKeyIndexList : public ProtobufCppMessage { - Wa__ADVKeyIndexList() : - ProtobufCppMessage(wa__advkey_index_list__descriptor) - {} + 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; - protobuf_c_boolean has_accounttype; - Wa__ADVEncryptionType accounttype; + 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; + protobuf_c_boolean has_accounttype; + Wa__ADVEncryptionType accounttype; }; struct Wa__ADVSignedDeviceIdentity : public ProtobufCppMessage { - Wa__ADVSignedDeviceIdentity() : - ProtobufCppMessage(wa__advsigned_device_identity__descriptor) - {} + 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; + 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__ADVSignedDeviceIdentityHMAC : public ProtobufCppMessage { - Wa__ADVSignedDeviceIdentityHMAC() : - ProtobufCppMessage(wa__advsigned_device_identity_hmac__descriptor) - {} + Wa__ADVSignedDeviceIdentityHMAC() : + ProtobufCppMessage(wa__advsigned_device_identity_hmac__descriptor) + {} - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_hmac; - ProtobufCBinaryData hmac; + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_hmac; + ProtobufCBinaryData hmac; }; struct Wa__ADVSignedKeyIndexList : public ProtobufCppMessage { - Wa__ADVSignedKeyIndexList() : - ProtobufCppMessage(wa__advsigned_key_index_list__descriptor) - {} + Wa__ADVSignedKeyIndexList() : + ProtobufCppMessage(wa__advsigned_key_index_list__descriptor) + {} - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_accountsignature; - ProtobufCBinaryData accountsignature; + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_accountsignature; + ProtobufCBinaryData accountsignature; }; struct Wa__ActionLink : public ProtobufCppMessage { - Wa__ActionLink() : - ProtobufCppMessage(wa__action_link__descriptor) - {} + Wa__ActionLink() : + ProtobufCppMessage(wa__action_link__descriptor) + {} - char *url; - char *buttontitle; + char *url; + char *buttontitle; }; struct Wa__AutoDownloadSettings : public ProtobufCppMessage { - Wa__AutoDownloadSettings() : - ProtobufCppMessage(wa__auto_download_settings__descriptor) - {} + 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; + 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__AvatarUserSettings : public ProtobufCppMessage { - Wa__AvatarUserSettings() : - ProtobufCppMessage(wa__avatar_user_settings__descriptor) - {} + Wa__AvatarUserSettings() : + ProtobufCppMessage(wa__avatar_user_settings__descriptor) + {} - char *fbid; - char *password; + char *fbid; + char *password; }; struct Wa__BizAccountLinkInfo : 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; + 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__BizAccountPayload : public ProtobufCppMessage { - Wa__BizAccountPayload() : - ProtobufCppMessage(wa__biz_account_payload__descriptor) - {} + Wa__BizAccountPayload() : + ProtobufCppMessage(wa__biz_account_payload__descriptor) + {} - Wa__VerifiedNameCertificate *vnamecert; - protobuf_c_boolean has_bizacctlinkinfo; - ProtobufCBinaryData bizacctlinkinfo; + Wa__VerifiedNameCertificate *vnamecert; + protobuf_c_boolean has_bizacctlinkinfo; + ProtobufCBinaryData bizacctlinkinfo; }; struct Wa__BizIdentityInfo : public ProtobufCppMessage { - 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; + 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__Details : public ProtobufCppMessage { - Wa__CertChain__NoiseCertificate__Details() : - ProtobufCppMessage(wa__cert_chain__noise_certificate__details__descriptor) - {} + 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; + 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__NoiseCertificate : public ProtobufCppMessage { - Wa__CertChain__NoiseCertificate() : - ProtobufCppMessage(wa__cert_chain__noise_certificate__descriptor) - {} + Wa__CertChain__NoiseCertificate() : + ProtobufCppMessage(wa__cert_chain__noise_certificate__descriptor) + {} - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; + protobuf_c_boolean has_details; + ProtobufCBinaryData details; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; }; struct Wa__CertChain : public ProtobufCppMessage { - Wa__CertChain() : - ProtobufCppMessage(wa__cert_chain__descriptor) - {} + Wa__CertChain() : + ProtobufCppMessage(wa__cert_chain__descriptor) + {} - Wa__CertChain__NoiseCertificate *leaf; - Wa__CertChain__NoiseCertificate *intermediate; + Wa__CertChain__NoiseCertificate *leaf; + Wa__CertChain__NoiseCertificate *intermediate; }; struct Wa__ClientPayload__DNSSource : public ProtobufCppMessage { - Wa__ClientPayload__DNSSource() : - ProtobufCppMessage(wa__client_payload__dnssource__descriptor) - {} + 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; + 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; + 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__InteropData : public ProtobufCppMessage { - Wa__ClientPayload__InteropData() : - ProtobufCppMessage(wa__client_payload__interop_data__descriptor) - {} + Wa__ClientPayload__InteropData() : + ProtobufCppMessage(wa__client_payload__interop_data__descriptor) + {} - protobuf_c_boolean has_accountid; - uint64_t accountid; - protobuf_c_boolean has_integratorid; - uint32_t integratorid; - protobuf_c_boolean has_token; - ProtobufCBinaryData token; + protobuf_c_boolean has_accountid; + uint64_t accountid; + protobuf_c_boolean has_integratorid; + uint32_t integratorid; + protobuf_c_boolean has_token; + ProtobufCBinaryData token; }; struct Wa__ClientPayload__UserAgent__AppVersion : public ProtobufCppMessage { - Wa__ClientPayload__UserAgent__AppVersion() : - ProtobufCppMessage(wa__client_payload__user_agent__app_version__descriptor) - {} + 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; + 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; - char *deviceexpid; + 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; + char *deviceexpid; }; 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; + 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) - {} + 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; + 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; - protobuf_c_boolean has_yearclass; - int32_t yearclass; - protobuf_c_boolean has_memclass; - int32_t memclass; - Wa__ClientPayload__InteropData *interopdata; + 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; + protobuf_c_boolean has_yearclass; + int32_t yearclass; + protobuf_c_boolean has_memclass; + int32_t memclass; + Wa__ClientPayload__InteropData *interopdata; }; struct Wa__ContextInfo__AdReplyInfo : public ProtobufCppMessage { - Wa__ContextInfo__AdReplyInfo() : - ProtobufCppMessage(wa__context_info__ad_reply_info__descriptor) - {} + 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; + 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; - char *ctwaclid; - char *ref; + 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; + char *ctwaclid; + char *ref; }; struct Wa__ContextInfo__UTMInfo : public ProtobufCppMessage { - Wa__ContextInfo__UTMInfo() : - ProtobufCppMessage(wa__context_info__utminfo__descriptor) - {} + Wa__ContextInfo__UTMInfo() : + ProtobufCppMessage(wa__context_info__utminfo__descriptor) + {} - char *utmsource; - char *utmcampaign; + char *utmsource; + char *utmcampaign; }; 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; - char *trustbannertype; - protobuf_c_boolean has_trustbanneraction; - uint32_t trustbanneraction; - protobuf_c_boolean has_issampled; - protobuf_c_boolean issampled; - size_t n_groupmentions; - Wa__GroupMention **groupmentions; - Wa__ContextInfo__UTMInfo *utm; + 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; + char *trustbannertype; + protobuf_c_boolean has_trustbanneraction; + uint32_t trustbanneraction; + protobuf_c_boolean has_issampled; + protobuf_c_boolean issampled; + size_t n_groupmentions; + Wa__GroupMention **groupmentions; + Wa__ContextInfo__UTMInfo *utm; }; struct Wa__Conversation : public ProtobufCppMessage { - 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; - char *parentgroupid; - protobuf_c_boolean has_isdefaultsubgroup; - protobuf_c_boolean isdefaultsubgroup; - char *displayname; - char *pnjid; - protobuf_c_boolean has_shareownpn; - protobuf_c_boolean shareownpn; - protobuf_c_boolean has_pnhduplicatelidthread; - protobuf_c_boolean pnhduplicatelidthread; - char *lidjid; + 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; + char *parentgroupid; + protobuf_c_boolean has_isdefaultsubgroup; + protobuf_c_boolean isdefaultsubgroup; + char *displayname; + char *pnjid; + protobuf_c_boolean has_shareownpn; + protobuf_c_boolean shareownpn; + protobuf_c_boolean has_pnhduplicatelidthread; + protobuf_c_boolean pnhduplicatelidthread; + char *lidjid; }; struct Wa__DeviceConsistencyCodeMessage : public ProtobufCppMessage { - protobuf_c_boolean has_generation; - uint32_t generation; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; + Wa__DeviceConsistencyCodeMessage() : + ProtobufCppMessage(wa__device_consistency_code_message__descriptor) + {} + + protobuf_c_boolean has_generation; + uint32_t generation; + protobuf_c_boolean has_signature; + ProtobufCBinaryData signature; }; struct Wa__DeviceListMetadata : public ProtobufCppMessage { - Wa__DeviceListMetadata() : - ProtobufCppMessage(wa__device_list_metadata__descriptor) - {} + 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; + 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) - {} + 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; + 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__HistorySyncConfig : public ProtobufCppMessage { - Wa__DeviceProps__HistorySyncConfig() : - ProtobufCppMessage(wa__device_props__history_sync_config__descriptor) - {} + Wa__DeviceProps__HistorySyncConfig() : + ProtobufCppMessage(wa__device_props__history_sync_config__descriptor) + {} - protobuf_c_boolean has_fullsyncdayslimit; - uint32_t fullsyncdayslimit; - protobuf_c_boolean has_fullsyncsizemblimit; - uint32_t fullsyncsizemblimit; - protobuf_c_boolean has_storagequotamb; - uint32_t storagequotamb; - protobuf_c_boolean has_inlineinitialpayloadine2eemsg; - protobuf_c_boolean inlineinitialpayloadine2eemsg; - protobuf_c_boolean has_recentsyncdayslimit; - uint32_t recentsyncdayslimit; + protobuf_c_boolean has_fullsyncdayslimit; + uint32_t fullsyncdayslimit; + protobuf_c_boolean has_fullsyncsizemblimit; + uint32_t fullsyncsizemblimit; + protobuf_c_boolean has_storagequotamb; + uint32_t storagequotamb; + protobuf_c_boolean has_inlineinitialpayloadine2eemsg; + protobuf_c_boolean inlineinitialpayloadine2eemsg; + protobuf_c_boolean has_recentsyncdayslimit; + uint32_t recentsyncdayslimit; }; struct Wa__DeviceProps : public ProtobufCppMessage { - Wa__DeviceProps() : - ProtobufCppMessage(wa__device_props__descriptor) - {} + 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; - Wa__DeviceProps__HistorySyncConfig *historysyncconfig; + char *os; + Wa__DeviceProps__AppVersion *version; + protobuf_c_boolean has_platformtype; + Wa__DeviceProps__PlatformType platformtype; + protobuf_c_boolean has_requirefullsync; + protobuf_c_boolean requirefullsync; + Wa__DeviceProps__HistorySyncConfig *historysyncconfig; }; struct Wa__DisappearingMode : public ProtobufCppMessage { - Wa__DisappearingMode() : - ProtobufCppMessage(wa__disappearing_mode__descriptor) - {} + Wa__DisappearingMode() : + ProtobufCppMessage(wa__disappearing_mode__descriptor) + {} - protobuf_c_boolean has_initiator; - Wa__DisappearingMode__Initiator initiator; + protobuf_c_boolean has_initiator; + Wa__DisappearingMode__Initiator initiator; }; struct Wa__EphemeralSetting : public ProtobufCppMessage { - Wa__EphemeralSetting() : - ProtobufCppMessage(wa__ephemeral_setting__descriptor) - {} + Wa__EphemeralSetting() : + ProtobufCppMessage(wa__ephemeral_setting__descriptor) + {} - protobuf_c_boolean has_duration; - int32_t duration; - protobuf_c_boolean has_timestamp; - int64_t timestamp; + 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) - {} + Wa__ExitCode() : + ProtobufCppMessage(wa__exit_code__descriptor) + {} - protobuf_c_boolean has_code; - uint64_t code; - char *text; + protobuf_c_boolean has_code; + uint64_t code; + char *text; }; struct Wa__ExternalBlobReference : public ProtobufCppMessage { - Wa__ExternalBlobReference() : - ProtobufCppMessage(wa__external_blob_reference__descriptor) - {} + 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; + 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__GlobalSettings : public ProtobufCppMessage { - 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; - Wa__AvatarUserSettings *avatarusersettings; - protobuf_c_boolean has_fontsize; - int32_t fontsize; - protobuf_c_boolean has_securitynotifications; - protobuf_c_boolean securitynotifications; - protobuf_c_boolean has_autounarchivechats; - protobuf_c_boolean autounarchivechats; - protobuf_c_boolean has_videoqualitymode; - int32_t videoqualitymode; - protobuf_c_boolean has_photoqualitymode; - int32_t photoqualitymode; - Wa__NotificationSettings *individualnotificationsettings; - Wa__NotificationSettings *groupnotificationsettings; + 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; + Wa__AvatarUserSettings *avatarusersettings; + protobuf_c_boolean has_fontsize; + int32_t fontsize; + protobuf_c_boolean has_securitynotifications; + protobuf_c_boolean securitynotifications; + protobuf_c_boolean has_autounarchivechats; + protobuf_c_boolean autounarchivechats; + protobuf_c_boolean has_videoqualitymode; + int32_t videoqualitymode; + protobuf_c_boolean has_photoqualitymode; + int32_t photoqualitymode; + Wa__NotificationSettings *individualnotificationsettings; + Wa__NotificationSettings *groupnotificationsettings; }; struct Wa__GroupMention : public ProtobufCppMessage { - Wa__GroupMention() : - ProtobufCppMessage(wa__group_mention__descriptor) - {} + Wa__GroupMention() : + ProtobufCppMessage(wa__group_mention__descriptor) + {} - char *groupjid; - char *groupsubject; + char *groupjid; + char *groupsubject; }; struct Wa__GroupParticipant : public ProtobufCppMessage { - Wa__GroupParticipant() : - ProtobufCppMessage(wa__group_participant__descriptor) - {} + Wa__GroupParticipant() : + ProtobufCppMessage(wa__group_participant__descriptor) + {} - char *userjid; - protobuf_c_boolean has_rank; - Wa__GroupParticipant__Rank rank; + char *userjid; + protobuf_c_boolean has_rank; + Wa__GroupParticipant__Rank rank; }; struct Wa__HandshakeMessage__ClientFinish : public ProtobufCppMessage { - Wa__HandshakeMessage__ClientFinish() : - ProtobufCppMessage(wa__handshake_message__client_finish__descriptor) - {} + Wa__HandshakeMessage__ClientFinish() : + ProtobufCppMessage(wa__handshake_message__client_finish__descriptor) + {} - protobuf_c_boolean has_static_; - ProtobufCBinaryData static_; - protobuf_c_boolean has_payload; - ProtobufCBinaryData payload; + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; }; struct Wa__HandshakeMessage__ClientHello : public ProtobufCppMessage { - Wa__HandshakeMessage__ClientHello() : - ProtobufCppMessage(wa__handshake_message__client_hello__descriptor) - {} + 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; + protobuf_c_boolean has_ephemeral; + ProtobufCBinaryData ephemeral; + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; }; struct Wa__HandshakeMessage__ServerHello : public ProtobufCppMessage { - Wa__HandshakeMessage__ServerHello() : - ProtobufCppMessage(wa__handshake_message__server_hello__descriptor) - {} + 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; + protobuf_c_boolean has_ephemeral; + ProtobufCBinaryData ephemeral; + protobuf_c_boolean has_static_; + ProtobufCBinaryData static_; + protobuf_c_boolean has_payload; + ProtobufCBinaryData payload; }; struct Wa__HandshakeMessage : public ProtobufCppMessage { - Wa__HandshakeMessage() : - ProtobufCppMessage(wa__handshake_message__descriptor) - {} + Wa__HandshakeMessage() : + ProtobufCppMessage(wa__handshake_message__descriptor) + {} - Wa__HandshakeMessage__ClientHello *clienthello; - Wa__HandshakeMessage__ServerHello *serverhello; - Wa__HandshakeMessage__ClientFinish *clientfinish; + Wa__HandshakeMessage__ClientHello *clienthello; + Wa__HandshakeMessage__ServerHello *serverhello; + Wa__HandshakeMessage__ClientFinish *clientfinish; }; struct Wa__HistorySync : public ProtobufCppMessage { - 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; + 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__HistorySyncMsg : public ProtobufCppMessage { - Wa__HistorySyncMsg() : - ProtobufCppMessage(wa__history_sync_msg__descriptor) - {} + Wa__HistorySyncMsg() : + ProtobufCppMessage(wa__history_sync_msg__descriptor) + {} - Wa__WebMessageInfo *message; - protobuf_c_boolean has_msgorderid; - uint64_t msgorderid; + Wa__WebMessageInfo *message; + protobuf_c_boolean has_msgorderid; + uint64_t msgorderid; }; struct Wa__HydratedTemplateButton__HydratedCallButton : public ProtobufCppMessage { - Wa__HydratedTemplateButton__HydratedCallButton() : - ProtobufCppMessage(wa__hydrated_template_button__hydrated_call_button__descriptor) - {} + Wa__HydratedTemplateButton__HydratedCallButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_call_button__descriptor) + {} - char *displaytext; - char *phonenumber; + char *displaytext; + char *phonenumber; }; struct Wa__HydratedTemplateButton__HydratedQuickReplyButton : public ProtobufCppMessage { - Wa__HydratedTemplateButton__HydratedQuickReplyButton() : - ProtobufCppMessage(wa__hydrated_template_button__hydrated_quick_reply_button__descriptor) - {} + Wa__HydratedTemplateButton__HydratedQuickReplyButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_quick_reply_button__descriptor) + {} - char *displaytext; - char *id; + char *displaytext; + char *id; }; struct Wa__HydratedTemplateButton__HydratedURLButton : public ProtobufCppMessage { - Wa__HydratedTemplateButton__HydratedURLButton() : - ProtobufCppMessage(wa__hydrated_template_button__hydrated_urlbutton__descriptor) - {} + Wa__HydratedTemplateButton__HydratedURLButton() : + ProtobufCppMessage(wa__hydrated_template_button__hydrated_urlbutton__descriptor) + {} - char *displaytext; - char *url; + char *displaytext; + char *url; }; -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__CASE) +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__CASE) } Wa__HydratedTemplateButton__HydratedButtonCase; struct Wa__HydratedTemplateButton : public ProtobufCppMessage { - Wa__HydratedTemplateButton() : - ProtobufCppMessage(wa__hydrated_template_button__descriptor) - {} + 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; - }; + 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; + }; }; struct Wa__IdentityKeyPairStructure : public ProtobufCppMessage { - Wa__IdentityKeyPairStructure() : - ProtobufCppMessage(wa__identity_key_pair_structure__descriptor) - {} + Wa__IdentityKeyPairStructure() : + ProtobufCppMessage(wa__identity_key_pair_structure__descriptor) + {} - protobuf_c_boolean has_publickey; - ProtobufCBinaryData publickey; - protobuf_c_boolean has_privatekey; - ProtobufCBinaryData privatekey; + 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__CASE) +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__CASE) } Wa__InteractiveAnnotation__ActionCase; struct Wa__InteractiveAnnotation : public ProtobufCppMessage { - Wa__InteractiveAnnotation() : - ProtobufCppMessage(wa__interactive_annotation__descriptor) - {} + Wa__InteractiveAnnotation() : + ProtobufCppMessage(wa__interactive_annotation__descriptor) + {} - size_t n_polygonvertices; - Wa__Point **polygonvertices; - Wa__InteractiveAnnotation__ActionCase action_case; - union - { - Wa__Location *location; - }; + size_t n_polygonvertices; + Wa__Point **polygonvertices; + Wa__InteractiveAnnotation__ActionCase action_case; + union { + Wa__Location *location; + }; }; struct Wa__KeepInChat : public ProtobufCppMessage { - Wa__KeepInChat() : - ProtobufCppMessage(wa__keep_in_chat__descriptor) - {} + 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; - protobuf_c_boolean has_clienttimestampms; - int64_t clienttimestampms; - protobuf_c_boolean has_servertimestampms; - int64_t servertimestampms; + protobuf_c_boolean has_keeptype; + Wa__KeepType keeptype; + protobuf_c_boolean has_servertimestamp; + int64_t servertimestamp; + Wa__MessageKey *key; + char *devicejid; + protobuf_c_boolean has_clienttimestampms; + int64_t clienttimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; }; struct Wa__KeyExchangeMessage : public ProtobufCppMessage { - Wa__KeyExchangeMessage() : - ProtobufCppMessage(wa__key_exchange_message__descriptor) - {} + Wa__KeyExchangeMessage() : + ProtobufCppMessage(wa__key_exchange_message__descriptor) + {} - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_basekey; - ProtobufCBinaryData basekey; - protobuf_c_boolean has_ratchetkey; - ProtobufCBinaryData ratchetkey; - protobuf_c_boolean has_identitykey; - ProtobufCBinaryData identitykey; - protobuf_c_boolean has_basekeysignature; - ProtobufCBinaryData basekeysignature; + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_basekey; + ProtobufCBinaryData basekey; + protobuf_c_boolean has_ratchetkey; + ProtobufCBinaryData ratchetkey; + protobuf_c_boolean has_identitykey; + ProtobufCBinaryData identitykey; + protobuf_c_boolean has_basekeysignature; + ProtobufCBinaryData basekeysignature; }; struct Wa__KeyId : public ProtobufCppMessage { - Wa__KeyId() : - ProtobufCppMessage(wa__key_id__descriptor) - {} + Wa__KeyId() : + ProtobufCppMessage(wa__key_id__descriptor) + {} - protobuf_c_boolean has_id; - ProtobufCBinaryData id; + protobuf_c_boolean has_id; + ProtobufCBinaryData id; }; struct Wa__LocalizedName : public ProtobufCppMessage { - Wa__LocalizedName() : - ProtobufCppMessage(wa__localized_name__descriptor) - {} + Wa__LocalizedName() : + ProtobufCppMessage(wa__localized_name__descriptor) + {} - char *lg; - char *lc; - char *verifiedname; + char *lg; + char *lc; + char *verifiedname; }; struct Wa__Location : public ProtobufCppMessage { - Wa__Location() : - ProtobufCppMessage(wa__location__descriptor) - {} + Wa__Location() : + ProtobufCppMessage(wa__location__descriptor) + {} - protobuf_c_boolean has_degreeslatitude; - double degreeslatitude; - protobuf_c_boolean has_degreeslongitude; - double degreeslongitude; - char *name; + protobuf_c_boolean has_degreeslatitude; + double degreeslatitude; + protobuf_c_boolean has_degreeslongitude; + double degreeslongitude; + char *name; }; struct Wa__MediaData : public ProtobufCppMessage { - Wa__MediaData() : - ProtobufCppMessage(wa__media_data__descriptor) - {} + Wa__MediaData() : + ProtobufCppMessage(wa__media_data__descriptor) + {} - char *localpath; + char *localpath; }; struct Wa__MediaRetryNotification : public ProtobufCppMessage { - Wa__MediaRetryNotification() : - ProtobufCppMessage(wa__media_retry_notification__descriptor) - {} + Wa__MediaRetryNotification() : + ProtobufCppMessage(wa__media_retry_notification__descriptor) + {} - char *stanzaid; - char *directpath; - protobuf_c_boolean has_result; - Wa__MediaRetryNotification__ResultType result; + char *stanzaid; + char *directpath; + protobuf_c_boolean has_result; + Wa__MediaRetryNotification__ResultType result; }; struct Wa__Message__AppStateFatalExceptionNotification : public ProtobufCppMessage { - Wa__Message__AppStateFatalExceptionNotification() : - ProtobufCppMessage(wa__message__app_state_fatal_exception_notification__descriptor) - {} + 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; + size_t n_collectionnames; + char **collectionnames; + protobuf_c_boolean has_timestamp; + int64_t timestamp; }; struct Wa__Message__AppStateSyncKey : public ProtobufCppMessage { - Wa__Message__AppStateSyncKey() : - ProtobufCppMessage(wa__message__app_state_sync_key__descriptor) - {} + Wa__Message__AppStateSyncKey() : + ProtobufCppMessage(wa__message__app_state_sync_key__descriptor) + {} - Wa__Message__AppStateSyncKeyId *keyid; - Wa__Message__AppStateSyncKeyData *keydata; + Wa__Message__AppStateSyncKeyId *keyid; + Wa__Message__AppStateSyncKeyData *keydata; }; struct Wa__Message__AppStateSyncKeyData : public ProtobufCppMessage { - Wa__Message__AppStateSyncKeyData() : - ProtobufCppMessage(wa__message__app_state_sync_key_data__descriptor) - {} + 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; + protobuf_c_boolean has_keydata; + ProtobufCBinaryData keydata; + Wa__Message__AppStateSyncKeyFingerprint *fingerprint; + protobuf_c_boolean has_timestamp; + int64_t timestamp; }; struct Wa__Message__AppStateSyncKeyFingerprint : public ProtobufCppMessage { - Wa__Message__AppStateSyncKeyFingerprint() : - ProtobufCppMessage(wa__message__app_state_sync_key_fingerprint__descriptor) - {} + 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; + 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 ProtobufCppMessage { - Wa__Message__AppStateSyncKeyId() : - ProtobufCppMessage(wa__message__app_state_sync_key_id__descriptor) - {} + Wa__Message__AppStateSyncKeyId() : + ProtobufCppMessage(wa__message__app_state_sync_key_id__descriptor) + {} - protobuf_c_boolean has_keyid; - ProtobufCBinaryData keyid; + protobuf_c_boolean has_keyid; + ProtobufCBinaryData keyid; }; struct Wa__Message__AppStateSyncKeyRequest : public ProtobufCppMessage { - Wa__Message__AppStateSyncKeyRequest() : - ProtobufCppMessage(wa__message__app_state_sync_key_request__descriptor) - {} + Wa__Message__AppStateSyncKeyRequest() : + ProtobufCppMessage(wa__message__app_state_sync_key_request__descriptor) + {} - size_t n_keyids; - Wa__Message__AppStateSyncKeyId **keyids; + size_t n_keyids; + Wa__Message__AppStateSyncKeyId **keyids; }; struct Wa__Message__AppStateSyncKeyShare : public ProtobufCppMessage { - Wa__Message__AppStateSyncKeyShare() : - ProtobufCppMessage(wa__message__app_state_sync_key_share__descriptor) - {} + Wa__Message__AppStateSyncKeyShare() : + ProtobufCppMessage(wa__message__app_state_sync_key_share__descriptor) + {} - size_t n_keys; - Wa__Message__AppStateSyncKey **keys; + size_t n_keys; + Wa__Message__AppStateSyncKey **keys; }; struct Wa__Message__AudioMessage : public ProtobufCppMessage { - 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; - protobuf_c_boolean has_backgroundargb; - uint32_t backgroundargb; - protobuf_c_boolean has_viewonce; - protobuf_c_boolean viewonce; + 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; + protobuf_c_boolean has_backgroundargb; + uint32_t backgroundargb; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; }; struct Wa__Message__ButtonsMessage__Button__ButtonText : public ProtobufCppMessage { - Wa__Message__ButtonsMessage__Button__ButtonText() : - ProtobufCppMessage(wa__message__buttons_message__button__button_text__descriptor) - {} + Wa__Message__ButtonsMessage__Button__ButtonText() : + ProtobufCppMessage(wa__message__buttons_message__button__button_text__descriptor) + {} - char *displaytext; + char *displaytext; }; struct Wa__Message__ButtonsMessage__Button__NativeFlowInfo : public ProtobufCppMessage { - Wa__Message__ButtonsMessage__Button__NativeFlowInfo() : - ProtobufCppMessage(wa__message__buttons_message__button__native_flow_info__descriptor) - {} + Wa__Message__ButtonsMessage__Button__NativeFlowInfo() : + ProtobufCppMessage(wa__message__buttons_message__button__native_flow_info__descriptor) + {} - char *name; - char *paramsjson; + char *name; + char *paramsjson; }; struct Wa__Message__ButtonsMessage__Button : public ProtobufCppMessage { - 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__CASE) + 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__CASE) } Wa__Message__ButtonsMessage__HeaderCase; 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__CASE) + 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__CASE) } Wa__Message__ButtonsResponseMessage__ResponseCase; struct Wa__Message__ButtonsResponseMessage : public ProtobufCppMessage { - Wa__Message__ButtonsResponseMessage() : - ProtobufCppMessage(wa__message__buttons_response_message__descriptor) - {} + 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; - }; + 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 ProtobufCppMessage { - Wa__Message__Call() : - ProtobufCppMessage(wa__message__call__descriptor) - {} + 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; + 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 ProtobufCppMessage { - Wa__Message__CancelPaymentRequestMessage() : - ProtobufCppMessage(wa__message__cancel_payment_request_message__descriptor) - {} + Wa__Message__CancelPaymentRequestMessage() : + ProtobufCppMessage(wa__message__cancel_payment_request_message__descriptor) + {} - Wa__MessageKey *key; + Wa__MessageKey *key; }; struct Wa__Message__Chat : public ProtobufCppMessage { - Wa__Message__Chat() : - ProtobufCppMessage(wa__message__chat__descriptor) - {} + Wa__Message__Chat() : + ProtobufCppMessage(wa__message__chat__descriptor) + {} - char *displayname; - char *id; + char *displayname; + char *id; }; struct Wa__Message__ContactMessage : public ProtobufCppMessage { - Wa__Message__ContactMessage() : - ProtobufCppMessage(wa__message__contact_message__descriptor) - {} + Wa__Message__ContactMessage() : + ProtobufCppMessage(wa__message__contact_message__descriptor) + {} - char *displayname; - char *vcard; - Wa__ContextInfo *contextinfo; + char *displayname; + char *vcard; + Wa__ContextInfo *contextinfo; }; struct Wa__Message__ContactsArrayMessage : public ProtobufCppMessage { - Wa__Message__ContactsArrayMessage() : - ProtobufCppMessage(wa__message__contacts_array_message__descriptor) - {} + Wa__Message__ContactsArrayMessage() : + ProtobufCppMessage(wa__message__contacts_array_message__descriptor) + {} - char *displayname; - size_t n_contacts; - Wa__Message__ContactMessage **contacts; - Wa__ContextInfo *contextinfo; + 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__Message__DeclinePaymentRequestMessage() : + ProtobufCppMessage(wa__message__decline_payment_request_message__descriptor) + {} - Wa__MessageKey *key; + Wa__MessageKey *key; }; struct Wa__Message__DeviceSentMessage : public ProtobufCppMessage { - Wa__Message__DeviceSentMessage() : - ProtobufCppMessage(wa__message__device_sent_message__descriptor) - {} + Wa__Message__DeviceSentMessage() : + ProtobufCppMessage(wa__message__device_sent_message__descriptor) + {} - char *destinationjid; - Wa__Message *message; - char *phash; + 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; + 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__EncReactionMessage : public ProtobufCppMessage { - Wa__Message__EncReactionMessage() : - ProtobufCppMessage(wa__message__enc_reaction_message__descriptor) - {} + Wa__Message__EncReactionMessage() : + ProtobufCppMessage(wa__message__enc_reaction_message__descriptor) + {} - Wa__MessageKey *targetmessagekey; - protobuf_c_boolean has_encpayload; - ProtobufCBinaryData encpayload; - protobuf_c_boolean has_enciv; - ProtobufCBinaryData enciv; + Wa__MessageKey *targetmessagekey; + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; }; struct Wa__Message__ExtendedTextMessage : public ProtobufCppMessage { - Wa__Message__ExtendedTextMessage() : - 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; - protobuf_c_boolean has_viewonce; - protobuf_c_boolean viewonce; + 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; + protobuf_c_boolean has_viewonce; + protobuf_c_boolean viewonce; }; struct Wa__Message__FutureProofMessage : public ProtobufCppMessage { - Wa__Message__FutureProofMessage() : - ProtobufCppMessage(wa__message__future_proof_message__descriptor) - {} + Wa__Message__FutureProofMessage() : + ProtobufCppMessage(wa__message__future_proof_message__descriptor) + {} - Wa__Message *message; + Wa__Message *message; }; struct Wa__Message__GroupInviteMessage : public ProtobufCppMessage { - Wa__Message__GroupInviteMessage() : - ProtobufCppMessage(wa__message__group_invite_message__descriptor) - {} + 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; + 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) - {} + 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; + 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; + 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) - {} + 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; + 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__CASE) +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__CASE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime__DatetimeOneofCase; struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__HSMDateTime() : - ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__descriptor) - {} + 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; - }; + 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__CASE) +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__CASE) } Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter__ParamOneofCase; struct Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter : public ProtobufCppMessage { - Wa__Message__HighlyStructuredMessage__HSMLocalizableParameter() : - ProtobufCppMessage(wa__message__highly_structured_message__hsmlocalizable_parameter__descriptor) - {} + 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; - }; + 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) - {} + 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; + 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; - protobuf_c_boolean has_oldestmsginchunktimestampsec; - int64_t oldestmsginchunktimestampsec; - protobuf_c_boolean has_initialhistbootstrapinlinepayload; - ProtobufCBinaryData initialhistbootstrapinlinepayload; - char *peerdatarequestsessionid; + 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; + protobuf_c_boolean has_oldestmsginchunktimestampsec; + int64_t oldestmsginchunktimestampsec; + protobuf_c_boolean has_initialhistbootstrapinlinepayload; + ProtobufCBinaryData initialhistbootstrapinlinepayload; + char *peerdatarequestsessionid; }; 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; + 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) - {} + Wa__Message__InitialSecurityNotificationSettingSync() : + ProtobufCppMessage(wa__message__initial_security_notification_setting_sync__descriptor) + {} - protobuf_c_boolean has_securitynotificationenabled; - protobuf_c_boolean securitynotificationenabled; + 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) - {} + Wa__Message__InteractiveMessage__Body() : + ProtobufCppMessage(wa__message__interactive_message__body__descriptor) + {} - char *text; + char *text; }; struct Wa__Message__InteractiveMessage__CollectionMessage : public ProtobufCppMessage { - Wa__Message__InteractiveMessage__CollectionMessage() : - ProtobufCppMessage(wa__message__interactive_message__collection_message__descriptor) - {} + Wa__Message__InteractiveMessage__CollectionMessage() : + ProtobufCppMessage(wa__message__interactive_message__collection_message__descriptor) + {} - char *bizjid; - char *id; - protobuf_c_boolean has_messageversion; - int32_t messageversion; + 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) - {} + Wa__Message__InteractiveMessage__Footer() : + ProtobufCppMessage(wa__message__interactive_message__footer__descriptor) + {} - char *text; + 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, - WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_LOCATION_MESSAGE = 8 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__CASE) +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, + WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA_LOCATION_MESSAGE = 8 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__INTERACTIVE_MESSAGE__HEADER__MEDIA__CASE) } Wa__Message__InteractiveMessage__Header__MediaCase; struct Wa__Message__InteractiveMessage__Header : public ProtobufCppMessage { - Wa__Message__InteractiveMessage__Header() : - ProtobufCppMessage(wa__message__interactive_message__header__descriptor) - {} + 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; - Wa__Message__LocationMessage *locationmessage; - }; + 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; + Wa__Message__LocationMessage *locationmessage; + }; }; struct Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton : public ProtobufCppMessage { - Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton() : - ProtobufCppMessage(wa__message__interactive_message__native_flow_message__native_flow_button__descriptor) - {} + Wa__Message__InteractiveMessage__NativeFlowMessage__NativeFlowButton() : + ProtobufCppMessage(wa__message__interactive_message__native_flow_message__native_flow_button__descriptor) + {} - char *name; - char *buttonparamsjson; + char *name; + char *buttonparamsjson; }; struct Wa__Message__InteractiveMessage__NativeFlowMessage : public ProtobufCppMessage { - Wa__Message__InteractiveMessage__NativeFlowMessage() : - ProtobufCppMessage(wa__message__interactive_message__native_flow_message__descriptor) - {} + 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; + 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 ProtobufCppMessage { - Wa__Message__InteractiveMessage__ShopMessage() : - ProtobufCppMessage(wa__message__interactive_message__shop_message__descriptor) - {} + 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; + 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__CASE) +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__CASE) } Wa__Message__InteractiveMessage__InteractiveMessageCase; struct Wa__Message__InteractiveMessage : public ProtobufCppMessage { - Wa__Message__InteractiveMessage() : - ProtobufCppMessage(wa__message__interactive_message__descriptor) - {} + Wa__Message__InteractiveMessage() : + ProtobufCppMessage(wa__message__interactive_message__descriptor) + {} - 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; - }; + 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; + }; }; struct Wa__Message__InteractiveResponseMessage__Body : public ProtobufCppMessage { - Wa__Message__InteractiveResponseMessage__Body() : - ProtobufCppMessage(wa__message__interactive_response_message__body__descriptor) - {} + Wa__Message__InteractiveResponseMessage__Body() : + ProtobufCppMessage(wa__message__interactive_response_message__body__descriptor) + {} - char *text; - protobuf_c_boolean has_format; - Wa__Message__InteractiveResponseMessage__Body__Format format; + char *text; + protobuf_c_boolean has_format; + Wa__Message__InteractiveResponseMessage__Body__Format format; }; struct Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage : public ProtobufCppMessage { - Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage() : - ProtobufCppMessage(wa__message__interactive_response_message__native_flow_response_message__descriptor) - {} + 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; + char *name; + char *paramsjson; + protobuf_c_boolean has_version; + int32_t version; }; -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__CASE) +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__CASE) } Wa__Message__InteractiveResponseMessage__InteractiveResponseMessageCase; struct Wa__Message__InteractiveResponseMessage : public ProtobufCppMessage { - Wa__Message__InteractiveResponseMessage() : - ProtobufCppMessage(wa__message__interactive_response_message__descriptor) - {} + 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; - }; + 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; + 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__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; + Wa__MessageKey *key; + protobuf_c_boolean has_keeptype; + Wa__KeepType keeptype; + protobuf_c_boolean has_timestampms; + int64_t timestampms; }; struct Wa__Message__ListMessage__Product : public ProtobufCppMessage { - char *productid; + Wa__Message__ListMessage__Product() : + ProtobufCppMessage(wa__message__list_message__product__descriptor) + {} + + char *productid; }; struct Wa__Message__ListMessage__ProductListHeaderImage : public ProtobufCppMessage { - Wa__Message__ListMessage__ProductListHeaderImage() : - ProtobufCppMessage(wa__message__list_message__product_list_header_image__descriptor) - {} + Wa__Message__ListMessage__ProductListHeaderImage() : + ProtobufCppMessage(wa__message__list_message__product_list_header_image__descriptor) + {} - char *productid; - protobuf_c_boolean has_jpegthumbnail; - ProtobufCBinaryData jpegthumbnail; + char *productid; + protobuf_c_boolean has_jpegthumbnail; + ProtobufCBinaryData jpegthumbnail; }; struct Wa__Message__ListMessage__ProductListInfo : public ProtobufCppMessage { - Wa__Message__ListMessage__ProductListInfo() : - ProtobufCppMessage(wa__message__list_message__product_list_info__descriptor) - {} + 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; + size_t n_productsections; + Wa__Message__ListMessage__ProductSection **productsections; + Wa__Message__ListMessage__ProductListHeaderImage *headerimage; + char *businessownerjid; }; struct Wa__Message__ListMessage__ProductSection : public ProtobufCppMessage { - Wa__Message__ListMessage__ProductSection() : - ProtobufCppMessage(wa__message__list_message__product_section__descriptor) - {} + Wa__Message__ListMessage__ProductSection() : + ProtobufCppMessage(wa__message__list_message__product_section__descriptor) + {} - char *title; - size_t n_products; - Wa__Message__ListMessage__Product **products; + char *title; + size_t n_products; + Wa__Message__ListMessage__Product **products; }; struct Wa__Message__ListMessage__Row : public ProtobufCppMessage { - Wa__Message__ListMessage__Row() : - ProtobufCppMessage(wa__message__list_message__row__descriptor) - {} + Wa__Message__ListMessage__Row() : + ProtobufCppMessage(wa__message__list_message__row__descriptor) + {} - char *title; - char *description; - char *rowid; + char *title; + char *description; + char *rowid; }; struct Wa__Message__ListMessage__Section : public ProtobufCppMessage { - Wa__Message__ListMessage__Section() : - ProtobufCppMessage(wa__message__list_message__section__descriptor) - {} + Wa__Message__ListMessage__Section() : + ProtobufCppMessage(wa__message__list_message__section__descriptor) + {} - char *title; - size_t n_rows; - Wa__Message__ListMessage__Row **rows; + char *title; + size_t n_rows; + Wa__Message__ListMessage__Row **rows; }; struct Wa__Message__ListMessage : public ProtobufCppMessage { - Wa__Message__ListMessage() : - ProtobufCppMessage(wa__message__list_message__descriptor) - {} + 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; + 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__SingleSelectReply : public ProtobufCppMessage { - Wa__Message__ListResponseMessage__SingleSelectReply() : - ProtobufCppMessage(wa__message__list_response_message__single_select_reply__descriptor) - {} + Wa__Message__ListResponseMessage__SingleSelectReply() : + ProtobufCppMessage(wa__message__list_response_message__single_select_reply__descriptor) + {} - char *selectedrowid; + char *selectedrowid; }; struct Wa__Message__ListResponseMessage : public ProtobufCppMessage { - Wa__Message__ListResponseMessage() : - ProtobufCppMessage(wa__message__list_response_message__descriptor) - {} + 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; + 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__LiveLocationMessage : public ProtobufCppMessage { - 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; + 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__LocationMessage : public ProtobufCppMessage { - 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; + 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__OrderMessage : public ProtobufCppMessage { - 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; + 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; }; struct Wa__Message__PaymentInviteMessage : public ProtobufCppMessage { - Wa__Message__PaymentInviteMessage() : - ProtobufCppMessage(wa__message__payment_invite_message__descriptor) - {} + 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; + protobuf_c_boolean has_servicetype; + Wa__Message__PaymentInviteMessage__ServiceType servicetype; + protobuf_c_boolean has_expirytimestamp; + int64_t expirytimestamp; }; struct Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest() : - ProtobufCppMessage(wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor) - {} + Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__history_sync_on_demand_request__descriptor) + {} - char *chatjid; - char *oldestmsgid; - protobuf_c_boolean has_oldestmsgfromme; - protobuf_c_boolean oldestmsgfromme; - protobuf_c_boolean has_ondemandmsgcount; - int32_t ondemandmsgcount; - protobuf_c_boolean has_oldestmsgtimestampms; - int64_t oldestmsgtimestampms; + char *chatjid; + char *oldestmsgid; + protobuf_c_boolean has_oldestmsgfromme; + protobuf_c_boolean oldestmsgfromme; + protobuf_c_boolean has_ondemandmsgcount; + int32_t ondemandmsgcount; + protobuf_c_boolean has_oldestmsgtimestampms; + int64_t oldestmsgtimestampms; }; struct Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest() : - ProtobufCppMessage(wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor) - {} + Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__placeholder_message_resend_request__descriptor) + {} - Wa__MessageKey *messagekey; + Wa__MessageKey *messagekey; }; struct Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload() : - ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor) - {} + Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_sticker_reupload__descriptor) + {} - char *filesha256; + char *filesha256; }; struct Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview() : - ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_url_preview__descriptor) - {} + Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__request_url_preview__descriptor) + {} - char *url; - protobuf_c_boolean has_includehqthumbnail; - protobuf_c_boolean includehqthumbnail; + char *url; + protobuf_c_boolean has_includehqthumbnail; + protobuf_c_boolean includehqthumbnail; }; struct Wa__Message__PeerDataOperationRequestMessage : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestMessage() : - ProtobufCppMessage(wa__message__peer_data_operation_request_message__descriptor) - {} + Wa__Message__PeerDataOperationRequestMessage() : + ProtobufCppMessage(wa__message__peer_data_operation_request_message__descriptor) + {} - protobuf_c_boolean has_peerdataoperationrequesttype; - Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; - size_t n_requeststickerreupload; - Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload **requeststickerreupload; - size_t n_requesturlpreview; - Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview **requesturlpreview; - Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *historysyncondemandrequest; - size_t n_placeholdermessageresendrequest; - Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest **placeholdermessageresendrequest; + protobuf_c_boolean has_peerdataoperationrequesttype; + Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; + size_t n_requeststickerreupload; + Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload **requeststickerreupload; + size_t n_requesturlpreview; + Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview **requesturlpreview; + Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *historysyncondemandrequest; + size_t n_placeholdermessageresendrequest; + Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest **placeholdermessageresendrequest; }; struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail() : - ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor) - {} + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__descriptor) + {} - char *directpath; - char *thumbhash; - char *encthumbhash; - protobuf_c_boolean has_mediakey; - ProtobufCBinaryData mediakey; - protobuf_c_boolean has_mediakeytimestampms; - int64_t mediakeytimestampms; - protobuf_c_boolean has_thumbwidth; - int32_t thumbwidth; - protobuf_c_boolean has_thumbheight; - int32_t thumbheight; + char *directpath; + char *thumbhash; + char *encthumbhash; + protobuf_c_boolean has_mediakey; + ProtobufCBinaryData mediakey; + protobuf_c_boolean has_mediakeytimestampms; + int64_t mediakeytimestampms; + protobuf_c_boolean has_thumbwidth; + int32_t thumbwidth; + protobuf_c_boolean has_thumbheight; + int32_t thumbheight; }; struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse() : - ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor) - {} + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__descriptor) + {} - char *url; - char *title; - char *description; - protobuf_c_boolean has_thumbdata; - ProtobufCBinaryData thumbdata; - char *canonicalurl; - char *matchtext; - char *previewtype; - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *hqthumbnail; + char *url; + char *title; + char *description; + protobuf_c_boolean has_thumbdata; + ProtobufCBinaryData thumbdata; + char *canonicalurl; + char *matchtext; + char *previewtype; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *hqthumbnail; }; struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse() : - ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor) - {} + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__descriptor) + {} - protobuf_c_boolean has_webmessageinfobytes; - ProtobufCBinaryData webmessageinfobytes; + protobuf_c_boolean has_webmessageinfobytes; + ProtobufCBinaryData webmessageinfobytes; }; struct Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult() : - ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor) - {} + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__peer_data_operation_result__descriptor) + {} - protobuf_c_boolean has_mediauploadresult; - Wa__MediaRetryNotification__ResultType mediauploadresult; - Wa__Message__StickerMessage *stickermessage; - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *linkpreviewresponse; - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *placeholdermessageresendresponse; + protobuf_c_boolean has_mediauploadresult; + Wa__MediaRetryNotification__ResultType mediauploadresult; + Wa__Message__StickerMessage *stickermessage; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *linkpreviewresponse; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *placeholdermessageresendresponse; }; struct Wa__Message__PeerDataOperationRequestResponseMessage : public ProtobufCppMessage { - Wa__Message__PeerDataOperationRequestResponseMessage() : - ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__descriptor) - {} + Wa__Message__PeerDataOperationRequestResponseMessage() : + ProtobufCppMessage(wa__message__peer_data_operation_request_response_message__descriptor) + {} - protobuf_c_boolean has_peerdataoperationrequesttype; - Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; - char *stanzaid; - size_t n_peerdataoperationresult; - Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult **peerdataoperationresult; + protobuf_c_boolean has_peerdataoperationrequesttype; + Wa__Message__PeerDataOperationRequestType peerdataoperationrequesttype; + char *stanzaid; + size_t n_peerdataoperationresult; + Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult **peerdataoperationresult; }; struct Wa__Message__PinInChatMessage : public ProtobufCppMessage { - Wa__Message__PinInChatMessage() : - ProtobufCppMessage(wa__message__pin_in_chat_message__descriptor) - {} + Wa__Message__PinInChatMessage() : + ProtobufCppMessage(wa__message__pin_in_chat_message__descriptor) + {} - Wa__MessageKey *key; - protobuf_c_boolean has_type; - Wa__Message__PinInChatMessage__Type type; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; + Wa__MessageKey *key; + protobuf_c_boolean has_type; + Wa__Message__PinInChatMessage__Type type; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; }; struct Wa__Message__PollCreationMessage__Option : public ProtobufCppMessage { - Wa__Message__PollCreationMessage__Option() : - ProtobufCppMessage(wa__message__poll_creation_message__descriptor) - {} + Wa__Message__PollCreationMessage__Option() : + ProtobufCppMessage(wa__message__poll_creation_message__option__descriptor) + {} - char *optionname; + char *optionname; }; struct Wa__Message__PollCreationMessage : public ProtobufCppMessage { - Wa__Message__PollCreationMessage() : - ProtobufCppMessage(wa__message__poll_creation_message__descriptor) - {} + Wa__Message__PollCreationMessage() : + ProtobufCppMessage(wa__message__poll_creation_message__descriptor) + {} - 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; + 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; }; struct Wa__Message__PollEncValue : public ProtobufCppMessage { - Wa__Message__PollEncValue() : - ProtobufCppMessage(wa__message__poll_enc_value__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; + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; }; -struct Wa__Message__PollUpdateMessageMetadata : public ProtobufCppMessage +struct Wa__Message__PollUpdateMessage : public ProtobufCppMessage { - Wa__Message__PollUpdateMessageMetadata() : - ProtobufCppMessage(wa__message__poll_update_message_metadata__descriptor) - {} + 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__PollUpdateMessage : public ProtobufCppMessage +struct Wa__Message__PollUpdateMessageMetadata : public ProtobufCppMessage { - Wa__Message__PollUpdateMessage() : - ProtobufCppMessage(wa__message__poll_update_message__descriptor) - {} + Wa__Message__PollUpdateMessageMetadata() : + ProtobufCppMessage(wa__message__poll_update_message_metadata__descriptor) + {} - Wa__MessageKey *pollcreationmessagekey; - Wa__Message__PollEncValue *vote; - Wa__Message__PollUpdateMessageMetadata *metadata; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; }; struct Wa__Message__PollVoteMessage : public ProtobufCppMessage { - Wa__Message__PollVoteMessage() : - ProtobufCppMessage(wa__message__poll_vote_message__descriptor) - {} + Wa__Message__PollVoteMessage() : + ProtobufCppMessage(wa__message__poll_vote_message__descriptor) + {} - size_t n_selectedoptions; - ProtobufCBinaryData *selectedoptions; + size_t n_selectedoptions; + ProtobufCBinaryData *selectedoptions; }; struct Wa__Message__ProductMessage__CatalogSnapshot : public ProtobufCppMessage { - Wa__Message__ProductMessage__CatalogSnapshot() : - ProtobufCppMessage(wa__message__product_message__catalog_snapshot__descriptor) - {} + Wa__Message__ProductMessage__CatalogSnapshot() : + ProtobufCppMessage(wa__message__product_message__catalog_snapshot__descriptor) + {} - Wa__Message__ImageMessage *catalogimage; - char *title; - char *description; + Wa__Message__ImageMessage *catalogimage; + char *title; + char *description; }; struct Wa__Message__ProductMessage__ProductSnapshot : public ProtobufCppMessage { - 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; + 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__ProductMessage : public ProtobufCppMessage { - Wa__Message__ProductMessage() : - ProtobufCppMessage(wa__message__product_message__descriptor) - {} + 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; + Wa__Message__ProductMessage__ProductSnapshot *product; + char *businessownerjid; + Wa__Message__ProductMessage__CatalogSnapshot *catalog; + char *body; + char *footer; + Wa__ContextInfo *contextinfo; }; struct Wa__Message__ProtocolMessage : public ProtobufCppMessage { - 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 *editedmessage; - protobuf_c_boolean has_timestampms; - int64_t timestampms; - Wa__Message__PeerDataOperationRequestMessage *peerdataoperationrequestmessage; - Wa__Message__PeerDataOperationRequestResponseMessage *peerdataoperationrequestresponsemessage; + 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 *editedmessage; + protobuf_c_boolean has_timestampms; + int64_t timestampms; + Wa__Message__PeerDataOperationRequestMessage *peerdataoperationrequestmessage; + Wa__Message__PeerDataOperationRequestResponseMessage *peerdataoperationrequestresponsemessage; }; struct Wa__Message__ReactionMessage : public ProtobufCppMessage { - Wa__Message__ReactionMessage() : - ProtobufCppMessage(wa__message__reaction_message__descriptor) - {} + Wa__Message__ReactionMessage() : + ProtobufCppMessage(wa__message__reaction_message__descriptor) + {} - Wa__MessageKey *key; - char *text; - char *groupingkey; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; + Wa__MessageKey *key; + char *text; + char *groupingkey; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; }; struct Wa__Message__RequestPaymentMessage : public ProtobufCppMessage { - Wa__Message__RequestPaymentMessage() : - ProtobufCppMessage(wa__message__request_payment_message__descriptor) - {} + 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; + 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__RequestPhoneNumberMessage : public ProtobufCppMessage { - Wa__Message__RequestPhoneNumberMessage() : - ProtobufCppMessage(wa__message__request_phone_number_message__descriptor) - {} + Wa__Message__RequestPhoneNumberMessage() : + ProtobufCppMessage(wa__message__request_phone_number_message__descriptor) + {} - Wa__ContextInfo *contextinfo; + Wa__ContextInfo *contextinfo; }; struct Wa__Message__ScheduledCallCreationMessage : public ProtobufCppMessage { - Wa__Message__ScheduledCallCreationMessage() : - ProtobufCppMessage(wa__message__scheduled_call_creation_message__descriptor) - {} + Wa__Message__ScheduledCallCreationMessage() : + ProtobufCppMessage(wa__message__scheduled_call_creation_message__descriptor) + {} - protobuf_c_boolean has_scheduledtimestampms; - int64_t scheduledtimestampms; - protobuf_c_boolean has_calltype; - Wa__Message__ScheduledCallCreationMessage__CallType calltype; - char *title; + protobuf_c_boolean has_scheduledtimestampms; + int64_t scheduledtimestampms; + protobuf_c_boolean has_calltype; + Wa__Message__ScheduledCallCreationMessage__CallType calltype; + char *title; }; struct Wa__Message__ScheduledCallEditMessage : public ProtobufCppMessage { - Wa__Message__ScheduledCallEditMessage() : - ProtobufCppMessage(wa__message__scheduled_call_edit_message__descriptor) - {} + Wa__Message__ScheduledCallEditMessage() : + ProtobufCppMessage(wa__message__scheduled_call_edit_message__descriptor) + {} - Wa__MessageKey *key; - protobuf_c_boolean has_edittype; - Wa__Message__ScheduledCallEditMessage__EditType edittype; + Wa__MessageKey *key; + protobuf_c_boolean has_edittype; + Wa__Message__ScheduledCallEditMessage__EditType edittype; }; struct Wa__Message__SendPaymentMessage : public ProtobufCppMessage { - Wa__Message *notemessage; - Wa__MessageKey *requestmessagekey; - Wa__PaymentBackground *background; + Wa__Message__SendPaymentMessage() : + ProtobufCppMessage(wa__message__send_payment_message__descriptor) + {} + + Wa__Message *notemessage; + Wa__MessageKey *requestmessagekey; + Wa__PaymentBackground *background; }; struct Wa__Message__SenderKeyDistributionMessage : public ProtobufCppMessage { - Wa__Message__SenderKeyDistributionMessage() : - ProtobufCppMessage(wa__message__sender_key_distribution_message__descriptor) - {} + Wa__Message__SenderKeyDistributionMessage() : + ProtobufCppMessage(wa__message__sender_key_distribution_message__descriptor) + {} - char *groupid; - protobuf_c_boolean has_axolotlsenderkeydistributionmessage; - ProtobufCBinaryData axolotlsenderkeydistributionmessage; + char *groupid; + protobuf_c_boolean has_axolotlsenderkeydistributionmessage; + ProtobufCBinaryData axolotlsenderkeydistributionmessage; }; struct Wa__Message__StickerMessage : public ProtobufCppMessage { - 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; - protobuf_c_boolean has_stickersentts; - int64_t stickersentts; - protobuf_c_boolean has_isavatar; - protobuf_c_boolean isavatar; + 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; + protobuf_c_boolean has_stickersentts; + int64_t stickersentts; + protobuf_c_boolean has_isavatar; + protobuf_c_boolean isavatar; }; struct Wa__Message__StickerSyncRMRMessage : public ProtobufCppMessage { - Wa__Message__StickerSyncRMRMessage() : - ProtobufCppMessage(wa__message__sticker_sync_rmrmessage__descriptor) - {} + Wa__Message__StickerSyncRMRMessage() : + ProtobufCppMessage(wa__message__sticker_sync_rmrmessage__descriptor) + {} - size_t n_filehash; - char **filehash; - char *rmrsource; - protobuf_c_boolean has_requesttimestamp; - int64_t requesttimestamp; + size_t n_filehash; + char **filehash; + char *rmrsource; + protobuf_c_boolean has_requesttimestamp; + int64_t requesttimestamp; }; struct Wa__Message__TemplateButtonReplyMessage : public ProtobufCppMessage { - 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__CASE) + 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__CASE) } Wa__Message__TemplateMessage__FourRowTemplate__TitleCase; 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__CASE) + 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__CASE) } Wa__Message__TemplateMessage__HydratedFourRowTemplate__TitleCase; 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, - WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_INTERACTIVE_MESSAGE_TEMPLATE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__CASE) + Wa__Message__TemplateMessage__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, + WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT_INTERACTIVE_MESSAGE_TEMPLATE = 5 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WA__MESSAGE__TEMPLATE_MESSAGE__FORMAT__CASE) } Wa__Message__TemplateMessage__FormatCase; struct Wa__Message__TemplateMessage : public ProtobufCppMessage { - Wa__Message__TemplateMessage() : - ProtobufCppMessage(wa__message__template_message__descriptor) - {} + Wa__Message__TemplateMessage() : + ProtobufCppMessage(wa__message__template_message__descriptor) + {} - Wa__ContextInfo *contextinfo; - Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; - char *templateid; - Wa__Message__TemplateMessage__FormatCase format_case; - union - { - Wa__Message__TemplateMessage__FourRowTemplate *fourrowtemplate; - Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedfourrowtemplate; - Wa__Message__InteractiveMessage *interactivemessagetemplate; - }; + Wa__ContextInfo *contextinfo; + Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedtemplate; + char *templateid; + Wa__Message__TemplateMessage__FormatCase format_case; + union { + Wa__Message__TemplateMessage__FourRowTemplate *fourrowtemplate; + Wa__Message__TemplateMessage__HydratedFourRowTemplate *hydratedfourrowtemplate; + Wa__Message__InteractiveMessage *interactivemessagetemplate; + }; }; 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; + 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; - Wa__Message__EncReactionMessage *encreactionmessage; - Wa__Message__FutureProofMessage *editedmessage; - Wa__Message__FutureProofMessage *viewoncemessagev2extension; - Wa__Message__PollCreationMessage *pollcreationmessagev2; - Wa__Message__ScheduledCallCreationMessage *scheduledcallcreationmessage; - Wa__Message__FutureProofMessage *groupmentionedmessage; - Wa__Message__PinInChatMessage *pininchatmessage; - Wa__Message__PollCreationMessage *pollcreationmessagev3; - Wa__Message__ScheduledCallEditMessage *scheduledcalleditmessage; - Wa__Message__VideoMessage *ptvmessage; + 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; + Wa__Message__EncReactionMessage *encreactionmessage; + Wa__Message__FutureProofMessage *editedmessage; + Wa__Message__FutureProofMessage *viewoncemessagev2extension; + Wa__Message__PollCreationMessage *pollcreationmessagev2; + Wa__Message__ScheduledCallCreationMessage *scheduledcallcreationmessage; + Wa__Message__FutureProofMessage *groupmentionedmessage; + Wa__Message__PinInChatMessage *pininchatmessage; + Wa__Message__PollCreationMessage *pollcreationmessagev3; + Wa__Message__ScheduledCallEditMessage *scheduledcalleditmessage; + Wa__Message__VideoMessage *ptvmessage; }; struct Wa__MessageAddOnContextInfo : public ProtobufCppMessage { - Wa__MessageAddOnContextInfo() : - ProtobufCppMessage(wa__message_add_on_context_info__descriptor) - {} + Wa__MessageAddOnContextInfo() : + ProtobufCppMessage(wa__message_add_on_context_info__descriptor) + {} - protobuf_c_boolean has_messageaddondurationinsecs; - uint32_t messageaddondurationinsecs; + protobuf_c_boolean has_messageaddondurationinsecs; + uint32_t messageaddondurationinsecs; }; struct Wa__MessageContextInfo : public ProtobufCppMessage { - Wa__MessageContextInfo() : - ProtobufCppMessage(wa__message_context_info__descriptor) - {} + 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; - protobuf_c_boolean has_messageaddondurationinsecs; - uint32_t messageaddondurationinsecs; + 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; + protobuf_c_boolean has_messageaddondurationinsecs; + uint32_t messageaddondurationinsecs; }; struct Wa__MessageKey : public ProtobufCppMessage { - Wa__MessageKey() : - ProtobufCppMessage(wa__message_key__descriptor) - {} + Wa__MessageKey() : + ProtobufCppMessage(wa__message_key__descriptor) + {} - char *remotejid; - protobuf_c_boolean has_fromme; - protobuf_c_boolean fromme; - char *id; - char *participant; + 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) - {} + Wa__Money() : + ProtobufCppMessage(wa__money__descriptor) + {} - protobuf_c_boolean has_value; - int64_t value; - protobuf_c_boolean has_offset; - uint32_t offset; - char *currencycode; + 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) - {} + Wa__MsgOpaqueData__PollOption() : + ProtobufCppMessage(wa__msg_opaque_data__poll_option__descriptor) + {} - char *name; + 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; - char *originalselfauthor; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; - char *pollupdateparentkey; - Wa__PollEncValue *encpollvote; - protobuf_c_boolean has_issentcagpollcreation; - protobuf_c_boolean issentcagpollcreation; - char *encreactiontargetmessagekey; - protobuf_c_boolean has_encreactionencpayload; - ProtobufCBinaryData encreactionencpayload; - protobuf_c_boolean has_encreactionenciv; - ProtobufCBinaryData encreactionenciv; + 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; + char *originalselfauthor; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + char *pollupdateparentkey; + Wa__PollEncValue *encpollvote; + protobuf_c_boolean has_issentcagpollcreation; + protobuf_c_boolean issentcagpollcreation; + char *encreactiontargetmessagekey; + protobuf_c_boolean has_encreactionencpayload; + ProtobufCBinaryData encreactionencpayload; + protobuf_c_boolean has_encreactionenciv; + ProtobufCBinaryData encreactionenciv; }; struct Wa__MsgRowOpaqueData : public ProtobufCppMessage { - Wa__MsgRowOpaqueData() : - ProtobufCppMessage(wa__msg_row_opaque_data__descriptor) - {} + Wa__MsgRowOpaqueData() : + ProtobufCppMessage(wa__msg_row_opaque_data__descriptor) + {} - Wa__MsgOpaqueData *currentmsg; - Wa__MsgOpaqueData *quotedmsg; + Wa__MsgOpaqueData *currentmsg; + Wa__MsgOpaqueData *quotedmsg; }; struct Wa__NoiseCertificate__Details : public ProtobufCppMessage { - Wa__NoiseCertificate__Details() : - ProtobufCppMessage(wa__noise_certificate__details__descriptor) - {} + Wa__NoiseCertificate__Details() : + ProtobufCppMessage(wa__noise_certificate__details__descriptor) + {} - 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; + 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; }; struct Wa__NoiseCertificate : public ProtobufCppMessage { - Wa__NoiseCertificate() : - ProtobufCppMessage(wa__noise_certificate__descriptor) - {} + Wa__NoiseCertificate() : + ProtobufCppMessage(wa__noise_certificate__descriptor) + {} - protobuf_c_boolean has_details; - ProtobufCBinaryData details; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; + 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__NotificationMessageInfo() : + ProtobufCppMessage(wa__notification_message_info__descriptor) + {} - Wa__MessageKey *key; - Wa__Message *message; - protobuf_c_boolean has_messagetimestamp; - uint64_t messagetimestamp; - char *participant; + Wa__MessageKey *key; + Wa__Message *message; + protobuf_c_boolean has_messagetimestamp; + uint64_t messagetimestamp; + char *participant; }; struct Wa__NotificationSettings : public ProtobufCppMessage { - Wa__NotificationSettings() : - ProtobufCppMessage(wa__notification_settings__descriptor) - {} + Wa__NotificationSettings() : + ProtobufCppMessage(wa__notification_settings__descriptor) + {} - char *messagevibrate; - char *messagepopup; - char *messagelight; - protobuf_c_boolean has_lowprioritynotifications; - protobuf_c_boolean lowprioritynotifications; - protobuf_c_boolean has_reactionsmuted; - protobuf_c_boolean reactionsmuted; - char *callvibrate; + char *messagevibrate; + char *messagepopup; + char *messagelight; + protobuf_c_boolean has_lowprioritynotifications; + protobuf_c_boolean lowprioritynotifications; + protobuf_c_boolean has_reactionsmuted; + protobuf_c_boolean reactionsmuted; + char *callvibrate; }; struct Wa__PastParticipant : public ProtobufCppMessage { - Wa__PastParticipant() : - ProtobufCppMessage(wa__past_participants__descriptor) - {} + Wa__PastParticipant() : + ProtobufCppMessage(wa__past_participant__descriptor) + {} - char *userjid; - protobuf_c_boolean has_leavereason; - Wa__PastParticipant__LeaveReason leavereason; - protobuf_c_boolean has_leavets; - uint64_t leavets; + char *userjid; + protobuf_c_boolean has_leavereason; + Wa__PastParticipant__LeaveReason leavereason; + protobuf_c_boolean has_leavets; + uint64_t leavets; }; struct Wa__PastParticipants : public ProtobufCppMessage { - Wa__PastParticipants() : - ProtobufCppMessage(wa__past_participants__descriptor) - {} + Wa__PastParticipants() : + ProtobufCppMessage(wa__past_participants__descriptor) + {} - char *groupjid; - size_t n_pastparticipants; - Wa__PastParticipant **pastparticipants; + 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) - {} + 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; + 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; + 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; + 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; }; struct Wa__PhotoChange : public ProtobufCppMessage { - Wa__PhotoChange() : - ProtobufCppMessage(wa__photo_change__descriptor) - {} + Wa__PhotoChange() : + ProtobufCppMessage(wa__photo_change__descriptor) + {} - protobuf_c_boolean has_oldphoto; - ProtobufCBinaryData oldphoto; - protobuf_c_boolean has_newphoto; - ProtobufCBinaryData newphoto; - protobuf_c_boolean has_newphotoid; - uint32_t newphotoid; + protobuf_c_boolean has_oldphoto; + ProtobufCBinaryData oldphoto; + protobuf_c_boolean has_newphoto; + ProtobufCBinaryData newphoto; + protobuf_c_boolean has_newphotoid; + uint32_t newphotoid; }; struct Wa__PinInChat : public ProtobufCppMessage { - Wa__PinInChat() : - ProtobufCppMessage(wa__pin_in_chat__descriptor) - {} + Wa__PinInChat() : + ProtobufCppMessage(wa__pin_in_chat__descriptor) + {} - protobuf_c_boolean has_type; - Wa__PinInChat__Type type; - Wa__MessageKey *key; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; - protobuf_c_boolean has_servertimestampms; - int64_t servertimestampms; - Wa__MessageAddOnContextInfo *messageaddoncontextinfo; + protobuf_c_boolean has_type; + Wa__PinInChat__Type type; + Wa__MessageKey *key; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; + Wa__MessageAddOnContextInfo *messageaddoncontextinfo; }; struct Wa__Point : public ProtobufCppMessage { - Wa__Point() : - ProtobufCppMessage(wa__point__descriptor) - {} + 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; + 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__PollAdditionalMetadata : public ProtobufCppMessage { - Wa__PollAdditionalMetadata() : - ProtobufCppMessage(wa__poll_additional_metadata__descriptor) - {} + Wa__PollAdditionalMetadata() : + ProtobufCppMessage(wa__poll_additional_metadata__descriptor) + {} - protobuf_c_boolean has_pollinvalidated; - protobuf_c_boolean pollinvalidated; + protobuf_c_boolean has_pollinvalidated; + protobuf_c_boolean pollinvalidated; }; struct Wa__PollEncValue : public ProtobufCppMessage { - Wa__PollEncValue() : - ProtobufCppMessage(wa__poll_enc_value__descriptor) - {} + Wa__PollEncValue() : + ProtobufCppMessage(wa__poll_enc_value__descriptor) + {} - protobuf_c_boolean has_encpayload; - ProtobufCBinaryData encpayload; - protobuf_c_boolean has_enciv; - ProtobufCBinaryData enciv; + protobuf_c_boolean has_encpayload; + ProtobufCBinaryData encpayload; + protobuf_c_boolean has_enciv; + ProtobufCBinaryData enciv; }; struct Wa__PollUpdate : public ProtobufCppMessage { - Wa__PollUpdate() : - ProtobufCppMessage(wa__poll_update__descriptor) - {} + Wa__PollUpdate() : + ProtobufCppMessage(wa__poll_update__descriptor) + {} - Wa__MessageKey *pollupdatemessagekey; - Wa__Message__PollVoteMessage *vote; - protobuf_c_boolean has_sendertimestampms; - int64_t sendertimestampms; - protobuf_c_boolean has_servertimestampms; - int64_t servertimestampms; - protobuf_c_boolean has_unread; - protobuf_c_boolean unread; + Wa__MessageKey *pollupdatemessagekey; + Wa__Message__PollVoteMessage *vote; + protobuf_c_boolean has_sendertimestampms; + int64_t sendertimestampms; + protobuf_c_boolean has_servertimestampms; + int64_t servertimestampms; + protobuf_c_boolean has_unread; + protobuf_c_boolean unread; }; struct Wa__PreKeyRecordStructure : public ProtobufCppMessage { - Wa__PreKeyRecordStructure() : - ProtobufCppMessage(wa__pre_key_record_structure__descriptor) - {} + 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; + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_publickey; + ProtobufCBinaryData publickey; + protobuf_c_boolean has_privatekey; + ProtobufCBinaryData privatekey; }; struct Wa__PreKeySignalMessage : public ProtobufCppMessage { - Wa__PreKeySignalMessage() : - ProtobufCppMessage(wa__pre_key_record_structure__descriptor) - {} + Wa__PreKeySignalMessage() : + ProtobufCppMessage(wa__pre_key_signal_message__descriptor) + {} - protobuf_c_boolean has_registrationid; - uint32_t registrationid; - protobuf_c_boolean has_prekeyid; - uint32_t prekeyid; - protobuf_c_boolean has_signedprekeyid; - uint32_t signedprekeyid; - protobuf_c_boolean has_basekey; - ProtobufCBinaryData basekey; - protobuf_c_boolean has_identitykey; - ProtobufCBinaryData identitykey; - protobuf_c_boolean has_message; - ProtobufCBinaryData message; + protobuf_c_boolean has_registrationid; + uint32_t registrationid; + protobuf_c_boolean has_prekeyid; + uint32_t prekeyid; + protobuf_c_boolean has_signedprekeyid; + uint32_t signedprekeyid; + protobuf_c_boolean has_basekey; + ProtobufCBinaryData basekey; + protobuf_c_boolean has_identitykey; + ProtobufCBinaryData identitykey; + protobuf_c_boolean has_message; + ProtobufCBinaryData message; }; struct Wa__Pushname : public ProtobufCppMessage { - Wa__Pushname() : - ProtobufCppMessage(wa__pushname__descriptor) - {} + Wa__Pushname() : + ProtobufCppMessage(wa__pushname__descriptor) + {} - char *id; - char *pushname; + char *id; + char *pushname; }; struct Wa__Reaction : public ProtobufCppMessage { - Wa__Reaction() : - ProtobufCppMessage(wa__reaction__descriptor) - {} + 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; + 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__RecentEmojiWeight : public ProtobufCppMessage { - Wa__RecentEmojiWeight() : - ProtobufCppMessage(wa__recent_emoji_weight__descriptor) - {} + Wa__RecentEmojiWeight() : + ProtobufCppMessage(wa__recent_emoji_weight__descriptor) + {} - char *emoji; - protobuf_c_boolean has_weight; - float weight; + char *emoji; + protobuf_c_boolean has_weight; + float weight; }; struct Wa__RecordStructure : public ProtobufCppMessage { - Wa__RecordStructure() : - ProtobufCppMessage(wa__record_structure__descriptor) - {} + Wa__RecordStructure() : + ProtobufCppMessage(wa__record_structure__descriptor) + {} - Wa__SessionStructure *currentsession; - size_t n_previoussessions; - Wa__SessionStructure **previoussessions; + Wa__SessionStructure *currentsession; + size_t n_previoussessions; + Wa__SessionStructure **previoussessions; }; struct Wa__SenderKeyDistributionMessage : public ProtobufCppMessage { - Wa__SenderKeyDistributionMessage() : - ProtobufCppMessage(wa__sender_key_distribution_message__descriptor) - {} + Wa__SenderKeyDistributionMessage() : + ProtobufCppMessage(wa__sender_key_distribution_message__descriptor) + {} - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_chainkey; - ProtobufCBinaryData chainkey; - protobuf_c_boolean has_signingkey; - ProtobufCBinaryData signingkey; + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_chainkey; + ProtobufCBinaryData chainkey; + protobuf_c_boolean has_signingkey; + ProtobufCBinaryData signingkey; }; struct Wa__SenderKeyMessage : public ProtobufCppMessage { - Wa__SenderKeyMessage() : - ProtobufCppMessage(wa__sender_key_message__descriptor) - {} + Wa__SenderKeyMessage() : + ProtobufCppMessage(wa__sender_key_message__descriptor) + {} - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_ciphertext; - ProtobufCBinaryData ciphertext; + protobuf_c_boolean has_id; + uint32_t id; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_ciphertext; + ProtobufCBinaryData ciphertext; }; struct Wa__SenderKeyRecordStructure : public ProtobufCppMessage { - Wa__SenderKeyRecordStructure() : - ProtobufCppMessage(wa__sender_key_record_structure__descriptor) - {} + Wa__SenderKeyRecordStructure() : + ProtobufCppMessage(wa__sender_key_record_structure__descriptor) + {} - size_t n_senderkeystates; - Wa__SenderKeyStateStructure **senderkeystates; + size_t n_senderkeystates; + Wa__SenderKeyStateStructure **senderkeystates; }; struct Wa__SenderKeyStateStructure__SenderChainKey : public ProtobufCppMessage { - Wa__SenderKeyStateStructure__SenderChainKey() : - ProtobufCppMessage(wa__sender_key_state_structure__sender_chain_key__descriptor) - {} + Wa__SenderKeyStateStructure__SenderChainKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_chain_key__descriptor) + {} - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_seed; - ProtobufCBinaryData seed; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_seed; + ProtobufCBinaryData seed; }; struct Wa__SenderKeyStateStructure__SenderMessageKey : public ProtobufCppMessage { - Wa__SenderKeyStateStructure__SenderMessageKey() : - ProtobufCppMessage(wa__sender_key_state_structure__sender_message_key__descriptor) - {} + Wa__SenderKeyStateStructure__SenderMessageKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_message_key__descriptor) + {} - protobuf_c_boolean has_iteration; - uint32_t iteration; - protobuf_c_boolean has_seed; - ProtobufCBinaryData seed; + protobuf_c_boolean has_iteration; + uint32_t iteration; + protobuf_c_boolean has_seed; + ProtobufCBinaryData seed; }; struct Wa__SenderKeyStateStructure__SenderSigningKey : public ProtobufCppMessage { - Wa__SenderKeyStateStructure__SenderSigningKey() : - ProtobufCppMessage(wa__sender_key_state_structure__sender_signing_key__descriptor) - {} + Wa__SenderKeyStateStructure__SenderSigningKey() : + ProtobufCppMessage(wa__sender_key_state_structure__sender_signing_key__descriptor) + {} - protobuf_c_boolean has_public_; - ProtobufCBinaryData public_; - protobuf_c_boolean has_private_; - ProtobufCBinaryData private_; + protobuf_c_boolean has_public_; + ProtobufCBinaryData public_; + protobuf_c_boolean has_private_; + ProtobufCBinaryData private_; }; struct Wa__SenderKeyStateStructure : public ProtobufCppMessage { - protobuf_c_boolean has_senderkeyid; - uint32_t senderkeyid; - Wa__SenderKeyStateStructure__SenderChainKey *senderchainkey; - Wa__SenderKeyStateStructure__SenderSigningKey *sendersigningkey; - size_t n_sendermessagekeys; - Wa__SenderKeyStateStructure__SenderMessageKey **sendermessagekeys; + Wa__SenderKeyStateStructure() : + ProtobufCppMessage(wa__sender_key_state_structure__descriptor) + {} + + protobuf_c_boolean has_senderkeyid; + uint32_t senderkeyid; + Wa__SenderKeyStateStructure__SenderChainKey *senderchainkey; + Wa__SenderKeyStateStructure__SenderSigningKey *sendersigningkey; + size_t n_sendermessagekeys; + Wa__SenderKeyStateStructure__SenderMessageKey **sendermessagekeys; }; struct Wa__ServerErrorReceipt : public ProtobufCppMessage { - char *stanzaid; + Wa__ServerErrorReceipt() : + ProtobufCppMessage(wa__server_error_receipt__descriptor) + {} + + char *stanzaid; }; struct Wa__SessionStructure__Chain__ChainKey : public ProtobufCppMessage { - protobuf_c_boolean has_index; - uint32_t index; - protobuf_c_boolean has_key; - ProtobufCBinaryData key; + Wa__SessionStructure__Chain__ChainKey() : + ProtobufCppMessage(wa__session_structure__chain__chain_key__descriptor) + {} + + protobuf_c_boolean has_index; + uint32_t index; + protobuf_c_boolean has_key; + ProtobufCBinaryData key; }; struct Wa__SessionStructure__Chain__MessageKey : public ProtobufCppMessage { - protobuf_c_boolean has_index; - uint32_t index; - protobuf_c_boolean has_cipherkey; - ProtobufCBinaryData cipherkey; - protobuf_c_boolean has_mackey; - ProtobufCBinaryData mackey; - protobuf_c_boolean has_iv; - ProtobufCBinaryData iv; + Wa__SessionStructure__Chain__MessageKey() : + ProtobufCppMessage(wa__session_structure__chain__message_key__descriptor) + {} + + protobuf_c_boolean has_index; + uint32_t index; + protobuf_c_boolean has_cipherkey; + ProtobufCBinaryData cipherkey; + protobuf_c_boolean has_mackey; + ProtobufCBinaryData mackey; + protobuf_c_boolean has_iv; + ProtobufCBinaryData iv; }; struct Wa__SessionStructure__Chain : public ProtobufCppMessage { - protobuf_c_boolean has_senderratchetkey; - ProtobufCBinaryData senderratchetkey; - protobuf_c_boolean has_senderratchetkeyprivate; - ProtobufCBinaryData senderratchetkeyprivate; - Wa__SessionStructure__Chain__ChainKey *chainkey; - size_t n_messagekeys; - Wa__SessionStructure__Chain__MessageKey **messagekeys; + Wa__SessionStructure__Chain() : + ProtobufCppMessage(wa__session_structure__chain__descriptor) + {} + + protobuf_c_boolean has_senderratchetkey; + ProtobufCBinaryData senderratchetkey; + protobuf_c_boolean has_senderratchetkeyprivate; + ProtobufCBinaryData senderratchetkeyprivate; + Wa__SessionStructure__Chain__ChainKey *chainkey; + size_t n_messagekeys; + Wa__SessionStructure__Chain__MessageKey **messagekeys; }; struct Wa__SessionStructure__PendingKeyExchange : public ProtobufCppMessage { - protobuf_c_boolean has_sequence; - uint32_t sequence; - protobuf_c_boolean has_localbasekey; - ProtobufCBinaryData localbasekey; - protobuf_c_boolean has_localbasekeyprivate; - ProtobufCBinaryData localbasekeyprivate; - protobuf_c_boolean has_localratchetkey; - ProtobufCBinaryData localratchetkey; - protobuf_c_boolean has_localratchetkeyprivate; - ProtobufCBinaryData localratchetkeyprivate; - protobuf_c_boolean has_localidentitykey; - ProtobufCBinaryData localidentitykey; - protobuf_c_boolean has_localidentitykeyprivate; - ProtobufCBinaryData localidentitykeyprivate; + Wa__SessionStructure__PendingKeyExchange() : + ProtobufCppMessage(wa__session_structure__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__SessionStructure__PendingPreKey : public ProtobufCppMessage { - protobuf_c_boolean has_prekeyid; - uint32_t prekeyid; - protobuf_c_boolean has_signedprekeyid; - int32_t signedprekeyid; - protobuf_c_boolean has_basekey; - ProtobufCBinaryData basekey; + Wa__SessionStructure__PendingPreKey() : + ProtobufCppMessage(wa__session_structure__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__SessionStructure : 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__SessionStructure__Chain *senderchain; - size_t n_receiverchains; - Wa__SessionStructure__Chain **receiverchains; - Wa__SessionStructure__PendingKeyExchange *pendingkeyexchange; - Wa__SessionStructure__PendingPreKey *pendingprekey; - protobuf_c_boolean has_remoteregistrationid; - uint32_t remoteregistrationid; - protobuf_c_boolean has_localregistrationid; - uint32_t localregistrationid; - protobuf_c_boolean has_needsrefresh; - protobuf_c_boolean needsrefresh; - protobuf_c_boolean has_alicebasekey; - ProtobufCBinaryData alicebasekey; + 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__SessionStructure__Chain *senderchain; + size_t n_receiverchains; + Wa__SessionStructure__Chain **receiverchains; + Wa__SessionStructure__PendingKeyExchange *pendingkeyexchange; + Wa__SessionStructure__PendingPreKey *pendingprekey; + protobuf_c_boolean has_remoteregistrationid; + uint32_t remoteregistrationid; + protobuf_c_boolean has_localregistrationid; + uint32_t localregistrationid; + protobuf_c_boolean has_needsrefresh; + protobuf_c_boolean needsrefresh; + protobuf_c_boolean has_alicebasekey; + ProtobufCBinaryData alicebasekey; }; struct Wa__SignalMessage : public ProtobufCppMessage { - protobuf_c_boolean has_ratchetkey; - ProtobufCBinaryData ratchetkey; - protobuf_c_boolean has_counter; - uint32_t counter; - protobuf_c_boolean has_previouscounter; - uint32_t previouscounter; - protobuf_c_boolean has_ciphertext; - ProtobufCBinaryData ciphertext; + Wa__SignalMessage() : + ProtobufCppMessage(wa__signal_message__descriptor) + {} + + protobuf_c_boolean has_ratchetkey; + ProtobufCBinaryData ratchetkey; + protobuf_c_boolean has_counter; + uint32_t counter; + protobuf_c_boolean has_previouscounter; + uint32_t previouscounter; + protobuf_c_boolean has_ciphertext; + ProtobufCBinaryData ciphertext; }; struct Wa__SignedPreKeyRecordStructure : public ProtobufCppMessage { - protobuf_c_boolean has_id; - uint32_t id; - protobuf_c_boolean has_publickey; - ProtobufCBinaryData publickey; - protobuf_c_boolean has_privatekey; - ProtobufCBinaryData privatekey; - protobuf_c_boolean has_signature; - ProtobufCBinaryData signature; - protobuf_c_boolean has_timestamp; - uint64_t timestamp; + 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__StatusPSA : public ProtobufCppMessage { - Wa__StatusPSA() : - ProtobufCppMessage(wa__status_psa__descriptor) - {} + Wa__StatusPSA() : + ProtobufCppMessage(wa__status_psa__descriptor) + {} - uint64_t campaignid; - protobuf_c_boolean has_campaignexpirationtimestamp; - uint64_t campaignexpirationtimestamp; + uint64_t campaignid; + protobuf_c_boolean has_campaignexpirationtimestamp; + uint64_t campaignexpirationtimestamp; }; struct Wa__StickerMetadata : public ProtobufCppMessage { - 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; - protobuf_c_boolean has_laststickersentts; - int64_t laststickersentts; + 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; + protobuf_c_boolean has_laststickersentts; + int64_t laststickersentts; }; struct Wa__SyncActionData : public ProtobufCppMessage { - Wa__SyncActionData() : - ProtobufCppMessage(wa__sync_action_data__descriptor) - {} + 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; + 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__AgentAction : public ProtobufCppMessage { - Wa__SyncActionValue__AgentAction() : - ProtobufCppMessage(wa__sync_action_value__agent_action__descriptor) - {} + 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; + char *name; + protobuf_c_boolean has_deviceid; + int32_t deviceid; + protobuf_c_boolean has_isdeleted; + protobuf_c_boolean isdeleted; }; struct Wa__SyncActionValue__AndroidUnsupportedActions : public ProtobufCppMessage { - Wa__SyncActionValue__AndroidUnsupportedActions() : - ProtobufCppMessage(wa__sync_action_value__android_unsupported_actions__descriptor) - {} + Wa__SyncActionValue__AndroidUnsupportedActions() : + ProtobufCppMessage(wa__sync_action_value__android_unsupported_actions__descriptor) + {} - protobuf_c_boolean has_allowed; - protobuf_c_boolean allowed; + protobuf_c_boolean has_allowed; + protobuf_c_boolean allowed; }; struct Wa__SyncActionValue__ArchiveChatAction : public ProtobufCppMessage { - Wa__SyncActionValue__ArchiveChatAction() : - ProtobufCppMessage(wa__sync_action_value__archive_chat_action__descriptor) - {} + 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; + protobuf_c_boolean has_archived; + protobuf_c_boolean archived; + Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; struct Wa__SyncActionValue__ChatAssignmentAction : public ProtobufCppMessage { - char *deviceagentid; + Wa__SyncActionValue__ChatAssignmentAction() : + ProtobufCppMessage(wa__sync_action_value__chat_assignment_action__descriptor) + {} + + char *deviceagentid; }; struct Wa__SyncActionValue__ChatAssignmentOpenedStatusAction : public ProtobufCppMessage { - protobuf_c_boolean has_chatopened; - protobuf_c_boolean chatopened; + Wa__SyncActionValue__ChatAssignmentOpenedStatusAction() : + ProtobufCppMessage(wa__sync_action_value__chat_assignment_opened_status_action__descriptor) + {} + + protobuf_c_boolean has_chatopened; + protobuf_c_boolean chatopened; }; struct Wa__SyncActionValue__ClearChatAction : public ProtobufCppMessage { - Wa__SyncActionValue__SyncActionMessageRange *messagerange; + Wa__SyncActionValue__ClearChatAction() : + ProtobufCppMessage(wa__sync_action_value__clear_chat_action__descriptor) + {} + + Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; struct Wa__SyncActionValue__ContactAction : public ProtobufCppMessage { - Wa__SyncActionValue__ContactAction() : - ProtobufCppMessage(wa__sync_action_value__contact_action__descriptor) - {} + Wa__SyncActionValue__ContactAction() : + ProtobufCppMessage(wa__sync_action_value__contact_action__descriptor) + {} - char *fullname; - char *firstname; - char *lidjid; + char *fullname; + char *firstname; + char *lidjid; }; struct Wa__SyncActionValue__DeleteChatAction : public ProtobufCppMessage { - Wa__SyncActionValue__DeleteChatAction() : - ProtobufCppMessage(wa__sync_action_value__delete_chat_action__descriptor) - {} + Wa__SyncActionValue__DeleteChatAction() : + ProtobufCppMessage(wa__sync_action_value__delete_chat_action__descriptor) + {} - Wa__SyncActionValue__SyncActionMessageRange *messagerange; + Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; struct Wa__SyncActionValue__DeleteMessageForMeAction : public ProtobufCppMessage { - Wa__SyncActionValue__DeleteMessageForMeAction() : - ProtobufCppMessage(wa__sync_action_value__delete_message_for_me_action__descriptor) - {} + 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; + protobuf_c_boolean has_deletemedia; + protobuf_c_boolean deletemedia; + protobuf_c_boolean has_messagetimestamp; + int64_t messagetimestamp; }; struct Wa__SyncActionValue__ExternalWebBetaAction : public ProtobufCppMessage { - protobuf_c_boolean has_isoptin; - protobuf_c_boolean isoptin; + Wa__SyncActionValue__ExternalWebBetaAction() : + ProtobufCppMessage(wa__sync_action_value__external_web_beta_action__descriptor) + {} + + protobuf_c_boolean has_isoptin; + protobuf_c_boolean isoptin; }; struct Wa__SyncActionValue__KeyExpiration : public ProtobufCppMessage { - protobuf_c_boolean has_expiredkeyepoch; - int32_t expiredkeyepoch; + Wa__SyncActionValue__KeyExpiration() : + ProtobufCppMessage(wa__sync_action_value__key_expiration__descriptor) + {} + + protobuf_c_boolean has_expiredkeyepoch; + int32_t expiredkeyepoch; }; struct Wa__SyncActionValue__LabelAssociationAction : public ProtobufCppMessage { - Wa__SyncActionValue__LabelAssociationAction() : - ProtobufCppMessage(wa__sync_action_value__label_association_action__descriptor) - {} + Wa__SyncActionValue__LabelAssociationAction() : + ProtobufCppMessage(wa__sync_action_value__label_association_action__descriptor) + {} - protobuf_c_boolean has_labeled; - protobuf_c_boolean labeled; + protobuf_c_boolean has_labeled; + protobuf_c_boolean labeled; }; struct Wa__SyncActionValue__LabelEditAction : public ProtobufCppMessage { - Wa__SyncActionValue__LabelEditAction() : - ProtobufCppMessage(wa__sync_action_value__label_edit_action__descriptor) - {} + 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; + 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__LocaleSetting : public ProtobufCppMessage { - Wa__SyncActionValue__LocaleSetting() : - ProtobufCppMessage(wa__sync_action_value__locale_setting__descriptor) - {} + Wa__SyncActionValue__LocaleSetting() : + ProtobufCppMessage(wa__sync_action_value__locale_setting__descriptor) + {} - char *locale; + char *locale; }; struct Wa__SyncActionValue__MarkChatAsReadAction : public ProtobufCppMessage { - Wa__SyncActionValue__MarkChatAsReadAction() : - ProtobufCppMessage(wa__sync_action_value__mark_chat_as_read_action__descriptor) - {} + 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; + protobuf_c_boolean has_read; + protobuf_c_boolean read; + Wa__SyncActionValue__SyncActionMessageRange *messagerange; }; struct Wa__SyncActionValue__MarketingMessageAction : public ProtobufCppMessage { - char *name; - char *message; - protobuf_c_boolean has_type; - Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType type; - protobuf_c_boolean has_createdat; - int64_t createdat; - protobuf_c_boolean has_lastsentat; - int64_t lastsentat; - protobuf_c_boolean has_isdeleted; - protobuf_c_boolean isdeleted; - char *mediaid; + Wa__SyncActionValue__MarketingMessageAction() : + ProtobufCppMessage(wa__sync_action_value__marketing_message_action__descriptor) + {} + + char *name; + char *message; + protobuf_c_boolean has_type; + Wa__SyncActionValue__MarketingMessageAction__MarketingMessagePrototypeType type; + protobuf_c_boolean has_createdat; + int64_t createdat; + protobuf_c_boolean has_lastsentat; + int64_t lastsentat; + protobuf_c_boolean has_isdeleted; + protobuf_c_boolean isdeleted; + char *mediaid; }; struct Wa__SyncActionValue__MarketingMessageBroadcastAction : public ProtobufCppMessage { - protobuf_c_boolean has_repliedcount; - int32_t repliedcount; + Wa__SyncActionValue__MarketingMessageBroadcastAction() : + ProtobufCppMessage(wa__sync_action_value__marketing_message_broadcast_action__descriptor) + {} + + protobuf_c_boolean has_repliedcount; + int32_t repliedcount; }; struct Wa__SyncActionValue__MuteAction : public ProtobufCppMessage { - protobuf_c_boolean has_muted; - protobuf_c_boolean muted; - protobuf_c_boolean has_muteendtimestamp; - int64_t muteendtimestamp; - protobuf_c_boolean has_automuted; - protobuf_c_boolean automuted; + 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; + protobuf_c_boolean has_automuted; + protobuf_c_boolean automuted; }; struct Wa__SyncActionValue__NuxAction : public ProtobufCppMessage { - Wa__SyncActionValue__NuxAction() : - ProtobufCppMessage(wa__sync_action_value__nux_action__descriptor) - {} + Wa__SyncActionValue__NuxAction() : + ProtobufCppMessage(wa__sync_action_value__nux_action__descriptor) + {} - protobuf_c_boolean has_acknowledged; - protobuf_c_boolean acknowledged; + protobuf_c_boolean has_acknowledged; + protobuf_c_boolean acknowledged; }; struct Wa__SyncActionValue__PinAction : public ProtobufCppMessage { - Wa__SyncActionValue__PinAction() : - ProtobufCppMessage(wa__sync_action_value__pin_action__descriptor) - {} + Wa__SyncActionValue__PinAction() : + ProtobufCppMessage(wa__sync_action_value__pin_action__descriptor) + {} - protobuf_c_boolean has_pinned; - protobuf_c_boolean pinned; + protobuf_c_boolean has_pinned; + protobuf_c_boolean pinned; }; struct Wa__SyncActionValue__PnForLidChatAction : public ProtobufCppMessage { - char *pnjid; + Wa__SyncActionValue__PnForLidChatAction() : + ProtobufCppMessage(wa__sync_action_value__pn_for_lid_chat_action__descriptor) + {} + + char *pnjid; }; struct Wa__SyncActionValue__PrimaryFeature : public ProtobufCppMessage { - size_t n_flags; - char **flags; + Wa__SyncActionValue__PrimaryFeature() : + ProtobufCppMessage(wa__sync_action_value__primary_feature__descriptor) + {} + + size_t n_flags; + char **flags; }; struct Wa__SyncActionValue__PrimaryVersionAction : public ProtobufCppMessage { - Wa__SyncActionValue__PrimaryVersionAction() : - ProtobufCppMessage(wa__sync_action_value__primary_version_action__descriptor) - {} + Wa__SyncActionValue__PrimaryVersionAction() : + ProtobufCppMessage(wa__sync_action_value__primary_version_action__descriptor) + {} - char *version; + char *version; }; struct Wa__SyncActionValue__PrivacySettingRelayAllCalls : public ProtobufCppMessage { - protobuf_c_boolean has_isenabled; - protobuf_c_boolean isenabled; + Wa__SyncActionValue__PrivacySettingRelayAllCalls() : + ProtobufCppMessage(wa__sync_action_value__privacy_setting_relay_all_calls__descriptor) + {} + + protobuf_c_boolean has_isenabled; + protobuf_c_boolean isenabled; }; struct Wa__SyncActionValue__PushNameSetting : public ProtobufCppMessage { - char *name; + Wa__SyncActionValue__PushNameSetting() : + ProtobufCppMessage(wa__sync_action_value__push_name_setting__descriptor) + {} + + char *name; }; struct Wa__SyncActionValue__QuickReplyAction : public ProtobufCppMessage { - Wa__SyncActionValue__QuickReplyAction() : - ProtobufCppMessage(wa__sync_action_value__quick_reply_action__descriptor) - {} + 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; + 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__RecentEmojiWeightsAction : public ProtobufCppMessage { - Wa__SyncActionValue__RecentEmojiWeightsAction() : - ProtobufCppMessage(wa__sync_action_value__recent_emoji_weights_action__descriptor) - {} + Wa__SyncActionValue__RecentEmojiWeightsAction() : + ProtobufCppMessage(wa__sync_action_value__recent_emoji_weights_action__descriptor) + {} - size_t n_weights; - Wa__RecentEmojiWeight **weights; + size_t n_weights; + Wa__RecentEmojiWeight **weights; }; struct Wa__SyncActionValue__RemoveRecentStickerAction : public ProtobufCppMessage { - protobuf_c_boolean has_laststickersentts; - int64_t laststickersentts; + Wa__SyncActionValue__RemoveRecentStickerAction() : + ProtobufCppMessage(wa__sync_action_value__remove_recent_sticker_action__descriptor) + {} + + protobuf_c_boolean has_laststickersentts; + int64_t laststickersentts; }; struct Wa__SyncActionValue__SecurityNotificationSetting : public ProtobufCppMessage { - protobuf_c_boolean has_shownotification; - protobuf_c_boolean shownotification; + Wa__SyncActionValue__SecurityNotificationSetting() : + ProtobufCppMessage(wa__sync_action_value__security_notification_setting__descriptor) + {} + + protobuf_c_boolean has_shownotification; + protobuf_c_boolean shownotification; }; struct Wa__SyncActionValue__StarAction : public ProtobufCppMessage { - Wa__SyncActionValue__StarAction() : - ProtobufCppMessage(wa__sync_action_value__star_action__descriptor) - {} + Wa__SyncActionValue__StarAction() : + ProtobufCppMessage(wa__sync_action_value__star_action__descriptor) + {} - protobuf_c_boolean has_starred; - protobuf_c_boolean starred; + protobuf_c_boolean has_starred; + protobuf_c_boolean starred; }; struct Wa__SyncActionValue__StickerAction : public ProtobufCppMessage { - 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; + 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__SubscriptionAction : public ProtobufCppMessage { - Wa__SyncActionValue__SubscriptionAction() : - ProtobufCppMessage(wa__sync_action_value__subscription_action__descriptor) - {} + 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; + 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 ProtobufCppMessage { - Wa__MessageKey *key; - protobuf_c_boolean has_timestamp; - int64_t timestamp; + 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__SyncActionMessageRange : 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; + 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 ProtobufCppMessage { - Wa__SyncActionValue__TimeFormatAction() : - ProtobufCppMessage(wa__sync_action_value__time_format_action__descriptor) - {} + Wa__SyncActionValue__TimeFormatAction() : + ProtobufCppMessage(wa__sync_action_value__time_format_action__descriptor) + {} - protobuf_c_boolean has_istwentyfourhourformatenabled; - protobuf_c_boolean istwentyfourhourformatenabled; + protobuf_c_boolean has_istwentyfourhourformatenabled; + protobuf_c_boolean istwentyfourhourformatenabled; }; struct Wa__SyncActionValue__UnarchiveChatsSetting : public ProtobufCppMessage { - Wa__SyncActionValue__UnarchiveChatsSetting() : - ProtobufCppMessage(wa__sync_action_value__unarchive_chats_setting__descriptor) - {} + Wa__SyncActionValue__UnarchiveChatsSetting() : + ProtobufCppMessage(wa__sync_action_value__unarchive_chats_setting__descriptor) + {} - protobuf_c_boolean has_unarchivechats; - protobuf_c_boolean unarchivechats; + protobuf_c_boolean has_unarchivechats; + protobuf_c_boolean unarchivechats; }; struct Wa__SyncActionValue__UserStatusMuteAction : public ProtobufCppMessage { - Wa__SyncActionValue__UserStatusMuteAction() : - ProtobufCppMessage(wa__sync_action_value__user_status_mute_action__descriptor) - {} + Wa__SyncActionValue__UserStatusMuteAction() : + ProtobufCppMessage(wa__sync_action_value__user_status_mute_action__descriptor) + {} - protobuf_c_boolean has_muted; - protobuf_c_boolean muted; + protobuf_c_boolean has_muted; + protobuf_c_boolean muted; }; struct Wa__SyncActionValue : public ProtobufCppMessage { - 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; - Wa__SyncActionValue__RemoveRecentStickerAction *removerecentstickeraction; - Wa__SyncActionValue__ChatAssignmentAction *chatassignment; - Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *chatassignmentopenedstatus; - Wa__SyncActionValue__PnForLidChatAction *pnforlidchataction; - Wa__SyncActionValue__MarketingMessageAction *marketingmessageaction; - Wa__SyncActionValue__MarketingMessageBroadcastAction *marketingmessagebroadcastaction; - Wa__SyncActionValue__ExternalWebBetaAction *externalwebbetaaction; - Wa__SyncActionValue__PrivacySettingRelayAllCalls *privacysettingrelayallcalls; + 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; + Wa__SyncActionValue__RemoveRecentStickerAction *removerecentstickeraction; + Wa__SyncActionValue__ChatAssignmentAction *chatassignment; + Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *chatassignmentopenedstatus; + Wa__SyncActionValue__PnForLidChatAction *pnforlidchataction; + Wa__SyncActionValue__MarketingMessageAction *marketingmessageaction; + Wa__SyncActionValue__MarketingMessageBroadcastAction *marketingmessagebroadcastaction; + Wa__SyncActionValue__ExternalWebBetaAction *externalwebbetaaction; + Wa__SyncActionValue__PrivacySettingRelayAllCalls *privacysettingrelayallcalls; }; struct Wa__SyncdIndex : public ProtobufCppMessage { - Wa__SyncdIndex() : - ProtobufCppMessage(wa__syncd_index__descriptor) - {} + Wa__SyncdIndex() : + ProtobufCppMessage(wa__syncd_index__descriptor) + {} - protobuf_c_boolean has_blob; - ProtobufCBinaryData blob; + protobuf_c_boolean has_blob; + ProtobufCBinaryData blob; }; struct Wa__SyncdMutation : public ProtobufCppMessage { - Wa__SyncdMutation() : - ProtobufCppMessage(wa__syncd_mutation__descriptor) - {} + Wa__SyncdMutation() : + ProtobufCppMessage(wa__syncd_mutation__descriptor) + {} - protobuf_c_boolean has_operation; - Wa__SyncdMutation__SyncdOperation operation; - Wa__SyncdRecord *record; + protobuf_c_boolean has_operation; + Wa__SyncdMutation__SyncdOperation operation; + Wa__SyncdRecord *record; }; struct Wa__SyncdMutations : public ProtobufCppMessage { - Wa__SyncdMutations() : - ProtobufCppMessage(wa__syncd_mutations__descriptor) - {} + Wa__SyncdMutations() : + ProtobufCppMessage(wa__syncd_mutations__descriptor) + {} - size_t n_mutations; - Wa__SyncdMutation **mutations; + size_t n_mutations; + Wa__SyncdMutation **mutations; }; struct Wa__SyncdPatch : public ProtobufCppMessage { - Wa__SyncdPatch() : - ProtobufCppMessage(wa__syncd_patch__descriptor) - {} + 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; + 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__SyncdRecord : public ProtobufCppMessage { - Wa__SyncdRecord() : - ProtobufCppMessage(wa__syncd_record__descriptor) - {} + Wa__SyncdRecord() : + ProtobufCppMessage(wa__syncd_record__descriptor) + {} - Wa__SyncdIndex *index; - Wa__SyncdValue *value; - Wa__KeyId *keyid; + Wa__SyncdIndex *index; + Wa__SyncdValue *value; + Wa__KeyId *keyid; }; struct Wa__SyncdSnapshot : public ProtobufCppMessage { - Wa__SyncdSnapshot() : - ProtobufCppMessage(wa__syncd_snapshot__descriptor) - {} + 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; + Wa__SyncdVersion *version; + size_t n_records; + Wa__SyncdRecord **records; + protobuf_c_boolean has_mac; + ProtobufCBinaryData mac; + Wa__KeyId *keyid; }; struct Wa__SyncdValue : public ProtobufCppMessage { - Wa__SyncdValue() : - ProtobufCppMessage(wa__syncd_value__descriptor) - {} + Wa__SyncdValue() : + ProtobufCppMessage(wa__syncd_value__descriptor) + {} - protobuf_c_boolean has_blob; - ProtobufCBinaryData blob; + protobuf_c_boolean has_blob; + ProtobufCBinaryData blob; }; struct Wa__SyncdVersion : public ProtobufCppMessage { - Wa__SyncdVersion() : - ProtobufCppMessage(wa__syncd_version__descriptor) - {} + Wa__SyncdVersion() : + ProtobufCppMessage(wa__syncd_version__descriptor) + {} - protobuf_c_boolean has_version; - uint64_t version; + protobuf_c_boolean has_version; + uint64_t version; }; struct Wa__TemplateButton__CallButton : public ProtobufCppMessage { - Wa__TemplateButton__CallButton() : - ProtobufCppMessage(wa__template_button__call_button__descriptor) - {} + Wa__TemplateButton__CallButton() : + ProtobufCppMessage(wa__template_button__call_button__descriptor) + {} - Wa__Message__HighlyStructuredMessage *displaytext; - Wa__Message__HighlyStructuredMessage *phonenumber; + Wa__Message__HighlyStructuredMessage *displaytext; + Wa__Message__HighlyStructuredMessage *phonenumber; }; struct Wa__TemplateButton__QuickReplyButton : public ProtobufCppMessage { - Wa__TemplateButton__QuickReplyButton() : - ProtobufCppMessage(wa__template_button__quick_reply_button__descriptor) - {} + Wa__TemplateButton__QuickReplyButton() : + ProtobufCppMessage(wa__template_button__quick_reply_button__descriptor) + {} - Wa__Message__HighlyStructuredMessage *displaytext; - char *id; + Wa__Message__HighlyStructuredMessage *displaytext; + char *id; }; struct Wa__TemplateButton__URLButton : public ProtobufCppMessage { - Wa__TemplateButton__URLButton() : - ProtobufCppMessage(wa__template_button__urlbutton__descriptor) - {} + Wa__TemplateButton__URLButton() : + ProtobufCppMessage(wa__template_button__urlbutton__descriptor) + {} - Wa__Message__HighlyStructuredMessage *displaytext; - Wa__Message__HighlyStructuredMessage *url; + Wa__Message__HighlyStructuredMessage *displaytext; + Wa__Message__HighlyStructuredMessage *url; }; -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__CASE) +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__CASE) } Wa__TemplateButton__ButtonCase; struct Wa__TemplateButton : public ProtobufCppMessage { - Wa__TemplateButton() : - ProtobufCppMessage(wa__template_button__descriptor) - {} + 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; - }; + 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) - {} + 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; + 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) - {} + 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; + 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) - {} + 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; + 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) - {} + Wa__WallpaperSettings() : + ProtobufCppMessage(wa__wallpaper_settings__descriptor) + {} - char *filename; - protobuf_c_boolean has_opacity; - uint32_t opacity; + 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; + 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; - Wa__PinInChat *pininchat; + 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; + Wa__PinInChat *pininchat; }; struct Wa__WebNotificationsInfo : public ProtobufCppMessage { - Wa__WebNotificationsInfo() : - ProtobufCppMessage(wa__web_notifications_info__descriptor) - {} + 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; + 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); size_t wa__advdevice_identity__get_packed_size (const Wa__ADVDeviceIdentity *message); size_t wa__advdevice_identity__pack @@ -5472,9 +5556,6 @@ Wa__ADVDeviceIdentity * void wa__advdevice_identity__free_unpacked (Wa__ADVDeviceIdentity *message, ProtobufCAllocator *allocator); -/* Wa__ADVKeyIndexList methods */ -void wa__advkey_index_list__init - (Wa__ADVKeyIndexList *message); size_t wa__advkey_index_list__get_packed_size (const Wa__ADVKeyIndexList *message); size_t wa__advkey_index_list__pack @@ -5491,9 +5572,6 @@ Wa__ADVKeyIndexList * void wa__advkey_index_list__free_unpacked (Wa__ADVKeyIndexList *message, ProtobufCAllocator *allocator); -/* Wa__ADVSignedDeviceIdentity methods */ -void wa__advsigned_device_identity__init - (Wa__ADVSignedDeviceIdentity *message); size_t wa__advsigned_device_identity__get_packed_size (const Wa__ADVSignedDeviceIdentity *message); size_t wa__advsigned_device_identity__pack @@ -5510,9 +5588,6 @@ Wa__ADVSignedDeviceIdentity * void wa__advsigned_device_identity__free_unpacked (Wa__ADVSignedDeviceIdentity *message, ProtobufCAllocator *allocator); -/* Wa__ADVSignedDeviceIdentityHMAC methods */ -void wa__advsigned_device_identity_hmac__init - (Wa__ADVSignedDeviceIdentityHMAC *message); size_t wa__advsigned_device_identity_hmac__get_packed_size (const Wa__ADVSignedDeviceIdentityHMAC *message); size_t wa__advsigned_device_identity_hmac__pack @@ -5529,9 +5604,6 @@ Wa__ADVSignedDeviceIdentityHMAC * void wa__advsigned_device_identity_hmac__free_unpacked (Wa__ADVSignedDeviceIdentityHMAC *message, ProtobufCAllocator *allocator); -/* Wa__ADVSignedKeyIndexList methods */ -void wa__advsigned_key_index_list__init - (Wa__ADVSignedKeyIndexList *message); size_t wa__advsigned_key_index_list__get_packed_size (const Wa__ADVSignedKeyIndexList *message); size_t wa__advsigned_key_index_list__pack @@ -5548,9 +5620,6 @@ Wa__ADVSignedKeyIndexList * void wa__advsigned_key_index_list__free_unpacked (Wa__ADVSignedKeyIndexList *message, ProtobufCAllocator *allocator); -/* Wa__ActionLink methods */ -void wa__action_link__init - (Wa__ActionLink *message); size_t wa__action_link__get_packed_size (const Wa__ActionLink *message); size_t wa__action_link__pack @@ -5567,9 +5636,6 @@ Wa__ActionLink * void wa__action_link__free_unpacked (Wa__ActionLink *message, ProtobufCAllocator *allocator); -/* Wa__AutoDownloadSettings methods */ -void wa__auto_download_settings__init - (Wa__AutoDownloadSettings *message); size_t wa__auto_download_settings__get_packed_size (const Wa__AutoDownloadSettings *message); size_t wa__auto_download_settings__pack @@ -5586,9 +5652,6 @@ Wa__AutoDownloadSettings * void wa__auto_download_settings__free_unpacked (Wa__AutoDownloadSettings *message, ProtobufCAllocator *allocator); -/* Wa__AvatarUserSettings methods */ -void wa__avatar_user_settings__init - (Wa__AvatarUserSettings *message); size_t wa__avatar_user_settings__get_packed_size (const Wa__AvatarUserSettings *message); size_t wa__avatar_user_settings__pack @@ -5605,9 +5668,6 @@ Wa__AvatarUserSettings * void wa__avatar_user_settings__free_unpacked (Wa__AvatarUserSettings *message, ProtobufCAllocator *allocator); -/* Wa__BizAccountLinkInfo methods */ -void wa__biz_account_link_info__init - (Wa__BizAccountLinkInfo *message); size_t wa__biz_account_link_info__get_packed_size (const Wa__BizAccountLinkInfo *message); size_t wa__biz_account_link_info__pack @@ -5624,9 +5684,6 @@ Wa__BizAccountLinkInfo * void wa__biz_account_link_info__free_unpacked (Wa__BizAccountLinkInfo *message, ProtobufCAllocator *allocator); -/* Wa__BizAccountPayload methods */ -void wa__biz_account_payload__init - (Wa__BizAccountPayload *message); size_t wa__biz_account_payload__get_packed_size (const Wa__BizAccountPayload *message); size_t wa__biz_account_payload__pack @@ -5643,9 +5700,6 @@ Wa__BizAccountPayload * void wa__biz_account_payload__free_unpacked (Wa__BizAccountPayload *message, ProtobufCAllocator *allocator); -/* Wa__BizIdentityInfo methods */ -void wa__biz_identity_info__init - (Wa__BizIdentityInfo *message); size_t wa__biz_identity_info__get_packed_size (const Wa__BizIdentityInfo *message); size_t wa__biz_identity_info__pack @@ -5662,15 +5716,6 @@ Wa__BizIdentityInfo * void wa__biz_identity_info__free_unpacked (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 methods */ -void wa__cert_chain__noise_certificate__init - (Wa__CertChain__NoiseCertificate *message); -/* Wa__CertChain methods */ -void wa__cert_chain__init - (Wa__CertChain *message); size_t wa__cert_chain__get_packed_size (const Wa__CertChain *message); size_t wa__cert_chain__pack @@ -5687,30 +5732,6 @@ Wa__CertChain * void wa__cert_chain__free_unpacked (Wa__CertChain *message, ProtobufCAllocator *allocator); -/* Wa__ClientPayload__DNSSource methods */ -void wa__client_payload__dnssource__init - (Wa__ClientPayload__DNSSource *message); -/* Wa__ClientPayload__DevicePairingRegistrationData methods */ -void wa__client_payload__device_pairing_registration_data__init - (Wa__ClientPayload__DevicePairingRegistrationData *message); -/* Wa__ClientPayload__InteropData methods */ -void wa__client_payload__interop_data__init - (Wa__ClientPayload__InteropData *message); -/* Wa__ClientPayload__UserAgent__AppVersion methods */ -void wa__client_payload__user_agent__app_version__init - (Wa__ClientPayload__UserAgent__AppVersion *message); -/* Wa__ClientPayload__UserAgent methods */ -void wa__client_payload__user_agent__init - (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 methods */ -void wa__client_payload__web_info__init - (Wa__ClientPayload__WebInfo *message); -/* Wa__ClientPayload methods */ -void wa__client_payload__init - (Wa__ClientPayload *message); size_t wa__client_payload__get_packed_size (const Wa__ClientPayload *message); size_t wa__client_payload__pack @@ -5727,18 +5748,6 @@ Wa__ClientPayload * void wa__client_payload__free_unpacked (Wa__ClientPayload *message, ProtobufCAllocator *allocator); -/* Wa__ContextInfo__AdReplyInfo methods */ -void wa__context_info__ad_reply_info__init - (Wa__ContextInfo__AdReplyInfo *message); -/* Wa__ContextInfo__ExternalAdReplyInfo methods */ -void wa__context_info__external_ad_reply_info__init - (Wa__ContextInfo__ExternalAdReplyInfo *message); -/* Wa__ContextInfo__UTMInfo methods */ -void wa__context_info__utminfo__init - (Wa__ContextInfo__UTMInfo *message); -/* Wa__ContextInfo methods */ -void wa__context_info__init - (Wa__ContextInfo *message); size_t wa__context_info__get_packed_size (const Wa__ContextInfo *message); size_t wa__context_info__pack @@ -5755,9 +5764,6 @@ Wa__ContextInfo * void wa__context_info__free_unpacked (Wa__ContextInfo *message, ProtobufCAllocator *allocator); -/* Wa__Conversation methods */ -void wa__conversation__init - (Wa__Conversation *message); size_t wa__conversation__get_packed_size (const Wa__Conversation *message); size_t wa__conversation__pack @@ -5774,9 +5780,6 @@ Wa__Conversation * void wa__conversation__free_unpacked (Wa__Conversation *message, ProtobufCAllocator *allocator); -/* Wa__DeviceConsistencyCodeMessage methods */ -void wa__device_consistency_code_message__init - (Wa__DeviceConsistencyCodeMessage *message); size_t wa__device_consistency_code_message__get_packed_size (const Wa__DeviceConsistencyCodeMessage *message); size_t wa__device_consistency_code_message__pack @@ -5793,9 +5796,6 @@ Wa__DeviceConsistencyCodeMessage * void wa__device_consistency_code_message__free_unpacked (Wa__DeviceConsistencyCodeMessage *message, ProtobufCAllocator *allocator); -/* Wa__DeviceListMetadata methods */ -void wa__device_list_metadata__init - (Wa__DeviceListMetadata *message); size_t wa__device_list_metadata__get_packed_size (const Wa__DeviceListMetadata *message); size_t wa__device_list_metadata__pack @@ -5812,15 +5812,6 @@ Wa__DeviceListMetadata * void wa__device_list_metadata__free_unpacked (Wa__DeviceListMetadata *message, ProtobufCAllocator *allocator); -/* Wa__DeviceProps__AppVersion methods */ -void wa__device_props__app_version__init - (Wa__DeviceProps__AppVersion *message); -/* Wa__DeviceProps__HistorySyncConfig methods */ -void wa__device_props__history_sync_config__init - (Wa__DeviceProps__HistorySyncConfig *message); -/* Wa__DeviceProps methods */ -void wa__device_props__init - (Wa__DeviceProps *message); size_t wa__device_props__get_packed_size (const Wa__DeviceProps *message); size_t wa__device_props__pack @@ -5837,9 +5828,6 @@ Wa__DeviceProps * void wa__device_props__free_unpacked (Wa__DeviceProps *message, ProtobufCAllocator *allocator); -/* Wa__DisappearingMode methods */ -void wa__disappearing_mode__init - (Wa__DisappearingMode *message); size_t wa__disappearing_mode__get_packed_size (const Wa__DisappearingMode *message); size_t wa__disappearing_mode__pack @@ -5856,9 +5844,6 @@ Wa__DisappearingMode * void wa__disappearing_mode__free_unpacked (Wa__DisappearingMode *message, ProtobufCAllocator *allocator); -/* Wa__EphemeralSetting methods */ -void wa__ephemeral_setting__init - (Wa__EphemeralSetting *message); size_t wa__ephemeral_setting__get_packed_size (const Wa__EphemeralSetting *message); size_t wa__ephemeral_setting__pack @@ -5875,9 +5860,6 @@ Wa__EphemeralSetting * void wa__ephemeral_setting__free_unpacked (Wa__EphemeralSetting *message, ProtobufCAllocator *allocator); -/* Wa__ExitCode methods */ -void wa__exit_code__init - (Wa__ExitCode *message); size_t wa__exit_code__get_packed_size (const Wa__ExitCode *message); size_t wa__exit_code__pack @@ -5894,9 +5876,6 @@ Wa__ExitCode * void wa__exit_code__free_unpacked (Wa__ExitCode *message, ProtobufCAllocator *allocator); -/* Wa__ExternalBlobReference methods */ -void wa__external_blob_reference__init - (Wa__ExternalBlobReference *message); size_t wa__external_blob_reference__get_packed_size (const Wa__ExternalBlobReference *message); size_t wa__external_blob_reference__pack @@ -5913,9 +5892,6 @@ Wa__ExternalBlobReference * void wa__external_blob_reference__free_unpacked (Wa__ExternalBlobReference *message, ProtobufCAllocator *allocator); -/* Wa__GlobalSettings methods */ -void wa__global_settings__init - (Wa__GlobalSettings *message); size_t wa__global_settings__get_packed_size (const Wa__GlobalSettings *message); size_t wa__global_settings__pack @@ -5932,9 +5908,6 @@ Wa__GlobalSettings * void wa__global_settings__free_unpacked (Wa__GlobalSettings *message, ProtobufCAllocator *allocator); -/* Wa__GroupMention methods */ -void wa__group_mention__init - (Wa__GroupMention *message); size_t wa__group_mention__get_packed_size (const Wa__GroupMention *message); size_t wa__group_mention__pack @@ -5951,9 +5924,6 @@ Wa__GroupMention * void wa__group_mention__free_unpacked (Wa__GroupMention *message, ProtobufCAllocator *allocator); -/* Wa__GroupParticipant methods */ -void wa__group_participant__init - (Wa__GroupParticipant *message); size_t wa__group_participant__get_packed_size (const Wa__GroupParticipant *message); size_t wa__group_participant__pack @@ -5970,18 +5940,6 @@ Wa__GroupParticipant * void wa__group_participant__free_unpacked (Wa__GroupParticipant *message, ProtobufCAllocator *allocator); -/* Wa__HandshakeMessage__ClientFinish methods */ -void wa__handshake_message__client_finish__init - (Wa__HandshakeMessage__ClientFinish *message); -/* Wa__HandshakeMessage__ClientHello methods */ -void wa__handshake_message__client_hello__init - (Wa__HandshakeMessage__ClientHello *message); -/* Wa__HandshakeMessage__ServerHello methods */ -void wa__handshake_message__server_hello__init - (Wa__HandshakeMessage__ServerHello *message); -/* Wa__HandshakeMessage methods */ -void wa__handshake_message__init - (Wa__HandshakeMessage *message); size_t wa__handshake_message__get_packed_size (const Wa__HandshakeMessage *message); size_t wa__handshake_message__pack @@ -5998,9 +5956,6 @@ Wa__HandshakeMessage * void wa__handshake_message__free_unpacked (Wa__HandshakeMessage *message, ProtobufCAllocator *allocator); -/* Wa__HistorySync methods */ -void wa__history_sync__init - (Wa__HistorySync *message); size_t wa__history_sync__get_packed_size (const Wa__HistorySync *message); size_t wa__history_sync__pack @@ -6017,9 +5972,6 @@ Wa__HistorySync * void wa__history_sync__free_unpacked (Wa__HistorySync *message, ProtobufCAllocator *allocator); -/* Wa__HistorySyncMsg methods */ -void wa__history_sync_msg__init - (Wa__HistorySyncMsg *message); size_t wa__history_sync_msg__get_packed_size (const Wa__HistorySyncMsg *message); size_t wa__history_sync_msg__pack @@ -6036,18 +5988,6 @@ Wa__HistorySyncMsg * void wa__history_sync_msg__free_unpacked (Wa__HistorySyncMsg *message, ProtobufCAllocator *allocator); -/* Wa__HydratedTemplateButton__HydratedCallButton methods */ -void wa__hydrated_template_button__hydrated_call_button__init - (Wa__HydratedTemplateButton__HydratedCallButton *message); -/* Wa__HydratedTemplateButton__HydratedQuickReplyButton methods */ -void wa__hydrated_template_button__hydrated_quick_reply_button__init - (Wa__HydratedTemplateButton__HydratedQuickReplyButton *message); -/* Wa__HydratedTemplateButton__HydratedURLButton methods */ -void wa__hydrated_template_button__hydrated_urlbutton__init - (Wa__HydratedTemplateButton__HydratedURLButton *message); -/* Wa__HydratedTemplateButton methods */ -void wa__hydrated_template_button__init - (Wa__HydratedTemplateButton *message); size_t wa__hydrated_template_button__get_packed_size (const Wa__HydratedTemplateButton *message); size_t wa__hydrated_template_button__pack @@ -6064,9 +6004,6 @@ Wa__HydratedTemplateButton * void wa__hydrated_template_button__free_unpacked (Wa__HydratedTemplateButton *message, ProtobufCAllocator *allocator); -/* Wa__IdentityKeyPairStructure methods */ -void wa__identity_key_pair_structure__init - (Wa__IdentityKeyPairStructure *message); size_t wa__identity_key_pair_structure__get_packed_size (const Wa__IdentityKeyPairStructure *message); size_t wa__identity_key_pair_structure__pack @@ -6083,9 +6020,6 @@ Wa__IdentityKeyPairStructure * void wa__identity_key_pair_structure__free_unpacked (Wa__IdentityKeyPairStructure *message, ProtobufCAllocator *allocator); -/* Wa__InteractiveAnnotation methods */ -void wa__interactive_annotation__init - (Wa__InteractiveAnnotation *message); size_t wa__interactive_annotation__get_packed_size (const Wa__InteractiveAnnotation *message); size_t wa__interactive_annotation__pack @@ -6102,9 +6036,6 @@ Wa__InteractiveAnnotation * void wa__interactive_annotation__free_unpacked (Wa__InteractiveAnnotation *message, ProtobufCAllocator *allocator); -/* Wa__KeepInChat methods */ -void wa__keep_in_chat__init - (Wa__KeepInChat *message); size_t wa__keep_in_chat__get_packed_size (const Wa__KeepInChat *message); size_t wa__keep_in_chat__pack @@ -6121,9 +6052,6 @@ Wa__KeepInChat * void wa__keep_in_chat__free_unpacked (Wa__KeepInChat *message, ProtobufCAllocator *allocator); -/* Wa__KeyExchangeMessage methods */ -void wa__key_exchange_message__init - (Wa__KeyExchangeMessage *message); size_t wa__key_exchange_message__get_packed_size (const Wa__KeyExchangeMessage *message); size_t wa__key_exchange_message__pack @@ -6140,9 +6068,6 @@ Wa__KeyExchangeMessage * void wa__key_exchange_message__free_unpacked (Wa__KeyExchangeMessage *message, ProtobufCAllocator *allocator); -/* Wa__KeyId methods */ -void wa__key_id__init - (Wa__KeyId *message); size_t wa__key_id__get_packed_size (const Wa__KeyId *message); size_t wa__key_id__pack @@ -6159,9 +6084,6 @@ Wa__KeyId * void wa__key_id__free_unpacked (Wa__KeyId *message, ProtobufCAllocator *allocator); -/* Wa__LocalizedName methods */ -void wa__localized_name__init - (Wa__LocalizedName *message); size_t wa__localized_name__get_packed_size (const Wa__LocalizedName *message); size_t wa__localized_name__pack @@ -6178,9 +6100,6 @@ Wa__LocalizedName * void wa__localized_name__free_unpacked (Wa__LocalizedName *message, ProtobufCAllocator *allocator); -/* Wa__Location methods */ -void wa__location__init - (Wa__Location *message); size_t wa__location__get_packed_size (const Wa__Location *message); size_t wa__location__pack @@ -6197,9 +6116,6 @@ Wa__Location * void wa__location__free_unpacked (Wa__Location *message, ProtobufCAllocator *allocator); -/* Wa__MediaData methods */ -void wa__media_data__init - (Wa__MediaData *message); size_t wa__media_data__get_packed_size (const Wa__MediaData *message); size_t wa__media_data__pack @@ -6216,9 +6132,6 @@ Wa__MediaData * void wa__media_data__free_unpacked (Wa__MediaData *message, ProtobufCAllocator *allocator); -/* Wa__MediaRetryNotification methods */ -void wa__media_retry_notification__init - (Wa__MediaRetryNotification *message); size_t wa__media_retry_notification__get_packed_size (const Wa__MediaRetryNotification *message); size_t wa__media_retry_notification__pack @@ -6235,294 +6148,6 @@ Wa__MediaRetryNotification * void wa__media_retry_notification__free_unpacked (Wa__MediaRetryNotification *message, ProtobufCAllocator *allocator); -/* Wa__Message__AppStateFatalExceptionNotification methods */ -void wa__message__app_state_fatal_exception_notification__init - (Wa__Message__AppStateFatalExceptionNotification *message); -/* Wa__Message__AppStateSyncKey methods */ -void wa__message__app_state_sync_key__init - (Wa__Message__AppStateSyncKey *message); -/* Wa__Message__AppStateSyncKeyData methods */ -void wa__message__app_state_sync_key_data__init - (Wa__Message__AppStateSyncKeyData *message); -/* Wa__Message__AppStateSyncKeyFingerprint methods */ -void wa__message__app_state_sync_key_fingerprint__init - (Wa__Message__AppStateSyncKeyFingerprint *message); -/* Wa__Message__AppStateSyncKeyId methods */ -void wa__message__app_state_sync_key_id__init - (Wa__Message__AppStateSyncKeyId *message); -/* Wa__Message__AppStateSyncKeyRequest methods */ -void wa__message__app_state_sync_key_request__init - (Wa__Message__AppStateSyncKeyRequest *message); -/* Wa__Message__AppStateSyncKeyShare methods */ -void wa__message__app_state_sync_key_share__init - (Wa__Message__AppStateSyncKeyShare *message); -/* Wa__Message__AudioMessage methods */ -void wa__message__audio_message__init - (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__NativeFlowInfo methods */ -void wa__message__buttons_message__button__native_flow_info__init - (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 methods */ -void wa__message__buttons_message__init - (Wa__Message__ButtonsMessage *message); -/* Wa__Message__ButtonsResponseMessage methods */ -void wa__message__buttons_response_message__init - (Wa__Message__ButtonsResponseMessage *message); -/* Wa__Message__Call methods */ -void wa__message__call__init - (Wa__Message__Call *message); -/* Wa__Message__CancelPaymentRequestMessage methods */ -void wa__message__cancel_payment_request_message__init - (Wa__Message__CancelPaymentRequestMessage *message); -/* Wa__Message__Chat methods */ -void wa__message__chat__init - (Wa__Message__Chat *message); -/* Wa__Message__ContactMessage methods */ -void wa__message__contact_message__init - (Wa__Message__ContactMessage *message); -/* Wa__Message__ContactsArrayMessage methods */ -void wa__message__contacts_array_message__init - (Wa__Message__ContactsArrayMessage *message); -/* Wa__Message__DeclinePaymentRequestMessage methods */ -void wa__message__decline_payment_request_message__init - (Wa__Message__DeclinePaymentRequestMessage *message); -/* Wa__Message__DeviceSentMessage methods */ -void wa__message__device_sent_message__init - (Wa__Message__DeviceSentMessage *message); -/* Wa__Message__DocumentMessage methods */ -void wa__message__document_message__init - (Wa__Message__DocumentMessage *message); -/* Wa__Message__EncReactionMessage methods */ -void wa__message__enc_reaction_message__init - (Wa__Message__EncReactionMessage *message); -/* Wa__Message__ExtendedTextMessage methods */ -void wa__message__extended_text_message__init - (Wa__Message__ExtendedTextMessage *message); -/* Wa__Message__FutureProofMessage methods */ -void wa__message__future_proof_message__init - (Wa__Message__FutureProofMessage *message); -/* Wa__Message__GroupInviteMessage methods */ -void wa__message__group_invite_message__init - (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__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__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 methods */ -void wa__message__highly_structured_message__hsmlocalizable_parameter__hsmdate_time__init - (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 methods */ -void wa__message__highly_structured_message__init - (Wa__Message__HighlyStructuredMessage *message); -/* Wa__Message__HistorySyncNotification methods */ -void wa__message__history_sync_notification__init - (Wa__Message__HistorySyncNotification *message); -/* Wa__Message__ImageMessage methods */ -void wa__message__image_message__init - (Wa__Message__ImageMessage *message); -/* Wa__Message__InitialSecurityNotificationSettingSync methods */ -void wa__message__initial_security_notification_setting_sync__init - (Wa__Message__InitialSecurityNotificationSettingSync *message); -/* Wa__Message__InteractiveMessage__Body methods */ -void wa__message__interactive_message__body__init - (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__Footer methods */ -void wa__message__interactive_message__footer__init - (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__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 methods */ -void wa__message__interactive_message__native_flow_message__init - (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 methods */ -void wa__message__interactive_message__init - (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__NativeFlowResponseMessage methods */ -void wa__message__interactive_response_message__native_flow_response_message__init - (Wa__Message__InteractiveResponseMessage__NativeFlowResponseMessage *message); -/* Wa__Message__InteractiveResponseMessage methods */ -void wa__message__interactive_response_message__init - (Wa__Message__InteractiveResponseMessage *message); -/* Wa__Message__InvoiceMessage methods */ -void wa__message__invoice_message__init - (Wa__Message__InvoiceMessage *message); -/* Wa__Message__KeepInChatMessage methods */ -void wa__message__keep_in_chat_message__init - (Wa__Message__KeepInChatMessage *message); -/* Wa__Message__ListMessage__Product methods */ -void wa__message__list_message__product__init - (Wa__Message__ListMessage__Product *message); -/* Wa__Message__ListMessage__ProductListHeaderImage methods */ -void wa__message__list_message__product_list_header_image__init - (Wa__Message__ListMessage__ProductListHeaderImage *message); -/* Wa__Message__ListMessage__ProductListInfo methods */ -void wa__message__list_message__product_list_info__init - (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__Row methods */ -void wa__message__list_message__row__init - (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 methods */ -void wa__message__list_message__init - (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 methods */ -void wa__message__list_response_message__init - (Wa__Message__ListResponseMessage *message); -/* Wa__Message__LiveLocationMessage methods */ -void wa__message__live_location_message__init - (Wa__Message__LiveLocationMessage *message); -/* Wa__Message__LocationMessage methods */ -void wa__message__location_message__init - (Wa__Message__LocationMessage *message); -/* Wa__Message__OrderMessage methods */ -void wa__message__order_message__init - (Wa__Message__OrderMessage *message); -/* Wa__Message__PaymentInviteMessage methods */ -void wa__message__payment_invite_message__init - (Wa__Message__PaymentInviteMessage *message); -/* Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest methods */ -void wa__message__peer_data_operation_request_message__history_sync_on_demand_request__init - (Wa__Message__PeerDataOperationRequestMessage__HistorySyncOnDemandRequest *message); -/* Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest methods */ -void wa__message__peer_data_operation_request_message__placeholder_message_resend_request__init - (Wa__Message__PeerDataOperationRequestMessage__PlaceholderMessageResendRequest *message); -/* Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload methods */ -void wa__message__peer_data_operation_request_message__request_sticker_reupload__init - (Wa__Message__PeerDataOperationRequestMessage__RequestStickerReupload *message); -/* Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview methods */ -void wa__message__peer_data_operation_request_message__request_url_preview__init - (Wa__Message__PeerDataOperationRequestMessage__RequestUrlPreview *message); -/* Wa__Message__PeerDataOperationRequestMessage methods */ -void wa__message__peer_data_operation_request_message__init - (Wa__Message__PeerDataOperationRequestMessage *message); -/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail methods */ -void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__link_preview_high_quality_thumbnail__init - (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse__LinkPreviewHighQualityThumbnail *message); -/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse methods */ -void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__link_preview_response__init - (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__LinkPreviewResponse *message); -/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse methods */ -void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__placeholder_message_resend_response__init - (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult__PlaceholderMessageResendResponse *message); -/* Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult methods */ -void wa__message__peer_data_operation_request_response_message__peer_data_operation_result__init - (Wa__Message__PeerDataOperationRequestResponseMessage__PeerDataOperationResult *message); -/* Wa__Message__PeerDataOperationRequestResponseMessage methods */ -void wa__message__peer_data_operation_request_response_message__init - (Wa__Message__PeerDataOperationRequestResponseMessage *message); -/* Wa__Message__PinInChatMessage methods */ -void wa__message__pin_in_chat_message__init - (Wa__Message__PinInChatMessage *message); -/* Wa__Message__PollCreationMessage__Option methods */ -void wa__message__poll_creation_message__option__init - (Wa__Message__PollCreationMessage__Option *message); -/* Wa__Message__PollCreationMessage methods */ -void wa__message__poll_creation_message__init - (Wa__Message__PollCreationMessage *message); -/* Wa__Message__PollEncValue methods */ -void wa__message__poll_enc_value__init - (Wa__Message__PollEncValue *message); -/* Wa__Message__PollUpdateMessage methods */ -void wa__message__poll_update_message__init - (Wa__Message__PollUpdateMessage *message); -/* Wa__Message__PollUpdateMessageMetadata methods */ -void wa__message__poll_update_message_metadata__init - (Wa__Message__PollUpdateMessageMetadata *message); -/* Wa__Message__PollVoteMessage methods */ -void wa__message__poll_vote_message__init - (Wa__Message__PollVoteMessage *message); -/* Wa__Message__ProductMessage__CatalogSnapshot methods */ -void wa__message__product_message__catalog_snapshot__init - (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 methods */ -void wa__message__product_message__init - (Wa__Message__ProductMessage *message); -/* Wa__Message__ProtocolMessage methods */ -void wa__message__protocol_message__init - (Wa__Message__ProtocolMessage *message); -/* Wa__Message__ReactionMessage methods */ -void wa__message__reaction_message__init - (Wa__Message__ReactionMessage *message); -/* Wa__Message__RequestPaymentMessage methods */ -void wa__message__request_payment_message__init - (Wa__Message__RequestPaymentMessage *message); -/* Wa__Message__RequestPhoneNumberMessage methods */ -void wa__message__request_phone_number_message__init - (Wa__Message__RequestPhoneNumberMessage *message); -/* Wa__Message__ScheduledCallCreationMessage methods */ -void wa__message__scheduled_call_creation_message__init - (Wa__Message__ScheduledCallCreationMessage *message); -/* Wa__Message__ScheduledCallEditMessage methods */ -void wa__message__scheduled_call_edit_message__init - (Wa__Message__ScheduledCallEditMessage *message); -/* Wa__Message__SendPaymentMessage methods */ -void wa__message__send_payment_message__init - (Wa__Message__SendPaymentMessage *message); -/* Wa__Message__SenderKeyDistributionMessage methods */ -void wa__message__sender_key_distribution_message__init - (Wa__Message__SenderKeyDistributionMessage *message); -/* Wa__Message__StickerMessage methods */ -void wa__message__sticker_message__init - (Wa__Message__StickerMessage *message); -/* Wa__Message__StickerSyncRMRMessage methods */ -void wa__message__sticker_sync_rmrmessage__init - (Wa__Message__StickerSyncRMRMessage *message); -/* Wa__Message__TemplateButtonReplyMessage methods */ -void wa__message__template_button_reply_message__init - (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__HydratedFourRowTemplate methods */ -void wa__message__template_message__hydrated_four_row_template__init - (Wa__Message__TemplateMessage__HydratedFourRowTemplate *message); -/* Wa__Message__TemplateMessage methods */ -void wa__message__template_message__init - (Wa__Message__TemplateMessage *message); -/* Wa__Message__VideoMessage methods */ -void wa__message__video_message__init - (Wa__Message__VideoMessage *message); -/* Wa__Message methods */ -void wa__message__init - (Wa__Message *message); size_t wa__message__get_packed_size (const Wa__Message *message); size_t wa__message__pack @@ -6539,9 +6164,6 @@ Wa__Message * void wa__message__free_unpacked (Wa__Message *message, ProtobufCAllocator *allocator); -/* Wa__MessageAddOnContextInfo methods */ -void wa__message_add_on_context_info__init - (Wa__MessageAddOnContextInfo *message); size_t wa__message_add_on_context_info__get_packed_size (const Wa__MessageAddOnContextInfo *message); size_t wa__message_add_on_context_info__pack @@ -6558,9 +6180,6 @@ Wa__MessageAddOnContextInfo * void wa__message_add_on_context_info__free_unpacked (Wa__MessageAddOnContextInfo *message, ProtobufCAllocator *allocator); -/* Wa__MessageContextInfo methods */ -void wa__message_context_info__init - (Wa__MessageContextInfo *message); size_t wa__message_context_info__get_packed_size (const Wa__MessageContextInfo *message); size_t wa__message_context_info__pack @@ -6577,9 +6196,6 @@ Wa__MessageContextInfo * void wa__message_context_info__free_unpacked (Wa__MessageContextInfo *message, ProtobufCAllocator *allocator); -/* Wa__MessageKey methods */ -void wa__message_key__init - (Wa__MessageKey *message); size_t wa__message_key__get_packed_size (const Wa__MessageKey *message); size_t wa__message_key__pack @@ -6596,9 +6212,6 @@ Wa__MessageKey * void wa__message_key__free_unpacked (Wa__MessageKey *message, ProtobufCAllocator *allocator); -/* Wa__Money methods */ -void wa__money__init - (Wa__Money *message); size_t wa__money__get_packed_size (const Wa__Money *message); size_t wa__money__pack @@ -6615,12 +6228,6 @@ Wa__Money * void wa__money__free_unpacked (Wa__Money *message, ProtobufCAllocator *allocator); -/* Wa__MsgOpaqueData__PollOption methods */ -void wa__msg_opaque_data__poll_option__init - (Wa__MsgOpaqueData__PollOption *message); -/* Wa__MsgOpaqueData methods */ -void wa__msg_opaque_data__init - (Wa__MsgOpaqueData *message); size_t wa__msg_opaque_data__get_packed_size (const Wa__MsgOpaqueData *message); size_t wa__msg_opaque_data__pack @@ -6637,9 +6244,6 @@ Wa__MsgOpaqueData * void wa__msg_opaque_data__free_unpacked (Wa__MsgOpaqueData *message, ProtobufCAllocator *allocator); -/* Wa__MsgRowOpaqueData methods */ -void wa__msg_row_opaque_data__init - (Wa__MsgRowOpaqueData *message); size_t wa__msg_row_opaque_data__get_packed_size (const Wa__MsgRowOpaqueData *message); size_t wa__msg_row_opaque_data__pack @@ -6656,12 +6260,6 @@ Wa__MsgRowOpaqueData * void wa__msg_row_opaque_data__free_unpacked (Wa__MsgRowOpaqueData *message, ProtobufCAllocator *allocator); -/* Wa__NoiseCertificate__Details methods */ -void wa__noise_certificate__details__init - (Wa__NoiseCertificate__Details *message); -/* Wa__NoiseCertificate methods */ -void wa__noise_certificate__init - (Wa__NoiseCertificate *message); size_t wa__noise_certificate__get_packed_size (const Wa__NoiseCertificate *message); size_t wa__noise_certificate__pack @@ -6678,9 +6276,6 @@ Wa__NoiseCertificate * void wa__noise_certificate__free_unpacked (Wa__NoiseCertificate *message, ProtobufCAllocator *allocator); -/* Wa__NotificationMessageInfo methods */ -void wa__notification_message_info__init - (Wa__NotificationMessageInfo *message); size_t wa__notification_message_info__get_packed_size (const Wa__NotificationMessageInfo *message); size_t wa__notification_message_info__pack @@ -6697,9 +6292,6 @@ Wa__NotificationMessageInfo * void wa__notification_message_info__free_unpacked (Wa__NotificationMessageInfo *message, ProtobufCAllocator *allocator); -/* Wa__NotificationSettings methods */ -void wa__notification_settings__init - (Wa__NotificationSettings *message); size_t wa__notification_settings__get_packed_size (const Wa__NotificationSettings *message); size_t wa__notification_settings__pack @@ -6716,9 +6308,6 @@ Wa__NotificationSettings * void wa__notification_settings__free_unpacked (Wa__NotificationSettings *message, ProtobufCAllocator *allocator); -/* Wa__PastParticipant methods */ -void wa__past_participant__init - (Wa__PastParticipant *message); size_t wa__past_participant__get_packed_size (const Wa__PastParticipant *message); size_t wa__past_participant__pack @@ -6735,9 +6324,6 @@ Wa__PastParticipant * void wa__past_participant__free_unpacked (Wa__PastParticipant *message, ProtobufCAllocator *allocator); -/* Wa__PastParticipants methods */ -void wa__past_participants__init - (Wa__PastParticipants *message); size_t wa__past_participants__get_packed_size (const Wa__PastParticipants *message); size_t wa__past_participants__pack @@ -6754,12 +6340,6 @@ Wa__PastParticipants * void wa__past_participants__free_unpacked (Wa__PastParticipants *message, ProtobufCAllocator *allocator); -/* Wa__PaymentBackground__MediaData methods */ -void wa__payment_background__media_data__init - (Wa__PaymentBackground__MediaData *message); -/* Wa__PaymentBackground methods */ -void wa__payment_background__init - (Wa__PaymentBackground *message); size_t wa__payment_background__get_packed_size (const Wa__PaymentBackground *message); size_t wa__payment_background__pack @@ -6776,9 +6356,6 @@ Wa__PaymentBackground * void wa__payment_background__free_unpacked (Wa__PaymentBackground *message, ProtobufCAllocator *allocator); -/* Wa__PaymentInfo methods */ -void wa__payment_info__init - (Wa__PaymentInfo *message); size_t wa__payment_info__get_packed_size (const Wa__PaymentInfo *message); size_t wa__payment_info__pack @@ -6795,9 +6372,6 @@ Wa__PaymentInfo * void wa__payment_info__free_unpacked (Wa__PaymentInfo *message, ProtobufCAllocator *allocator); -/* Wa__PhotoChange methods */ -void wa__photo_change__init - (Wa__PhotoChange *message); size_t wa__photo_change__get_packed_size (const Wa__PhotoChange *message); size_t wa__photo_change__pack @@ -6814,9 +6388,6 @@ Wa__PhotoChange * void wa__photo_change__free_unpacked (Wa__PhotoChange *message, ProtobufCAllocator *allocator); -/* Wa__PinInChat methods */ -void wa__pin_in_chat__init - (Wa__PinInChat *message); size_t wa__pin_in_chat__get_packed_size (const Wa__PinInChat *message); size_t wa__pin_in_chat__pack @@ -6833,9 +6404,6 @@ Wa__PinInChat * void wa__pin_in_chat__free_unpacked (Wa__PinInChat *message, ProtobufCAllocator *allocator); -/* Wa__Point methods */ -void wa__point__init - (Wa__Point *message); size_t wa__point__get_packed_size (const Wa__Point *message); size_t wa__point__pack @@ -6852,9 +6420,6 @@ Wa__Point * void wa__point__free_unpacked (Wa__Point *message, ProtobufCAllocator *allocator); -/* Wa__PollAdditionalMetadata methods */ -void wa__poll_additional_metadata__init - (Wa__PollAdditionalMetadata *message); size_t wa__poll_additional_metadata__get_packed_size (const Wa__PollAdditionalMetadata *message); size_t wa__poll_additional_metadata__pack @@ -6871,9 +6436,6 @@ Wa__PollAdditionalMetadata * void wa__poll_additional_metadata__free_unpacked (Wa__PollAdditionalMetadata *message, ProtobufCAllocator *allocator); -/* Wa__PollEncValue methods */ -void wa__poll_enc_value__init - (Wa__PollEncValue *message); size_t wa__poll_enc_value__get_packed_size (const Wa__PollEncValue *message); size_t wa__poll_enc_value__pack @@ -6890,9 +6452,6 @@ Wa__PollEncValue * void wa__poll_enc_value__free_unpacked (Wa__PollEncValue *message, ProtobufCAllocator *allocator); -/* Wa__PollUpdate methods */ -void wa__poll_update__init - (Wa__PollUpdate *message); size_t wa__poll_update__get_packed_size (const Wa__PollUpdate *message); size_t wa__poll_update__pack @@ -6909,9 +6468,6 @@ Wa__PollUpdate * void wa__poll_update__free_unpacked (Wa__PollUpdate *message, ProtobufCAllocator *allocator); -/* Wa__PreKeyRecordStructure methods */ -void wa__pre_key_record_structure__init - (Wa__PreKeyRecordStructure *message); size_t wa__pre_key_record_structure__get_packed_size (const Wa__PreKeyRecordStructure *message); size_t wa__pre_key_record_structure__pack @@ -6928,9 +6484,6 @@ Wa__PreKeyRecordStructure * void wa__pre_key_record_structure__free_unpacked (Wa__PreKeyRecordStructure *message, ProtobufCAllocator *allocator); -/* Wa__PreKeySignalMessage methods */ -void wa__pre_key_signal_message__init - (Wa__PreKeySignalMessage *message); size_t wa__pre_key_signal_message__get_packed_size (const Wa__PreKeySignalMessage *message); size_t wa__pre_key_signal_message__pack @@ -6947,9 +6500,6 @@ Wa__PreKeySignalMessage * void wa__pre_key_signal_message__free_unpacked (Wa__PreKeySignalMessage *message, ProtobufCAllocator *allocator); -/* Wa__Pushname methods */ -void wa__pushname__init - (Wa__Pushname *message); size_t wa__pushname__get_packed_size (const Wa__Pushname *message); size_t wa__pushname__pack @@ -6966,9 +6516,6 @@ Wa__Pushname * void wa__pushname__free_unpacked (Wa__Pushname *message, ProtobufCAllocator *allocator); -/* Wa__Reaction methods */ -void wa__reaction__init - (Wa__Reaction *message); size_t wa__reaction__get_packed_size (const Wa__Reaction *message); size_t wa__reaction__pack @@ -6985,9 +6532,6 @@ Wa__Reaction * void wa__reaction__free_unpacked (Wa__Reaction *message, ProtobufCAllocator *allocator); -/* Wa__RecentEmojiWeight methods */ -void wa__recent_emoji_weight__init - (Wa__RecentEmojiWeight *message); size_t wa__recent_emoji_weight__get_packed_size (const Wa__RecentEmojiWeight *message); size_t wa__recent_emoji_weight__pack @@ -7004,9 +6548,6 @@ Wa__RecentEmojiWeight * void wa__recent_emoji_weight__free_unpacked (Wa__RecentEmojiWeight *message, ProtobufCAllocator *allocator); -/* Wa__RecordStructure methods */ -void wa__record_structure__init - (Wa__RecordStructure *message); size_t wa__record_structure__get_packed_size (const Wa__RecordStructure *message); size_t wa__record_structure__pack @@ -7023,9 +6564,6 @@ Wa__RecordStructure * void wa__record_structure__free_unpacked (Wa__RecordStructure *message, ProtobufCAllocator *allocator); -/* Wa__SenderKeyDistributionMessage methods */ -void wa__sender_key_distribution_message__init - (Wa__SenderKeyDistributionMessage *message); size_t wa__sender_key_distribution_message__get_packed_size (const Wa__SenderKeyDistributionMessage *message); size_t wa__sender_key_distribution_message__pack @@ -7042,9 +6580,6 @@ Wa__SenderKeyDistributionMessage * void wa__sender_key_distribution_message__free_unpacked (Wa__SenderKeyDistributionMessage *message, ProtobufCAllocator *allocator); -/* Wa__SenderKeyMessage methods */ -void wa__sender_key_message__init - (Wa__SenderKeyMessage *message); size_t wa__sender_key_message__get_packed_size (const Wa__SenderKeyMessage *message); size_t wa__sender_key_message__pack @@ -7061,9 +6596,6 @@ Wa__SenderKeyMessage * void wa__sender_key_message__free_unpacked (Wa__SenderKeyMessage *message, ProtobufCAllocator *allocator); -/* Wa__SenderKeyRecordStructure methods */ -void wa__sender_key_record_structure__init - (Wa__SenderKeyRecordStructure *message); size_t wa__sender_key_record_structure__get_packed_size (const Wa__SenderKeyRecordStructure *message); size_t wa__sender_key_record_structure__pack @@ -7080,18 +6612,6 @@ Wa__SenderKeyRecordStructure * void wa__sender_key_record_structure__free_unpacked (Wa__SenderKeyRecordStructure *message, ProtobufCAllocator *allocator); -/* Wa__SenderKeyStateStructure__SenderChainKey methods */ -void wa__sender_key_state_structure__sender_chain_key__init - (Wa__SenderKeyStateStructure__SenderChainKey *message); -/* Wa__SenderKeyStateStructure__SenderMessageKey methods */ -void wa__sender_key_state_structure__sender_message_key__init - (Wa__SenderKeyStateStructure__SenderMessageKey *message); -/* Wa__SenderKeyStateStructure__SenderSigningKey methods */ -void wa__sender_key_state_structure__sender_signing_key__init - (Wa__SenderKeyStateStructure__SenderSigningKey *message); -/* Wa__SenderKeyStateStructure methods */ -void wa__sender_key_state_structure__init - (Wa__SenderKeyStateStructure *message); size_t wa__sender_key_state_structure__get_packed_size (const Wa__SenderKeyStateStructure *message); size_t wa__sender_key_state_structure__pack @@ -7108,9 +6628,6 @@ Wa__SenderKeyStateStructure * void wa__sender_key_state_structure__free_unpacked (Wa__SenderKeyStateStructure *message, ProtobufCAllocator *allocator); -/* Wa__ServerErrorReceipt methods */ -void wa__server_error_receipt__init - (Wa__ServerErrorReceipt *message); size_t wa__server_error_receipt__get_packed_size (const Wa__ServerErrorReceipt *message); size_t wa__server_error_receipt__pack @@ -7127,24 +6644,6 @@ Wa__ServerErrorReceipt * void wa__server_error_receipt__free_unpacked (Wa__ServerErrorReceipt *message, ProtobufCAllocator *allocator); -/* Wa__SessionStructure__Chain__ChainKey methods */ -void wa__session_structure__chain__chain_key__init - (Wa__SessionStructure__Chain__ChainKey *message); -/* Wa__SessionStructure__Chain__MessageKey methods */ -void wa__session_structure__chain__message_key__init - (Wa__SessionStructure__Chain__MessageKey *message); -/* Wa__SessionStructure__Chain methods */ -void wa__session_structure__chain__init - (Wa__SessionStructure__Chain *message); -/* Wa__SessionStructure__PendingKeyExchange methods */ -void wa__session_structure__pending_key_exchange__init - (Wa__SessionStructure__PendingKeyExchange *message); -/* Wa__SessionStructure__PendingPreKey methods */ -void wa__session_structure__pending_pre_key__init - (Wa__SessionStructure__PendingPreKey *message); -/* Wa__SessionStructure methods */ -void wa__session_structure__init - (Wa__SessionStructure *message); size_t wa__session_structure__get_packed_size (const Wa__SessionStructure *message); size_t wa__session_structure__pack @@ -7161,9 +6660,6 @@ Wa__SessionStructure * void wa__session_structure__free_unpacked (Wa__SessionStructure *message, ProtobufCAllocator *allocator); -/* Wa__SignalMessage methods */ -void wa__signal_message__init - (Wa__SignalMessage *message); size_t wa__signal_message__get_packed_size (const Wa__SignalMessage *message); size_t wa__signal_message__pack @@ -7180,9 +6676,6 @@ Wa__SignalMessage * void wa__signal_message__free_unpacked (Wa__SignalMessage *message, ProtobufCAllocator *allocator); -/* Wa__SignedPreKeyRecordStructure methods */ -void wa__signed_pre_key_record_structure__init - (Wa__SignedPreKeyRecordStructure *message); size_t wa__signed_pre_key_record_structure__get_packed_size (const Wa__SignedPreKeyRecordStructure *message); size_t wa__signed_pre_key_record_structure__pack @@ -7199,9 +6692,6 @@ Wa__SignedPreKeyRecordStructure * void wa__signed_pre_key_record_structure__free_unpacked (Wa__SignedPreKeyRecordStructure *message, ProtobufCAllocator *allocator); -/* Wa__StatusPSA methods */ -void wa__status_psa__init - (Wa__StatusPSA *message); size_t wa__status_psa__get_packed_size (const Wa__StatusPSA *message); size_t wa__status_psa__pack @@ -7218,9 +6708,6 @@ Wa__StatusPSA * void wa__status_psa__free_unpacked (Wa__StatusPSA *message, ProtobufCAllocator *allocator); -/* Wa__StickerMetadata methods */ -void wa__sticker_metadata__init - (Wa__StickerMetadata *message); size_t wa__sticker_metadata__get_packed_size (const Wa__StickerMetadata *message); size_t wa__sticker_metadata__pack @@ -7237,9 +6724,6 @@ Wa__StickerMetadata * void wa__sticker_metadata__free_unpacked (Wa__StickerMetadata *message, ProtobufCAllocator *allocator); -/* Wa__SyncActionData methods */ -void wa__sync_action_data__init - (Wa__SyncActionData *message); size_t wa__sync_action_data__get_packed_size (const Wa__SyncActionData *message); size_t wa__sync_action_data__pack @@ -7256,120 +6740,6 @@ Wa__SyncActionData * void wa__sync_action_data__free_unpacked (Wa__SyncActionData *message, ProtobufCAllocator *allocator); -/* Wa__SyncActionValue__AgentAction methods */ -void wa__sync_action_value__agent_action__init - (Wa__SyncActionValue__AgentAction *message); -/* Wa__SyncActionValue__AndroidUnsupportedActions methods */ -void wa__sync_action_value__android_unsupported_actions__init - (Wa__SyncActionValue__AndroidUnsupportedActions *message); -/* Wa__SyncActionValue__ArchiveChatAction methods */ -void wa__sync_action_value__archive_chat_action__init - (Wa__SyncActionValue__ArchiveChatAction *message); -/* Wa__SyncActionValue__ChatAssignmentAction methods */ -void wa__sync_action_value__chat_assignment_action__init - (Wa__SyncActionValue__ChatAssignmentAction *message); -/* Wa__SyncActionValue__ChatAssignmentOpenedStatusAction methods */ -void wa__sync_action_value__chat_assignment_opened_status_action__init - (Wa__SyncActionValue__ChatAssignmentOpenedStatusAction *message); -/* Wa__SyncActionValue__ClearChatAction methods */ -void wa__sync_action_value__clear_chat_action__init - (Wa__SyncActionValue__ClearChatAction *message); -/* Wa__SyncActionValue__ContactAction methods */ -void wa__sync_action_value__contact_action__init - (Wa__SyncActionValue__ContactAction *message); -/* Wa__SyncActionValue__DeleteChatAction methods */ -void wa__sync_action_value__delete_chat_action__init - (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__ExternalWebBetaAction methods */ -void wa__sync_action_value__external_web_beta_action__init - (Wa__SyncActionValue__ExternalWebBetaAction *message); -/* Wa__SyncActionValue__KeyExpiration methods */ -void wa__sync_action_value__key_expiration__init - (Wa__SyncActionValue__KeyExpiration *message); -/* Wa__SyncActionValue__LabelAssociationAction methods */ -void wa__sync_action_value__label_association_action__init - (Wa__SyncActionValue__LabelAssociationAction *message); -/* Wa__SyncActionValue__LabelEditAction methods */ -void wa__sync_action_value__label_edit_action__init - (Wa__SyncActionValue__LabelEditAction *message); -/* Wa__SyncActionValue__LocaleSetting methods */ -void wa__sync_action_value__locale_setting__init - (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__MarketingMessageAction methods */ -void wa__sync_action_value__marketing_message_action__init - (Wa__SyncActionValue__MarketingMessageAction *message); -/* Wa__SyncActionValue__MarketingMessageBroadcastAction methods */ -void wa__sync_action_value__marketing_message_broadcast_action__init - (Wa__SyncActionValue__MarketingMessageBroadcastAction *message); -/* Wa__SyncActionValue__MuteAction methods */ -void wa__sync_action_value__mute_action__init - (Wa__SyncActionValue__MuteAction *message); -/* Wa__SyncActionValue__NuxAction methods */ -void wa__sync_action_value__nux_action__init - (Wa__SyncActionValue__NuxAction *message); -/* Wa__SyncActionValue__PinAction methods */ -void wa__sync_action_value__pin_action__init - (Wa__SyncActionValue__PinAction *message); -/* Wa__SyncActionValue__PnForLidChatAction methods */ -void wa__sync_action_value__pn_for_lid_chat_action__init - (Wa__SyncActionValue__PnForLidChatAction *message); -/* Wa__SyncActionValue__PrimaryFeature methods */ -void wa__sync_action_value__primary_feature__init - (Wa__SyncActionValue__PrimaryFeature *message); -/* Wa__SyncActionValue__PrimaryVersionAction methods */ -void wa__sync_action_value__primary_version_action__init - (Wa__SyncActionValue__PrimaryVersionAction *message); -/* Wa__SyncActionValue__PrivacySettingRelayAllCalls methods */ -void wa__sync_action_value__privacy_setting_relay_all_calls__init - (Wa__SyncActionValue__PrivacySettingRelayAllCalls *message); -/* Wa__SyncActionValue__PushNameSetting methods */ -void wa__sync_action_value__push_name_setting__init - (Wa__SyncActionValue__PushNameSetting *message); -/* Wa__SyncActionValue__QuickReplyAction methods */ -void wa__sync_action_value__quick_reply_action__init - (Wa__SyncActionValue__QuickReplyAction *message); -/* Wa__SyncActionValue__RecentEmojiWeightsAction methods */ -void wa__sync_action_value__recent_emoji_weights_action__init - (Wa__SyncActionValue__RecentEmojiWeightsAction *message); -/* Wa__SyncActionValue__RemoveRecentStickerAction methods */ -void wa__sync_action_value__remove_recent_sticker_action__init - (Wa__SyncActionValue__RemoveRecentStickerAction *message); -/* Wa__SyncActionValue__SecurityNotificationSetting methods */ -void wa__sync_action_value__security_notification_setting__init - (Wa__SyncActionValue__SecurityNotificationSetting *message); -/* Wa__SyncActionValue__StarAction methods */ -void wa__sync_action_value__star_action__init - (Wa__SyncActionValue__StarAction *message); -/* Wa__SyncActionValue__StickerAction methods */ -void wa__sync_action_value__sticker_action__init - (Wa__SyncActionValue__StickerAction *message); -/* Wa__SyncActionValue__SubscriptionAction methods */ -void wa__sync_action_value__subscription_action__init - (Wa__SyncActionValue__SubscriptionAction *message); -/* Wa__SyncActionValue__SyncActionMessage methods */ -void wa__sync_action_value__sync_action_message__init - (Wa__SyncActionValue__SyncActionMessage *message); -/* Wa__SyncActionValue__SyncActionMessageRange methods */ -void wa__sync_action_value__sync_action_message_range__init - (Wa__SyncActionValue__SyncActionMessageRange *message); -/* Wa__SyncActionValue__TimeFormatAction methods */ -void wa__sync_action_value__time_format_action__init - (Wa__SyncActionValue__TimeFormatAction *message); -/* Wa__SyncActionValue__UnarchiveChatsSetting methods */ -void wa__sync_action_value__unarchive_chats_setting__init - (Wa__SyncActionValue__UnarchiveChatsSetting *message); -/* Wa__SyncActionValue__UserStatusMuteAction methods */ -void wa__sync_action_value__user_status_mute_action__init - (Wa__SyncActionValue__UserStatusMuteAction *message); -/* Wa__SyncActionValue methods */ -void wa__sync_action_value__init - (Wa__SyncActionValue *message); size_t wa__sync_action_value__get_packed_size (const Wa__SyncActionValue *message); size_t wa__sync_action_value__pack @@ -7386,9 +6756,6 @@ Wa__SyncActionValue * void wa__sync_action_value__free_unpacked (Wa__SyncActionValue *message, ProtobufCAllocator *allocator); -/* Wa__SyncdIndex methods */ -void wa__syncd_index__init - (Wa__SyncdIndex *message); size_t wa__syncd_index__get_packed_size (const Wa__SyncdIndex *message); size_t wa__syncd_index__pack @@ -7405,9 +6772,6 @@ Wa__SyncdIndex * void wa__syncd_index__free_unpacked (Wa__SyncdIndex *message, ProtobufCAllocator *allocator); -/* Wa__SyncdMutation methods */ -void wa__syncd_mutation__init - (Wa__SyncdMutation *message); size_t wa__syncd_mutation__get_packed_size (const Wa__SyncdMutation *message); size_t wa__syncd_mutation__pack @@ -7424,9 +6788,6 @@ Wa__SyncdMutation * void wa__syncd_mutation__free_unpacked (Wa__SyncdMutation *message, ProtobufCAllocator *allocator); -/* Wa__SyncdMutations methods */ -void wa__syncd_mutations__init - (Wa__SyncdMutations *message); size_t wa__syncd_mutations__get_packed_size (const Wa__SyncdMutations *message); size_t wa__syncd_mutations__pack @@ -7443,9 +6804,6 @@ Wa__SyncdMutations * void wa__syncd_mutations__free_unpacked (Wa__SyncdMutations *message, ProtobufCAllocator *allocator); -/* Wa__SyncdPatch methods */ -void wa__syncd_patch__init - (Wa__SyncdPatch *message); size_t wa__syncd_patch__get_packed_size (const Wa__SyncdPatch *message); size_t wa__syncd_patch__pack @@ -7462,9 +6820,6 @@ Wa__SyncdPatch * void wa__syncd_patch__free_unpacked (Wa__SyncdPatch *message, ProtobufCAllocator *allocator); -/* Wa__SyncdRecord methods */ -void wa__syncd_record__init - (Wa__SyncdRecord *message); size_t wa__syncd_record__get_packed_size (const Wa__SyncdRecord *message); size_t wa__syncd_record__pack @@ -7481,9 +6836,6 @@ Wa__SyncdRecord * void wa__syncd_record__free_unpacked (Wa__SyncdRecord *message, ProtobufCAllocator *allocator); -/* Wa__SyncdSnapshot methods */ -void wa__syncd_snapshot__init - (Wa__SyncdSnapshot *message); size_t wa__syncd_snapshot__get_packed_size (const Wa__SyncdSnapshot *message); size_t wa__syncd_snapshot__pack @@ -7500,9 +6852,6 @@ Wa__SyncdSnapshot * void wa__syncd_snapshot__free_unpacked (Wa__SyncdSnapshot *message, ProtobufCAllocator *allocator); -/* Wa__SyncdValue methods */ -void wa__syncd_value__init - (Wa__SyncdValue *message); size_t wa__syncd_value__get_packed_size (const Wa__SyncdValue *message); size_t wa__syncd_value__pack @@ -7519,9 +6868,6 @@ Wa__SyncdValue * void wa__syncd_value__free_unpacked (Wa__SyncdValue *message, ProtobufCAllocator *allocator); -/* Wa__SyncdVersion methods */ -void wa__syncd_version__init - (Wa__SyncdVersion *message); size_t wa__syncd_version__get_packed_size (const Wa__SyncdVersion *message); size_t wa__syncd_version__pack @@ -7538,18 +6884,6 @@ Wa__SyncdVersion * void wa__syncd_version__free_unpacked (Wa__SyncdVersion *message, ProtobufCAllocator *allocator); -/* Wa__TemplateButton__CallButton methods */ -void wa__template_button__call_button__init - (Wa__TemplateButton__CallButton *message); -/* Wa__TemplateButton__QuickReplyButton methods */ -void wa__template_button__quick_reply_button__init - (Wa__TemplateButton__QuickReplyButton *message); -/* Wa__TemplateButton__URLButton methods */ -void wa__template_button__urlbutton__init - (Wa__TemplateButton__URLButton *message); -/* Wa__TemplateButton methods */ -void wa__template_button__init - (Wa__TemplateButton *message); size_t wa__template_button__get_packed_size (const Wa__TemplateButton *message); size_t wa__template_button__pack @@ -7566,9 +6900,6 @@ Wa__TemplateButton * void wa__template_button__free_unpacked (Wa__TemplateButton *message, ProtobufCAllocator *allocator); -/* Wa__UserReceipt methods */ -void wa__user_receipt__init - (Wa__UserReceipt *message); size_t wa__user_receipt__get_packed_size (const Wa__UserReceipt *message); size_t wa__user_receipt__pack @@ -7585,12 +6916,6 @@ Wa__UserReceipt * void wa__user_receipt__free_unpacked (Wa__UserReceipt *message, ProtobufCAllocator *allocator); -/* Wa__VerifiedNameCertificate__Details methods */ -void wa__verified_name_certificate__details__init - (Wa__VerifiedNameCertificate__Details *message); -/* Wa__VerifiedNameCertificate methods */ -void wa__verified_name_certificate__init - (Wa__VerifiedNameCertificate *message); size_t wa__verified_name_certificate__get_packed_size (const Wa__VerifiedNameCertificate *message); size_t wa__verified_name_certificate__pack @@ -7607,9 +6932,6 @@ Wa__VerifiedNameCertificate * void wa__verified_name_certificate__free_unpacked (Wa__VerifiedNameCertificate *message, ProtobufCAllocator *allocator); -/* Wa__WallpaperSettings methods */ -void wa__wallpaper_settings__init - (Wa__WallpaperSettings *message); size_t wa__wallpaper_settings__get_packed_size (const Wa__WallpaperSettings *message); size_t wa__wallpaper_settings__pack @@ -7626,9 +6948,6 @@ Wa__WallpaperSettings * void wa__wallpaper_settings__free_unpacked (Wa__WallpaperSettings *message, ProtobufCAllocator *allocator); -/* Wa__WebFeatures methods */ -void wa__web_features__init - (Wa__WebFeatures *message); size_t wa__web_features__get_packed_size (const Wa__WebFeatures *message); size_t wa__web_features__pack @@ -7645,9 +6964,6 @@ Wa__WebFeatures * void wa__web_features__free_unpacked (Wa__WebFeatures *message, ProtobufCAllocator *allocator); -/* Wa__WebMessageInfo methods */ -void wa__web_message_info__init - (Wa__WebMessageInfo *message); size_t wa__web_message_info__get_packed_size (const Wa__WebMessageInfo *message); size_t wa__web_message_info__pack @@ -7664,9 +6980,6 @@ Wa__WebMessageInfo * void wa__web_message_info__free_unpacked (Wa__WebMessageInfo *message, ProtobufCAllocator *allocator); -/* Wa__WebNotificationsInfo methods */ -void wa__web_notifications_info__init - (Wa__WebNotificationsInfo *message); size_t wa__web_notifications_info__get_packed_size (const Wa__WebNotificationsInfo *message); size_t wa__web_notifications_info__pack @@ -8462,6 +7775,7 @@ typedef void (*Wa__WebNotificationsInfo_Closure) /* --- services --- */ + PROTOBUF_C__END_DECLS diff --git a/protocols/WhatsApp/src/pmsg.proto b/protocols/WhatsApp/src/pmsg.proto index e7a09f1eda..4a0991fc32 100644 --- a/protocols/WhatsApp/src/pmsg.proto +++ b/protocols/WhatsApp/src/pmsg.proto @@ -1,5 +1,5 @@ syntax = "proto2"; -package proto; +package wa; message ADVDeviceIdentity { optional uint32 rawId = 1; |