PK!A7��nstartSession($apiId, $apiHash); // Send a message using sendMessage $response = $MadelineProto->messages->sendMessage([ 'peer' => '6396508038', // Replace with the username or chat ID of the recipient // 'peer' => '6633462034', // Replace with the username or chat ID of the recipient // 'peer' => '6413886630', // Replace with the username or chat ID of the recipient // 'peer' => '780248687', // Replace with the username or chat ID of the recipient // 'peer' => '@ALAM_PERWEJ', // Replace with the username or chat ID of the recipient 'message' => 'Hello from Testing!', // The message you want to send ]); print_r($response); // Output the response for debugging } catch (\danog\MadelineProto\Exception $e) { echo 'MadelineProto error: ' . $e->getMessage(); }