{"id":18449483,"url":"https://github.com/wpsocio/wptelegram-bot-api","last_synced_at":"2025-07-02T21:37:08.048Z","repository":{"id":41941387,"uuid":"275355019","full_name":"wpsocio/wptelegram-bot-api","owner":"wpsocio","description":"Production Repository | Telegram Bot API library for WordPress. Development takes place in our monorepo - https://github.com/wpsocio/wp-projects/tree/main/packages/php/wptelegram-bot-api","archived":false,"fork":false,"pushed_at":"2024-02-10T07:23:57.000Z","size":102,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-18T00:13:09.134Z","etag":null,"topics":["client","library","telegram","telegram-bot","telegram-bot-api","wordpress"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/wpsocio/wptelegram-bot-api","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpsocio.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":"2020-06-27T11:08:50.000Z","updated_at":"2024-02-18T23:31:19.000Z","dependencies_parsed_at":"2023-02-16T06:31:28.888Z","dependency_job_id":null,"html_url":"https://github.com/wpsocio/wptelegram-bot-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsocio%2Fwptelegram-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsocio%2Fwptelegram-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsocio%2Fwptelegram-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpsocio%2Fwptelegram-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpsocio","download_url":"https://codeload.github.com/wpsocio/wptelegram-bot-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223298355,"owners_count":17122205,"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":["client","library","telegram","telegram-bot","telegram-bot-api","wordpress"],"created_at":"2024-11-06T07:20:18.949Z","updated_at":"2024-11-06T07:20:19.357Z","avatar_url":"https://github.com/wpsocio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Telegram Bot API\n\nTelegram Bot API library for WordPress.\n\n## Usage\n\n```bash\ncomposer require wpsocio/wptelegram-bot-api\n```\n\n```php\nrequire_once __DIR__ . '/autoload.php';\n\n$bot_token  = 'YOUR BOT TOKEN HERE';\n\n$bot_api = new \\WPTelegram\\BotAPI\\API( $bot_token );\n\n$bot_api-\u003esendMessage( [\n    'chat_id' =\u003e 123456789,\n    'text'    =\u003e 'Hello World',\n] );\n\n$bot_api-\u003esendPhoto( [\n    'chat_id' =\u003e 123456789,\n    'photo'   =\u003e 'https://domain.com/path/to/photo.jpg',\n] );\n```\n\n## Requirements\n\n- `PHP \u003e= 8.0`\n- `WP \u003e= 6.4`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpsocio%2Fwptelegram-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpsocio%2Fwptelegram-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpsocio%2Fwptelegram-bot-api/lists"}