[lib] Function to dispatch edit message action
Summary: Added function to dispatch edit message action. It calls the edit message function, which communicates with the keyserver endpoint.
Test Plan: Called the function from both web and native (iOS), and checked if the keyserver endpoint is called successfully.
Reviewers: michal, inka, ginsu, ashoat
Reviewed By: ashoat
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D7143