A question about editing target text throw a plugin

Hello everyone,

I'm a Trados Studio plugin developer.

I have facing a problem that I want to edit the target text automatically throw my plugin but I don't find the reference API to enable that function.

Is there anyone knows how to develop this plugin?

I'm waiting for your reply.