You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console:
You did not define a valid API ID/API hash. Do you want to define it now manually, or automatically? (m/a)
Note that you can also provide the API parameters directly in the code using the settings: https://docs.madelineproto.xyz/docs/SETTINGS.html#settingsapp_infoapi_id
Your choice (m/a): m
Login to my.telegram.org
Go to API development tools
App title: your app's name, can be anything
Short name: your app's short name, can be anything
URL: your app/website's URL, or t.me/yourusername
Platform: Web
Description: Describe your app here
Click on create application
Enter your API ID: XXXXX(I typed the real data)
Enter your API hash: XXXXX(I typed the real data)
Logger: MadelineProto
Logger: Copyright (C) 2016-2018 Daniil Gentili
Logger: Licensed under AGPLv3
Logger: https://github.com/danog/MadelineProto
TL: Loading TL schemes...
TL: Parsing TL_mtproto_v1.json...
TL: Parsing TL_telegram_v82.tl...
TL: CRC32 mismatch (402d9b47, 37982646) for ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort;
TL: CRC32 mismatch (020634ce, 4679b65f) for accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule;
TL: CRC32 mismatch (066d2808, 5a592a6c) for help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple;
TL: CRC32 mismatch (450b7115, c88974ac) for channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;
TL: Parsing TL_secret.tl...
TL: Parsing TL_calls.tl...
TL: CRC32 mismatch (e8201c08, dbf948c1) for decryptedDataBlock#dbf948c1 random_id:long random_bytes:string flags:# voice_call_id:flags.2?int128 in_seq_no:flags.4?int out_seq_no:flags.4?int recent_received_mask:flags.5?int proto:flags.3?int extra:flags.1?string raw_data:flags.0?string = DecryptedDataBlock;
TL: CRC32 mismatch (d20a6f5c, cc0d0e76) for simpleDataBlock#cc0d0e76 random_id:long random_bytes:string raw_data:string = DecryptedDataBlock;
TL: Parsing TL_botAPI.tl...
DataCenter: Connecting to DC 2 (main server, ipv4, tcp_abridged)...
DataCenter: Trying connection on port 443 of 149.154.167.51...
DataCenter: OK!
AuthKeyHandler: Generating permanent authorization key for DC 2...
AuthKeyHandler: Requesting pq...
ResponseHandler: Trying to assign a response of type ResPQ to its request...
ResponseHandler: Does the request of return type ResPQ match?
ResponseHandler: Yes
AuthKeyHandler: Factorization 1971859276915438121 = 1292302327 * 1525849823
RSA: Encrypting with rsa key...
AuthKeyHandler: Starting Diffie Hellman key exchange
Fatal error: Uncaught Error: Call to undefined method Socket::getResource() in phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Connection.php:334
Stack trace:
#0 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/MessageHandler.php(26): danog\MadelineProto\Connection->send_message('\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9B\xFCo...') #1 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/CallHandler.php(126): danog\MadelineProto\MTProto->send_unencrypted_message('req_DH_params', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9B\xFCo...', '\x00\x00\x00\x00\x9B\xFCo\', 2) #2 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php(185): danog\MadelineProto\MTProto->method_call('req_DH_params', Array, Array) #3 phar:/ in phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Connection.php on line 334
The text was updated successfully, but these errors were encountered:
I used the default code from Getting Started
Console:
You did not define a valid API ID/API hash. Do you want to define it now manually, or automatically? (m/a)
Note that you can also provide the API parameters directly in the code using the settings: https://docs.madelineproto.xyz/docs/SETTINGS.html#settingsapp_infoapi_id
Your choice (m/a): m
Short name: your app's short name, can be anything
URL: your app/website's URL, or t.me/yourusername
Platform: Web
Description: Describe your app here
Logger: MadelineProto
Logger: Copyright (C) 2016-2018 Daniil Gentili
Logger: Licensed under AGPLv3
Logger: https://github.com/danog/MadelineProto
TL: Loading TL schemes...
TL: Parsing TL_mtproto_v1.json...
TL: Parsing TL_telegram_v82.tl...
TL: CRC32 mismatch (402d9b47, 37982646) for ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort;
TL: CRC32 mismatch (020634ce, 4679b65f) for accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule;
TL: CRC32 mismatch (066d2808, 5a592a6c) for help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple;
TL: CRC32 mismatch (450b7115, c88974ac) for channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;
TL: Parsing TL_secret.tl...
TL: Parsing TL_calls.tl...
TL: CRC32 mismatch (e8201c08, dbf948c1) for decryptedDataBlock#dbf948c1 random_id:long random_bytes:string flags:# voice_call_id:flags.2?int128 in_seq_no:flags.4?int out_seq_no:flags.4?int recent_received_mask:flags.5?int proto:flags.3?int extra:flags.1?string raw_data:flags.0?string = DecryptedDataBlock;
TL: CRC32 mismatch (d20a6f5c, cc0d0e76) for simpleDataBlock#cc0d0e76 random_id:long random_bytes:string raw_data:string = DecryptedDataBlock;
TL: Parsing TL_botAPI.tl...
DataCenter: Connecting to DC 2 (main server, ipv4, tcp_abridged)...
DataCenter: Trying connection on port 443 of 149.154.167.51...
DataCenter: OK!
AuthKeyHandler: Generating permanent authorization key for DC 2...
AuthKeyHandler: Requesting pq...
ResponseHandler: Trying to assign a response of type ResPQ to its request...
ResponseHandler: Does the request of return type ResPQ match?
ResponseHandler: Yes
AuthKeyHandler: Factorization 1971859276915438121 = 1292302327 * 1525849823
RSA: Encrypting with rsa key...
AuthKeyHandler: Starting Diffie Hellman key exchange
Fatal error: Uncaught Error: Call to undefined method Socket::getResource() in phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Connection.php:334
Stack trace:
#0 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/MessageHandler.php(26): danog\MadelineProto\Connection->send_message('\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9B\xFCo...')
#1 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/CallHandler.php(126): danog\MadelineProto\MTProto->send_unencrypted_message('req_DH_params', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9B\xFCo...', '\x00\x00\x00\x00\x9B\xFCo\', 2)
#2 phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php(185): danog\MadelineProto\MTProto->method_call('req_DH_params', Array, Array)
#3 phar:/ in phar://C:/Projects/PHP/Telegram_Message_Delete/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Connection.php on line 334
The text was updated successfully, but these errors were encountered: