feat: Added returning or non-returning participants option in fetchAllGroups

This commit is contained in:
Davidson Gomes
2023-07-13 07:19:32 -03:00
parent db54f247a2
commit be782ba512
7 changed files with 99 additions and 9 deletions

View File

@@ -700,6 +700,16 @@ export const groupJidSchema: JSONSchema7 = {
...isNotEmpty('groupJid'),
};
export const getParticipantsSchema: JSONSchema7 = {
$id: v4(),
type: 'object',
properties: {
getParticipants: { type: 'string', enum: ['true', 'false'] },
},
required: ['getParticipants'],
...isNotEmpty('getParticipants'),
};
export const groupSendInviteSchema: JSONSchema7 = {
$id: v4(),
type: 'object',