Skip to content

Telegram bot tool#41

Open
gdacciaro wants to merge 2 commits intodatapizza-labs:mainfrom
gdacciaro:telegram_tool
Open

Telegram bot tool#41
gdacciaro wants to merge 2 commits intodatapizza-labs:mainfrom
gdacciaro:telegram_tool

Conversation

@gdacciaro
Copy link

Summary

Add a Telegram Bot management tool for Datapizza AI to enable agents to interact with Telegram chats and channels via the official Bot API.

Features

Provide convenient wrappers for common Telegram Bot API endpoints, exposed as Datapizza @tools:

  • send_message(chat_id, text, parse_mode=None, disable_web_page_preview=False)
  • send_photo(chat_id, photo, caption=None, parse_mode=None)
  • send_document(chat_id, document, caption=None, parse_mode=None)
  • edit_message_text(chat_id, message_id, text, parse_mode=None, disable_web_page_preview=False)
  • get_me()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant