SendEditMessageResult is used only in dispatchActionPromise, other than that we only care about success/failure.
With that change, we're able to use this hook also for DMs where SendEditMessageResult is not existing.
Differential D13186
[lib][native] update `useEditMessage` return type Authored by kamil on Aug 28 2024, 9:53 AM.
Details SendEditMessageResult is used only in dispatchActionPromise, other than that we only care about success/failure. With that change, we're able to use this hook also for DMs where SendEditMessageResult is not existing. Editing still works
Diff Detail
|