receiver = InputPeerUser(user['id'], user['access_hash'])
await client(SendMessageRequest(receiver, message))
An invalid Peer was used. Make sure to pass the right peer type and that the value is valid (for instance, bots cannot start conversations) (caused by SendMessageRequest)