×

FRIKIdelTO's video: 033 Crear un BOT en TELEGRAM 4: Polling Vs Webhook curso Python

@033 Crear un BOT en TELEGRAM #4: Polling Vs Webhook [curso Python]
🔻DESCUENTOS🔻 🟢 https://www.frikidelto.com/descuentos 🟢 En este vídeo aprenderemos a crear un webhook para recibir los nuevos mensajes que envían al bot los usuarios del mismo. Veremos en qué se diferencia del sistema que estábamos utilizando hasta ahora (polling) y qué ventajas ofrece sobre éste. DOCUMENTACIÓN OFICIAL sobre WEBHOOK en TELEGRAM: https://core.telegram.org/bots/webhooks PÁGINA OFICIAL de NGROK: https://ngrok.com FLASK: https://flask.palletsprojects.com/en/2.1.x/ PYNGROK: https://github.com/alexdlaird/pyngrok ÍNDICE: 00:00 Diferencia entre PULL (polling) y PUSH (webhook) 02:17 Ventajas de webhook 04:13 Cómo obtener una URL pública 05:51 Cómo instalar Flask 06:11 Cómo instalar pyngrok 06:31 Cómo pasar de polling a webhook 08:17 Cómo instanciar el servidor web 08:45 Cómo gestionar las peticiones al servidor web 13:15 Definiendo la ruta del archivo de configuración YML de ngrok 14:19 Definiendo la región de ngrok 15:11 Cómo crear el archivo de credenciales de ngrok (e instalar el binario) 16:18 Cómo crear un túnel con ngrok desde Python 18:07 Cómo configurar el webhook de Telegram 18:49 Cómo arrancar el servidor web de Flask 20:46 Cómo ejecutar el servidor web en un entorno de producción con WAITRESS 21:47 Aclaraciones finales 22:10 Cómo volver a utilizar el mecanismo pull (polling) 29:59 Cómo ejecutar dos o más bots con webhook y ngrok 24:53 Despedida 🔷 MI EQUIPO (SetUp) ►PORTÁTIL → https://amzn.to/3AVb0VA ►WEBCAM → https://amzn.to/2RINoi3 ►CASCOS INALÁMBRICOS → https://amzn.to/3ASEjrP ►RATÓN → https://amzn.to/3hOBm12 ►TABLET ANDROID → https://amzn.to/3iRoPeW ►FUNDA TABLET ANDROID → https://amzn.to/3cdtcyk ►IPAD → https://amzn.to/2RIpPWz ►FUNDA IPAD → https://amzn.to/3ce2l5h ►SOPORTE TABLETA → https://goo.gl/aaJfPM ►HDMI ANDROID → https://amzn.to/3mGh4dM ►HDMI iOS → https://amzn.to/2RLp4vU ►MICRÓFONO Samson → https://amzn.to/32OnyPS ►MICRÓFONO Blue Yeti → https://amzn.to/3kAdOz6 ►BRAZO MICRÓFONO → https://amzn.to/3mCvQT1 ►HUB USB → https://amzn.to/2RH94Ll ►CAPTURADORA Elgato HD60S → https://amzn.to/2HhDC4C ►SPLITTER HDMI → https://amzn.to/2RFSz2e Lo uso para eliminar la protección HDCP ►CABLE HDMI fino 25cm → https://amzn.to/3ciZtUs ►CABLE HDMI fino 1m → https://amzn.to/3co1DT6 ►ILUMINACIÓN → https://amzn.to/3kvUKBS ►FONDO CROMA → https://amzn.to/33L9WEr ►CÁMARA FOTOS/VÍDEO → https://amzn.to/3hOCz8A 🔷 APOYA AL CANAL Sólo tienes que pinchar en https://amzn.to/2FWSRz2 y probar Amazon Prime gratis durante 1 mes. Puedes anularlo en cualquier momento antes de que acabe el plazo. 🔷 SÍGUEME ◾️ MI WEB: https://www.FRIKIdelTO.com ◾️ TWITTER: https://twitter.com/FRIKIdelTO ◾️ INSTAGRAM: https://www.instagram.com/frikidelto_ ◾️ FACEBOOK: https://www.facebook.com/FRIKIdelTO 🔷 TRUCO PARA CONSEGUIR PRODUCTOS AL MEJOR PRECIO https://www.frikidelto.com/frikidelbot Recuerda que si no quieres que te pique, dale al "lique". Y activa la 🔔 para enterarte de los nuevos vídeos que publico. ñol

5

8
FRIKIdelTO
Subscribers
21.4K
Total Post
454
Total Views
256.8K
Avg. Views
3.3K
View Profile
This video was published on 2022-05-06 20:30:54 GMT by @FRIKIdelTO on Youtube. FRIKIdelTO has total 21.4K subscribers on Youtube and has a total of 454 video.This video has received 5 Likes which are lower than the average likes that FRIKIdelTO gets . @FRIKIdelTO receives an average views of 3.3K per video on Youtube.This video has received 8 comments which are lower than the average comments that FRIKIdelTO gets . Overall the views for this video was lower than the average for the profile.FRIKIdelTO #curso #python #español has been used frequently in this Post.

Other post by @FRIKIdelTO