src/BotMan.php
public function getBotMessages()
    {
        return Collection::make($this->getDriver()->getMessages())->filter(function (IncomingMessage $message) {
            return $message->isFromBot();
        })->toArray();
    }
public function getBotMessages()
    {
        return Collection::make($this->getDriver()->getMessages())->filter(function (IncomingMessage $message) {
            return $message->isFromBot();
        })->toArray();
    }
public function getBotMessages ( ) { return Collection :: make ( $ this -> getDriver ( ) -> getMessages ( ) ) -> filter ( function ( IncomingMessage $ message ) { return $ message -> isFromBot ( ) ; } ) -> toArray ( ) ; }
Retrieve the chat message that are sent from bots.

@return array
Retrieve the chat message that are sent from bots .