Telegram
Telegram is a messaging platform and bot API for chats, channels, groups, and automated messaging.
- Base URL:
https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
post_addstickertoset— POST /addStickerToSet — Use this method to add a new sticker to a set created by the bot. You must upost_answercallbackquery— POST /answerCallbackQuery — Use this method to send answers to callback queries sent from [inline keyboards]post_answerinlinequery— POST /answerInlineQuery — Use this method to send answers to an inline query. On success, True is returnpost_answerprecheckoutquery— POST /answerPreCheckoutQuery — Once the user has confirmed their payment and shipping details, the Bot API sendpost_answershippingquery— POST /answerShippingQuery — If you sent an invoice requesting a shipping address and the parameter *is_flexpost_close— POST /close — Use this method to close the bot instance before moving it from one local server
Inputs
apiKey— your telegram API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: post_addstickertoset
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: post_addstickertoset, post_answercallbackquery, post_answerinlinequery, post_answerprecheckoutquery, post_answershippingquery, post_close |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |