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

it.auties.whatsapp.model.action.AndroidUnsupportedActions Maven / Gradle / Ivy

package it.auties.whatsapp.model.action;

import it.auties.protobuf.annotation.ProtobufMessageName;
import it.auties.protobuf.annotation.ProtobufProperty;
import it.auties.protobuf.model.ProtobufType;
import it.auties.whatsapp.model.sync.PatchType;

/**
 * A model clas that represents unsupported actions for android
 */
@ProtobufMessageName("SyncActionValue.AndroidUnsupportedActions")
public record AndroidUnsupportedActions(
        @ProtobufProperty(index = 1, type = ProtobufType.BOOL)
        boolean allowed
) implements Action {
    /**
     * The name of this action
     *
     * @return a non-null string
     */
    @Override
    public String indexName() {
        return "android_unsupported_actions";
    }

    /**
     * The version of this action
     *
     * @return a non-null string
     */
    @Override
    public int actionVersion() {
        return 4;
    }

    /**
     * The type of this action
     *
     * @return a non-null string
     */
    @Override
    public PatchType actionType() {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy