Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../telnyx/../nette/./../ramsey/../paypal/./../paytm/../phpdocumentor/../nesbot/../monolog/./../markbaker/../maximebf/../sebastian/../unicodeveloper/../messagebird/php-rest-api/examples/.
الملفات الموجودة في هذا الـ Path:
.
..
available-phone-numbers-view.php
balance-view.php
contact-create.php
contact-delete.php
contact-get-groups.php
contact-get-messages.php
contact-list.php
contact-update.php
contact-view.php
conversations
emailmessages-view.php
group-add-contact-to-group.php
group-create.php
group-delete.php
group-get-contacts.php
group-list.php
group-remove-contact-from-group.php
group-update.php
group-view.php
hlr-create.php
hlr-list.php
hlr-view.php
lookup-hlr-view.php
lookup-view.php
message-create-unicode.php
message-create.php
message-delete.php
message-list.php
message-view.php
mms-create.php
mms-delete.php
mms-list.php
mms-view.php
partner-account-create.php
partner-account-delete.php
partner-account-list.php
partner-account-read.php
partner-account-update.php
phone-numbers-create.php
phone-numbers-delete.php
phone-numbers-update.php
phone-numbers-view.php
signed-request-validation.php
signedrequest-verification.php
verify-create-email.php
verify-create.php
verify-verification.php
verify-view.php
voice-call-flows-create.php
voice-call-flows-delete.php
voice-call-flows-list.php
voice-call-flows-read.php
voice-call-flows-update.php
voice-calls-create.php
voice-calls-list.php
voice-calls-read.php
voice-legs-list.php
voice-legs-read.php
voice-recordings-download.php
voice-recordings-list.php
voice-recordings-read.php
voice-transcriptions-create.php
voice-transcriptions-download.php
voice-transcriptions-list.php
voice-transcriptions-read.php
voice-webhooks-create.php
voice-webhooks-delete.php
voice-webhooks-list.php
voice-webhooks-read.php
voice-webhooks-update.php
voicemessages-create.php
voicemessages-list.php
voicemessages-view.php

مشاهدة ملف: message-list.php

<?php

require_once(__DIR__ . '/../autoload.php');

$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY'); // Set your own API access key here.

try {
    $messageList = $messageBird->messages->getList(['offset' => 100, 'limit' => 30]);
    var_dump($messageList);
} catch (\MessageBird\Exceptions\AuthenticateException $e) {
    // That means that your accessKey is unknown
    echo 'wrong login';
} catch (\Exception $e) {
    var_dump($e->getMessage());
}