Skip to content

Tools

Telegram·

text and photos to the owner

  • tool authors · prompt writers
  • 1 min
  • 24 words
  • from the code

In 10 seconds

  • 1 tool in tools/telegram.py — text and photos to the owner.

telegram·

telegram(
    action: str = 'send_message',
    chat_id: Optional[str] = None,
    text: Optional[str] = None,
    parse_mode: str = 'Markdown',
    disable_notification: bool = False,
    reply_to_message_id: Optional[int] = None,
    file_path: Optional[str] = None,
    caption: Optional[str] = None,
    message_id: Optional[int] = None,
    new_text: Optional[str] = None,
    question: Optional[str] = None,
    options: Optional[List[str]] = None,
    is_anonymous: bool = True,
    limit: int = 10,
) -> str

Telegram bot — rich set of actions.

source ↗