Files
x-poster-client/src/xbot-follow/dto/follow-followers.dto.ts
T
NAME b5cf2502be U
2026-05-11 08:02:34 +00:00

18 lines
430 B
TypeScript

import { IsString, IsOptional, IsInt, Min, Max } from 'class-validator';
import { Type } from 'class-transformer';
export class FollowFollowersDto {
@IsString()
targetUsername: string; // follow những ai đang follow người này
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
@Max(100)
limit?: number = 10;
@IsOptional()
@Type(() => Boolean)
skipVerified?: boolean = false;
}