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

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

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

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * InboundMessages are a type of event that can be received in a {@link Callback} @{link Entry}. They represent
 * text messages that are sent by users.
 *
 * https://developers.facebook.com/docs/messenger-platform/webhook-reference/message-received
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InboundMessage {
    private String mid;
    private Long seq;
    private String text;

    private List attachments;

    @JsonProperty("quick_reply")
    private InboundPayload quickReply;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy