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

com.github.messenger4j.send.message.richmedia.RichMediaAsset Maven / Gradle / Ivy

Go to download

The ultimate Java library for building Chatbots on the Facebook Messenger Platform

There is a newer version: 1.1.0
Show newest version
package com.github.messenger4j.send.message.richmedia;

import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Max Grabenhorst
 * @since 1.0.0
 */
@ToString
@EqualsAndHashCode
public abstract class RichMediaAsset {

    private final Type type;

    RichMediaAsset(Type type) {
        this.type = type;
    }

    public Type type() {
        return type;
    }

    /**
     * @since 1.0.0
     */
    public enum Type {
        IMAGE,
        AUDIO,
        VIDEO,
        FILE
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy