[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6Q27BTYP04C1B1W7JM84N0Q":3,"skill-same:01M6Q27BTYP04C1B1W7JM84N0Q":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6Q27BTYP04C1B1W7JM84N0Q","telegram-create-bot",null,"Build and manage Telegram bots via the Telegram Bot API. Create bots, send messages, handle webhooks, manage groups and channels.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Ftelegram-create-bot\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"create","telegram create bot","telegram","bot","webhooks","send","channels","org","via","token","bots","build","manage","telegram bot","jq","curl","api","messages","https","core","2026-11-10 10:12:30",false,"---\nname: telegram-create-bot\ndescription: Build and manage Telegram bots via the Telegram Bot API. Create bots, send messages, handle webhooks, manage groups and channels.\nhomepage: https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi\nmetadata: {\"clawdbot\":{\"emoji\":\"?\",\"requires\":{\"bins\":[\"jq\",\"curl\"],\"env\":[\"TELEGRAM_BOT_TOKEN\"]}}}\n---\n\n# Telegram Create Bot\n\nBuild and manage Telegram bots directly from OpenClaw.\n\n## Setup\n\n1. Open Telegram and message [@BotFather](https:\u002F\u002Ft.me\u002FBotFather)\n2. Send `\u002Fnewbot` and follow the prompts to create your bot\n3. Copy the bot token (looks like `123456789:ABCdefGHIjklMNOpqrsTUVwxyz`)\n4. Set environment variable:\n   ```bash\n   export TELEGRAM_BOT_TOKEN=\"your-bot-token\"\n   ```\n\n## API Base URL\n\nAll requests go to:\n```\nhttps:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FMETHOD_NAME\n```\n\n## Usage\n\n### Bot Information\n\n#### Get bot info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetMe\" | jq\n```\n\n#### Get bot commands\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetMyCommands\" | jq\n```\n\n#### Set bot commands\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsetMyCommands\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"commands\": [\n      {\"command\": \"start\", \"description\": \"Start the bot\"},\n      {\"command\": \"help\", \"description\": \"Show help message\"},\n      {\"command\": \"settings\", \"description\": \"Bot settings\"}\n    ]\n  }' | jq\n```\n\n### Sending Messages\n\n#### Send text message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Hello from Clawdbot!\",\n    \"parse_mode\": \"HTML\"\n  }' | jq\n```\n\n#### Send message with inline keyboard\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Choose an option:\",\n    \"reply_markup\": {\n      \"inline_keyboard\": [\n        [{\"text\": \"Option 1\", \"callback_data\": \"opt1\"}, {\"text\": \"Option 2\", \"callback_data\": \"opt2\"}],\n        [{\"text\": \"Visit Website\", \"url\": \"https:\u002F\u002Fexample.com\"}]\n      ]\n    }\n  }' | jq\n```\n\n#### Send message with reply keyboard\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Choose from keyboard:\",\n    \"reply_markup\": {\n      \"keyboard\": [\n        [{\"text\": \"Button 1\"}, {\"text\": \"Button 2\"}],\n        [{\"text\": \"Send Location\", \"request_location\": true}]\n      ],\n      \"resize_keyboard\": true,\n      \"one_time_keyboard\": true\n    }\n  }' | jq\n```\n\n#### Send photo\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendPhoto\" \\\n  -F \"chat_id=CHAT_ID\" \\\n  -F \"photo=@\u002Fpath\u002Fto\u002Fimage.jpg\" \\\n  -F \"caption=Photo caption here\" | jq\n```\n\n#### Send photo by URL\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendPhoto\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"photo\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n    \"caption\": \"Image from URL\"\n  }' | jq\n```\n\n#### Send document\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendDocument\" \\\n  -F \"chat_id=CHAT_ID\" \\\n  -F \"document=@\u002Fpath\u002Fto\u002Ffile.pdf\" \\\n  -F \"caption=Here is your document\" | jq\n```\n\n#### Send location\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendLocation\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"latitude\": 40.7128,\n    \"longitude\": -74.0060\n  }' | jq\n```\n\n### Getting Updates\n\n#### Get updates (polling)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates\" | jq\n```\n\n#### Get updates with offset (mark as read)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?offset=UPDATE_ID\" | jq\n```\n\n#### Get updates with timeout (long polling)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?timeout=30\" | jq\n```\n\n### Webhooks\n\n#### Set webhook\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsetWebhook\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\",\n    \"allowed_updates\": [\"message\", \"callback_query\"]\n  }' | jq\n```\n\n#### Get webhook info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetWebhookInfo\" | jq\n```\n\n#### Delete webhook\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FdeleteWebhook\" | jq\n```\n\n### Chat Management\n\n#### Get chat info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChat?chat_id=CHAT_ID\" | jq\n```\n\n#### Get chat member count\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChatMemberCount?chat_id=CHAT_ID\" | jq\n```\n\n#### Get chat administrators\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChatAdministrators?chat_id=CHAT_ID\" | jq\n```\n\n#### Ban user from chat\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FbanChatMember\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"user_id\": USER_ID\n  }' | jq\n```\n\n#### Unban user\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FunbanChatMember\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"user_id\": USER_ID,\n    \"only_if_banned\": true\n  }' | jq\n```\n\n### Message Management\n\n#### Edit message text\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FeditMessageText\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID,\n    \"text\": \"Updated message text\"\n  }' | jq\n```\n\n#### Delete message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FdeleteMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n#### Pin message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FpinChatMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n#### Forward message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FforwardMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"TARGET_CHAT_ID\",\n    \"from_chat_id\": \"SOURCE_CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n### Callback Queries\n\n#### Answer callback query\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FanswerCallbackQuery\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"callback_query_id\": \"CALLBACK_QUERY_ID\",\n    \"text\": \"Button clicked!\",\n    \"show_alert\": false\n  }' | jq\n```\n\n## Notes\n\n- **Chat ID**: Can be positive (user) or negative (group\u002Fchannel). Get it from updates or use @userinfobot\n- **Parse modes**: `HTML`, `Markdown`, `MarkdownV2`\n- **Rate limits**: ~30 messages\u002Fsecond to different chats, 1 message\u002Fsecond to same chat\n- **File limits**: Photos up to 10MB, documents up to 50MB\n- **Bot permissions**: Bots can't message users first - user must \u002Fstart the bot\n\n## HTML Formatting\n\n```html\n\u003Cb>bold\u003C\u002Fb>\n\u003Ci>italic\u003C\u002Fi>\n\u003Cu>underline\u003C\u002Fu>\n\u003Cs>strikethrough\u003C\u002Fs>\n\u003Ccode>inline code\u003C\u002Fcode>\n\u003Cpre>code block\u003C\u002Fpre>\n\u003Ca href=\"https:\u002F\u002Fexample.com\">link\u003C\u002Fa>\n\u003Ctg-spoiler>spoiler\u003C\u002Ftg-spoiler>\n```\n\n## Examples\n\n### Simple echo bot (bash script)\n```bash\n#!\u002Fbin\u002Fbash\nOFFSET=0\nwhile true; do\n  UPDATES=$(curl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?offset=$OFFSET&timeout=30\")\n  \n  for UPDATE in $(echo \"$UPDATES\" | jq -c '.result[]'); do\n    UPDATE_ID=$(echo \"$UPDATE\" | jq '.update_id')\n    CHAT_ID=$(echo \"$UPDATE\" | jq '.message.chat.id')\n    TEXT=$(echo \"$UPDATE\" | jq -r '.message.text')\n    \n    if [ \"$TEXT\" != \"null\" ]; then\n      curl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n        -H \"Content-Type: application\u002Fjson\" \\\n        -d \"{\\\"chat_id\\\": $CHAT_ID, \\\"text\\\": \\\"You said: $TEXT\\\"}\"\n    fi\n    \n    OFFSET=$((UPDATE_ID + 1))\n  done\ndone\n```\n\n### Get your chat ID\n```bash\n# 1. Send a message to your bot\n# 2. Run this to see your chat ID:\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates\" | jq '.result[-1].message.chat.id'\n```\n\n### Send to channel\n```bash\n# Use @channelname or channel ID (starts with -100)\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"@your_channel_name\",\n    \"text\": \"Channel announcement!\"\n  }' | jq\n```\n\n## Useful Resources\n\n- [Bot API Documentation](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi)\n- [BotFather Commands](https:\u002F\u002Fcore.telegram.org\u002Fbots#botfather)\n- [Bot API Changelog](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi-changelog)\n","# Telegram Create Bot\n\nBuild and manage Telegram bots directly from OpenClaw.\n\n## Setup\n\n1. Open Telegram and message [@BotFather](https:\u002F\u002Ft.me\u002FBotFather)\n2. Send `\u002Fnewbot` and follow the prompts to create your bot\n3. Copy the bot token (looks like `123456789:ABCdefGHIjklMNOpqrsTUVwxyz`)\n4. Set environment variable:\n   ```bash\n   export TELEGRAM_BOT_TOKEN=\"your-bot-token\"\n   ```\n\n## API Base URL\n\nAll requests go to:\n```\nhttps:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FMETHOD_NAME\n```\n\n## Usage\n\n### Bot Information\n\n#### Get bot info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetMe\" | jq\n```\n\n#### Get bot commands\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetMyCommands\" | jq\n```\n\n#### Set bot commands\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsetMyCommands\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"commands\": [\n      {\"command\": \"start\", \"description\": \"Start the bot\"},\n      {\"command\": \"help\", \"description\": \"Show help message\"},\n      {\"command\": \"settings\", \"description\": \"Bot settings\"}\n    ]\n  }' | jq\n```\n\n### Sending Messages\n\n#### Send text message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Hello from Clawdbot!\",\n    \"parse_mode\": \"HTML\"\n  }' | jq\n```\n\n#### Send message with inline keyboard\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Choose an option:\",\n    \"reply_markup\": {\n      \"inline_keyboard\": [\n        [{\"text\": \"Option 1\", \"callback_data\": \"opt1\"}, {\"text\": \"Option 2\", \"callback_data\": \"opt2\"}],\n        [{\"text\": \"Visit Website\", \"url\": \"https:\u002F\u002Fexample.com\"}]\n      ]\n    }\n  }' | jq\n```\n\n#### Send message with reply keyboard\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Choose from keyboard:\",\n    \"reply_markup\": {\n      \"keyboard\": [\n        [{\"text\": \"Button 1\"}, {\"text\": \"Button 2\"}],\n        [{\"text\": \"Send Location\", \"request_location\": true}]\n      ],\n      \"resize_keyboard\": true,\n      \"one_time_keyboard\": true\n    }\n  }' | jq\n```\n\n#### Send photo\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendPhoto\" \\\n  -F \"chat_id=CHAT_ID\" \\\n  -F \"photo=@\u002Fpath\u002Fto\u002Fimage.jpg\" \\\n  -F \"caption=Photo caption here\" | jq\n```\n\n#### Send photo by URL\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendPhoto\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"photo\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n    \"caption\": \"Image from URL\"\n  }' | jq\n```\n\n#### Send document\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendDocument\" \\\n  -F \"chat_id=CHAT_ID\" \\\n  -F \"document=@\u002Fpath\u002Fto\u002Ffile.pdf\" \\\n  -F \"caption=Here is your document\" | jq\n```\n\n#### Send location\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendLocation\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"latitude\": 40.7128,\n    \"longitude\": -74.0060\n  }' | jq\n```\n\n### Getting Updates\n\n#### Get updates (polling)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates\" | jq\n```\n\n#### Get updates with offset (mark as read)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?offset=UPDATE_ID\" | jq\n```\n\n#### Get updates with timeout (long polling)\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?timeout=30\" | jq\n```\n\n### Webhooks\n\n#### Set webhook\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsetWebhook\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\",\n    \"allowed_updates\": [\"message\", \"callback_query\"]\n  }' | jq\n```\n\n#### Get webhook info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetWebhookInfo\" | jq\n```\n\n#### Delete webhook\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FdeleteWebhook\" | jq\n```\n\n### Chat Management\n\n#### Get chat info\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChat?chat_id=CHAT_ID\" | jq\n```\n\n#### Get chat member count\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChatMemberCount?chat_id=CHAT_ID\" | jq\n```\n\n#### Get chat administrators\n```bash\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetChatAdministrators?chat_id=CHAT_ID\" | jq\n```\n\n#### Ban user from chat\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FbanChatMember\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"user_id\": USER_ID\n  }' | jq\n```\n\n#### Unban user\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FunbanChatMember\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"user_id\": USER_ID,\n    \"only_if_banned\": true\n  }' | jq\n```\n\n### Message Management\n\n#### Edit message text\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FeditMessageText\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID,\n    \"text\": \"Updated message text\"\n  }' | jq\n```\n\n#### Delete message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FdeleteMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n#### Pin message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FpinChatMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n#### Forward message\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FforwardMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"TARGET_CHAT_ID\",\n    \"from_chat_id\": \"SOURCE_CHAT_ID\",\n    \"message_id\": MESSAGE_ID\n  }' | jq\n```\n\n### Callback Queries\n\n#### Answer callback query\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FanswerCallbackQuery\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"callback_query_id\": \"CALLBACK_QUERY_ID\",\n    \"text\": \"Button clicked!\",\n    \"show_alert\": false\n  }' | jq\n```\n\n## Notes\n\n- **Chat ID**: Can be positive (user) or negative (group\u002Fchannel). Get it from updates or use @userinfobot\n- **Parse modes**: `HTML`, `Markdown`, `MarkdownV2`\n- **Rate limits**: ~30 messages\u002Fsecond to different chats, 1 message\u002Fsecond to same chat\n- **File limits**: Photos up to 10MB, documents up to 50MB\n- **Bot permissions**: Bots can't message users first - user must \u002Fstart the bot\n\n## HTML Formatting\n\n```html\n\u003Cb>bold\u003C\u002Fb>\n\u003Ci>italic\u003C\u002Fi>\n\u003Cu>underline\u003C\u002Fu>\n\u003Cs>strikethrough\u003C\u002Fs>\n\u003Ccode>inline code\u003C\u002Fcode>\n\u003Cpre>code block\u003C\u002Fpre>\n\u003Ca href=\"https:\u002F\u002Fexample.com\">link\u003C\u002Fa>\n\u003Ctg-spoiler>spoiler\u003C\u002Ftg-spoiler>\n```\n\n## Examples\n\n### Simple echo bot (bash script)\n```bash\n#!\u002Fbin\u002Fbash\nOFFSET=0\nwhile true; do\n  UPDATES=$(curl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates?offset=$OFFSET&timeout=30\")\n  \n  for UPDATE in $(echo \"$UPDATES\" | jq -c '.result[]'); do\n    UPDATE_ID=$(echo \"$UPDATE\" | jq '.update_id')\n    CHAT_ID=$(echo \"$UPDATE\" | jq '.message.chat.id')\n    TEXT=$(echo \"$UPDATE\" | jq -r '.message.text')\n    \n    if [ \"$TEXT\" != \"null\" ]; then\n      curl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n        -H \"Content-Type: application\u002Fjson\" \\\n        -d \"{\\\"chat_id\\\": $CHAT_ID, \\\"text\\\": \\\"You said: $TEXT\\\"}\"\n    fi\n    \n    OFFSET=$((UPDATE_ID + 1))\n  done\ndone\n```\n\n### Get your chat ID\n```bash\n# 1. Send a message to your bot\n# 2. Run this to see your chat ID:\ncurl -s \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FgetUpdates\" | jq '.result[-1].message.chat.id'\n```\n\n### Send to channel\n```bash\n# Use @channelname or channel ID (starts with -100)\ncurl -s -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TELEGRAM_BOT_TOKEN\u002FsendMessage\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"chat_id\": \"@your_channel_name\",\n    \"text\": \"Channel announcement!\"\n  }' | jq\n```\n\n## Useful Resources\n\n- [Bot API Documentation](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi)\n- [BotFather Commands](https:\u002F\u002Fcore.telegram.org\u002Fbots#botfather)\n- [Bot API Changelog](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi-changelog)\n",{"name":5,"homepage":43,"metadata":44,"description":7},"https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi",{"clawdbot":45},{"emoji":46,"requires":47},"?",{"env":48,"bins":50},[49],"TELEGRAM_BOT_TOKEN",[32,33],"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","爪机器人工具\u002Ftelegram-create-bot",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill telegram-create-bot",{"tool":65,"command":66},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill telegram-create-bot",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill telegram-create-bot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Ftelegram-create-bot\u002FSKILL.md",true,[73],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"_meta.json","REFERENCE","参考文档",296,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Ftelegram-create-bot\u002F_meta.json",[80,104,125,133,140,166],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":38},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[82,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":105,"name":106,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":38},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[34,110,111,112,113,114,115,89,116,93,117,118,119,120,121,122,123,27,124],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","prices",{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[34,131,132,110,111,112,113,114,115,89,116,93,118,119,120,121,122,123,27,124],"api skill","zerion api skill",{"skillNo":134,"name":135,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":38},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[112,34,139,110,111,113,114,89,116,93,117,118,119,120,121,122,123,27,124],"zerion api mcp",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[147,148,149,150,151,152,36,153,154,155,156,157,158,159,160,161,162,163,164,165],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":38},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[147,148,150,173,174,175,176,177,178,157,179,180,181,182,183,184,185,186,124,164],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]