Files
iptv/scripts/models/blocked.ts

18 lines
280 B
TypeScript
Raw Normal View History

2023-09-15 18:40:35 +03:00
type BlockedProps = {
channel: string
2025-02-27 21:19:12 +03:00
reason: string
2023-09-15 18:40:35 +03:00
ref: string
}
export class Blocked {
channel: string
2025-02-27 21:19:12 +03:00
reason: string
2023-09-15 18:40:35 +03:00
ref: string
2025-02-27 21:19:12 +03:00
constructor({ ref, reason, channel }: BlockedProps) {
2023-09-15 18:40:35 +03:00
this.channel = channel
2025-02-27 21:19:12 +03:00
this.reason = reason
2023-09-15 18:40:35 +03:00
this.ref = ref
}
}