{"id":17189507,"url":"https://github.com/walderlansena/phbot","last_synced_at":"2025-03-25T04:54:22.539Z","repository":{"id":57022379,"uuid":"132976061","full_name":"WalderlanSena/phbot","owner":"WalderlanSena","description":":elephant: PHP Library for Telegram Bots","archived":false,"fork":false,"pushed_at":"2018-05-11T14:54:19.000Z","size":877,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T05:14:11.921Z","etag":null,"topics":["bot","lib","php","php7","telegram"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/WalderlanSena.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":"2018-05-11T02:01:23.000Z","updated_at":"2018-06-11T20:35:20.000Z","dependencies_parsed_at":"2022-08-23T12:20:42.358Z","dependency_job_id":null,"html_url":"https://github.com/WalderlanSena/phbot","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/WalderlanSena%2Fphbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalderlanSena%2Fphbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalderlanSena%2Fphbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalderlanSena%2Fphbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WalderlanSena","download_url":"https://codeload.github.com/WalderlanSena/phbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401398,"owners_count":20609167,"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":["bot","lib","php","php7","telegram"],"created_at":"2024-10-15T01:11:48.085Z","updated_at":"2025-03-25T04:54:22.521Z","avatar_url":"https://github.com/WalderlanSena.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/WalderlanSena/phbot/blob/master/img/phbot_logo.png\" width=\"450\"\u003e\n\u003c/p\u003e\n\n## Connect API Telegram\n\n```php\n\n$app = new ApiConnectTelegram([\n    'token' =\u003e '\u003cSEU TOKEN\u003e'\n]);\n\n```\n## Use get update Message\n\n```php\n\ntry {\n    $request = $app-\u003egetUpdates();\n} catch (\\Exception $exception) {\n    echo $exception-\u003egetMessage();\n}\n\n```\n\n## Use Send Message\n\n```php\n\n$data = [\n    'chat_id' =\u003e 0,\n    'text'    =\u003e '\u003cSUA MENSAGEM\u003e'\n];\n\ntry {\n    $request = $app-\u003esendMessage($data);\n} catch (\\Exception $exception) {\n    echo $exception-\u003egetMessage();\n}\n\n```\n\n# License\nA biblioteca \u003cb\u003ePhbot\u003c/b\u003e é um software de código aberto licenciado sob a licença MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalderlansena%2Fphbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalderlansena%2Fphbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalderlansena%2Fphbot/lists"}