All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.signal.auth.WebPayload Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package it.auties.whatsapp.model.signal.auth;

import it.auties.protobuf.base.ProtobufMessage;
import it.auties.protobuf.base.ProtobufName;
import it.auties.protobuf.base.ProtobufProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.jackson.Jacksonized;

import static it.auties.protobuf.base.ProtobufType.*;

@AllArgsConstructor
@Data
@Builder
@Jacksonized
@Accessors(fluent = true)
@ProtobufName("WebdPayload")
public class WebPayload implements ProtobufMessage {
    @ProtobufProperty(index = 1, type = BOOL)
    private boolean usesParticipantInKey;

    @ProtobufProperty(index = 2, type = BOOL)
    private boolean supportsStarredMessages;

    @ProtobufProperty(index = 3, type = BOOL)
    private boolean supportsDocumentMessages;

    @ProtobufProperty(index = 4, type = BOOL)
    private boolean supportsUrlMessages;

    @ProtobufProperty(index = 5, type = BOOL)
    private boolean supportsMediaRetry;

    @ProtobufProperty(index = 6, type = BOOL)
    private boolean supportsE2EImage;

    @ProtobufProperty(index = 7, type = BOOL)
    private boolean supportsE2EVideo;

    @ProtobufProperty(index = 8, type = BOOL)
    private boolean supportsE2EAudio;

    @ProtobufProperty(index = 9, type = BOOL)
    private boolean supportsE2EDocument;

    @ProtobufProperty(index = 10, type = STRING)
    private String documentTypes;

    @ProtobufProperty(index = 11, type = BYTES)
    private byte[] features;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy