5#if PROTOCOL_VERSION > 758
6#if PROTOCOL_VERSION < 760
21#if PROTOCOL_VERSION < 759
23#elif PROTOCOL_VERSION < 760
28#elif PROTOCOL_VERSION < 761
44#if PROTOCOL_VERSION > 760
49 std::array<unsigned char, 256> new_signature{};
50 std::copy_n(signature.begin(), 256, new_signature.begin());
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Salt, long long int)
SERIALIZED_FIELD(LastSeenMessages, LastSeenMessagesUpdate)
SERIALIZED_FIELD(Message, std::string)
static constexpr std::string_view packet_name
SERIALIZED_FIELD(Timestamp, long long int)
auto & SetSignature(const std::vector< unsigned char > &signature)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD(Signature, std::optional< std::array< unsigned char, 256 > >)