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

com.replyyes.facebook.messenger.bean.MessageRequest Maven / Gradle / Ivy

There is a newer version: 0.1.0
Show newest version
package com.replyyes.facebook.messenger.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import lombok.Data;

/**
 * Represents the request payload that needs to be sent to the Facebook API to trigger a message to be
 * sent to a user.
 *
 * https://developers.facebook.com/docs/messenger-platform/send-api-reference#request
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class MessageRequest {
    private User recipient;
    private OutboundMessage message;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy