Warning: is_dir(): open_basedir restriction in effect. File(/home/adsmembe/domains/adsmember.com/public_html/wp-content/plugins/wpdiscuz/themes/default) is not within the allowed path(s): (/www/wwwroot/adsmember.com/:/tmp/) in /www/wwwroot/adsmember.com/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 139



According to researches by the adsmember team
फिर से देखने के लिए धन्यवाद। अगर आपको वीडियो में दिखाई गई कोई बात समझ में नहीं आती है, तो कृपया नीचे कमेंट करें या मुझे टेलीग्राम पर @tgcode पर मैसेज करें। रचनात्मक आलोचना की सराहना की जाती है। वीडियो में चर्चा किए गए विषयों के लिए यहां कुछ लिंक दिए गए हैं: – जीथब रिपोजिटरी जहां से कोड लिया गया था – (स्टार करने के लिए स्वतंत्र महसूस करें) – हमें वर्चुअल वातावरण की आवश्यकता क्यों है और कोरी शेफ़र द्वारा इसे कैसे सेट किया जाए – – “अगर __name__ == “__main__” क्या है जैसा कि कोरी शेफ़र द्वारा समझाया गया है – – टेलीग्राम में अपडेट प्राप्त करने के विभिन्न तरीके –

– गिट कैसे स्थापित करें –

– गिट के लिए चरण-दर-चरण मार्गदर्शिका –

source

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
48 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Saman Jalinous
Saman Jalinous
1 year ago

well done Kamran that's great and helpful

pubudu prasad
pubudu prasad
1 year ago

thank you so much.keep it up bro

Moseleen One
Moseleen One
1 year ago

Could u show how to use config var and the code to access the api_key as an env variable in python language?

Chargernte wire
Chargernte wire
1 year ago

What should I write in procfile if i have 2 python files

Gianluca Caliendo
Gianluca Caliendo
1 year ago

It will be always running? No interruption of the server?

Paulo Vitor
Paulo Vitor
1 year ago

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&gt;.com/<YOUR_TELEGRAM_API_TOKEN>"

Arad Abdani
Arad Abdani
1 year ago

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

Dennis Daniels
Dennis Daniels
1 year ago

Thanks for posting.

Tiago Lima
Tiago Lima
1 year ago

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

Дима Руденков
Дима Руденков
1 year ago

It does not work.

Fouez ʞnoɹɥɐW
Fouez ʞnoɹɥɐW
1 year ago

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.

soppy
soppy
1 year ago

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!

saru u
saru u
1 year ago

Doing that would run my bot even after I turn off my pc?

B. F.
B. F.
1 year ago

git push heroku HEAD:master worked for me (or main)

Qiexie f
Qiexie f
1 year ago

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

Qiexie f
Qiexie f
1 year ago

AttributeError: 'TeleBot' object has no attribute 'message_handler'

Talal Babelli
Talal Babelli
1 year ago

bro why did you just stop making videos

SHASHANK SHARMA
SHASHANK SHARMA
1 year ago
Giorgio Papini
Giorgio Papini
1 year ago

Is It possible to upload a database in addition to the Python script?

Platon Borodatyi
Platon Borodatyi
1 year ago
Sina Afshari
Sina Afshari
1 year ago

Stopping process with SIGKILL

Sina Afshari
Sina Afshari
1 year ago

App crashed

Sina Afshari
Sina Afshari
1 year ago

After several minutes it's not working :'(

English Rain
English Rain
1 year ago

Thank you very much for this!

Meisam Mohammadi
Meisam Mohammadi
1 year ago

man! thank you!

Zoan Lin
Zoan Lin
1 year ago

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.

Husam Aamer
Husam Aamer
1 year ago

great tutorial, thanks

Michael Yeghiazaryan
Michael Yeghiazaryan
1 year ago

Thank you very much! It works!

Hussain Alkhateeb
Hussain Alkhateeb
1 year ago

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'

Bernard Boey
Bernard Boey
1 year ago

Type this in the command line to ensure than the dyno is on

heroku ps:scale web=1

AmirMohammad Abolhasani
AmirMohammad Abolhasani
1 year ago

how about a php bot?

Zeref
Zeref
1 year ago

so everytime i change something i have to print git push heroku master ?

Dylan Poh
Dylan Poh
1 year ago

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!

Hani tube Ethiopia
Hani tube Ethiopia
1 year ago

good ples me subscribe

Ba'etRaki
Ba'etRaki
1 year ago

can you upload a video about python-telegram-bot lib and how to host it on heroku

Alexo Nox
Alexo Nox
1 year ago

SOmeone know how clone a bot or how look the bot internal code? i just need make a change for me.

Alexo Nox
Alexo Nox
1 year ago

im so noob, i need to learn more.

husin sufi
husin sufi
1 year ago

hi, plz help me. after heroku logs -t what next for a run heroku,. my bot its not running

Kimochi Ratiru Sisuka
Kimochi Ratiru Sisuka
1 year ago

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

Renzo Zunino
Renzo Zunino
1 year ago

My bot used to stop after a few seconds and fixed it setting the Procfile to:
worker: python3 bot.py

Humorsas
Humorsas
1 year ago

Where i can found the files? Like bot.php

Mahesh Jamdade
Mahesh Jamdade
1 year ago

thanks for making my bot alive

Seto FPV
Seto FPV
1 year ago

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?

R Parihar
R Parihar
1 year ago

Thank you. ?

adi bhide
adi bhide
1 year ago

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

muhajaya
muhajaya
1 year ago

how about using github? i stuck there

HL
HL
1 year ago

explain linux users also

Aryan Vikash
Aryan Vikash
1 year ago

will you post more videos about telegram bot with some new implementation

48
0
Would love your thoughts, please comment.x
()
x