!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/Call/   drwxr-xr-x
Free 13.13 GB of 57.97 GB (22.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     UserDefinedMessageSubscriptionList.php (2.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Api\V2010\Account\Call;

use 
Twilio\Exceptions\TwilioException;
use 
Twilio\ListResource;
use 
Twilio\Options;
use 
Twilio\Values;
use 
Twilio\Version;

class 
UserDefinedMessageSubscriptionList extends ListResource {
    
/**
     * Construct the UserDefinedMessageSubscriptionList
     *
     * @param Version $version Version that contains the resource
     * @param string $accountSid Account SID.
     * @param string $callSid Call SID.
     */
    
public function __construct(Version $versionstring $accountSidstring $callSid) {
        
parent::__construct($version);

        
// Path Solution
        
$this->solution = ['accountSid' => $accountSid'callSid' => $callSid, ];

        
$this->uri '/Accounts/' \rawurlencode($accountSid) . '/Calls/' \rawurlencode($callSid) . '/UserDefinedMessageSubscriptions.json';
    }

    
/**
     * Create the UserDefinedMessageSubscriptionInstance
     *
     * @param string $callback The URL we should call to send user defined messages.
     * @param array|Options $options Optional Arguments
     * @return UserDefinedMessageSubscriptionInstance Created
     *                                                UserDefinedMessageSubscriptionInstance
     * @throws TwilioException When an HTTP error occurs.
     */
    
public function create(string $callback, array $options = []): UserDefinedMessageSubscriptionInstance {
        
$options = new Values($options);

        
$data Values::of([
            
'Callback' => $callback,
            
'IdempotencyKey' => $options['idempotencyKey'],
            
'Method' => $options['method'],
        ]);

        
$payload $this->version->create('POST'$this->uri, [], $data);

        return new 
UserDefinedMessageSubscriptionInstance(
            
$this->version,
            
$payload,
            
$this->solution['accountSid'],
            
$this->solution['callSid']
        );
    }

    
/**
     * Constructs a UserDefinedMessageSubscriptionContext
     *
     * @param string $sid User Defined Message Subscription SID.
     */
    
public function getContext(string $sid): UserDefinedMessageSubscriptionContext {
        return new 
UserDefinedMessageSubscriptionContext(
            
$this->version,
            
$this->solution['accountSid'],
            
$this->solution['callSid'],
            
$sid
        
);
    }

    
/**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    
public function __toString(): string {
        return 
'[Twilio.Api.V2010.UserDefinedMessageSubscriptionList]';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0098 ]--