Spaces:
Runtime error
Runtime error
File size: 427 Bytes
4327358 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
/**
* Events
*/
import { ApiProperty } from '@nestjs/swagger';
import { ChatIdProperty } from '@waha/structures/properties.dto';
function CallIdProperty() {
return ApiProperty({
description: 'Call ID',
example: 'ABCDEFGABCDEFGABCDEFGABCDEFG',
});
}
export class CallData {
@CallIdProperty()
id: string;
@ChatIdProperty()
from?: string;
timestamp: number;
isVideo: boolean;
isGroup: boolean;
}
|