Get current group GUID from another plugin

Can I somehow read the current group id from the 'context'?

I can see that this is a group by calling elgg_in_context('groups'), but how to get its guid?

david

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking