ReplyToMessage.php 655 Bytes
Newer Older
1
<?php
Jack'lul's avatar
Jack'lul committed
2
/**
3 4 5 6 7 8
 * 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.
Jack'lul's avatar
Jack'lul committed
9
 */
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

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);
    }
}