- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
| # This is a way (not optimized) to handle menus on your Telegram bot. | |
| # I haven't tested this code, but it should work. | |
| # Join the community: https://t.me/LugodevChat | |
| import telegram | |
| from telegram import InlineKeyboardMarkup, InlineKeyboardButton, ParseMode, ChatAction | |
| def start(update, context): | |
| update.message.reply_text( | |
| text='Hola, selecciona una opci贸n', |