Handle focusing multiple composers

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-08 17:33:49 +02:00
parent 14687f3630
commit 7734f8aeef
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
4 changed files with 33 additions and 3 deletions

View file

@ -56,10 +56,22 @@ export enum Action {
CheckUpdates = "check_updates",
/**
* Focuses the user's cursor to the composer. No additional payload information required.
* Focuses the user's cursor to the send message composer. No additional payload information required.
*/
FocusComposer = "focus_composer",
/**
* Focuses the user's cursor to the edit message composer. No additional payload information required.
*/
FocusEditMessageComposer = "focus_edit_message_composer",
/**
* Focuses the user's cursor to the edit message composer or send message
* composer based on the current edit state. No additional payload
* information required.
*/
FocusAComposer = "focus_a_composer",
/**
* Opens the user menu (previously known as the top left menu). No additional payload information required.
*/