Amazebot / bbot

An adaptable conversation engine for building bespoke bots.
MIT License
55 stars 2 forks source link

Update envelope with sent message ID #81

Open timkinnane opened 6 years ago

timkinnane commented 6 years ago

After a respond or send action, the message adapter could return the ID of the created message from the dispatched envelope (if supported by the platform). That could be set as an attribute on the envelope before thought process resolves and state is stored. Would allow better audit trails because every sent message could be connected to it's counterpart in the messaging platform's database.