edit messages
casperdcl opened this issue · 1 comments
casperdcl commented
Option to edit a message for supported providers (e.g. slack, telegram, etc.)
solution proposed
msg = notifiers.get_notifier('telegram').notify(message='Hi!', token='TOKEN', chat_id=1234)
...
msg.edit(message='hello?')
alternatives:
liiight commented
originally, I thought about this but decided its outside the scope of the library. on 2nd thought, this could probably be an easy implementation as most providers provide an identifier on response and more often than not, the internal implementation required for updating an existing message is pretty close to a new message, schema wise.
I'll give this some though 👍