Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Jeremiad
Copy link
Contributor

@Jeremiad Jeremiad commented Nov 7, 2017

Motivation for changes:

Added support for sending notifications to Microsoft Teams

Detailed changes:

Addressed issues:

  • Fixes # .

Implemented feature requests:

  • Feathub #XX.

Config usage if relevant (new plugin or updated schema):

    notify:
      entries:
        via:
          - microsoftteams:
              web_hook_url: http://example.com
              title: 'Flexget'

Log and/or tests output (preferably both):

paste output here

To Do:

  • Stuff..


requests = RequestSession(max_retries=3)

__name__ = 'microsoftteams'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's kind of a mouthful. Maybe just teams? ms_teams maybe?

'web_hook_url': {'type': 'string'},
'message': {'type': 'string'},
'title': {'type': 'string'},
'themecolor': {'type': 'string'},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to theme_color

'type': 'object',
'properties': {
'web_hook_url': {'type': 'string'},
'message': {'type': 'string'},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message should not be passed as part of the schema. It's passed via the notifiers interface directly

@Jeremiad
Copy link
Contributor Author

Jeremiad commented Nov 8, 2017

Should be better now.

@liiight liiight merged commit 1dd469c into Flexget:develop Nov 8, 2017
@liiight
Copy link
Member

liiight commented Nov 8, 2017

Thanks! Care to update the wiki?

@Jeremiad
Copy link
Contributor Author

Jeremiad commented Nov 9, 2017

Wiki updated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants