You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
280 B
TypeScript

2 years ago
type BlockedProps = {
channel: string
6 months ago
reason: string
2 years ago
ref: string
}
export class Blocked {
channel: string
6 months ago
reason: string
2 years ago
ref: string
6 months ago
constructor({ ref, reason, channel }: BlockedProps) {
2 years ago
this.channel = channel
6 months ago
this.reason = reason
2 years ago
this.ref = ref
}
}