Skip to content

Commit

Permalink
Issue #1105: missing fields added to WhatsAppMessageTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
nbartels committed Dec 9, 2020
1 parent c957e36 commit 01ba425
Showing 1 changed file with 16 additions and 0 deletions.
Expand Up @@ -45,6 +45,14 @@ public class WhatsAppMessageTemplate extends NamedFacebookType {
@Facebook
private String category;

/**
* Message template string with placeholders for parameters
*/
@Getter
@Setter
@Facebook
private String content;

// WhatsAppBusinessHSMWhatsAppHSMComponentGet is not defined in the reference
// @Getter
// @Setter
Expand Down Expand Up @@ -82,4 +90,12 @@ public class WhatsAppMessageTemplate extends NamedFacebookType {
@Setter
@Facebook
private String status;

/**
* String as a query parameter to filter message templates name or content containing this variable
*/
@Getter
@Setter
@Facebook("name_or_content")
private String nameOrContent;
}

0 comments on commit 01ba425

Please sign in to comment.