oex2003/evolution-api
0
1export class CreateGroupDto {2 subject: string;3 participants: string[];4 description?: string;5 promoteParticipants?: boolean;6}7 8export class GroupPictureDto {9 groupJid: string;10 image: string;11}12 13export class GroupSubjectDto {14 groupJid: string;15 subject: string;16}17 18export class GroupDescriptionDto {19 groupJid: string;20 description: string;21}22 23export class GroupJid {24 groupJid: string;25}26 27export class GetParticipant {28 getParticipants: string;29}30 31export class GroupInvite {32 inviteCode: string;33}34 35export class AcceptGroupInvite {36 inviteCode: string;37}38 39export class GroupSendInvite {40 groupJid: string;41 description: string;42 numbers: string[];43}44 45export class GroupUpdateParticipantDto extends GroupJid {46 action: 'add' | 'remove' | 'promote' | 'demote';47 participants: string[];48}49 50export class GroupUpdateSettingDto extends GroupJid {51 action: 'announcement' | 'not_announcement' | 'unlocked' | 'locked';52}53 54export class GroupToggleEphemeralDto extends GroupJid {55 expiration: 0 | 86400 | 604800 | 7776000;56}57 