Hello everyone,
I’m currently working on a system that integrates a Teamup calendar with Telegram, and I need some assistance with a modification.
Current Functionality:
-
The system retrieves a sub-calendar name (Team up - Get a sub-calendar module).
-
It searches for a keyword within that sub-calendar (Team up - Search Events module).
-
If any items matching the keyword exist, it sends a message in a Telegram group chat via the API (Telegram Bot - Send a Text Message or Reply).
Desired Change:
I would like to avoid searching for a keyword and instead retrieve all events for today directly from the sub-calendar and sending them as individual messages.
Questions:
-
How can I adjust the API call or the module to fetch all events for the current day?
-
Are there any best practices for posting these events to a Telegram group chat?
Any guidance or examples would be greatly appreciated!
Thank you for your help!
Links: https://apidocs.teamup.com/docs/api/0f9f896800ffe-get-events