v0.3.31: 全局配置保留title/content仅移除level/priority;推送用户SMTP只显示收件人
This commit is contained in:
@@ -2,7 +2,9 @@ import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.
|
||||
|
||||
const params: NotifierParam[] = [
|
||||
{ key: 'token', label: 'Bot Token', type: 'password', required: true, placeholder: '123456:ABC-def' },
|
||||
{ key: 'chat_id', label: 'Chat ID', type: 'text', required: true, placeholder: '@频道 或 -1001234567890' }
|
||||
{ key: 'chat_id', label: 'Chat ID', type: 'text', required: true, placeholder: '@频道 或 -1001234567890' },
|
||||
{ key: 'title', label: '标题', type: 'text', default: 'CloudSearch', required: false },
|
||||
{ key: 'content', label: '内容', type: 'text', required: true }
|
||||
];
|
||||
|
||||
export const telegramNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user