mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 23:51:23 -07:00
add message_id (ts) option to slack module to allow editing messages (#843)
* add ts option to slack module to allow editing messages * add version_added Co-authored-by: Felix Fontein <felix@fontein.de> * use correct API URL when updating * add changelog fragment * add diff/changed support for updating slack messages * add an example on how to edit a message * rename ts to message_id * use the changed variable where possible * correct conversation.history url * proper formatting in documentation Co-authored-by: Felix Fontein <felix@fontein.de> * add channel to example * correct conversation history url * allow channel to start with C0 * fetch_url does not construct query parameters * add missing argument * return more data when nothing has changed * use urlencode to construct query string Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
10fb2ffe5d
commit
6d60d3fa7f
2 changed files with 76 additions and 7 deletions
2
changelogs/fragments/843-update-slack-messages.yml
Normal file
2
changelogs/fragments/843-update-slack-messages.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- slack - add support for updating messages (https://github.com/ansible-collections/community.general/issues/304).
|
Loading…
Add table
Add a link
Reference in a new issue