Clean up API ID references
This commit is contained in:
parent
36850e70d6
commit
3c8e440ba6
@ -1,2 +0,0 @@
|
||||
MTPROTO_NUMBER=+393924682693
|
||||
MTPROTO_SETTINGS={"app_info":{"api_id":6,"api_hash":"eb06d4abfb49dc3eeb1aeb98ae0f581e"},"connection_settings":{"all":{"test_mode":true}}}
|
4
bot.php
4
bot.php
@ -48,9 +48,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler
|
||||
}
|
||||
}
|
||||
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'updates' => ['handle_updates' => true]];
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('bot.madeline', $settings);
|
||||
$MadelineProto = new \danog\MadelineProto\API('bot.madeline');
|
||||
|
||||
$MadelineProto->start();
|
||||
$MadelineProto->setEventHandler('\EventHandler');
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline'); //, ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']]);
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$me = $MadelineProto->start();
|
||||
|
||||
$me = $MadelineProto->get_self();
|
||||
|
@ -12,7 +12,7 @@ If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
require '../vendor/autoload.php';
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']];
|
||||
$settings = [];
|
||||
$Lua = false;
|
||||
|
||||
try {
|
||||
|
@ -13,7 +13,6 @@ If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
require '../vendor/autoload.php';
|
||||
$settings = [];
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']];
|
||||
$MadelineProto = false;
|
||||
|
||||
try {
|
||||
|
@ -12,7 +12,7 @@ If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
require '../vendor/autoload.php';
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']];
|
||||
$settings = [];
|
||||
$MadelineProto = false;
|
||||
$uMadelineProto = false;
|
||||
|
||||
|
@ -11,7 +11,7 @@ You should have received a copy of the GNU General Public License along with Mad
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
require '../vendor/autoload.php';
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']];
|
||||
$settings = [];
|
||||
include_once 'token.php';
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user