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 {
|
2025-03-29 11:39:46 +03:00
|
|
|
channelId: string
|
2025-02-27 21:19:12 +03:00
|
|
|
reason: string
|
2023-09-15 18:40:35 +03:00
|
|
|
ref: string
|
|
|
|
|
|
2025-03-29 11:39:46 +03:00
|
|
|
constructor(data: BlockedProps) {
|
|
|
|
|
this.channelId = data.channel
|
|
|
|
|
this.reason = data.reason
|
|
|
|
|
this.ref = data.ref
|
2023-09-15 18:40:35 +03:00
|
|
|
}
|
|
|
|
|
}
|