Spaces:
Runtime error
Runtime error
| import { ApiProperty } from '@nestjs/swagger'; | |
| import { WAHAPresenceStatus } from './enums.dto'; | |
| export class WAHAPresenceData { | |
| ({ | |
| description: 'Chat ID - participant or contact id', | |
| example: '11111111111@c.us', | |
| }) | |
| participant: string; | |
| lastKnownPresence: WAHAPresenceStatus; | |
| ({ | |
| example: 1686568773, | |
| }) | |
| lastSeen?: number; | |
| } | |
| export class WAHAChatPresences { | |
| ({ | |
| description: 'Chat ID - either group id or contact id', | |
| example: '11111111111@c.us', | |
| }) | |
| id: string; | |
| presences: WAHAPresenceData[]; | |
| } | |
| export class WAHASessionPresence { | |
| presence: WAHAPresenceStatus; | |
| ({ | |
| description: 'Chat ID - either group id or contact id', | |
| example: '11111111111@c.us', | |
| }) | |
| chatId: string; | |
| } | |