Class FlexTeamsMessage
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.ffi.microsoftteams.pojos.FlexTeamsMessage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TeamChannelMessageRequestPojo,TeamsCalendarPojo,UserMessageRequestPojo
An object representing a nicely formatted Teams message. Set relevant fields with setters and
adds. Finally call the getHTML method to
return the html representation which can be sent via API call to Teams.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalHTML(String pHTML) Add any custom html to the end of the messagevoidaddTableRow(String pKey, String pValue) Adds a table row entry to this messagevoidClears all table row datagetHTML()Return the html representation of the content of this instancegetText()getTitle()voidsetIconURL(String pIconURL) voidSet the default text/header of the messagevoid
-
Field Details
-
mSAdditionalHTML
-
mSTableEntries
-
-
Constructor Details
-
FlexTeamsMessage
public FlexTeamsMessage()
-
-
Method Details
-
setIconURL
-
getIconURL
-
setText
Set the default text/header of the message- Parameters:
pText-
-
getText
-
setTitle
-
getTitle
-
addAdditionalHTML
Add any custom html to the end of the message- Parameters:
pHTML-
-
addTableRow
Adds a table row entry to this message- Parameters:
pKey- Table keypValue- Table value
-
clearTableRows
public void clearTableRows()Clears all table row data -
getHTML
Return the html representation of the content of this instance- Returns:
-