[lib][web][native] Refactor actions in link-actions.js
Summary:
issue: https://linear.app/comm/issue/ENG-4681/create-action-objects-for-all-actions
verifyInviteLink cannot be refactored yet. It will be done in https://linear.app/comm/issue/ENG-5164/refactor-verifyinvitelink-action
Test Plan: Tested that the actions work as expected
Reviewers: michal, kamil, ginsu
Reviewed By: michal
Subscribers: ashoat, tomek, wyilio
Differential Revision: https://phab.comm.dev/D9368