{"id":15683862,"url":"https://github.com/bradmartin/nativescript-telegram-image-picker","last_synced_at":"2025-05-07T14:26:25.858Z","repository":{"id":57308849,"uuid":"70375859","full_name":"bradmartin/nativescript-telegram-image-picker","owner":"bradmartin","description":"NativeScript plugin using the TelegramGallery Image Picker library for a customized image picker","archived":false,"fork":false,"pushed_at":"2017-02-17T16:50:14.000Z","size":16293,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T20:25:20.269Z","etag":null,"topics":["android","nativescript-plugin","nativescript-telegram-image-picker"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradmartin.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}},"created_at":"2016-10-09T04:02:56.000Z","updated_at":"2023-09-11T22:55:32.000Z","dependencies_parsed_at":"2022-09-01T09:03:03.839Z","dependency_job_id":null,"html_url":"https://github.com/bradmartin/nativescript-telegram-image-picker","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/bradmartin%2Fnativescript-telegram-image-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-telegram-image-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-telegram-image-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-telegram-image-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradmartin","download_url":"https://codeload.github.com/bradmartin/nativescript-telegram-image-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252894006,"owners_count":21820908,"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":["android","nativescript-plugin","nativescript-telegram-image-picker"],"created_at":"2024-10-03T17:09:00.491Z","updated_at":"2025-05-07T14:26:25.837Z","avatar_url":"https://github.com/bradmartin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/nativescript-telegram-image-picker.svg)](https://www.npmjs.com/package/nativescript-telegram-image-picker)\r\n[![npm](https://img.shields.io/npm/dt/nativescript-telegram-image-picker.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-telegram-image-picker)\r\n\r\n# NativeScript-Telegram-Image-Picker\r\nNativeScript plugin using the [TelegramGallery Image Picker library](https://github.com/TangXiaoLv/TelegramGallery) for a customized image picker for Android.\r\n\r\n** ANDROID ONLY ** - this plugin uses a native Android library so there is no direct equivalent for iOS.\r\n\r\n### \r\n![library Sample](https://github.com/TangXiaoLv/TelegramGallery/raw/master/png/1.gif)\r\n\r\n## License\r\nThis plugin is licensed under the MITlicense by Brad Martin\r\n\r\n## Installation\r\n\r\n```\r\ntns plugin add nativescript-telegram-image-picker\r\n```\r\n\r\n#### TypeScript\r\n\r\n```typescript\r\nimport { openTelegramImagePicker, TelegramPickerResponse } from 'nativescript-telegram-image-picker';\r\n\r\npublic whateverYouLike() {\r\n    \r\n    // Open the Telegram Gallery Image Picker Activity      \r\n    openTelegramImagePicker(5).then((resp: TelegramPickerResponse) =\u003e {\r\n       // looping over the selected pictures in the response        \r\n       for (var i = 0; i \u003c resp.photos.length; i++) {\r\n         console.log(resp.photos[i]);\r\n       }\r\n    })\r\n      \r\n}\r\n\r\n```\r\n\r\n### API\r\n\r\n- openTelegramImagePicker(photoLimit?: number): Promise *TelegramPickerResponse*;\r\n\r\n**TelegramPickerResponse** -\r\n{\r\n    photos: Array\u003cstring\u003e,\r\n    videos: Array\u003cstring\u003e\r\n}\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-telegram-image-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradmartin%2Fnativescript-telegram-image-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-telegram-image-picker/lists"}