Hello App Inventor community!
I'm excited to share an extension that I've developed for integrating Telegram Bot functionality into your App Inventor projects. This extension allows you to listen for updates from a Telegram Bot and trigger events in your app based on incoming messages.
Features:
- Start and stop listening for Telegram updates
- Trigger events when a new message is received
- Improved thread handling for UI updates
How to Use:
- Add the extension to your project.
- Use the
StartListener
block to begin listening for updates. - Handle incoming messages using the
MessageReceived
event. - Stop listening using the
StopListener
block when necessary.
Important Notes:
- Make sure to replace
YOUR_BOT_TOKEN
with the actual token of your Telegram Bot. - Ensure that your app has the necessary permissions, including INTERNET access.
Example Block:
Documentation:
For detailed instructions and documentation, please refer to the Telegram Bot API Documentation.
Extension Download Link:
com.rasitech.telegrambot.aix (9.0 KB)
Feel free to try it out and share your feedback! If you encounter any issues or have questions, don't hesitate to ask. Happy coding!