@mengkodingan/ckptw
Version:
Create powerful WhatsApp bots easily
11 lines • 537 B
TypeScript
import { GroupMetadata, proto } from "@whiskeysockets/baileys";
import { ICtx } from "../../Common/Types";
export declare class Group {
ctx: ICtx;
constructor(ctx: ICtx);
create(subject: string, members: string[]): Promise<GroupMetadata>;
inviteCodeInfo(code: string): Promise<GroupMetadata>;
acceptInvite(code: string): Promise<string | undefined>;
acceptInviteV4(key: string | proto.IMessageKey, inviteMessage: proto.Message.IGroupInviteMessage): Promise<string>;
}
//# sourceMappingURL=Group.d.ts.map