There are two species of pepper-producing plants. The more popular pepper comes from Piper nigrum. This pepper is available in four variants: black, white, green, and red. Piper longum is the other species that, at one time, was the most prized peppers in Ancient Rome. This demand has now been largely replaced by chilly. In India, Piper longum—also called pippali in trade—is an ingredient of the Indian curry masala (garam masala).
In Ayurveda, black pepper is a healing spice. It is often used along with long pepper and ginger. A combination said to have cleansing and antioxidant properties. Pepper is a bioavailability enhancer.
A study conducted on mice shows spasmodic (cholinergic) and anti-spasmodic effects, like loperamide and nifedipine. Pepper and piperine may possess properties to treat gastrointestinal motility disorders (Mehmood et al., 2010).
Neither Piper longum and Piper nigrum are listed as herbs with anti-diabetic properties in major herbal medicine literature. These plants are also not ingredients of the commonly available Ayurvedic formulations for diabetes.
Plants are known to possess a wide-ranging of medicinal properties, and there may be mention of the use of Piper longum as an antidiabetic herb. There is, though, no scientific support that I have been able to discover during the course of my research on medicinal plants.
To learn more about the medicinal properties of herbs, you can check my books on the subject. The amazon link is https://amzn.to/2Xyv78a.