jxxghp
2025-06-12 18:42:21 +08:00
parent 036fe65b12
commit b69a338e13
3 changed files with 16 additions and 0 deletions

View File

@@ -303,6 +303,16 @@ function onClose() {
prepend-inner-icon="mdi-account-supervisor"
/>
</VCol>
<VCol cols="12" md="6">
<VTextField
v-model="notificationInfo.config.API_URL"
:label="t('notification.telegram.apiUrl')"
:placeholder="t('notification.telegram.apiUrlPlaceholder')"
:hint="t('notification.telegram.apiUrlHint')"
persistent-hint
prepend-inner-icon="mdi-web"
/>
</VCol>
</VRow>
<VRow v-else-if="notificationInfo.type == 'slack'">
<VCol cols="12" md="6">

View File

@@ -327,6 +327,9 @@ export default {
adminsHint: 'User IDs that can use admin menu and commands, separated by commas',
adminsPlaceholder: 'User IDs list, separated by commas',
usersPlaceholder: 'User IDs list, separated by commas',
apiUrl: 'Proxy Api Url',
apiUrlHint: 'Custom proxy Api Url, format: https://api.telegram.org',
apiUrlPlaceholder: 'https://api.telegram.org',
},
slack: {
name: 'Slack',

View File

@@ -325,6 +325,9 @@ export default {
adminsHint: '可使用管理菜单及命令的用户ID列表多个ID使用,分隔',
adminsPlaceholder: '用户ID列表多个ID使用,分隔',
usersPlaceholder: '用户ID列表多个ID使用,分隔',
apiUrl: '代理API地址',
apiUrlHint: '自定义代理API地址格式https://api.telegram.org',
apiUrlPlaceholder: 'https://api.telegram.org',
},
slack: {
name: 'Slack',