{"id":22337204,"url":"https://github.com/manglaneso/telegram-bot-api","last_synced_at":"2025-03-26T08:22:41.148Z","repository":{"id":70969689,"uuid":"389453860","full_name":"manglaneso/telegram-bot-api","owner":"manglaneso","description":"Telegram Bot API client library for Google Apps Script","archived":false,"fork":false,"pushed_at":"2024-01-29T12:00:40.000Z","size":21887,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T09:44:23.761Z","etag":null,"topics":["bots","clasp","google-apps-script","javascript","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manglaneso.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-07-25T22:40:22.000Z","updated_at":"2023-12-26T01:07:40.000Z","dependencies_parsed_at":"2023-03-11T09:35:45.703Z","dependency_job_id":null,"html_url":"https://github.com/manglaneso/telegram-bot-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manglaneso%2Ftelegram-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manglaneso%2Ftelegram-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manglaneso%2Ftelegram-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manglaneso%2Ftelegram-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manglaneso","download_url":"https://codeload.github.com/manglaneso/telegram-bot-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245615600,"owners_count":20644489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bots","clasp","google-apps-script","javascript","telegram","telegram-bot","telegram-bot-api"],"created_at":"2024-12-04T06:09:11.711Z","updated_at":"2025-03-26T08:22:41.120Z","avatar_url":"https://github.com/manglaneso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-bot-api\nTelegram Bot API client library for Google Apps Script.\n\nIt implements basic functionality (send message/animation/gif/video/audio...) \nbut lacks a lot of Telegram Bot API methods since I only\never needed some methods. PRs are welcome :)\n\nThe codebase of this project has a long history. It has been working on some of my personal projects for years, but never got time/courage to create a Library. Also, this has not been updated for a long time, so keep in mind there is really old (or bad) code. I started working on this in my university days, so take that into account.\n\n## Use\n\nGo to Resources -\u003e Libraries in the Script menus, \npaste in `1doJWr3Q1v2WZamAvcT2_xr6p12wNvheF403cXdYhTbTxu6GMvWkqwarn`,\nand add in TelegramBotApi.\n\n## TODO\n- Implement Github CI\n- Reformat code to use all options of currently existing methods\n- Add some tests\n- Implement more Telegram Bot API methods\n\n### Implemented methods\n\n|     Method    | Implemented   |\n| ------------- | ------------- |\n|  getUpdates  |  ❌  |\n|  setWebhook  |  ✅  |\n|  deleteWebhook  |  ✅  |\n|  getMe  |  ❌  |\n|  logOut  |  ❌  |\n|  close  |  ❌  |\n|  sendMessage  |  ✅  |\n|  forwardMessage  |  ❌  |\n|  copyMessage  |  ❌  |\n|  sendPhoto  |  ✅  |\n|  sendAudio  |  ✅  |\n|  sendDocument  |  ✅  |\n|  sendVideo  |  ✅  |\n|  sendAnimation  |  ✅  |\n|  sendVoice  |  ✅  |\n|  sendVideoNote  |  ❌  |\n|  sendMediaGroup  |  ❌  |\n|  sendLocation  |  ✅  |\n|  editMessageLiveLocation  |  ❌  |\n|  stopMessageLiveLocation  |  ❌  |\n|  sendVenue  |  ❌  |\n|  sendContact  |  ❌  |\n|  sendPoll  |  ❌  |\n|  sendDice  |  ❌  |\n|  sendChatAction  |  ❌  |\n|  getUserProfilePhotos  |  ❌  |\n|  getFile  |  ✅  |\n|  banChatMember  |  ❌  |\n|  unbanChatMember  |  ❌  |\n|  restrictChatMember  |  ❌  |\n|  promoteChatMember  |  ❌  |\n|  setChatAdministratorCustomTitle  |  ❌  |\n|  setChatPermissions  |  ❌  |\n|  exportChatInviteLink  |  ❌  |\n|  createChatInviteLink  |  ❌  |\n|  editChatInviteLink  |  ❌  |\n|  revokeChatInviteLink  |  ❌  |\n|  setChatPhoto  |  ❌  |\n|  deleteChatPhoto  |  ❌  |\n|  setChatTitle  |  ❌  |\n|  setChatDescription  |  ❌  |\n|  pinChatMessage  |  ❌  |\n|  unpinChatMessage  |  ❌  |\n|  unpinAllChatMessages  |  ❌  |\n|  leaveChat  |  ❌  |\n|  getChat  |  ✅  |\n|  getChatAdministrators  |  ❌  |\n|  getChatMemberCount  |  ❌  |\n|  getChatMember  |  ❌  |\n|  setChatStickerSet  |  ❌  |\n|  deleteChatStickerSet  |  ❌  |\n|  answerCallbackQuery  |  ❌  |\n|  setMyCommands  |  ❌  |\n|  deleteMyCommands  |  ❌  |\n|  getMyCommands  |  ❌  |\n|  setMyCommands  |  ❌  |\n|  editMessageText  |  ❌  |\n|  editMessageCaption  |  ❌  |\n|  editMessageMedia  |  ❌  |\n|  editMessageReplyMarkup  |  ❌  |\n|  stopPoll  |  ❌  |\n|  deleteMessage  |  ❌  |\n|  sendSticker  |  ❌  |\n|  getStickerSet  |  ❌  |\n|  uploadStickerFile  |  ❌  |\n|  createNewStickerSet  |  ❌  |\n|  addStickerToSet  |  ❌  |\n|  setStickerPositionInSet  |  ❌  |\n|  setStickerSetThumb  |  ❌  |\n|  answerInlineQuery  |  ✅  |\n|  sendInvoice  |  ❌  |\n|  answerShippingQuery  |  ❌  |\n|  answerPreCheckoutQuery  |  ❌  |\n|  setPassportDataErrors  |  ❌  |\n|  sendGame  |  ❌  |\n|  setGameScore  |  ❌  |\n|  getGameHighScores  |  ❌  |\n\n\nAll methods can be checked on [this link](https://core.telegram.org/bots/api).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanglaneso%2Ftelegram-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanglaneso%2Ftelegram-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanglaneso%2Ftelegram-bot-api/lists"}