If we need to send notification to users from a B4J app by Telegram - we need a bot app.
We should collect chat_ids of each user.
But if the project has several sections (maybe topics) - each user may need to be registered also in these several sections, separately.
So, messages to each...
I got it working finally. So, for sending files to Telegram bot without using curl, you need to do the following:
1. Download Erel's sample project of [B4X] Post multipart requests / file uploads with progress
2. Slightly modify it as shown below (pay attention to my comments in code):
I am facing an issue with jtelegrambot for the new users who have registered with telegram. A possible cause is the user-id of newly registered users are in 5 billion (5065327552) and it is probably declared as int. any solution to this is highly appreciated...