Android Question Share a photo to Telegram

DonManfred

Expert
Licensed User
Longtime User
Using telegram on a php server is far easy (i just tried to implement telegram into a website of me)

After successfully setup the api with composer i just need to use

PHP:
  $bot = new \TelegramBot\Api\Client('botid:bottoken');
  $bot->sendMessage('idofuser', 'Hallo :-)');
to send a message to a specific client...
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I mean by using web services?
The webservice is working in my php-based-website.
But you are answering about my next post. The B4A and B4J version.

B4A/B4J is using a library-wrapper i wrote yesterday.
You can NOT make an unofficial version of telegram out of it.

You need to make a BOT if you want to do automatic telegrams. And the bot is sending the messages then. NOT YOU.
It is NOT possible with the SDK to send Telegrams on your behalf.
Only from a BOT.
 
Upvote 0
Top