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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html_v5_10/vendor/twilio/sdk/src/Twilio/Rest/Chat/V3/   drwxrwxr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

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

namespace Twilio\Rest\Chat\V3;

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

class 
ChannelContext extends InstanceContext {
    
/**
     * Initialize the ChannelContext
     *
     * @param Version $version Version that contains the resource
     * @param string $serviceSid Service Sid.
     * @param string $sid A string that uniquely identifies this Channel.
     */
    
public function __construct(Version $version$serviceSid$sid) {
        
parent::__construct($version);

        
// Path Solution
        
$this->solution = ['serviceSid' => $serviceSid'sid' => $sid, ];

        
$this->uri '/Services/' \rawurlencode($serviceSid) . '/Channels/' \rawurlencode($sid) . '';
    }

    
/**
     * Update the ChannelInstance
     *
     * @param array|Options $options Optional Arguments
     * @return ChannelInstance Updated ChannelInstance
     * @throws TwilioException When an HTTP error occurs.
     */
    
public function update(array $options = []): ChannelInstance {
        
$options = new Values($options);

        
$data Values::of([
            
'Type' => $options['type'],
            
'MessagingServiceSid' => $options['messagingServiceSid'],
        ]);
        
$headers Values::of(['X-Twilio-Webhook-Enabled' => $options['xTwilioWebhookEnabled'], ]);

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

        return new 
ChannelInstance(
            
$this->version,
            
$payload,
            
$this->solution['serviceSid'],
            
$this->solution['sid']
        );
    }

    
/**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    
public function __toString(): string {
        
$context = [];
        foreach (
$this->solution as $key => $value) {
            
$context[] = "$key=$value";
        }
        return 
'[Twilio.Chat.V3.ChannelContext ' \implode(' '$context) . ']';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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