
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
google-apps-script-telegram-bot-library
Advanced tools
you can use this library to develop your tgbot on google apps script
一個 TGbot lib
讓你可以在 Google Apps Script 上輕鬆寫 Telegram bot
或者你也可以 npm install 後在 local 端開發

npm i google-apps-script-telegram-bot-library
打開 gs 編輯頁面
-> "資源"
-> "程式庫"
-> 將 1XyHWbpiDtyHFEcZ0AOlsJp8DL99ax2R9HvehtjYg3vlLK4DDbiPyZ9eI 貼上輸入框
-> "新增"
-> 選擇最後版本(記得阿 不然儲存不了)
-> "儲存"~
Open Script Editor.
-> Resource
-> Library
-> Paste Script ID 1XyHWbpiDtyHFEcZ0AOlsJp8DL99ax2R9HvehtjYg3vlLK4DDbiPyZ9eI to box
-> Add library
-> select lastest version and save
const tgbot = require('google-apps-script-telegram-bot-library')
var bot = new tgbot.tgbot("<botToken>")
var result = bot.sendMessage({"chat_id":"123","text":"030"})
console.log(result);
var tgbot = new TGbot.tgbot("<botToken>");
var result = tgbot.sendMessage({"chat_id":"123","text":"030"})
console.log(result);
所有method皆測試過可用,除了以下名單沒測
| 名稱name | 原因reason |
|---|---|
| setChatStickerSet | 因為人數未達100人 |
| deleteChatStickerSet | 因為人數未達100人 |
| Telegram Passport | 作者不知道原理:( |
| Games | 作者不會寫遊戲:( |
這個 library 還有一些特有的 method 可以用
獲取檔案的下載路徑
| Parameters | type | Required | Description |
|---|---|---|---|
| file_id | string | Yes | File identifier to get info about |
獲取檔案的下載連結
| Parameters | type | Required | Description |
|---|---|---|---|
| Path | string | Yes | getPath回傳的結果 |
FAQs
you can use this library to develop your tgbot on google apps script
We found that google-apps-script-telegram-bot-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.