ReplyToMessage.php 654 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php

/*
 * This file is part of the TelegramBot package.
 *
 * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
*/

namespace Longman\TelegramBot\Entities;

use Longman\TelegramBot\Exception\TelegramException;

class ReplyToMessage extends Message
{

    public function __construct(array $data, $bot_name)
    {

        //As explained in the documentation
        //Reply to message can't contain other reply to message entities
        $reply_to_message = null;

        $this->init($data, $bot_name);
    }
}