How to Include the Group 'Request' Button In a Topic Post?

To participate in category you need to <a href="/g/group/members">Apply</a>

I use this for a closed group in a category that everyone can see but needs to join to participate.

In my case above it activates a group message to owners to request to join. Imagine if group is free to join it might work to instant join.