Getting chat messages on new API

That endpoint officially does not exist.

it was never in the documentation and was never intended for third parties to use. It can change, break or be removed at any time and you won’t be informed/notified of that due to it being undocumented