Apply pipe to a specific translate param in angular

Present code:

 <div(someDirective)="(msg | translate: object.payload)"></div>

I have implemented a pipe and I want to pass one specific translate param (name) to that pipe and further display the whole message (There are other params in object.payload as well which are in translation)

Something like the following:

| translate: { name:|escapeCharacter} object.payload )  "

The above code gives error and I am not sure how to pass it and let the whole message be displayed