UpdateMessageCallback type

Callback function run when a message is updated.

type UpdateMessageCallback = (
  messageId: string,
  content: string
) => Promise<void>