Longman\TelegramBot\Entities\InlineQuery\InlineQueryResultCachedDocument::__construct PHP Method

__construct() public method

InlineQueryResultCachedDocument constructor
public __construct ( array $data = [] )
$data array
    public function __construct(array $data = [])
    {
        $data['type'] = 'document';
        parent::__construct($data);
    }
InlineQueryResultCachedDocument