{"id":20987705,"url":"https://github.com/davisdmitry/telegram-webapps","last_synced_at":"2026-03-04T19:02:44.857Z","repository":{"id":65233894,"uuid":"588605552","full_name":"DavisDmitry/telegram-webapps","owner":"DavisDmitry","description":"TypeScript typings for Telegram Mini Apps","archived":false,"fork":false,"pushed_at":"2025-01-17T05:16:13.000Z","size":121,"stargazers_count":84,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T14:06:50.485Z","etag":null,"topics":["mini-apps","telegram","telegram-bot","telegram-mini-apps","telegram-web-apps","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/telegram-webapps","language":null,"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/DavisDmitry.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-13T14:34:07.000Z","updated_at":"2025-03-22T11:25:14.000Z","dependencies_parsed_at":"2023-11-08T00:50:26.014Z","dependency_job_id":"15f09c81-8669-4c4f-8ba8-497de788276a","html_url":"https://github.com/DavisDmitry/telegram-webapps","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavisDmitry%2Ftelegram-webapps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavisDmitry%2Ftelegram-webapps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavisDmitry%2Ftelegram-webapps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavisDmitry%2Ftelegram-webapps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavisDmitry","download_url":"https://codeload.github.com/DavisDmitry/telegram-webapps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198460,"owners_count":20900080,"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":["mini-apps","telegram","telegram-bot","telegram-mini-apps","telegram-web-apps","typescript"],"created_at":"2024-11-19T06:17:54.547Z","updated_at":"2026-03-04T19:02:44.847Z","avatar_url":"https://github.com/DavisDmitry.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTypings for Telegram Mini Apps\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://npmjs.com/package/telegram-webapps\"\u003e\u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/telegram-webapps\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/telegram-webapps\"\u003e\u003cimg alt=\"License MIT\" src=\"https://img.shields.io/npm/l/telegram-webapps\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/telegram-webapps\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/telegram-webapps\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://core.telegram.org/bots/webapps\"\u003e\u003cimg alt=\"Telegram Bot API Version 9.5\" src=\"https://img.shields.io/badge/Telegram%20Bot%20API-9.5-blue.svg?logo=telegram\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/DavisDmitry/telegram-webapps/actions/workflows/lint.yml\"\u003e\u003cimg alt=\"CI Lint\" src=\"https://github.com/DavisDmitry/telegram-webapps/actions/workflows/lint.yml/badge.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://core.telegram.org/bots/webapps\"\u003eAbout Telegram Mini Apps\u003c/a\u003e\u003c/p\u003e\n\n---\n\n## Usage\n\n### Installation\n\nvia `npm` :\n\n```bash\nnpm install telegram-webapps --save-dev\n```\n\nvia `yarn` :\n\n```bash\nyarn add -D telegram-webapps\n```\n\nvia `pnpm` :\n\n```bash\npnpm add -D telegram-webapps\n```\n\n### Use typings\n\nInclude the types file inside your [ `tsconfig.json` ](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) file like this:\n\n```diff\n{\n  \"compilerOptions\": {\n    \"types\": [\n+     \"./node_modules/telegram-webapps\"\n    ]\n  }\n}\n```\n\nUse `Telegram` constant inside your client-side code to get `WebApp` object:\n\n```typescript\n// informs the Telegram app that the Web App is ready to be displayed\nTelegram.WebApp.ready()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavisdmitry%2Ftelegram-webapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavisdmitry%2Ftelegram-webapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavisdmitry%2Ftelegram-webapps/lists"}