[lib] Introduce new sendMultimediaMessage and consume in native
Summary:
Introduce a new sendMultimediaMessage in lib/actions/message-actions that hits the create_multimedia_message endpoint with the updated payload (mediaMessageContents instead of mediaIDs).
This endpoint is consumed by input-state-container on native, but not on web. We continue to use the legacySendMultimediaMessage on web to avoid breaking things.
(As of this diff, the keyserver has everything it needs in multimediaMessageCreationResponder(...) to properly associate uploads with media with messages)
Depends on D5062
Test Plan:
- Able to send image(s) on native as before without issue
- Able to send image(s) on web as before without issue
Also set breakpoints at key parts of the multimedia message flow and ensured that values appeared as expected.
(I'll do some a bunch of additional testing once things are "working" end-to-end)
Reviewers: abosh, tomek, marcin
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D5063