{"id":17740574,"url":"https://github.com/rusq/tbcomctl","last_synced_at":"2025-11-09T13:03:22.546Z","repository":{"id":42082498,"uuid":"339684188","full_name":"rusq/tbcomctl","owner":"rusq","description":"Telegram Bot Common Controls (using github.com/tucnak/telebot)","archived":false,"fork":false,"pushed_at":"2024-09-13T11:05:33.000Z","size":204,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T21:04:52.404Z","etag":null,"topics":["comctl","common-controls","golang","library","logging","picklist","rating","telebot","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/rusq.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-02-17T10:20:22.000Z","updated_at":"2024-09-22T05:44:24.000Z","dependencies_parsed_at":"2024-09-13T22:48:25.305Z","dependency_job_id":"56969b28-6769-49da-9095-50d92f391430","html_url":"https://github.com/rusq/tbcomctl","commit_stats":{"total_commits":88,"total_committers":2,"mean_commits":44.0,"dds":"0.022727272727272707","last_synced_commit":"9f54a1aaa747789ddea5cce1172fd3d06370f9dc"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Ftbcomctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Ftbcomctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Ftbcomctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusq%2Ftbcomctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rusq","download_url":"https://codeload.github.com/rusq/tbcomctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769397,"owners_count":21801376,"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":["comctl","common-controls","golang","library","logging","picklist","rating","telebot","telegram-bot"],"created_at":"2024-10-26T03:06:37.037Z","updated_at":"2025-10-19T07:08:22.586Z","avatar_url":"https://github.com/rusq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================================\nCommon Controls Library for Telebot\n===================================\n\nLibrary provides common controls to use with Telebot_ library.\n\nControls:\n\n* Picklist - add inline keyboard to bots messages.\n* Post Buttons - add buttons to your channel posts.\n* Rating - rating buttons for channel posts.\n* Keyboard - a convenient way to create a keyboard.\n* Input - ask user for input and process the answer in OnText.\n\nAbstractions:\n\n* Form (combines other controls into a pipeline, see examples_)\n\nUtilities:\n\n* Subscription - check if user is subscribed to the channels of interest.\n* Middleware - some helpful middleware functions.\n* Helper functions for logging, etc.\n\nBreaking Changes in V4\n======================\n\nControls now operate on Interfaces defined in `interface.go` rather than functions.\nThere's a new convenience structure TVC which can be used to wrap the functions when updating to v4.\n\nSee examples_ for usage.\n\nInstallation\n============\n\nFor Telebot_ v3::\n  \n  go get github.com/rusq/tbcomctl/v4\n\nFor Telebot_ v2::\n  \n  go get github.com/rusq/tbcomctl\n  // or\n  go get github.com/rusq/tbcomctl/v2\n\nv2 is not actively developed, but you're more than welcome to submit your PRs.\n\nUsage\n=====\nFor usage - see examples_.\n\n\n\n.. _Telebot: https://github.com/tucnak/telebot\n.. _examples: examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusq%2Ftbcomctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusq%2Ftbcomctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusq%2Ftbcomctl/lists"}