[Python] parse mode telegram bot

Discussão em 'Python' iniciado por Stack, Junho 1, 2025.

  1. Stack

    Stack Membro Participativo

    I am working on telegram bot and I faced this issue.

    code: bot.send_message(call.message.chat.id, "My Assets:", parse_mode=telegram.ParseMode.HTML)

    error: AttributeError: module 'telegram' has no attribute 'ParseMode'

    do I need to install something other than:

    pyTelegramBotAPI
    python-decouple
    python-telegram-bot

    any help would be appreciated

    help on telegram bot

    Continue reading...

Compartilhe esta Página