diff --git a/src/api/layers/retriever.layer.ts b/src/api/layers/retriever.layer.ts index 39c8a520f..65faf974f 100644 --- a/src/api/layers/retriever.layer.ts +++ b/src/api/layers/retriever.layer.ts @@ -506,4 +506,15 @@ export class RetrieverLayer extends SenderLayer { msgId ); } + + /** + * Get the max number of participants for a group + * + * @category Group + */ + public async getGroupSizeLimit(): Promise { + return await evaluateAndReturn(this.page, () => + WPP.group.getGroupSizeLimit() + ); + } }