[lib] implement hook to send text message from `InputStateContainer
Summary:
ENG-8424.
This code will handle both thick and thin threads, this is the point where we diverge logic, not in InputStateContainer on web and native.
Depends on D13327
Test Plan: Tested later in the stack
Reviewers: tomek, inka
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13328