The Raid command triggers a GraphQL event.
We as third party developers are not supposed to be using the GraphQL API. It is undocumented and unsupport for third party developers.
Currently at this time there is not an official way for a third party developer to trigger a raid event.
The final post in the thread you linked to, where it doesn’t work. And my own tests