We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1c6cf8 + c6dcd8c commit fe78b29Copy full SHA for fe78b29
1 file changed
src/main/java/in/ashwanthkumar/slack/webhook/SlackAttachment.java
@@ -31,7 +31,9 @@ public class SlackAttachment {
31
private String imageUrl;
32
@SerializedName("fields")
33
private List<Field> fields = new ArrayList<Field>();
34
-
+ @SerializedName("mrkdwn_in")
35
+ private List<String> markdown = new ArrayList<String>();
36
+
37
public SlackAttachment(String text) {
38
text(text);
39
}
@@ -122,6 +124,11 @@ public SlackAttachment addField(Field field) {
122
124
return this;
123
125
126
127
+ public SlackAttachment addMarkdownIn(String markdownin) {
128
+ this.markdown.add(markdownin);
129
+ return this;
130
+ }
131
132
public String getText() {
133
return text;
134
0 commit comments