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

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

package it.auties.whatsapp.model.action;

public class DeleteMessageForMeActionBuilder {
    private boolean deleteMedia;
    private long messageTimestampSeconds;

    public DeleteMessageForMeActionBuilder() {
        deleteMedia = false;
        messageTimestampSeconds = 0l;
    }

    public DeleteMessageForMeActionBuilder deleteMedia(boolean deleteMedia) {
        this.deleteMedia = deleteMedia;
        return this;
    }

    public DeleteMessageForMeActionBuilder messageTimestampSeconds(long messageTimestampSeconds) {
        this.messageTimestampSeconds = messageTimestampSeconds;
        return this;
    }

    public it.auties.whatsapp.model.action.DeleteMessageForMeAction build() {
        return new it.auties.whatsapp.model.action.DeleteMessageForMeAction(deleteMedia, messageTimestampSeconds);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy