mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-06-11 02:20:56 +08:00
feat: telegram bot TelegramSettings && webhook (#244)
* feat: telegram bot TelegramSettings * feat: webhook
This commit is contained in:
16
worker/src/models/models.ts
Normal file
16
worker/src/models/models.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export class AdminWebhookSettings {
|
||||
allowList: string[];
|
||||
|
||||
constructor(allowList: string[]) {
|
||||
this.allowList = allowList;
|
||||
}
|
||||
}
|
||||
|
||||
export type WebhookMail = {
|
||||
from: string;
|
||||
to: string;
|
||||
headers: string;
|
||||
subject: string;
|
||||
raw: string;
|
||||
parsedText: string;
|
||||
}
|
||||
Reference in New Issue
Block a user