Communication

# Telegram Connector

Connect to Telegram Bot API to send messages, photos, documents, and receive updates.

$pip install "toolsconnector[telegram]"
26
Actions
Communication
Category
Free
Apache 2.0

## All 26 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`answer_callback_query` | Answer a callback query from an inline keyboard | callback_query_id [text, show_alert] | `bool`
`ban_chat_member ⚠` | Ban a user from a chat | chat_id, user_id | `bool`
`delete_message ⚠` | Delete a message from a chat | chat_id, message_id | `bool`
`delete_webhook` | Delete the current webhook | — | `bool`
`edit_message` | Edit a text message | chat_id, message_id, text | `TelegramMessage`
`export_chat_invite_link` | Export an invite link for a chat | chat_id | `str`
`get_chat` | Get information about a chat | chat_id | `TelegramChat`
`get_chat_administrators` | Get the list of administrators in a chat | chat_id | `list`
`get_chat_member` | Get information about a chat member | chat_id, user_id | `TelegramChatMember`
`get_chat_members_count` | Get the number of members in a chat | chat_id | `int`
`get_me` | Get information about the bot | — | `TelegramUser`
`get_updates` | Get incoming updates for the bot | [offset, limit, timeout] | `list`
`leave_chat ⚠` | Leave a chat | chat_id | `bool`
`pin_message` | Pin a message in a chat | chat_id, message_id | `bool`
`send_contact` | Send a contact to a chat | chat_id, phone_number, first_name [last_name] | `TelegramMessage`
`send_document` | Send a document to a chat | chat_id, document_url [caption] | `TelegramMessage`
`send_location` | Send a location to a chat | chat_id, latitude, longitude | `TelegramMessage`
`send_message` | Send a text message to a chat | chat_id, text [parse_mode] | `TelegramMessage`
`send_photo` | Send a photo to a chat | chat_id, photo_url [caption] | `TelegramMessage`
`send_poll ⚠` | Send a poll to a chat | chat_id, question, options [is_anonymous] | `TelegramMessage`
`set_chat_description ⚠` | Set the description of a chat | chat_id, description | `bool`
`set_chat_title ⚠` | Set the title of a chat | chat_id, title | `bool`
`set_webhook` | Set a webhook URL for receiving updates | url | `bool`
`unban_chat_member` | Unban a user from a chat | chat_id, user_id | `bool`
`unpin_all_messages ⚠` | Unpin all messages in a chat | chat_id | `bool`
`unpin_message` | Unpin a message in a chat | chat_id [message_id] | `bool`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing