According to researches by the adsmember team
फिर से देखने के लिए धन्यवाद। अगर आपको वीडियो में दिखाई गई कोई बात समझ में नहीं आती है, तो कृपया नीचे कमेंट करें या मुझे टेलीग्राम पर @tgcode पर मैसेज करें। रचनात्मक आलोचना की सराहना की जाती है। वीडियो में चर्चा किए गए विषयों के लिए यहां कुछ लिंक दिए गए हैं: – जीथब रिपोजिटरी जहां से कोड लिया गया था – (स्टार करने के लिए स्वतंत्र महसूस करें) – हमें वर्चुअल वातावरण की आवश्यकता क्यों है और कोरी शेफ़र द्वारा इसे कैसे सेट किया जाए – – “अगर __name__ == “__main__” क्या है जैसा कि कोरी शेफ़र द्वारा समझाया गया है – – टेलीग्राम में अपडेट प्राप्त करने के विभिन्न तरीके –
– गिट के लिए चरण-दर-चरण मार्गदर्शिका –
source
well done Kamran that's great and helpful
thank you so much.keep it up bro
Could u show how to use config var and the code to access the api_key as an env variable in python language?
What should I write in procfile if i have 2 python files
It will be always running? No interruption of the server?
After deploy the app you need to set the webhook:
curl "https://api.telegram.org/bot<YOUR_TELEGRAM_API_TOKEN>/setWebhook?url=https://<YOUR_HEROKU_APP>.com/<YOUR_TELEGRAM_API_TOKEN>"
Hi
when a wanna add git by : 'git add .' i see this error:
fatal: not a git repository (or any of the parent directories): .git
Thanks for posting.
I folllowed step by step and it does not work! I've searched a lot on web to deploy my bot online and it is really being frustrating cause nothing works
It does not work.
I tried menubuilder and at a certain point it told me to pay for extra messages or other bot…After a long way journey i ended up here …. dont get me wrong Tech Mind your video is so much appreciated for a lot of people , but i swear you were talking Alien for me … so i dont want to use any bots anymore.
I am tremendously grateful for your Python Telegram Bot videos. :> They are truly helpful and my 2 bots (hope there will be more hehe) would not have been possible without your help. THANKS A MILLION TECH MIND!
Doing that would run my bot even after I turn off my pc?
git push heroku HEAD:master worked for me (or main)
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
AttributeError: 'TeleBot' object has no attribute 'message_handler'
bro why did you just stop making videos
https://github.com/michaelkrukov/heroku-python-script
Is It possible to upload a database in addition to the Python script?
Link to code for Heroku from the video:
https://github.com/eternnoir/pyTelegramBotAPI/blob/master/examples/webhook_examples/webhook_flask_heroku_echo.py
Stopping process with SIGKILL
App crashed
After several minutes it's not working :'(
Thank you very much for this!
man! thank you!
Does anyone know why i keep getting – procfile declares types -> (none). Seems like my Procfile doesnt work but I am sure I didnt name it.
great tutorial, thanks
Thank you very much! It works!
everything works except once heroku runs iget this on heroku log
2020-04-17T08:08:30.957914+00:00 app[web.1]: Traceback (most recent call last):
2020-04-17T08:08:30.957933+00:00 app[web.1]: File "Humo.py", line 9, in <module>
2020-04-17T08:08:30.958063+00:00 app[web.1]: from telegram import bot
2020-04-17T08:08:30.958063+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 39, in <module>
2020-04-17T08:08:30.958197+00:00 app[web.1]: from telegram import (User, Message, Update, Chat, ChatMember, UserProfilePhotos, File,
2020-04-17T08:08:30.958206+00:00 app[web.1]: ImportError: cannot import name 'User'
Type this in the command line to ensure than the dyno is on
heroku ps:scale web=1
how about a php bot?
so everytime i change something i have to print git push heroku master ?
Thank you so much for sharing! It works beautifully! Btw can you add a comment about "git init" as I was following step by step and I wasn't able to git add . because of one missing step. Just think that it will be useful for newbies like me. Thanks again!
good ples me subscribe
can you upload a video about python-telegram-bot lib and how to host it on heroku
SOmeone know how clone a bot or how look the bot internal code? i just need make a change for me.
im so noob, i need to learn more.
hi, plz help me. after heroku logs -t what next for a run heroku,. my bot its not running
I want to do a bot to open some .batch in my pc, maybe the bot could read all batch files in a carpet and send my the names files as button to open it
My bot used to stop after a few seconds and fixed it setting the Procfile to:
worker: python3 bot.py
Where i can found the files? Like bot.php
thanks for making my bot alive
I am following your tutorial, in the end the logs is same as yours, but why my bot not running well? when I text /start, it doenst happen anything, how to check where the error?
Thank you. ?
Thanks a lot but I have 1 problem it worked for the first time. Now I restarted my system and checked on heroku I can see that my .py is in running status but the bot is not working
how about using github? i stuck there
explain linux users also
will you post more videos about telegram bot with some new implementation