finos / spring-bot

Spring Boot + Java Integration for Symphony/Teams Chat Platform Bots and Apps
https://springbot.finos.org
Apache License 2.0
60 stars 35 forks source link

Improvements to `Content` class functionality #109

Closed robmoffat closed 3 years ago

robmoffat commented 3 years ago

Feature Request

Description of Problem:

Manipulating content is a bit of a pain. If you want to remove the first word from a paragraph, you're out of luck.

Potential Solutions:

Content.removeNth() : returns a new Content.
Content.remove(object) : returns a new Content

List extends Content {}   # Handle lists in chats

OrderedList extends List {}
UnorderedList extends List {}
ListItem extends Pararaph {}