Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing attributes in pre-join group info query response #2477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/whatsapp/functions/sendQueryGroupInvite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { exportModule } from '../exportModule';
export interface QueryGroupInviteResult {
announce: boolean;
creation: number;
/** description of the group; linebreaks are formatted using `"\n"` */
desc: string;
descId: string;
descOwner?: Wid;
Expand All @@ -35,13 +36,22 @@ export interface QueryGroupInviteResult {
}[];
pvId?: string;
restrict: boolean;
/** how many members the group currently has */
size: number;
status: number;
/** title of the group */
subject: string;
subjectOwner?: Wid;
subjectTime: number;
support: boolean;
suspended: boolean;
isParentGroup: boolean;
isParentGroupClosed: boolean;
defaultSubgroup: boolean;
generalSubgroup: boolean;
membershipApprovalMode: boolean;
isLidAddressingMode: boolean;
generalChatAutoAddDisabled: boolean;
}

/** @whatsapp 10790
Expand Down
Loading