Home
Name Modified Size InfoDownloads / Week
readme_V0.2.txt 2017-11-20 689 Bytes
telegram.class_V0.2.php 2017-11-20 2.2 kB
readme_V0.1.txt 2017-10-02 767 Bytes
telegram_2fa_v0.1.php 2017-10-02 2.3 kB
Totals: 4 Items   6.0 kB 0
Readme for version 0.2

How to use the PHP code?

1. You need to create a Telegram Bot. See: https://core.telegram.org/bots#3-how-do-i-create-a-bot and https://core.telegram.org/bots#6-botfather
2. After creating the bot, you will get a bot token. Copy the bot token to line 62 of the php script ($telegram_bot_token = )
3. From Telegram web, your telegram phone or tablet app send a message with "user_id and the contents of the unique key in line 62 of the php script)
4. Run the php script and you will get you Telegram user ID as a reply on Telegram web, Telegram phone or table app.
5 You can use the function send_telegram_message to send a message to a Telegram user id.

Source: readme_V0.2.txt, updated 2017-11-20