The Telegram Component enables seamless interaction with the Telegram Bot API. This component has been tested with API version 7.0
.
To utilize this component, you must first create a Bot by adhering to these guidelines.
Required credential fields for the component are as follows:
A-Z
, a-z
, 0-9
, _
and -
are allowed. Leave blank to skip validation.Creates Webhook for selected event types to receive incoming updates.
Update types - (multi-select dropdown, optional): Select the update types you want to receive. Leave blank to receive all except chat_member
, message_reaction
, and message_reaction_count
(default). Currently, the component supports the following types:
message
- New incoming message of any kind - text, photo, sticker, etc.edited_message
- New version of a message that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.channel_post
- New incoming channel post of any kind - text, photo, sticker, etc.edited_channel_post
- New version of a channel post that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.message_reaction
- A reaction to a message was changed by a user. The bot must be an administrator in the chat. The update isn’t received for reactions set by bots.message_reaction_count
- Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat. The updates are grouped and can be sent with delay up to a few minutes.inline_query
- New incoming inline query.chosen_inline_result
- The result of an inline query that was chosen by a user and sent to their chat partner.callback_query
- New incoming callback queryshipping_query
- New incoming shipping query. Only for invoices with flexible pricepre_checkout_query
- New incoming pre-checkout query. Contains full information about checkoutpoll
- New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the botpoll_answer
- A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.my_chat_member
- The bot chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.chat_member
- A chat member’s status was updated in a chat. The bot must be an administrator in the chat.chat_join_request
- A request to join the chat has been sent. The bot must have the can_invite_users
administrator right in the chat to receive these updates.chat_boost
- A chat boost was added or changed. The bot must be an administrator in the chat to receive these updates.removed_chat_boost
- A boost was removed from a chat. The bot must be an administrator in the chat to receive these updates.An object that represents an incoming update
Retrieve sample
functionality, use Generate Stub Sample
instead.This action allows for the transmission of files of specified types. There are limitations based on the file type: up to 10 MB for photos, 50 MB for other file types, and no size limit when utilizing the file_id
of an existing file.
.MP3
or .M4A
formats.MPEG4
format videos (other formats can be sent as Document
)..OGG
format encoded with OPUS
(other formats can be sent as Audio
or Document
).MPEG4
videos up to 1 minute long.Fields are automatically generated based on the selected File type
.
Includes the result of the file send operation, such as the message id
.
Enables sending text messages to a chat or channel.
There’s no Additional Configuration fields.
@channelusername
).MarkdownV2
, HTML
, and Markdown
. Refer to formatting options for more information.parse_mode
.true
if disabled).true
to shrink the media in the link preview. This is ignored if the URL isn’t explicitly specified or if media size change isn’t supported for the preview.true
to enlarge the media in the link preview. This is ignored if the URL isn’t explicitly specified or if media size change isn’t supported for the preview.true
to show the link preview above the message text.chat_id
if specified.@channelusername
).true
if the message should be sent even if the specified message to be replied to is not found. This can be used only for replies in the same chat and forum topic.MarkdownV2
, HTML
, and Markdown
.quote_parse_mode
.The result of sending the message, including the message id
.
Allows for the execution of custom requests using the Telegram REST API directly.
false
.https://api.telegram.org/bot<token>/
.GET
or POST
.Click here to learn more about the elastic.io iPaaS