
com.replyyes.facebook.messenger.bean.Entry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of facebook-messenger Show documentation
Show all versions of facebook-messenger Show documentation
Java client for Facebook Messenger
package com.replyyes.facebook.messenger.bean;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
/**
* A {@link Callback} is composed of a list of Entry instances.
*
* An Entry contains data specific to one or more messages. During moments of high load, the Facebook
* Messenger platform may batch together several Entry instances that each contain multiple {@link Messaging}
* instances into a single Callback. It is important to iterate through all Entry and Messaging
* instances.
*
* https://developers.facebook.com/docs/messenger-platform/webhook-reference#format
* @see Callback
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Entry {
private String id;
private Long time;
private List messaging;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy