feat: add telegram proxy support (#1764)

* Add support for reverse proxy of telegram API

* Add Telegram API proxy hint

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
This commit is contained in:
Athurg Gooth
2023-05-29 13:29:21 +08:00
committed by GitHub
parent beb4d8ccb9
commit ce64894abe
7 changed files with 48 additions and 16 deletions

View File

@ -293,7 +293,10 @@ const SystemSection = () => {
<div className="flex flex-row items-center">
<div className="w-auto flex items-center">
<span className="text-sm mr-1">{t("setting.system-section.telegram-robot-token")}</span>
<HelpButton icon="help" url="https://usememos.com/docs/integration/telegram-bot" />
<HelpButton
hint={t("setting.system-section.telegram-robot-token-description")}
url="https://usememos.com/docs/integration/telegram-bot"
/>
</div>
</div>
<Button onClick={handleSaveTelegramRobotToken}>{t("common.save")}</Button>