How to deploy a telegram bot written in Python to Deta. #427
Replies: 4 comments 4 replies
-
|
Telegram api works on websockets, which are not supported by deta micro. So, alas, on such an excellent service it’s impossible to host a telegram bot ( |
Beta Was this translation helpful? Give feedback.
-
|
However you can use Telegram Bot's |
Beta Was this translation helpful? Give feedback.
-
|
@jnsougata Traceback (most recent call last):
File "/opt/python/detalib/debugger.py", line 142, in wrap
result = func(event, context)
File "/var/task/_entry.py", line 14, in handler
return handle(event, main)
File "/opt/python/detalib/handler.py", line 8, in handle
assert hasattr(
AssertionError: We couldn't find your 'app'. Please refer to the Manual.Is it possible to upload only projects with app object to deta ? |
Beta Was this translation helpful? Give feedback.
-
|
You may want to refer to this code if anyone has the same issue. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am a telegram bot developer at python. Telegram bots work on long polling and webhook. Long polling is used a lot.
I was using procfile to run long polling projects on heroku
Procfile:
worker: python worker.pyPython file: worker.py
How do I start long polling projects in Deta ???
Beta Was this translation helpful? Give feedback.
All reactions