Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(group): describe isReadOnly as the announce-only, non-admin case

Yudhi Armyndharisc1e59e6e61f5
diff --git a/src/modules/group/dto/group-response.dto.ts b/src/modules/group/dto/group-response.dto.ts
index edb083f06..ee22ca76f 100644
--- a/src/modules/group/dto/group-response.dto.ts
+++ b/src/modules/group/dto/group-response.dto.ts
@@ -80,7 +80,10 @@ export class GroupInfoDto {
@ApiProperty({ type: [GroupParticipantDto], description: 'Members of the group.' })
participants!: GroupParticipantDto[];
- @ApiPropertyOptional({ description: 'Whether this account can no longer post (left or removed).', example: false })
+ @ApiPropertyOptional({
+ description: 'Whether this account cannot post: the group is announce-only and this account is not an admin.',
+ example: false,
+ })
isReadOnly?: boolean;
@ApiPropertyOptional({ description: 'Engine-reported announce flag.', example: false })