Skip to content

BugHunter021/JSONReturn-RobotTelegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Hi 👋, I'm BugHunter

Robot Telegram for show receive message as JSON

this code writed with PHP

how to use

  1. upload this code on host with support PHP,SSL
  2. enter token robot (get from telegram botfather) in :
$token = '';
  1. set webhook robot url with address sourcecode

result:

result like this :

{
  "update_id": 307839236,
  "message": {
      "message_id": 64,
      "from": {
          "id": 100912345,
          "is_bot": false,
          "first_name": "mrbug"
          "username": "mrbugbounty",
          "language_code": "en"
      },
      "chat": {
          "id": 100912345,
          "first_name": "mrbug",
          "username": "mrbugbounty",
          "type": "private"
      },
      "date": 1641912157,
      "text": "Hello Friend"
  }
}

About

Telegram Robot for show recive data as JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages