src/LINEBot.php
public function pushMessage($to, MessageBuilder $messageBuilder)
    {
        return $this->httpClient->post($this->endpointBase . '/v2/bot/message/push', [
            'to' => $to,
            'messages' => $messageBuilder->buildMessage(),
        ]);
    }
public function pushMessage($to, MessageBuilder $messageBuilder)
    {
        return $this->httpClient->post($this->endpointBase . '/v2/bot/message/push', [
            'to' => $to,
            'messages' => $messageBuilder->buildMessage(),
        ]);
    }
public function pushMessage ( $ to , MessageBuilder $ messageBuilder ) { return $ this -> httpClient -> post ( $ this -> endpointBase . '/v2/bot/message/push' , [ 'to' => $ to , 'messages' => $ messageBuilder -> buildMessage ( ) , ] ) ; }
Sends arbitrary message to destination.

@param string $to Identifier of destination.
@param MessageBuilder $messageBuilder Message builder to send.
@return Response
Sends arbitrary message to destination .