File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,8 @@ new SlackMessage("Some text can be")
4242 .italic(" Italic" )
4343 .text(" . :)" )
4444```
45- With ` SlackAttachment ` you can create much more sophisticated rich text as specified in https://api.slack.com/docs/attachments . Example usage
46- ``` java
47- new SlackAttachment ()
48- .author(" ashwanthkumar" )
49- .author(" ashwanthkumar" , " https://avatars0.githubusercontent.com/u/600279?v=3&s=40" )
50- ```
5145
52- Available methods
46+ Available methods on ` SlackMessage `
5347- ` text `
5448- ` link `
5549- ` bold `
@@ -58,6 +52,22 @@ Available methods
5852- ` preformatted `
5953- ` quote `
6054
55+ With ` SlackAttachment ` you can create much more sophisticated rich text as specified in https://api.slack.com/docs/attachments . Example usage
56+ ``` java
57+ new SlackAttachment ()
58+ .author(" ashwanthkumar" )
59+ .author(" ashwanthkumar" , " https://avatars0.githubusercontent.com/u/600279?v=3&s=40" )
60+ ```
61+
62+ Available methods on ` SlackAttachment `
63+ - ` fallback `
64+ - ` color `
65+ - ` preText `
66+ - ` author `
67+ - ` title `
68+ - ` text `
69+ - ` addField `
70+
6171## License
6272
6373http://www.apache.org/licenses/LICENSE-2.0
You can’t perform that action at this time.
0 commit comments