Loading...
Loading...
Operate Telegram Bot API through UXC with a curated OpenAPI schema, bot-token path auth, polling-based reads, and webhook management guardrails.
npx skill4agent add holon-run/uxc telegram-openapi-skilluxcuxcuxcPATHhttps://api.telegram.orghttps://raw.githubusercontent.com/holon-run/uxc/main/skills/telegram-openapi-skill/references/telegram-bot.openapi.jsonfile_idgetUpdatesattach://https://api.telegram.org/bot<TOKEN>/METHOD_NAMEuxc auth credential set telegram-bot \
--auth-type api_key \
--secret-env TELEGRAM_BOT_TOKEN \
--path-prefix-template "/bot{{secret}}"
uxc auth binding add \
--id telegram-bot \
--host api.telegram.org \
--scheme https \
--credential telegram-bot \
--priority 100uxc auth binding match https://api.telegram.org/getMecommand -v telegram-openapi-cliuxc link telegram-openapi-cli https://api.telegram.org --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/telegram-openapi-skill/references/telegram-bot.openapi.jsontelegram-openapi-cli -htelegram-openapi-cli get:/getMe -htelegram-openapi-cli post:/sendMessage -htelegram-openapi-cli post:/sendPhoto -htelegram-openapi-cli post:/sendDocument -htelegram-openapi-cli post:/getUpdates -htelegram-openapi-cli get:/getMetelegram-openapi-cli get:/getWebhookInfotelegram-openapi-cli get:/getChat chat_id=@channel_or_chat_idtelegram-openapi-cli post:/sendMessage chat_id=CHAT_ID text="Hello from uxc"telegram-openapi-cli post:/sendPhoto chat_id=CHAT_ID photo=/tmp/photo.jpg caption="Uploaded by uxc"telegram-openapi-cli post:/sendMessage '{"chat_id":"CHAT_ID","text":"Hello from uxc"}'uxc subscribe start https://api.telegram.org post:/getUpdates '{"timeout":5,"allowed_updates":["message","callback_query"]}' --mode poll --poll-config '{"interval_secs":2,"extract_items_pointer":"/result","request_cursor_arg":"offset","cursor_from_item_pointer":"/update_id","cursor_transform":"increment","checkpoint_strategy":{"type":"item_key","item_key_pointer":"/update_id"}}' --sink file:/tmp/telegram-updates.ndjsonuxcget:/getMeget:/getWebhookInfouxc subscribe --mode pollpost:/getUpdatesupdate_id + 1datapollcheckpointget:/getMeget:/getChatget:/getChatMemberget:/getWebhookInfopost:/sendMessagepost:/sendPhotopost:/sendDocumentpost:/sendMediaGrouppost:/getUpdatespost:/setWebhookpost:/deleteWebhook--textokkindprotocoldataerrorgetUpdatespost:/deleteWebhookpost:/getUpdatesgetUpdatesextract_items_pointer/resultrequest_cursor_argoffsetcursor_from_item_pointer/update_idcursor_transformincrementcheckpoint_strategy.typeitem_keyitem_key_pointer=/update_iduxc auth binding matchhttps://api.telegram.org/getMe/bot<TOKEN>/...sendPhotosendDocumentsendMediaGroupfile_idsendPhotosendDocumentmultipart/form-datasendMediaGroupmediaattach://setWebhookcertificatepost:/sendMessagesend*telegram-openapi-cli <operation> ...uxc https://api.telegram.org --schema-url <telegram_openapi_schema> <operation> ...references/usage-patterns.mdreferences/telegram-bot.openapi.json