updateMessageStatus(accountId:localId:status:statusText:)
Update delivery state for a locally-created message
func updateMessageStatus(accountId: String, localId: String, status: MessageStatus, statusText: String?) async -> ChatMessage
Parameters
accountId
the account that owns the message
localId
local message ID to update
status
new delivery state
statusText
optional human-readable status detail
Return Value
Promise resolving to the updated message