
Ayer subí un nuevo vídeo en mi canal de youtube para darle un poco de actividad donde explico como crear nuestro primer bot de telegram con botfather y escribir nuestro hola mundo.
Codigo:
import telegram
import time
bot_token = ''
chat_id = ''
bot = telegram.Bot(token=bot_token)
print(bot.get_me())
while True:
bot.send_message(chat_id=chat_id, text='Hola mundo, este nuestro primer programa con la api de telegram')
time.sleep(5)
Seguiras con estos cursos?
ResponderEliminarBaru pertama kali main di http://103.102.46.188 udah menang terus, hehehhehehehehe agennya bikin hoki buat pemain, percaya ga percaya tapi ini nyata.
ResponderEliminar