

The message that is sent is sent by a bot that is connected to a webhook and I am logging in under my own account, both of which are in the channel. The current print statements are there for testing, but have not worked. The while loop is entered just fine, but never goes into the event. I tried using the while true loop as a way to get the program to constantly check, and I tried to make it specific to the chat to see if that would help, but currently nothing happens when a new message is sent to that channel. The current code I'm using is: while = )) The login works fine, but it doesn't seem to pick up on new messages at all. The messages are going into a public channel that I am apart of, and I'm using part of to login. My current problem is getting the program to always run, and to actually do something when a message is sent.

It's a cloud-based messaging app where you can chat and make calls fo. I want a program which will constantly check a telegram channel, and if a new message is sent, it should take that message as input to do something else. Telegram is a new messaging app that is comparable to Whatsapp and Facebook Messenger.
