How to get GPENCIL selected points indexces?

I’m trying to add selected points of gpencil object to the vertex group.
But the problem, I don’t know how to access gpencil points indexes