flexget.components.notify.notifiers.microsoftteams module#
- class flexget.components.notify.notifiers.microsoftteams.MsTeamsNotifier[source]#
Bases:
objectSend notification to Microsoft Teams.
Example:
notify: entries: via: ms_teams: web_hook_url: <string> [message: <string>] [title: <string>] [theme_color: <string>]
- notify(web_hook_url, message, config, title=None, themecolor=None)[source]#
Send notification to Microsoft Teams.
- schema = {'additionalProperties': False, 'properties': {'theme_color': {'type': 'string'}, 'title': {'type': 'string'}, 'web_hook_url': {'type': 'string'}}, 'required': ['web_hook_url'], 'type': 'object'}#