diff --git a/Home.md b/Home.md index 93a012c..8ac535e 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,32 @@ -# Deploy the Project on CamelX Platform +# Telegram Source -Deploy on CamelX Platform in three steps +Receive all messages that people send to your Telegram bot. -## Step 1: Create a release -From the project space, click on **"Create a release"** +To create a bot, contact the @botfather account by using the Telegram app. -The new version is automatically available in the list +The source attaches the following header to the messages: -## Step 2: Deploy -Click on **"Deploy"** +- `chat-id` / `ce-chatid`: The ID of the chat where the message comes from. -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +## Metadata -## Step 3: Expose -Enable **"Expose"** +| Property | Value | +|----------|-------| +| Type | source | +| Group | Telegram | +| Namespace | Social | +| Support Level | Stable | +| Provider | Apache Software Foundation | -Choose an **API Gateway** (Internal, Public, etc.) +## Properties + +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `authorizationToken` | string | ✓ | | The token to access your bot on Telegram. You can obtain it from the Telegram @botfather. | + +## Dependencies + +- `camel:jackson` +- `camel:kamelet` +- `camel:telegram` +- `camel:core`