{"id":18557042,"url":"https://github.com/anechas/line-delay-message-api","last_synced_at":"2025-05-15T13:33:58.453Z","repository":{"id":152107124,"uuid":"625163405","full_name":"AnechaS/line-delay-message-api","owner":"AnechaS","description":"Send a message to a Line user at a specific time in the future with a delay time and units of time.","archived":false,"fork":false,"pushed_at":"2023-04-09T00:24:46.000Z","size":293,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T11:34:51.387Z","etag":null,"topics":["delay-messages","expressjs","line","line-chat","rest-api","schedule-messages"],"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/AnechaS.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T08:59:24.000Z","updated_at":"2023-04-10T04:04:14.000Z","dependencies_parsed_at":"2023-05-24T15:15:27.168Z","dependency_job_id":null,"html_url":"https://github.com/AnechaS/line-delay-message-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/AnechaS%2Fline-delay-message-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnechaS%2Fline-delay-message-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnechaS%2Fline-delay-message-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnechaS%2Fline-delay-message-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnechaS","download_url":"https://codeload.github.com/AnechaS/line-delay-message-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349455,"owners_count":22056351,"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":["delay-messages","expressjs","line","line-chat","rest-api","schedule-messages"],"created_at":"2024-11-06T21:34:18.136Z","updated_at":"2025-05-15T13:33:58.430Z","avatar_url":"https://github.com/AnechaS.png","language":"JavaScript","readme":"# LINE delay message API\n\nThe Line Delayed Message API allows you to send a message to a Line user at a specific time in the future, with the ability to specify a delay time and units of time\n\n## APIs\n\n### Send Delay Message\n\n```bash\ncurl --location \"https://line-delay-message-api.glitch.me/v1/send\" \\\n--header \"X-Line-Access-Token: ${CHANNEL_ACCESS_TOKEN}\" \\\n--header \"Content-Type: application/json\" \\\n--data '{\n    \"to\": \"U4af4980629...\",\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"OK\"\n        }\n    ],\n    \"delay\": \"5m\"\n}'\n```\n\nTime delay units (s = seconds, m = minutes, h = hours, [etc.](https://www.npmjs.com/package/ms))\n\n### Cancel\n\n```bash\ncurl --location \"https://line-delay-message-api.glitch.me/v1/cancel\" \\\n--header \"Content-Type: application/json\" \\\n--data '{\n    \"messageId\": \"message id to cancel the sending of messages\"\n}'\n```\n\n## Development\n\n### Installation\n\n```bash\n$ npm install\n```\n\n### Run\n\n```bash\n$ npm start\n```\n\n### Testing\n\n```bash\n$ npm test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanechas%2Fline-delay-message-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanechas%2Fline-delay-message-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanechas%2Fline-delay-message-api/lists"}