# ddns-telegram-bot ![GitHub deployments](https://img.shields.io/github/deployments/WingLim/ddns-telegram-bot/production?label=vercel&logo=vercel&logoColor=white) ä¸ä¸ªç¨äºæ¥æ¶ [ddns-go](https://github.com/jeessy2/ddns-go) éç¥ç Telegram æºå¨äºº ## ä½¿ç¨ 1. æå¼å¹¶å¯ç¨ [@DDNSGoBot](https://t.me/DDNSGoBot) 2. åé `/gethook` å½ä»¤ 3. å¤å¶ Webhook URL 并ç²è´´ 4. å¤å¶ RequestBody 并ç²è´´ 注ï¼æªå¯ç¨ IPv4 æ IPv6 å¯å é¤å¯¹åº Object ```json { "ipv4": { "result": "#{ipv4Result}", "addr": "#{ipv4Addr}", "domains": "#{ipv4Domains}" }, "ipv6": { "result": "#{ipv6Result}", "addr": "#{ipv6Addr}", "domains": "#{ipv6Domains}" } } ``` ## æè°¢ - [ddns-go](https://github.com/jeessy2/ddns-go) - [telegram-bot-api](https://github.com/go-telegram-bot-api/telegram-bot-api)