waha / src /nestjs /params /ChatIdApiParam.ts
NitinBot002's picture
Upload 384 files
4327358 verified
import { ApiParam } from '@nestjs/swagger';
export const ChatIdApiParam = ApiParam({
name: 'chatId',
required: true,
type: 'string',
description: 'Chat ID',
example: '123456789@c.us',
});
export const GroupIdApiParam = ApiParam({
name: 'id',
required: true,
type: 'string',
description: 'Group ID',
example: '123123123@g.us',
});