File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/main/java/com/whatsapp/api/domain/messages Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .whatsapp .api .domain .messages ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ /**
7
+ * Object that allow messages to be replied
8
+ *
9
+ *
10
+ * @see <a href="https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-messages#replies">Replies</a>
11
+ */
12
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
13
+ public class Context {
14
+
15
+ @ JsonProperty ("message_id" )
16
+ private String messageId ;
17
+
18
+ }
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ public class Message {
17
17
private final String messagingProduct = "whatsapp" ;
18
18
@ JsonProperty ("recipient_type" )
19
19
private final String recipientType = "individual" ;
20
+ @ JsonProperty ("context" )
21
+ private Context context ;
20
22
/**
21
23
* The Interactive message.
22
24
*/
You can’t perform that action at this time.
0 commit comments