Type | Name and description |
---|---|
java.lang.Object |
DETAULT_TEAMS_WEBHOOK_URL This is mandatory parameter! |
java.lang.Object |
TEAMS_ICON_URL Pricefx logo (link from Twitter) |
java.lang.Object |
THEME_COLOR Theme color of the teams message |
Type Params | Return Type | Name and description |
---|---|---|
null |
static void |
main(java.lang.String[] args) Implicit main method for Groovy Scripts |
|
java.lang.Object |
sendMessage(java.lang.String title, java.util.List<java.util.Map> facts, java.lang.String webHookUrl) Sends a message to Microsoft Teams channel See more: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using#creating-messages-through-office-365-connectors |
|
java.lang.Object |
sendMessage(java.lang.String title, java.util.List<java.util.Map> facts) Sends a message to the default Microsoft Teams channel defined by DETAULT_TEAMS_WEBHOOK_URL See more: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using#creating-messages-through-office-365-connectors |
Methods inherited from class | Name |
---|---|
class groovy.lang.Script |
groovy.lang.Script#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.Script#evaluate(java.lang.String), groovy.lang.Script#evaluate(java.io.File), groovy.lang.Script#getBinding(), groovy.lang.Script#setBinding(groovy.lang.Binding), groovy.lang.Script#println(), groovy.lang.Script#println(java.lang.Object), groovy.lang.Script#run(java.io.File, [Ljava.lang.String;), groovy.lang.Script#run(), groovy.lang.Script#setProperty(java.lang.String, java.lang.Object), groovy.lang.Script#getProperty(java.lang.String), groovy.lang.Script#print(java.lang.Object), groovy.lang.Script#printf(java.lang.String, java.lang.Object), groovy.lang.Script#printf(java.lang.String, [Ljava.lang.Object;), groovy.lang.Script#getMetaClass(), groovy.lang.Script#setMetaClass(groovy.lang.MetaClass), groovy.lang.Script#wait(long, int), groovy.lang.Script#wait(long), groovy.lang.Script#wait(), groovy.lang.Script#equals(java.lang.Object), groovy.lang.Script#toString(), groovy.lang.Script#hashCode(), groovy.lang.Script#getClass(), groovy.lang.Script#notify(), groovy.lang.Script#notifyAll() |
class groovy.lang.GroovyObjectSupport |
groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
This is mandatory parameter! Unless you will specify the webHookUrl parameter in the sendMessage() call. It is an url of a Teams channel where the messages should be send by default. The URL is generated when you create the connector Incoming webhook in a Teams channel (https://outlook.office.com/webhook/...).
Pricefx logo (link from Twitter)
Theme color of the teams message
Implicit main method for Groovy Scripts
Sends a message to Microsoft Teams channel See more: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using#creating-messages-through-office-365-connectors
title
- The title of the message in Teamsfacts
- List of MapswebHookUrl
- The URL generated when you create a connector by the Incoming webhook in a Teams channel.Sends a message to the default Microsoft Teams channel defined by DETAULT_TEAMS_WEBHOOK_URL See more: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using#creating-messages-through-office-365-connectors
title
- The title of the message in Teamsfacts
- List of Maps. See the documentation above for more detailswebHookUrl
- The URL of a Teams channel where the message should be sent to