This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Derived work from https://gist.github.com/anonymous/6516521b1fb3b464534fbc30ea3573c2 | |
More info at: https://core.telegram.org/widgets/login | |
*/ | |
class TelegramUserData{ | |
public $auth_data = false; //The data itself | |
private $outdated = 86400; //Secconds to consider some info outdated. | |
private $bottoken = "YOUTBOTTOKEN"; |