How to set setCustomPayload?

dialogflow
google-assistant

#1

Hello everybody,
I try to use this.$dialogflowAgent.setCustomPayload('google', {...}); but jovo does not find this.$dialogflowAgent. Cannot read property 'setCustomPayload' of undefined
Iimported const { Dialogflow } = require('jovo-platform-dialogflow'); but it doesn’t work.

How can I resolve this?