When using the keyboard up key while focused on a textarea, it would be useful if it brought the focus to the chat messages instead. It would be convenient to use shortcut keys to trigger actions such as copying the content, regenerating or editing messages (if the message was written by the user).
Slack app can be a very good reference for keyboard friendly app.