src/TwitterDriver.php
public function getMessages()
    {
        return $this->event
            ->filter(function ($event) {
                return $event['type'] === 'message_create';
            })
            ->map(function ($event) {
                $message = $event['message_create'];

                return new IncomingMessage($message['message_data']['text'], $message['sender_id'], $message['target']['recipient_id'], $event);
        })->toArray();
    }
public function getMessages()
    {
        return $this->event
            ->filter(function ($event) {
                return $event['type'] === 'message_create';
            })
            ->map(function ($event) {
                $message = $event['message_create'];

                return new IncomingMessage($message['message_data']['text'], $message['sender_id'], $message['target']['recipient_id'], $event);
        })->toArray();
    }
Retrieve the chat message(s).

@return array